.group-card{
    background: #111827;
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0,0,0,.18);
    transition: transform .25s ease, box-shadow .25s ease;
    height: 100%;
}

.group-card:hover{
    transform: translateY(-4px);
    box-shadow: 0 16px 35px rgba(0,0,0,.24);
}

.group-header{
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: #fff;
    font-weight: 700;
    padding: 14px 16px;
    letter-spacing: .5px;
    text-transform: uppercase;
}

.team-item{
    color: #f9fafb;
    padding: 12px 16px;
    border-bottom: 1px solid rgba(255,255,255,.06);
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: .98rem;
}

.team-item:last-child{
    border-bottom: none;
}

.flag-emoji{
    font-size: 1.25rem;
    width: 28px;
    text-align: center;
}

:root {
            --primary-color: #8B1538;
            --secondary-color: #1A472A;
            --accent-color: #D4AF37;
            --dark-bg: #0D1117;
            --light-text: #F8F9FA;
        }
        
        body {
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            background-color: var(--dark-bg);
            color: var(--light-text);
        }
        
        /* Hero Section */
        .hero {
            background: linear-gradient(135deg, var(--primary-color) 0%, var(--dark-bg) 50%, var(--secondary-color) 100%);
            min-height: 100vh;
            display: flex;
            align-items: center;
            position: relative;
            overflow: hidden;
        }
        
        .hero::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="40" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="2"/><path d="M50 10 L50 90 M10 50 L90 50" stroke="rgba(255,255,255,0.03)" stroke-width="1"/></svg>') repeat;
            background-size: 200px;
            opacity: 0.5;
        }
        
        .hero-content {
            position: relative;
            z-index: 1;
        }
        
        .hero h1 {
            font-size: 4rem;
            font-weight: 800;
            text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
        }
        
        .hero .badge-custom {
            background-color: var(--accent-color);
            color: var(--dark-bg);
            font-size: 1rem;
            padding: 0.5rem 1rem;
        }
        
        /* Navigation */
        .navbar-custom {
            background-color: rgba(13, 17, 23, 0.95);
            backdrop-filter: blur(10px);
        }
        
        .navbar-custom .nav-link {
            color: var(--light-text);
            font-weight: 500;
            transition: color 0.3s;
        }
        
        .navbar-custom .nav-link:hover {
            color: var(--accent-color);
        }
        
        /* Section Styling */
        section {
            padding: 5rem 0;
        }
        
        .section-title {
            font-size: 2.5rem;
            font-weight: 700;
            margin-bottom: 1rem;
            position: relative;
            display: inline-block;
        }
        
        .section-title::after {
            content: '';
            position: absolute;
            bottom: -10px;
            left: 0;
            width: 60px;
            height: 4px;
            background-color: var(--accent-color);
        }
        
        /* Group Cards */
        .group-card {
            background: linear-gradient(145deg, #161B22, #21262D);
            border: 1px solid #30363D;
            border-radius: 12px;
            overflow: hidden;
            transition: transform 0.3s, box-shadow 0.3s;
        }
        
        .group-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 30px rgba(0,0,0,0.3);
        }
        
        .group-header {
            background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
            padding: 1rem;
            font-weight: 700;
            font-size: 1.2rem;
        }
        
        .team-item {
            display: flex;
            align-items: center;
            padding: 0.75rem 1rem;
            border-bottom: 1px solid #30363D;
        }
        
        .team-item:last-child {
            border-bottom: none;
        }
        
        .team-flag {
            width: 32px;
            height: 24px;
            margin-right: 12px;
            border-radius: 3px;
            object-fit: cover;
        }
        
        /* Venue Cards */
        .venue-card {
            background: linear-gradient(145deg, #161B22, #21262D);
            border: 1px solid #30363D;
            border-radius: 12px;
            padding: 1.5rem;
            height: 100%;
            transition: transform 0.3s;
        }
        
        .venue-card:hover {
            transform: scale(1.02);
        }
        
        .country-badge {
            display: inline-block;
            padding: 0.25rem 0.75rem;
            border-radius: 20px;
            font-size: 0.85rem;
            font-weight: 600;
            margin-bottom: 1rem;
        }
        
        .country-usa {
            background: linear-gradient(90deg, #3C3B6E, #B22234);
        }
        
        .country-mexico {
            background: linear-gradient(90deg, #006847, #CE1126);
        }
        
        .country-canada {
            background: linear-gradient(90deg, #FF0000, #FFFFFF);
            color: #000;
        }
        
        /* Schedule Table */
        .schedule-table {
            background: #161B22;
            border-radius: 12px;
            overflow: hidden;
        }
        
        .schedule-table thead {
            background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
        }
        
        .schedule-table th {
            padding: 1rem;
            font-weight: 600;
            border: none;
        }
        
        .schedule-table td {
            padding: 1rem;
            border-color: #30363D;
            vertical-align: middle;
        }
        
        .schedule-table tbody tr:hover {
            background-color: #21262D;
        }
        
        .match-date {
            font-weight: 600;
            color: var(--accent-color);
        }
        
        .match-time {
            background: var(--primary-color);
            padding: 0.25rem 0.5rem;
            border-radius: 4px;
            font-size: 0.9rem;
        }
        
        /* Fixture Bracket */
        .bracket-stage {
            background: linear-gradient(145deg, #161B22, #21262D);
            border: 1px solid #30363D;
            border-radius: 12px;
            padding: 1.5rem;
            margin-bottom: 1.5rem;
        }
        
        .stage-title {
            color: var(--accent-color);
            font-weight: 700;
            font-size: 1.3rem;
            margin-bottom: 1rem;
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }
        
        .match-card {
            background: #21262D;
            border: 1px solid #30363D;
            border-radius: 8px;
            padding: 1rem;
            margin-bottom: 0.75rem;
        }
        
        .match-number {
            background: var(--primary-color);
            color: white;
            padding: 0.2rem 0.5rem;
            border-radius: 4px;
            font-size: 0.8rem;
            font-weight: 600;
        }
        
        /* Footer */
        footer {
            background: linear-gradient(180deg, var(--dark-bg), #000);
            padding: 3rem 0;
            border-top: 1px solid #30363D;
        }
        
        /* Scroll to top */
        .scroll-top {
            position: fixed;
            bottom: 30px;
            right: 30px;
            width: 50px;
            height: 50px;
            background: var(--accent-color);
            color: var(--dark-bg);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            text-decoration: none;
            opacity: 0;
            transition: opacity 0.3s;
            z-index: 1000;
        }
        
        .scroll-top.visible {
            opacity: 1;
        }
        
        /* Responsive */
        @media (max-width: 768px) {
            .hero h1 {
                font-size: 2.5rem;
            }
            
            .section-title {
                font-size: 2rem;
            }
        }
        
        /* Flag emoji fallback */
        .flag-emoji {
            font-size: 1.5rem;
            margin-right: 8px;
        }
        
        /* Tab styling */
        .nav-pills .nav-link {
            color: var(--light-text);
            background: #21262D;
            margin: 0 0.25rem;
            border-radius: 8px;
        }
        
        .nav-pills .nav-link.active {
            background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
        }