/**
 * ============================================================
 * BULBULA AMEN F.C. - MAIN STYLESHEET
 * Premium Football Academy Theme
 * ============================================================
 */

/* ============================================================
   CSS VARIABLES
   ============================================================ */
:root {
    /* Brand Colors */
    --primary: #F7941D;
    --primary-dark: #E07A0C;
    --primary-light: #FFB04D;
    --secondary: #1E5AA8;
    --secondary-dark: #154785;
    --secondary-light: #3A7BC8;
    --accent: #D4A84B;
    --navy: #0D1B2A;
    --navy-light: #1B2838;
    
    /* Neutral Colors */
    --white: #FFFFFF;
    --gray-50: #F8FAFC;
    --gray-100: #F1F5F9;
    --gray-200: #E2E8F0;
    --gray-300: #CBD5E1;
    --gray-400: #94A3B8;
    --gray-500: #64748B;
    --gray-600: #475569;
    --gray-700: #334155;
    --gray-800: #1E293B;
    --gray-900: #0F172A;
    
    /* Status Colors */
    --success: #22C55E;
    --warning: #EAB308;
    --error: #EF4444;
    --info: #3B82F6;
    
    /* Typography */
    --font-primary: 'Poppins', 'Noto Sans Ethiopic', sans-serif;
    --font-display: 'Oswald', 'Noto Sans Ethiopic', sans-serif;
    
    /* Spacing */
    --container-max: 1280px;
    --section-padding: 80px;
    --card-radius: 16px;
    --button-radius: 8px;
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --shadow-glow: 0 0 30px rgba(247, 148, 29, 0.3);
}

/* ============================================================
   BASE STYLES
   ============================================================ */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-primary);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--gray-700);
    background-color: var(--white);
    overflow-x: hidden;
}

body.am {
    font-family: 'Noto Sans Ethiopic', var(--font-primary);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.2;
    color: var(--navy);
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.75rem, 4vw, 2.5rem); }
h3 { font-size: clamp(1.25rem, 3vw, 1.75rem); }
h4 { font-size: 1.25rem; }

a {
    color: var(--primary);
    text-decoration: none;
    transition: var(--transition-fast);
}

a:hover {
    color: var(--primary-dark);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ============================================================
   UTILITIES
   ============================================================ */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: var(--section-padding) 0;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-title {
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    border-radius: 2px;
}

.section-subtitle {
    color: var(--gray-500);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

.text-primary { color: var(--primary); }
.text-secondary { color: var(--secondary); }
.text-accent { color: var(--accent); }

.bg-light { background-color: var(--gray-50); }
.bg-dark { background-color: var(--navy); color: var(--white); }
.bg-gradient {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 32px;
    font-family: var(--font-primary);
    font-size: 1rem;
    font-weight: 600;
    border: none;
    border-radius: var(--button-radius);
    cursor: pointer;
    transition: var(--transition-normal);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(247, 148, 29, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(247, 148, 29, 0.4);
    color: var(--white);
}

.btn-secondary {
    background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-dark) 100%);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(30, 90, 168, 0.3);
}

.btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(30, 90, 168, 0.4);
    color: var(--white);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: var(--white);
}

.btn-white {
    background: var(--white);
    color: var(--navy);
}

.btn-white:hover {
    background: var(--gray-100);
    color: var(--primary);
}

.btn-sm {
    padding: 10px 20px;
    font-size: 0.875rem;
}

.btn-lg {
    padding: 18px 40px;
    font-size: 1.1rem;
}

/* ============================================================
   HEADER & NAVIGATION
   ============================================================ */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    transition: var(--transition-normal);
}

.header.scrolled {
    box-shadow: var(--shadow-md);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo img {
    height: 50px;
    width: auto;
}

.logo-text {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--navy);
    line-height: 1.2;
}

.logo-text small {
    display: block;
    font-size: 0.7rem;
    font-weight: 400;
    color: var(--gray-500);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 5px;
    list-style: none;
}

.nav-link {
    display: block;
    padding: 10px 16px;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--gray-700);
    border-radius: var(--button-radius);
    transition: var(--transition-fast);
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary);
    background: rgba(247, 148, 29, 0.1);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.lang-switcher {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 6px 12px;
    background: var(--gray-100);
    border-radius: 20px;
    font-size: 0.875rem;
}

.lang-switcher a {
    padding: 4px 8px;
    border-radius: 15px;
    color: var(--gray-600);
}

.lang-switcher a.active {
    background: var(--primary);
    color: var(--white);
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 10px;
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background: var(--navy);
    border-radius: 2px;
    transition: var(--transition-fast);
}

/* Mobile Navigation */
@media (max-width: 991px) {
    .nav-menu {
        position: fixed;
        top: 80px;
        left: 0;
        right: 0;
        bottom: 0;
        flex-direction: column;
        background: var(--white);
        padding: 30px;
        gap: 10px;
        transform: translateX(-100%);
        transition: var(--transition-normal);
    }
    
    .nav-menu.active {
        transform: translateX(0);
    }
    
    .nav-link {
        width: 100%;
        padding: 15px 20px;
        font-size: 1.1rem;
    }
    
    .mobile-toggle {
        display: flex;
    }
    
    .nav-actions .btn {
        display: none;
    }
}

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: var(--navy);
}

.hero-slider {
    position: absolute;
    inset: 0;
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 1s ease;
}

.hero-slide.active {
    opacity: 1;
}

.hero-slide-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
}

.hero-slide-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(247, 148, 29, 0.9) 0%,
        rgba(247, 148, 29, 0.7) 30%,
        rgba(30, 90, 168, 0.8) 70%,
        rgba(30, 90, 168, 0.9) 100%
    );
}

/* Diagonal Pattern like the club background */
.hero-pattern {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.hero-pattern::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -20%;
    width: 70%;
    height: 200%;
    background: var(--primary);
    transform: rotate(-15deg);
    opacity: 0.9;
}

.hero-pattern::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 60%;
    height: 200%;
    background: var(--secondary);
    transform: rotate(-15deg);
    opacity: 0.9;
}

.hero-content {
    position: relative;
    z-index: 10;
    color: var(--white);
    max-width: 700px;
    padding: 120px 0;
}

.hero-badge {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border-radius: 30px;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 20px;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 800;
    margin-bottom: 20px;
    color: var(--white);
    text-shadow: 2px 2px 20px rgba(0, 0, 0, 0.2);
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2vw, 1.5rem);
    margin-bottom: 35px;
    opacity: 0.95;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.hero-logo {
    position: absolute;
    right: 10%;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0.15;
    width: 400px;
    z-index: 5;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(-50%) translateX(0); }
    50% { transform: translateY(-50%) translateX(-20px); }
}

/* Hero Scroll Indicator */
.hero-scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    text-align: center;
    color: var(--white);
}

.hero-scroll-mouse {
    width: 30px;
    height: 50px;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 20px;
    margin: 0 auto 10px;
    position: relative;
}

.hero-scroll-mouse::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 6px;
    height: 10px;
    background: var(--white);
    border-radius: 3px;
    animation: scroll-bounce 2s infinite;
}

@keyframes scroll-bounce {
    0%, 100% { top: 8px; opacity: 1; }
    50% { top: 20px; opacity: 0.5; }
}

/* ============================================================
   PLAYER CARDS - ULTRA MODERN DESIGN
   ============================================================ */
.player-card {
    position: relative;
    width: 100%;
    max-width: 320px;
    height: 420px;
    border-radius: 24px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.player-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.35);
}

/* Diagonal Background */
.player-card-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.player-card-bg::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -40%;
    width: 85%;
    height: 200%;
    background: linear-gradient(180deg, #F7941D 0%, #E07A0C 100%);
    transform: rotate(-20deg);
    transition: all 0.5s ease;
}

.player-card-bg::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -35%;
    width: 75%;
    height: 200%;
    background: linear-gradient(180deg, #1E5AA8 0%, #154785 100%);
    transform: rotate(-20deg);
    transition: all 0.5s ease;
}

.player-card:hover .player-card-bg::before {
    transform: rotate(-20deg) translateX(-8px);
}

.player-card:hover .player-card-bg::after {
    transform: rotate(-20deg) translateX(8px);
}

/* Wave Pattern Overlay */
.player-card-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%231E5AA8" fill-opacity="0.25" d="M0,192L60,176C120,160,240,128,360,133.3C480,139,600,181,720,186.7C840,192,960,160,1080,154.7C1200,149,1320,171,1380,181.3L1440,192L1440,320L1380,320C1320,320,1200,320,1080,320C960,320,840,320,720,320C600,320,480,320,360,320C240,320,120,320,60,320L0,320Z"></path></svg>') no-repeat bottom/cover;
    z-index: 3;
    pointer-events: none;
}

/* Animated Lines */
.player-card-lines {
    position: absolute;
    inset: 0;
    overflow: hidden;
    opacity: 0.4;
    z-index: 2;
}

.player-card-lines::before,
.player-card-lines::after {
    content: '';
    position: absolute;
    width: 2px;
    height: 150%;
    background: linear-gradient(to bottom, transparent, rgba(255,255,255,0.6), transparent);
    transform: rotate(-20deg);
    animation: line-move 4s infinite;
}

.player-card-lines::before {
    left: 25%;
    top: -25%;
    animation-delay: 0s;
}

.player-card-lines::after {
    left: 75%;
    top: -25%;
    animation-delay: 2s;
}

@keyframes line-move {
    0% { opacity: 0; transform: rotate(-20deg) translateY(-100%); }
    50% { opacity: 0.6; }
    100% { opacity: 0; transform: rotate(-20deg) translateY(100%); }
}

/* Country Flag Badge */
.player-card-flag {
    position: absolute;
    top: 20px;
    left: 20px;
    z-index: 15;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    background: rgba(255, 255, 255, 0.97);
    border-radius: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}

.player-card:hover .player-card-flag {
    transform: scale(1.05);
}

.player-card-flag .flag-emoji {
    font-size: 1.4rem;
    line-height: 1;
}

.player-card-flag .country-name {
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #0D1B2A;
}

/* Jersey Number Watermark */
.player-card-number {
    position: absolute;
    top: 45%;
    right: -15px;
    transform: translateY(-50%);
    font-size: 160px;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.08);
    z-index: 3;
    line-height: 1;
    font-family: 'Oswald', 'Poppins', sans-serif;
    pointer-events: none;
}

/* Player Photo */
.player-card-photo {
    position: absolute;
    bottom: 85px;
    left: 50%;
    transform: translateX(-50%);
    width: 250px;
    height: 270px;
    z-index: 6;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    transition: all 0.5s ease;
}

.player-card-photo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 15px 35px rgba(0, 0, 0, 0.4));
    transition: all 0.5s ease;
}

.player-card:hover .player-card-photo img {
    transform: scale(1.08);
}

/* Player Info Bottom */
.player-card-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 25px 20px 20px;
    z-index: 10;
    background: linear-gradient(to top, rgba(13, 27, 42, 0.98) 0%, rgba(13, 27, 42, 0.85) 60%, transparent 100%);
    text-align: center;
}

.player-card-position {
    display: inline-block;
    padding: 6px 18px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    font-size: 0.6rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    border-radius: 25px;
    margin-bottom: 12px;
    box-shadow: 0 4px 15px rgba(247, 148, 29, 0.4);
}

.player-card-name {
    font-size: 1.5rem;
    font-weight: 800;
    color: white;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    line-height: 1.2;
    margin: 0;
    text-shadow: 0 3px 15px rgba(0, 0, 0, 0.4);
}

.player-card-name span {
    display: block;
    font-size: 1.1rem;
    font-weight: 600;
    opacity: 0.85;
    margin-top: 2px;
}

/* Hover Stats Overlay - Modern Design with Large Photo */
.player-card-stats {
    position: absolute;
    inset: 0;
    background: linear-gradient(160deg, rgba(13, 27, 42, 0.92) 0%, rgba(30, 90, 168, 0.95) 50%, rgba(247, 148, 29, 0.92) 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 0;
    z-index: 25;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.45s cubic-bezier(0.23, 1, 0.32, 1);
    border-radius: 24px;
    overflow: hidden;
}

/* Hover state for desktop - shows overlay */
.player-card:hover .player-card-stats {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Touch toggle class for mobile/tablet - shows overlay when tapped */
.player-card.touch-active .player-card-stats {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Large Player Photo - Portrait shape to show face clearly */
.player-card-stats .stats-photo {
    position: relative;
    width: 100%;
    height: 220px;
    overflow: hidden;
    margin-bottom: 0;
    flex-shrink: 0;
}

.player-card-stats .stats-photo::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent 50%, rgba(13, 27, 42, 0.95) 100%);
    z-index: 1;
    pointer-events: none;
}

.player-card-stats .stats-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    transform: scale(1);
    transition: transform 0.6s ease;
}

.player-card:hover .stats-photo img,
.player-card.touch-active .stats-photo img {
    transform: scale(1.05);
}

/* Stats Info Panel - Glassmorphic design at bottom */
.player-card-stats .stats-info-panel {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 18px 16px 20px;
    background: rgba(13, 27, 42, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.player-card-stats .stats-name {
    font-size: 1.1rem;
    font-weight: 800;
    color: white;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 2px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    line-height: 1.2;
    text-align: center;
}

.player-card-stats .stats-position {
    font-size: 0.65rem;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 14px;
    font-weight: 700;
    text-align: center;
}

.player-card-stats .stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    width: 100%;
}

.player-card-stats .stat-item {
    background: rgba(255, 255, 255, 0.08);
    padding: 10px 6px 8px;
    border-radius: 10px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.06);
    transition: all 0.3s ease;
}

.player-card-stats .stat-item:hover {
    background: rgba(247, 148, 29, 0.2);
    border-color: rgba(247, 148, 29, 0.3);
    transform: translateY(-2px);
}

.player-card-stats .stat-value {
    font-size: 1.15rem;
    font-weight: 800;
    color: white;
    display: block;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    line-height: 1;
}

.player-card-stats .stat-label {
    font-size: 0.5rem;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
    margin-top: 4px;
    display: block;
    line-height: 1.2;
}

/* Animated decorative elements */
.player-card-stats::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--secondary), var(--primary));
    background-size: 200% 100%;
    animation: shimmer 2s linear infinite;
}

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

/* Mobile/Tablet touch hint indicator */
.player-card .touch-hint {
    position: absolute;
    bottom: 10px;
    right: 10px;
    z-index: 20;
    width: 32px;
    height: 32px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.2);
    animation: pulse-hint 2s ease-in-out infinite;
}

.player-card .touch-hint i {
    font-size: 0.9rem;
    color: var(--navy);
}

@keyframes pulse-hint {
    0%, 100% { transform: scale(1); opacity: 0.9; }
    50% { transform: scale(1.1); opacity: 1; }
}

/* Only show touch hint on touch devices */
@media (hover: none) and (pointer: coarse) {
    .player-card .touch-hint {
        display: flex;
    }
    
    /* Disable hover effect on touch devices - rely on touch-active class */
    .player-card:hover .player-card-stats {
        opacity: 0;
        visibility: hidden;
        transform: translateY(10px);
    }
    
    /* Only show when touch-active class is present */
    .player-card.touch-active .player-card-stats {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }
    
    /* Hide hint when active */
    .player-card.touch-active .touch-hint {
        display: none;
    }
}

/* Players Grid */
.players-showcase-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    justify-items: center;
}

/* Staggered animation for cards */
.players-showcase-grid .player-card {
    opacity: 0;
    animation: cardReveal 0.6s ease forwards;
}

.players-showcase-grid .player-card:nth-child(1) { animation-delay: 0.1s; }
.players-showcase-grid .player-card:nth-child(2) { animation-delay: 0.2s; }
.players-showcase-grid .player-card:nth-child(3) { animation-delay: 0.3s; }
.players-showcase-grid .player-card:nth-child(4) { animation-delay: 0.4s; }
.players-showcase-grid .player-card:nth-child(5) { animation-delay: 0.5s; }
.players-showcase-grid .player-card:nth-child(6) { animation-delay: 0.6s; }
.players-showcase-grid .player-card:nth-child(7) { animation-delay: 0.7s; }
.players-showcase-grid .player-card:nth-child(8) { animation-delay: 0.8s; }

@keyframes cardReveal {
    from {
        opacity: 0;
        transform: translateY(40px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Enhanced glow effect on hover */
.player-card::before {
    content: '';
    position: absolute;
    inset: -2px;
    background: linear-gradient(135deg, var(--primary), var(--secondary), var(--primary));
    border-radius: 26px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.4s ease;
    animation: borderGlow 3s linear infinite;
    background-size: 200% 200%;
}

.player-card:hover::before {
    opacity: 1;
}

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

/* Floating animation for card elements */
.player-card:hover .player-card-flag {
    animation: float 2s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0) scale(1.05); }
    50% { transform: translateY(-5px) scale(1.05); }
}

/* Pulse effect for position badge */
.player-card:hover .player-card-position {
    animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); box-shadow: 0 4px 15px rgba(247, 148, 29, 0.4); }
    50% { transform: scale(1.05); box-shadow: 0 6px 25px rgba(247, 148, 29, 0.6); }
}

@media (max-width: 1200px) {
    .players-showcase-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 991px) {
    .players-showcase-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
}

/* ============================================================
   MOBILE BOTTOM NAVIGATION - NATIVE APP STYLE
   ============================================================ */
.mobile-header {
    display: none;
}

.mobile-bottom-nav {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    padding: 10px 0 calc(10px + env(safe-area-inset-bottom));
    box-shadow: 0 -5px 30px rgba(0, 0, 0, 0.12);
    z-index: 9999;
    border-radius: 28px 28px 0 0;
}

.mobile-nav-container {
    display: flex;
    justify-content: space-around;
    align-items: flex-end;
    max-width: 450px;
    margin: 0 auto;
    padding: 0 10px;
}

.mobile-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 8px 16px;
    color: #9CA3AF;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    min-width: 60px;
}

.mobile-nav-item i {
    font-size: 1.25rem;
    margin-bottom: 5px;
    transition: all 0.3s ease;
}

.mobile-nav-item span {
    font-size: 0.6rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.mobile-nav-item.active {
    color: var(--primary);
}

.mobile-nav-item.active i {
    transform: scale(1.15);
}

.mobile-nav-item::before {
    content: '';
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 35px;
    height: 4px;
    background: var(--primary);
    border-radius: 0 0 4px 4px;
    transition: transform 0.3s ease;
}

.mobile-nav-item.active::before {
    transform: translateX(-50%) scaleX(1);
}

/* Center Register Button */
.mobile-nav-center {
    position: relative;
    top: -25px;
    padding: 0;
}

.mobile-nav-register {
    width: 62px;
    height: 62px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    box-shadow: 0 6px 25px rgba(247, 148, 29, 0.5);
    transition: all 0.3s ease;
    border: 4px solid white;
}

.mobile-nav-register i {
    font-size: 1.6rem;
    margin: 0;
    color: white;
}

.mobile-nav-register span {
    position: absolute;
    bottom: -22px;
    font-size: 0.55rem;
    color: var(--primary);
    font-weight: 800;
    white-space: nowrap;
    letter-spacing: 0.5px;
}

.mobile-nav-register:hover,
.mobile-nav-register:active {
    transform: scale(1.08);
    box-shadow: 0 8px 35px rgba(247, 148, 29, 0.6);
}

@media (max-width: 768px) {
    .mobile-header {
        display: flex !important;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        background: white;
        padding: 12px 20px;
        box-shadow: 0 3px 25px rgba(0, 0, 0, 0.1);
        z-index: 9998;
        align-items: center;
        justify-content: space-between;
    }
    
    .mobile-header-logo {
        height: 48px;
        display: flex;
        align-items: center;
    }
    
    .mobile-header-logo img {
        height: 100%;
        width: auto;
    }
    
    .mobile-header-actions {
        display: flex;
        align-items: center;
        gap: 12px;
    }
    
    .mobile-header-lang {
        padding: 8px 14px;
        background: var(--gray-100);
        border-radius: 25px;
        font-size: 0.75rem;
        font-weight: 700;
        color: var(--gray-700);
        text-decoration: none;
        transition: all 0.3s ease;
    }
    
    .mobile-header-lang:hover {
        background: var(--primary);
        color: white;
    }
    
    .mobile-bottom-nav {
        display: block;
    }
    
    body {
        padding-bottom: 95px;
    }
    
    .navbar {
        display: none !important;
    }
    
    .hero {
        padding-top: 75px;
    }
    
    .page-header {
        padding-top: 110px;
    }
    
    .players-showcase-grid {
        grid-template-columns: 1fr;
        max-width: 320px;
        margin: 0 auto;
        gap: 25px;
    }
    
    .player-card {
        height: 400px;
        max-width: 300px;
    }
    
    .footer {
        padding-bottom: 110px;
    }
}

@media (max-width: 480px) {
    .mobile-nav-item {
        padding: 6px 10px;
        min-width: 50px;
    }
    
    .mobile-nav-item i {
        font-size: 1.1rem;
    }
    
    .mobile-nav-item span {
        font-size: 0.55rem;
    }
    
    .mobile-nav-register {
        width: 56px;
        height: 56px;
    }
}

/* ============================================================
   AGE GROUP CARDS
   ============================================================ */
.age-group-card {
    background: var(--white);
    border-radius: var(--card-radius);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition-normal);
    height: 100%;
}

.age-group-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.age-group-header {
    position: relative;
    padding: 30px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: var(--white);
    text-align: center;
}

.age-group-header::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100px;
    height: 100px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 0 0 0 100%;
}

.age-group-code {
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 5px;
}

.age-group-name {
    font-size: 1.1rem;
    opacity: 0.9;
}

.age-group-body {
    padding: 25px;
}

.age-group-info {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.age-group-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.age-group-item i {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gray-100);
    border-radius: 10px;
    color: var(--primary);
    font-size: 1rem;
}

.age-group-item-content {
    flex: 1;
}

.age-group-item-label {
    font-size: 0.75rem;
    color: var(--gray-500);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.age-group-item-value {
    font-weight: 600;
    color: var(--navy);
}

.age-group-fees {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--gray-200);
}

.fee-item {
    text-align: center;
    padding: 10px;
    background: var(--gray-50);
    border-radius: 8px;
}

.fee-label {
    font-size: 0.7rem;
    color: var(--gray-500);
    text-transform: uppercase;
    margin-bottom: 5px;
}

.fee-value {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary);
}

.age-group-footer {
    padding: 0 25px 25px;
}

.age-group-footer .btn {
    width: 100%;
}

/* ============================================================
   NEWS CARDS
   ============================================================ */
.news-card {
    background: var(--white);
    border-radius: var(--card-radius);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition-normal);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.news-card-image {
    position: relative;
    aspect-ratio: 16/10;
    overflow: hidden;
}

.news-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.news-card:hover .news-card-image img {
    transform: scale(1.1);
}

.news-card-category {
    position: absolute;
    top: 15px;
    left: 15px;
    padding: 6px 14px;
    background: var(--primary);
    color: var(--white);
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.news-card-body {
    padding: 25px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.news-card-date {
    font-size: 0.85rem;
    color: var(--gray-500);
    margin-bottom: 10px;
}

.news-card-date i {
    margin-right: 5px;
    color: var(--primary);
}

.news-card-title {
    font-size: 1.2rem;
    margin-bottom: 15px;
    line-height: 1.4;
}

.news-card-title a {
    color: var(--navy);
}

.news-card-title a:hover {
    color: var(--primary);
}

.news-card-excerpt {
    color: var(--gray-600);
    font-size: 0.95rem;
    flex: 1;
}

.news-card-footer {
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid var(--gray-200);
}

/* ============================================================
   MATCH CARDS
   ============================================================ */
.match-card {
    background: var(--white);
    border-radius: var(--card-radius);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition-normal);
}

.match-card:hover {
    box-shadow: var(--shadow-xl);
}

.match-card-header {
    padding: 15px 20px;
    background: var(--gray-50);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.875rem;
}

.match-competition {
    font-weight: 600;
    color: var(--navy);
}

.match-date {
    color: var(--gray-500);
}

.match-card-body {
    padding: 30px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
}

.match-team {
    flex: 1;
    text-align: center;
}

.match-team-logo {
    width: 80px;
    height: 80px;
    margin: 0 auto 15px;
    border-radius: 50%;
    overflow: hidden;
    background: var(--gray-100);
    display: flex;
    align-items: center;
    justify-content: center;
}

.match-team-logo img {
    width: 60px;
    height: 60px;
    object-fit: contain;
}

.match-team-name {
    font-weight: 600;
    color: var(--navy);
    font-size: 0.95rem;
}

.match-score {
    display: flex;
    align-items: center;
    gap: 15px;
}

.match-score-number {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--navy);
    min-width: 50px;
    text-align: center;
}

.match-score-divider {
    font-size: 1.5rem;
    color: var(--gray-400);
}

.match-status {
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.match-status.upcoming {
    background: var(--info);
    color: var(--white);
}

.match-status.live {
    background: var(--error);
    color: var(--white);
    animation: pulse 1.5s infinite;
}

.match-status.completed {
    background: var(--success);
    color: var(--white);
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

.match-card-footer {
    padding: 15px 20px;
    background: var(--gray-50);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.match-venue {
    font-size: 0.85rem;
    color: var(--gray-500);
}

.match-venue i {
    margin-right: 5px;
    color: var(--primary);
}

/* ============================================================
   COACH CARDS
   ============================================================ */
.coach-card {
    background: var(--white);
    border-radius: var(--card-radius);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition-normal);
    text-align: center;
}

.coach-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.coach-card-image {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
}

.coach-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.coach-card:hover .coach-card-image img {
    transform: scale(1.05);
}

.coach-card-body {
    padding: 25px;
}

.coach-card-name {
    font-size: 1.3rem;
    margin-bottom: 5px;
}

.coach-card-role {
    color: var(--primary);
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 15px;
}

.coach-card-meta {
    display: flex;
    justify-content: center;
    gap: 20px;
    font-size: 0.85rem;
    color: var(--gray-500);
}

.coach-card-meta span i {
    margin-right: 5px;
    color: var(--primary);
}

/* ============================================================
   GALLERY
   ============================================================ */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

.gallery-item {
    position: relative;
    aspect-ratio: 4/3;
    border-radius: var(--card-radius);
    overflow: hidden;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-item-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(13, 27, 42, 0.8), transparent);
    opacity: 0;
    transition: var(--transition-normal);
    display: flex;
    align-items: flex-end;
    padding: 20px;
}

.gallery-item:hover .gallery-item-overlay {
    opacity: 1;
}

.gallery-item-title {
    color: var(--white);
    font-weight: 600;
}

/* ============================================================
   STATS COUNTER
   ============================================================ */
.stats-section {
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
    padding: 60px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.stat-item {
    text-align: center;
    color: var(--white);
}

.stat-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.stat-number {
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 1rem;
    opacity: 0.8;
}

@media (max-width: 768px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonial-card {
    background: var(--white);
    border-radius: var(--card-radius);
    padding: 30px;
    box-shadow: var(--shadow-md);
    position: relative;
}

.testimonial-quote {
    font-size: 4rem;
    color: var(--primary);
    opacity: 0.2;
    position: absolute;
    top: 20px;
    left: 30px;
    line-height: 1;
}

.testimonial-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--gray-600);
    margin-bottom: 25px;
    position: relative;
    z-index: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.testimonial-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    background: var(--gray-200);
}

.testimonial-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonial-info h4 {
    font-size: 1rem;
    margin-bottom: 3px;
}

.testimonial-info span {
    font-size: 0.875rem;
    color: var(--gray-500);
}

/* ============================================================
   CONTACT FORM
   ============================================================ */
.contact-form {
    background: var(--white);
    border-radius: var(--card-radius);
    padding: 40px;
    box-shadow: var(--shadow-lg);
}

.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--navy);
}

.form-input,
.form-textarea,
.form-select {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid var(--gray-200);
    border-radius: var(--button-radius);
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition-fast);
    background: var(--white);
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(247, 148, 29, 0.1);
}

.form-textarea {
    min-height: 150px;
    resize: vertical;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

@media (max-width: 576px) {
    .form-row {
        grid-template-columns: 1fr;
    }
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
    background: var(--navy);
    color: var(--gray-300);
    padding: 80px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 50px;
    margin-bottom: 50px;
}

.footer-brand {
    max-width: 300px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.footer-logo img {
    height: 60px;
}

.footer-logo-text {
    font-family: var(--font-display);
    font-size: 1.3rem;
    color: var(--white);
}

.footer-description {
    margin-bottom: 25px;
    line-height: 1.8;
}

.footer-social {
    display: flex;
    gap: 10px;
}

.footer-social a {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: var(--white);
    font-size: 1.1rem;
    transition: var(--transition-fast);
}

.footer-social a:hover {
    background: var(--primary);
    transform: translateY(-3px);
}

.footer-title {
    font-size: 1.2rem;
    color: var(--white);
    margin-bottom: 25px;
    position: relative;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--primary);
    border-radius: 2px;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--gray-400);
    transition: var(--transition-fast);
}

.footer-links a:hover {
    color: var(--primary);
    padding-left: 5px;
}

.footer-contact-item {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.footer-contact-item i {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(247, 148, 29, 0.2);
    border-radius: 10px;
    color: var(--primary);
}

.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-bottom-links {
    display: flex;
    gap: 30px;
}

.footer-bottom-links a {
    color: var(--gray-400);
    font-size: 0.9rem;
}

.footer-bottom-links a:hover {
    color: var(--primary);
}

@media (max-width: 991px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

/* ============================================================
   ANIMATIONS
   ============================================================ */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.slide-in-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.slide-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.slide-in-right {
    opacity: 0;
    transform: translateX(50px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.slide-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

.scale-in {
    opacity: 0;
    transform: scale(0.8);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.scale-in.visible {
    opacity: 1;
    transform: scale(1);
}

/* Staggered Animation Delays */
.stagger-1 { transition-delay: 0.1s; }
.stagger-2 { transition-delay: 0.2s; }
.stagger-3 { transition-delay: 0.3s; }
.stagger-4 { transition-delay: 0.4s; }
.stagger-5 { transition-delay: 0.5s; }
.stagger-6 { transition-delay: 0.6s; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1200px) {
    .hero-logo {
        width: 300px;
        right: 5%;
    }
}

@media (max-width: 991px) {
    .hero-logo {
        display: none;
    }
    
    .hero-content {
        max-width: 100%;
        text-align: center;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .section {
        padding: 60px 0;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
    }
    
    .player-card {
        max-width: 100%;
    }
}

/* ============================================================
   LOADING SCREEN
   ============================================================ */
.loader {
    position: fixed;
    inset: 0;
    background: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s ease;
}

.loader.hidden {
    opacity: 0;
    pointer-events: none;
}

.loader-content {
    text-align: center;
}

.loader-logo {
    width: 100px;
    animation: pulse-scale 1.5s infinite;
}

@keyframes pulse-scale {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.loader-spinner {
    width: 50px;
    height: 50px;
    border: 3px solid var(--gray-200);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 20px auto 0;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}
