/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

/* Performance optimizations */
img {
    content-visibility: auto;
    contain-intrinsic-size: 300px 200px;
}

/* Optimize animations */
* {
    will-change: auto;
}

@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Typography */
h1, h2, h3, h4 {
    font-weight: bold;
    margin-bottom: 0.5rem;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

h4 {
    font-size: 1.25rem;
}

p {
    margin-bottom: 1rem;
}

/* Header and Navigation */
.header {
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
}

.navbar {
    padding: 0.5rem 0;
    height: 90px;
    display: flex;
    align-items: center;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 1.5rem;
    height: 100%;
    gap: 2rem;
}

.nav-logo {
    display: flex;
    align-items: center;
    position: relative;
    z-index: 1010;
    flex-shrink: 0;
    width: 500px;
    max-width: 500px;
    margin-left: -30%;
}

.nav-logo a {
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.logo-image {
    height: 68px;
    width: auto;
    max-width: 170px;
    object-fit: contain;
    position: relative;
    z-index: 1010;
    vertical-align: middle;
}

.logo-fallback {
    color: #F4C430;
    font-size: 3.17rem;
    font-weight: bold;
    display: none;
    position: relative;
    z-index: 1010;
}

/* Show fallback text if logo image fails to load */
.logo-image:not([src]), .logo-image[src=""], .logo-image:not([src*=".png"]):not([src*=".jpg"]):not([src*=".jpeg"]):not([src*=".svg"]):not([src*=".gif"]) + .logo-fallback {
    display: inline;
}

.logo-image:not([src]), .logo-image[src=""], .logo-image:not([src*=".png"]):not([src*=".jpg"]):not([src*=".jpeg"]):not([src*=".svg"]):not([src*=".gif"]) {
    display: none;
}

/* Logo hover effects */
.nav-logo a:hover .logo-image {
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.nav-logo a:hover .logo-fallback {
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.nav-menu {
    display: flex;
    gap: 2rem;
    align-items: center;
    margin-right: -10%;
}

.nav-link {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #F4C430;
}

/* User Icon in Navigation */
.nav-user-icon {
    font-size: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    transition: opacity 0.3s ease;
}

.nav-user-icon:hover {
    opacity: 0.7;
}

.nav-user-icon:focus,
.nav-user-icon:focus-visible,
.nav-user-icon:active {
    outline: none !important;
    box-shadow: none !important;
}

.nav-user-icon i {
    font-size: 1.25rem;
}

.nav-user-icon.hidden {
    display: none !important;
}

/* Enhanced Dropdown Navigation */
.nav-dropdown {
    position: relative;
    display: inline-block;
}

/* Create an invisible bridge to prevent accidental closing */
.nav-dropdown::before {
    content: '';
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    height: 0.5rem;
    background: transparent;
    z-index: 999;
    pointer-events: none;
}

.dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    position: relative;
    padding: 0.5rem 0;
}

.dropdown-toggle:focus {
    outline: 2px solid #F4C430;
    outline-offset: 2px;
    border-radius: 4px;
}

.dropdown-toggle i {
    font-size: 0.8rem;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
}

@media (hover: hover) and (pointer: fine) {
    .nav-dropdown:hover .dropdown-toggle i {
        transform: rotate(180deg);
    }
}

.nav-dropdown.active .dropdown-toggle i {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 0.5rem);
    left: 0;
    background-color: #fff;
    min-width: 220px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1), 
                0 6px 20px rgba(0, 0, 0, 0.15);
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    opacity: 0;
    visibility: hidden;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1000;
    padding: 0.75rem 0;
    backdrop-filter: blur(10px);
    overflow: hidden;
}

.dropdown-menu:hover {
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12), 
                0 8px 25px rgba(0, 0, 0, 0.18);
}

@media (hover: hover) and (pointer: fine) {
    .nav-dropdown:hover .dropdown-menu {
        opacity: 1;
        visibility: visible;
    }
}

.nav-dropdown.active .dropdown-menu {
    opacity: 1;
    visibility: visible;
}

.dropdown-item {
    display: block;
    padding: 0.875rem 1.5rem;
    color: #333;
    text-decoration: none;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    border-left: 3px solid transparent;
    position: relative;
    font-weight: 500;
    font-size: 0.95rem;
    margin: 0 0.25rem;
    border-radius: 6px;
}

.dropdown-item:hover,
.dropdown-item:focus {
    background: linear-gradient(90deg, 
                rgba(244, 196, 48, 0.12) 0%, 
                rgba(244, 196, 48, 0.08) 100%);
    color: #F4C430;
    border-left: 3px solid #F4C430;
    outline: none;
}

.dropdown-item:focus {
    box-shadow: 0 0 0 2px rgba(244, 196, 48, 0.3);
    outline: none;
}

.dropdown-item:active {
    background-color: rgba(244, 196, 48, 0.18);
    border-left: 3px solid #e6b129;
}

/* Add subtle separator between items */
.dropdown-item:not(:last-child)::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 1.5rem;
    right: 1.5rem;
    height: 1px;
    background: linear-gradient(90deg, 
                transparent 0%, 
                rgba(0, 0, 0, 0.1) 50%, 
                transparent 100%);
}

/* Enhanced animations */
@keyframes dropdown-fade-in {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes dropdown-fade-out {
    from {
        opacity: 1;
    }
    to {
        opacity: 0;
    }
}

.nav-dropdown.active .dropdown-menu {
    animation: dropdown-fade-in 0.25s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

/* Touch device optimizations */
@media (hover: none) and (pointer: coarse) {
    .dropdown-toggle {
        padding: 1rem 0.5rem;
        margin: -0.5rem -0.25rem;
    }
    
    .dropdown-item {
        padding: 1rem 1.5rem;
        font-size: 1rem;
    }
    
    .dropdown-menu {
        min-width: 240px;
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    }
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.nav-toggle .bar {
    width: 25px;
    height: 3px;
    background-color: #333;
    margin: 3px 0;
    transition: 0.3s;
}

/* Main Content */
.main-content {
    margin-top: 90px;
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url('../images/generation-sports-hero.JPG');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: #fff;
    padding: 7.99rem 0;
    text-align: center;
    position: relative;
    content-visibility: auto;
    contain-intrinsic-size: 600px;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1;
}

.hero .hero-container {
    position: relative;
    z-index: 2;
}

/* Generation Sports Hero Section */
.generation-sports-hero {
    background: linear-gradient(135deg, #000 0%, #111 100%) !important;
    background-color: #000 !important;
    background-image: none !important;
    padding: 0;
    color: #fff;
    position: relative;
    height: 100vh;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.generation-sports-hero::before {
    display: none !important;
    content: none !important;
    background: none !important;
}

.generation-sports-hero .hero-container {
    max-width: none;
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: stretch;
    background: transparent !important;
    background-color: transparent !important;
}

.generation-sports-hero .hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    align-items: stretch;
    width: 100%;
    height: 100%;
    background: transparent !important;
    background-color: transparent !important;
}

.generation-sports-hero .hero-text {
    background: transparent !important;
    background-color: transparent !important;
    padding: 3rem 4rem;
    border-radius: 0;
    box-shadow: none;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    height: 100%;
    align-self: stretch;
}

.generation-sports-hero .hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #fff;
    line-height: 1.2;
}

.generation-sports-hero .hero-subtitle {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #fff;
}

.generation-sports-hero .hero-description {
    font-size: 1.15rem;
    line-height: 1.8;
    margin-bottom: 2.5rem;
    color: rgba(255, 255, 255, 0.9);
}

.generation-sports-hero .hero-image {
    position: relative;
    border-radius: 0;
    overflow: hidden;
    box-shadow: none;
    height: 100%;
    align-self: stretch;
    margin-right: 0;
    background: linear-gradient(135deg, #000 0%, #111 100%);
}

.generation-sports-hero .hero-image::before {
    display: none;
    z-index: 1;
    pointer-events: none;
}

.generation-sports-hero .hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    position: relative;
    z-index: 0;
}

.generation-sports-hero .hero-cta {
    display: flex;
    flex-direction: row;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 2rem;
    justify-content: center;
}

.generation-sports-hero .cta-button.primary {
    background-color: #F4C430;
    color: #333;
    border: 3px solid #F4C430;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: background-color 0.2s ease;
}

.generation-sports-hero .cta-button.primary:hover {
    background-color: #e6b129;
    border-color: #e6b129;
}

.generation-sports-hero .cta-button.secondary {
    background-color: transparent;
    color: #fff;
    border: 3px solid #fff;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.generation-sports-hero .cta-button.secondary:hover {
    background-color: #fff;
    color: #333;
}

/* Responsive Design for Generation Sports Hero */
@media (max-width: 968px) {
    .generation-sports-hero {
        height: auto;
        min-height: auto;
        padding: 0;
    }
    
    .generation-sports-hero .hero-container {
        padding: 0;
    }
    
    .generation-sports-hero .hero-content {
        grid-template-columns: 1fr;
        gap: 0;
        max-height: none;
        height: auto;
    }
    
    .generation-sports-hero .hero-image {
        order: -1;
        height: 300px;
    }

    .generation-sports-hero .hero-image::before {
        display: none;
    }
    
    .generation-sports-hero .hero-text {
        padding: 2rem 1.5rem;
        height: auto;
    }
    
    .generation-sports-hero .hero-title {
        font-size: 2.5rem;
    }
    
    .generation-sports-hero .hero-subtitle {
        font-size: 1.25rem;
    }
    
    .generation-sports-hero .hero-cta {
        flex-direction: column;
    }
    
    .generation-sports-hero .cta-button {
        width: 100%;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .generation-sports-hero .hero-image {
        height: 220px;
    }

    .generation-sports-hero .hero-text {
        padding: 1.5rem 1rem;
    }

    .generation-sports-hero .hero-title {
        font-size: 2rem;
    }

    .generation-sports-hero .hero-subtitle {
        font-size: 1.1rem;
    }

    .generation-sports-hero .hero-description {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }

    .generation-sports-hero .cta-button {
        padding: 12px 20px;
        font-size: 0.9rem;
    }
}

.hero-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 1rem;
}

.hero-title {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    font-weight: 400;
}

.hero-description {
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto 2rem;
    line-height: 1.6;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: #F4C430;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.9rem;
    font-weight: 500;
}

/* Sports Selection Section */
.sports-selection {
    padding: 4rem 0;
    background-color: #f8f9fa;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
    color: #333;
}

.sports-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.sport-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: box-shadow 0.2s ease;
}

.sport-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.sport-image {
    height: 250px;
    overflow: hidden;
    position: relative;
}

.sport-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.sport-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.1) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.sport-card:hover .sport-overlay {
    opacity: 1;
}

.sport-icon {
    width: 56px;
    height: 56px;
    background: rgba(244, 196, 48, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sport-icon i {
    font-size: 1.5rem;
    color: #F4C430;
}

.sport-card:hover .sport-image img {
    opacity: 0.95;
}

.sport-content {
    padding: 2rem;
}

.sport-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.sport-content h3 {
    color: #333;
    margin: 0;
    font-size: 1.5rem;
    font-weight: 600;
}

.sport-badge {
    background: #F4C430;
    color: #333;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.sport-features {
    margin: 1.5rem 0;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    color: #666;
    font-size: 0.95rem;
}

.feature-item i {
    color: #F4C430;
    width: 20px;
    text-align: center;
    font-size: 1rem;
}

.sport-content p {
    color: #666;
    margin-bottom: 1.5rem;
}

.sport-highlights {
    list-style: none;
    margin-bottom: 2rem;
}

.sport-highlights li {
    padding: 0.5rem 0;
    color: #555;
    position: relative;
    padding-left: 1.5rem;
}

.sport-highlights li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #F4C430;
    font-weight: bold;
}

/* CTA Buttons */
.cta-button {
    display: inline-block;
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    text-align: center;
    transition: background-color 0.2s ease;
    border: 2px solid transparent;
    cursor: pointer;
}

.cta-button.primary {
    background-color: #F4C430;
    color: #333;
    border-color: #F4C430;
}

.cta-button.primary:hover {
    background-color: #e6b129;
    border-color: #e6b129;
}

.cta-button.secondary {
    background-color: #333;
    color: #fff;
    border-color: #333;
}

.cta-button.secondary:hover {
    background-color: #444;
    border-color: #444;
}

/* Hero-specific CTA styling */
.hero .cta-button.primary {
    background-color: #F4C430;
    color: #333;
    border: 3px solid #F4C430;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero .cta-button.primary:hover {
    background-color: #e6b129;
    border-color: #e6b129;
}

.hero .cta-button.secondary {
    background-color: transparent;
    color: #fff;
    border: 3px solid #fff;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero .cta-button.secondary:hover {
    background-color: #fff;
    color: #333;
}

.cta-button.large {
    padding: 1.25rem 3rem;
    font-size: 1.1rem;
}

/* Community Overview Section */
.community-overview {
    padding: 4rem 0;
    background-color: #fff;
}

.community-content h2 {
    text-align: center;
    margin-bottom: 1rem;
    color: #333;
    font-size: 2.5rem;
    font-weight: 700;
}

.section-subtitle {
    text-align: center;
    color: #666;
    font-size: 1.1rem;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.benefits-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.benefit-item {
    text-align: center;
    padding: 2.5rem 2rem;
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}

.benefit-icon {
    width: 56px;
    height: 56px;
    background: rgba(244, 196, 48, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.benefit-icon i {
    font-size: 1.5rem;
    color: #F4C430;
}

.benefit-item h4 {
    color: #333;
    margin-bottom: 1rem;
}

.benefit-item p {
    color: #666;
    margin: 0;
}

/* CTA Section */
.cta-section {
    padding: 4rem 0;
    background: #222;
    color: #fff;
    text-align: center;
}

.cta-content h2 {
    margin-bottom: 1rem;
    font-size: 2.5rem;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    align-items: center;
    margin-bottom: 2rem;
}

.cta-button i {
    margin-right: 0.5rem;
}

.cta-footer {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.cta-footer p {
    margin: 0;
    opacity: 0.9;
}

.cta-footer a {
    color: #F4C430;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.cta-footer a:hover {
    color: #e6b129;
}

/* Footer */
.footer {
    background-color: #222;
    color: #fff;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
    color: #F4C430;
    margin-bottom: 1rem;
}

.footer-section p {
    margin-bottom: 0.5rem;
    opacity: 0.8;
}

.social-links {
    display: flex;
    flex-direction: row;
    gap: 1rem;
    justify-content: flex-start;
    margin-top: 0.5rem;
}

.social-links a {
    color: #fff;
    text-decoration: none;
    opacity: 0.8;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    font-size: 1.2rem;
}

.social-links a:hover {
    opacity: 1;
    color: #F4C430;
    background-color: rgba(244, 196, 48, 0.2);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #444;
    opacity: 0.6;
}

/* Mobile Navigation */
@media (max-width: 768px) {
    .nav-container {
        padding: 0 1rem;
        display: flex;
        justify-content: space-between;
        align-items: center;
        position: relative;
        width: 100%;
        max-width: none;
        gap: 1rem;
    }

    .nav-logo {
        margin-left: 0;
        width: auto;
        max-width: none;
        flex: 1;
        display: flex;
        justify-content: flex-start;
        align-items: center;
    }

    .nav-logo a {
        display: flex;
        align-items: center;
        justify-content: flex-start;
        width: 100%;
        max-width: 320px;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 90px;
        flex-direction: column;
        background-color: #fff;
        width: 100%;
        text-align: center;
        transition: left 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.1);
        padding: 2rem 0;
        margin-left: 0;
        margin-right: 0;
        z-index: 999;
        max-height: calc(100vh - 90px);
        overflow-y: auto;
    }

    .logo-image {
        height: 60px;
        width: auto;
        max-width: 160px;
        object-fit: contain;
    }

    .logo-fallback {
        font-size: 1.5rem;
    }

    .nav-toggle {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        width: 40px;
        height: 40px;
        cursor: pointer;
        padding: 8px;
        border-radius: 6px;
        transition: background-color 0.3s ease;
        position: relative;
        z-index: 1001;
        flex-shrink: 0;
    }

    .nav-toggle:hover {
        background-color: rgba(244, 196, 48, 0.1);
    }

    .nav-toggle:focus {
        outline: 2px solid #F4C430;
        outline-offset: 2px;
    }

    .nav-toggle .bar {
        width: 24px;
        height: 3px;
        background-color: #333;
        margin: 2px 0;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        border-radius: 2px;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu a {
        padding: 1rem;
        display: block;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
        font-weight: 500;
        transition: all 0.2s ease;
    }

    .nav-menu a:hover {
        background-color: rgba(244, 196, 48, 0.1);
        color: #F4C430;
    }

    .nav-menu a:last-child {
        border-bottom: none;
    }
    
    /* Center the user/portal icon on mobile */
    .nav-user-icon {
        justify-content: center;
        padding: 1rem;
        width: 100%;
    }

    /* Enhanced Mobile dropdown styling */
    .nav-dropdown {
        width: 100%;
    }

    /* Prevent CSS :hover from opening dropdowns on touch devices */
    .nav-dropdown:hover > .dropdown-menu {
        opacity: 0;
        visibility: hidden;
        max-height: 0;
    }

    .nav-dropdown.active > .dropdown-menu {
        opacity: 1 !important;
        visibility: visible !important;
        max-height: 500px !important;
        padding: 0.5rem 0 !important;
    }
    
    .dropdown-menu {
        position: static;
        opacity: 0;
        visibility: hidden;
        transform: none;
        box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1);
        background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
        margin: 0;
        padding: 0;
        border-radius: 0;
        border-left: 4px solid #F4C430;
        border-top: 1px solid rgba(244, 196, 48, 0.3);
        max-height: 0;
        overflow: hidden;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }
    
    .nav-dropdown.active .dropdown-menu {
        opacity: 1;
        visibility: visible;
        max-height: 500px;
        padding: 0.5rem 0;
    }
    
    .dropdown-item {
        padding: 1rem 2rem;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
        border-left: 4px solid transparent;
        font-size: 0.95rem;
        font-weight: 500;
        transition: all 0.2s ease;
        position: relative;
        margin: 0 0.5rem;
        border-radius: 6px;
    }
    
    .dropdown-item:hover,
    .dropdown-item:focus {
        background: linear-gradient(90deg, 
                    rgba(244, 196, 48, 0.15) 0%, 
                    rgba(244, 196, 48, 0.08) 100%);
        color: #F4C430;
        border-left: 4px solid #F4C430;
        outline: none;
    }
    
    .dropdown-item:last-child {
        border-bottom: none;
    }
    
    .dropdown-toggle {
        justify-content: space-between;
        width: 100%;
    }
    
    .dropdown-toggle i {
        display: block;
        font-size: 0.9rem;
        transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }
    
    .nav-dropdown.active .dropdown-toggle i {
        transform: rotate(180deg);
    }

    .nav-toggle.active .bar:nth-child(2) {
        opacity: 0;
        transform: scale(0);
    }

    .nav-toggle.active .bar:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
        background-color: #F4C430;
    }

    .nav-toggle.active .bar:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
        background-color: #F4C430;
    }

    .nav-toggle.active {
        background-color: rgba(244, 196, 48, 0.15);
    }
}

/* Extra small mobile devices */
@media (max-width: 480px) {
    .nav-container {
        padding: 0 0.75rem;
    }
    
    .logo-image {
        height: 50px;
        max-width: 140px;
    }
    
    .logo-fallback {
        font-size: 1.3rem;
    }
    
    .nav-toggle {
        width: 36px;
        height: 36px;
        padding: 6px;
    }
    
    .nav-toggle .bar {
        width: 20px;
        height: 2px;
    }
    
    .navbar {
        height: 70px;
    }
    
    .main-content {
        margin-top: 70px;
    }
    
    .nav-menu {
        top: 70px;
        max-height: calc(100vh - 70px);
    }
}

/* Very small screens */
@media (max-width: 360px) {
    .nav-container {
        padding: 0 0.5rem;
    }
    
    .logo-image {
        height: 45px;
        max-width: 120px;
    }
    
    .logo-fallback {
        font-size: 1.2rem;
    }
    
    .nav-toggle {
        width: 32px;
        height: 32px;
        padding: 4px;
    }
    
    .nav-toggle .bar {
        width: 18px;
        height: 2px;
    }
}

/* Tablet and Desktop Styles */
@media (min-width: 768px) {
    .sports-grid {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }

    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }

    .cta-buttons {
        flex-direction: row;
        justify-content: center;
    }

    .hero-stats {
        gap: 4rem;
    }

    .stat-number {
        font-size: 3rem;
    }

    .footer-content {
        grid-template-columns: repeat(3, 1fr);
    }

    .social-links {
        flex-direction: row;
        gap: 1rem;
        justify-content: flex-start;
    }
    
    .social-links a {
        width: 45px;
        height: 45px;
        font-size: 1.3rem;
    }
}

@media (min-width: 1024px) {
    .hero-title {
        font-size: 4rem;
    }

    .hero-subtitle {
        font-size: 1.8rem;
    }

    .benefits-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .sport-content {
        padding: 2.5rem;
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Focus styles for keyboard navigation */
.nav-link:focus,
.cta-button:focus {
    outline: 2px solid #F4C430;
    outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .hero {
        background: #000;
        color: #fff;
    }
}

/* Newsletter Section */
.newsletter-section {
    padding: 4rem 0;
    background-color: #222;
    color: #fff;
    text-align: center;
}

.newsletter-content h2 {
    font-size: 2rem;
    margin-bottom: 0.75rem;
    color: #fff;
}

.newsletter-content p {
    color: #ddd;
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.newsletter-form {
    max-width: 480px;
    margin: 0 auto;
}

.newsletter-input-group {
    display: flex;
    gap: 0.5rem;
}

.newsletter-input-group input {
    flex: 1;
    padding: 0.875rem 1rem;
    border: 2px solid #333;
    border-radius: 6px;
    background: #111;
    color: #fff;
    font-size: 1rem;
}

.newsletter-input-group input::placeholder {
    color: #888;
}

.newsletter-input-group input:focus {
    outline: none;
    border-color: #F4C430;
}

.newsletter-input-group .cta-button {
    white-space: nowrap;
    padding: 0.875rem 1.5rem;
}

@media (max-width: 480px) {
    .newsletter-input-group {
        flex-direction: column;
    }
}