* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 50%, #ff4757 100%);
    color: #fff;
}

.sport-pattern {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(255,255,255,0.1) 2px, transparent 2px),
        radial-gradient(circle at 40% 20%, rgba(255,255,255,0.05) 1px, transparent 1px),
        radial-gradient(circle at 80% 80%, rgba(255,255,255,0.08) 3px, transparent 3px);
    background-size: 50px 50px, 30px 30px, 70px 70px;
    animation: patternMove 20s linear infinite;
}

@keyframes patternMove {
    0% { background-position: 0 0, 0 0, 0 0; }
    100% { background-position: 50px 50px, 30px 30px, 70px 70px; }
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 71, 87, 0.95);
    backdrop-filter: blur(15px);
    z-index: 1000;
    transition: all 0.3s ease;
    border-bottom: 3px solid #ffdd59;
}

nav.scrolled {
    background: rgba(255, 71, 87, 0.98);
    box-shadow: 0 8px 32px rgba(255, 71, 87, 0.3);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
}

.logo {
    font-size: 1.8rem;
    font-weight: 900;
    color: #ffdd59;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.nav-menu {
    display: flex;
    gap: 2.5rem;
    list-style: none;
}

.nav-menu a {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    text-transform: uppercase;
    transition: all 0.3s ease;
    position: relative;
    font-size: 0.9rem;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, #ffdd59, #feca57);
    transition: width 0.3s ease;
    border-radius: 2px;
}

.nav-menu a:hover {
    color: #ffdd59;
    transform: translateY(-2px);
}

.nav-menu a:hover::after {
    width: 100%;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    padding: 2rem 0;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(from 0deg, transparent, rgba(255,221,89,0.1), transparent);
    animation: spin 30s linear infinite;
}

@keyframes spin {
    100% { transform: rotate(360deg); }
}

.hero-content h1 {
    font-size: clamp(3.5rem, 10vw, 7rem);
    font-weight: 900;
    margin-bottom: 1rem;
    background: linear-gradient(45deg, #fff, #ffdd59, #fff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 50px rgba(255, 221, 89, 0.5);
    text-transform: uppercase;
    letter-spacing: 3px;
    animation: titlePulse 3s ease-in-out infinite;
}

@keyframes titlePulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.hero-content .subtitle {
    font-size: 1.8rem;
    margin-bottom: 2rem;
    font-weight: bold;
    color: #ffdd59;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero-content .description {
    font-size: 1.2rem;
    opacity: 0.95;
    max-width: 700px;
    margin: 0 auto 3rem;
    line-height: 1.8;
    font-weight: 500;
}

.cta-button {
    display: inline-block;
    background: linear-gradient(45deg, #ffdd59, #feca57);
    color: #ff4757;
    padding: 18px 50px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 900;
    font-size: 1.2rem;
    text-transform: uppercase;
    transition: all 0.3s ease;
    box-shadow: 0 15px 35px rgba(255, 221, 89, 0.4);
    border: 3px solid transparent;
    letter-spacing: 1px;
}

.cta-button:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 20px 50px rgba(255, 221, 89, 0.6);
    border-color: #fff;
}

/* Sports Icons Animation */
.sports-icons {
    position: absolute;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.sport-icon {
    position: absolute;
    font-size: 2rem;
    color: rgba(255, 255, 255, 0.1);
    animation: floatIcon 8s ease-in-out infinite;
}

@keyframes floatIcon {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-30px) rotate(180deg); }
}

/* Section Styles */
.section {
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
}

.section:nth-child(even) {
    background: linear-gradient(135deg, #ff4757 0%, #ff3742 100%);
}

.section:nth-child(odd) {
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
}

.section-header {
    text-align: center;
    margin-bottom: 5rem;
}

.section-header h2 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: #ffdd59;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 3px;
    text-shadow: 3px 3px 6px rgba(0,0,0,0.3);
}

.section-header p {
    font-size: 1.3rem;
    opacity: 0.9;
    max-width: 700px;
    margin: 0 auto;
    font-weight: 500;
}

/* Theme Section */
.theme-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
    margin-top: 4rem;
}

.theme-card {
    background: linear-gradient(135deg, rgba(255,255,255,0.15), rgba(255,255,255,0.05));
    padding: 3rem;
    border-radius: 30px;
    text-align: center;
    transition: all 0.4s ease;
    border: 3px solid rgba(255, 221, 89, 0.3);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.theme-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255,221,89,0.1), transparent);
    transition: all 0.4s ease;
    transform: rotate(-45deg);
}

.theme-card:hover {
    transform: translateY(-15px) scale(1.03);
    box-shadow: 0 25px 50px rgba(255, 221, 89, 0.3);
    border-color: #ffdd59;
}

.theme-card:hover::before {
    transform: rotate(0deg);
}

.theme-card i {
    font-size: 4rem;
    color: #ffdd59;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.theme-card h3 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    font-weight: 800;
    text-transform: uppercase;
    color: #fff;
}

/* Competition Section */
.competition-grid {
    display: flex;
    gap: 2.5rem;
    margin-top: 4rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    cursor: grab;
    /* Hide scrollbar */
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none;  /* IE and Edge */
}
.competition-grid.active {
    cursor: grabbing;
    scroll-behavior: auto;
    scroll-snap-type: none;
}
.competition-grid::-webkit-scrollbar {
    display: none; /* Chrome, Safari, and Opera */
}

.competition-card {
    background: linear-gradient(135deg, rgba(255,255,255,0.2), rgba(255,255,255,0.05));
    border-radius: 25px;
    overflow: hidden;
    transition: all 0.4s ease;
    border: 3px solid rgba(255, 221, 89, 0.2);
    backdrop-filter: blur(15px);
    position: relative;
    flex: 0 0 380px; /* Give a fixed base width to each card */
    scroll-snap-align: start;
}

.competition-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,221,89,0.1), transparent);
    transition: left 0.6s ease;
}

.competition-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(255, 221, 89, 0.25);
    border-color: #ffdd59;
}

.competition-card:hover::after {
    left: 100%;
}

.card-image {
    height: 180px;
    overflow: hidden;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.competition-card:hover .card-image img {
    transform: scale(1.1);
}

.card-header {
    background: linear-gradient(45deg, #ffdd59, #feca57);
    padding: 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.card-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: repeating-linear-gradient(
        45deg,
        transparent,
        transparent 10px,
        rgba(255,255,255,0.1) 10px,
        rgba(255,255,255,0.1) 20px
    );
}

.card-header h3 {
    font-size: 1.4rem;
    font-weight: 900;
    color: #ff4757;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    z-index: 2;
}

.card-header i {
    margin-right: 10px;
    font-size: 1.6rem;
}

.card-body {
    padding: 2.5rem;
}

.card-body p {
    opacity: 0.95;
    line-height: 1.7;
    font-weight: 500;
    font-size: 1.05rem;
}

/* Contact Section */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
    margin-top: 4rem;
}

.contact-card {
    background: linear-gradient(135deg, rgba(255,255,255,0.2), rgba(255,255,255,0.05));
    padding: 2.5rem;
    border-radius: 25px;
    text-align: center;
    transition: all 0.4s ease;
    border: 3px solid rgba(255, 221, 89, 0.2);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.contact-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(from 0deg, transparent, rgba(255,221,89,0.1), transparent);
    animation: spin 20s linear infinite;
}

.contact-card:hover {
    transform: translateY(-8px) scale(1.02);
    border-color: #ffdd59;
    box-shadow: 0 15px 30px rgba(255, 221, 89, 0.2);
}

.contact-card i {
    font-size: 3rem;
    color: #ffdd59;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    position: relative;
    z-index: 2;
}

.contact-card h4 {
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
    font-weight: 800;
    text-transform: uppercase;
    color: #ffdd59;
    position: relative;
    z-index: 2;
}

.contact-card p, .contact-card a {
    position: relative;
    z-index: 2;
    font-weight: 600;
}

.contact-card a {
    color: #fff;
    text-decoration: none;
    transition: all 0.3s ease;
}

.contact-card a:hover {
    color: #ffdd59;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

/* Dynamic Elements */
.energy-pulse {
    position: fixed;
    width: 20px;
    height: 20px;
    background: radial-gradient(circle, #ffdd59, transparent);
    border-radius: 50%;
    pointer-events: none;
    opacity: 0;
    z-index: 1;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }

    .hero-content h1 {
        font-size: 3rem;
    }

    .section {
        padding: 4rem 0;
    }

    .section-header h2 {
        font-size: 2.2rem;
    }

    .theme-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .theme-card,
    .contact-card {
        padding: 2rem;
    }

    .competition-card {
        min-width: 300px;
        max-width: 300px;
    }

    .card-image {
        height: 150px;
    }

    .competition-card {
        flex-basis: 90%; /* Make cards almost full width on mobile */
    }
}

/* Slider Controls */
.slider-controls {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 2.5rem;
}

.slider-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 3px solid #ffdd59;
    background: transparent;
    color: #ffdd59;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    justify-content: center;
    align-items: center;
}

.slider-btn:hover {
    background: #ffdd59;
    color: #ff4757;
    transform: scale(1.1);
}

/* Enhanced animations */
@keyframes bounce {
    0%, 20%, 53%, 80%, 100% { transform: translate3d(0,0,0); }
    40%, 43% { transform: translate3d(0,-30px,0); }
    70% { transform: translate3d(0,-15px,0); }
    90% { transform: translate3d(0,-4px,0); }
}

.bounce-element {
    animation: bounce 2s infinite;
}