/* Enhanced Landing Page Styles */

/* Hero Section Enhanced */
.hero-section-enhanced {
    position: relative;
    min-height: 100vh;
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--secondary-green) 50%, var(--light-green) 100%);
    display: flex;
    align-items: center;
    overflow: hidden;
    padding: 120px 0 60px;
}

.hero-background-animation {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
}

.football-pattern {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 40% 20%, rgba(255, 255, 255, 0.03) 0%, transparent 50%);
    animation: patternMove 20s ease-in-out infinite;
}
.main-trophy {
    font-size: 200px;
    color: var(--saudi-gold-light);
    filter: drop-shadow(0 0 30px rgba(201, 162, 39, 0.8));
    animation: trophyGlow 2s ease-in-out infinite alternate;
}

@keyframes trophyFloat {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-10px) rotate(5deg); }
}

@keyframes trophyGlow {
    0% { filter: drop-shadow(0 0 20px rgba(201, 162, 39, 0.6)); }
    100% { filter: drop-shadow(0 0 40px rgba(201, 162, 39, 1)); }
}

.trophy-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(201, 162, 39, 0.3) 0%, transparent 70%);
    border-radius: 50%;
    animation: glow 2s ease-in-out infinite alternate;
}
@keyframes patternMove {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(20px, 20px) scale(1.1); }
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.15);
    padding: 10px 20px;
    border-radius: 50px;
    backdrop-filter: blur(10px);
    animation: fadeInDown 0.8s ease-out;
}

.badge-pulse {
    width: 10px;
    height: 10px;
    background: var(--gold);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.5);
        opacity: 0.5;
    }
}

.badge-text {
    color: var(--white);
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-title-enhanced {
    font-size: 4.5rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease-out;
}

.title-line {
    display: block;
    color: var(--white);
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.3);
}

.title-line.highlight {
    background: linear-gradient(90deg, var(--gold), #FFA500);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.hero-description {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.8;
    margin-bottom: 2rem;
    animation: fadeInUp 1.2s ease-out;
}

.hero-stats {
    display: flex;
    gap: 40px;
    animation: fadeInUp 1.4s ease-out;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 3rem;
    font-weight: bold;
    color: var(--gold);
    line-height: 1;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.stat-label {
    font-size: 0.9rem;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 5px;
}

.hero-buttons-enhanced {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    animation: fadeInUp 1.6s ease-out;
}

.btn-hero-primary,
.btn-hero-secondary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 18px 35px;
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: 50px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.btn-hero-primary {
    background: var(--gold);
    color: var(--dark-green);
    border: 3px solid var(--gold);
    box-shadow: 0 10px 30px rgba(255, 215, 0, 0.4);
}

.btn-hero-primary::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-hero-primary:hover::before {
    width: 300px;
    height: 300px;
}

.btn-hero-primary:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 40px rgba(255, 215, 0, 0.6);
}

.btn-hero-secondary {
    background: transparent;
    color: var(--white);
    border: 3px solid var(--white);
}

.btn-hero-secondary:hover {
    background: var(--white);
    color: var(--primary-green);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.3);
}

/* Trophy Showcase */
.trophy-showcase {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 600px;
}

.trophy-glow-effect {
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.3) 0%, transparent 70%);
    border-radius: 50%;
    animation: glowPulse 3s ease-in-out infinite;
}

@keyframes glowPulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.5;
    }
    50% {
        transform: scale(1.2);
        opacity: 0.8;
    }
}

.trophy-container-3d {
    position: relative;
    z-index: 2;
    animation: float3D 6s ease-in-out infinite;
    transform-style: preserve-3d;
}

@keyframes float3D {
    0%, 100% {
        transform: translateY(0) rotateY(0deg);
    }
    25% {
        transform: translateY(-20px) rotateY(5deg);
    }
    50% {
        transform: translateY(0) rotateY(0deg);
    }
    75% {
        transform: translateY(-20px) rotateY(-5deg);
    }
}

.trophy-image-3d {
    max-width: 500px;
    width: 100%;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.4));
    border-radius: 20px;
}

.floating-elements {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

.float-element {
    position: absolute;
    font-size: 2.5rem;
    animation: floatAround 8s ease-in-out infinite;
}

.star-1 {
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.star-2 {
    top: 20%;
    right: 15%;
    animation-delay: 1s;
}

.star-3 {
    bottom: 20%;
    left: 15%;
    animation-delay: 2s;
}

.star-4 {
    bottom: 15%;
    right: 10%;
    animation-delay: 3s;
}

@keyframes floatAround {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
    }
    25% {
        transform: translate(20px, -20px) rotate(90deg);
    }
    50% {
        transform: translate(0, -40px) rotate(180deg);
    }
    75% {
        transform: translate(-20px, -20px) rotate(270deg);
    }
}

/* Flags Carousel Section */
.flags-carousel-section {
    background: linear-gradient(135deg, var(--secondary-green) 0%, var(--primary-green) 100%);
    padding: 60px 0;
    overflow: hidden;
    position: relative;
}

.flags-carousel-section::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.03)" stroke-width="0.5"/></svg>');
    opacity: 0.5;
}

.section-title-white {
    color: var(--white);
    font-size: 2rem;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    position: relative;
    z-index: 1;
}

.flags-carousel-wrapper {
    overflow: hidden;
    position: relative;
    padding: 20px 0;
}

.flags-track {
    display: flex;
    gap: 30px;
    animation: scrollFlags 40s linear infinite;
    width: fit-content;
}

@keyframes scrollFlags {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.flag-card {
    flex-shrink: 0;
    width: 150px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 20px;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.flag-card:hover {
    transform: translateY(-10px) scale(1.05);
    background: rgba(255, 255, 255, 0.2);
    border-color: var(--gold);
    box-shadow: 0 10px 30px rgba(255, 215, 0, 0.3);
}

.flag-card img {
    width: 100%;
    height: 75px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.flag-card span {
    display: block;
    color: var(--white);
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Pause animation on hover */
.flags-carousel-wrapper:hover .flags-track {
    animation-play-state: paused;
}

/* Responsive Design */
@media (max-width: 992px) {
    .hero-title-enhanced {
        font-size: 3rem;
    }
    
    .hero-description {
        font-size: 1.1rem;
    }
    
    .hero-stats {
        gap: 20px;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .trophy-showcase {
        min-height: 400px;
        margin-top: 40px;
    }
    
    .trophy-image-3d {
        max-width: 350px;
    }
}

@media (max-width: 768px) {
    .hero-title-enhanced {
        font-size: 2.5rem;
    }
    
    .hero-buttons-enhanced {
        flex-direction: column;
    }
    
    .btn-hero-primary,
    .btn-hero-secondary {
        width: 100%;
        justify-content: center;
    }
    
    .hero-stats {
        justify-content: space-around;
        width: 100%;
    }
    
    .flag-card {
        width: 120px;
    }
    
    .float-element {
        font-size: 1.5rem;
    }
}

@media (max-width: 576px) {
    .hero-title-enhanced {
        font-size: 2rem;
    }
    
    .stat-number {
        font-size: 1.5rem;
    }
    
    .stat-label {
        font-size: 0.75rem;
    }
}