* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: #f8f9fa;
    color: #1a1a1a;
    line-height: 1.6;
}

.main-content {
    max-width: 400px;
    margin: 0 auto;
    padding: 1rem;
}

.error-message {
    text-align: center;
    padding: 2rem;
    color: #dc3545;
    font-weight: 500;
}

.game-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    border: 1px solid #e1e5e9;
    margin-bottom: 1rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.game-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.game-date {
    text-align: center;
    font-size: 0.875rem;
    color: #6c757d;
    margin-bottom: 1.25rem;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.game-status {
    text-align: center;
    margin-top: 1rem;
    padding: 0.5rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.875rem;
    letter-spacing: 0.5px;
}

.game-status.scheduled {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.teams-layout {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.team-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 0;
}

.team-logo {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    border: 2px solid #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.team-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.team-info {
    display: flex;
    flex-direction: column;
    gap: 0.125rem;
    flex: 1;
    min-width: 0;
}

.team-name {
    font-size: 0.9375rem;
    font-weight: 600;
    color: #2c3e50;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.team-score {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a1a1a;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-left: auto;
    min-width: 2rem;
    text-align: right;
}

.loading-skeleton .skeleton-card {
    background: #fff;
    border-radius: 12px;
    padding: 1.25rem;
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% {
        background-position: -200px 0;
    }
    100% {
        background-position: calc(200px + 100%) 0;
    }
}

.skeleton-line {
    height: 14px;
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200px 100%;
    border-radius: 4px;
    margin-bottom: 0.5rem;
}

.skeleton-line.short {
    width: 60%;
}

.standings-container {
    margin-top: 2rem;
}

.standings-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 1rem;
    text-align: center;
}

.standings-table {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    border: 1px solid #e1e5e9;
}

.standings-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    font-weight: 600;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.standings-row {
    display: grid;
    grid-template-columns: 2.5rem 1fr 2rem 2rem 2rem 2rem;
    align-items: center;
    padding: 0.75rem 1rem;
    border-bottom: 1px solid #f1f3f4;
    transition: background-color 0.2s ease;
}

.standings-row:last-child {
    border-bottom: none;
}

.standings-row:hover {
    background-color: #f8f9fa;
}

.standings-row.header {
    padding: 0.75rem 1rem;
}

.standings-cell {
    font-size: 0.875rem;
    text-align: center;
}

.standings-cell.team {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-align: left;
}

.standings-cell.team img {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    object-fit: contain;
}

.standings-cell.team span {
    font-weight: 600;
    color: #2c3e50;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.standings-cell.position {
    font-weight: 700;
    font-size: 1rem;
}

.standings-cell.wins {
    color: #28a745;
    font-weight: 600;
}

.standings-cell.losses {
    color: #dc3545;
    font-weight: 600;
}

.standings-cell.pct {
    font-weight: 700;
    color: #1a1a1a;
}

.standings-cell.gb {
    font-weight: 600;
    color: #6c757d;
}

@media (max-width: 480px) {
    .main-content {
        padding: 0.75rem;
    }
    
    .game-card {
        padding: 1rem;
    }
}