﻿/* ===== Base Styles ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Cairo', sans-serif;
    color: #1a1a2e;
    overflow-x: hidden;
}

html {
    scroll-behavior: smooth;
}

:root {
    --red-primary: #C8102E;
    --red-dark: #8B0000;
    --red-light: #E63946;
    --gold: #F5A623;
    --dark: #0A0A1A;
    --dark-gray: #1a1a2e;
}

/* ===== Navigation ===== */
#navbar {
    background: transparent;
    transition: all 0.4s ease;
}

#navbar.scrolled {
    background: rgba(10, 10, 26, 0.95);
    backdrop-filter: blur(20px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.logo-icon {
    width: 48px;
    height: 48px;
    background: var(--red-primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.logo-icon.small {
    width: 40px;
    height: 40px;
    border-radius: 10px;
}

.logo-img {
    width: 52px;
    height: 52px;
    object-fit: contain;
}

.logo-img-small {
    width: 42px;
    height: 42px;
    object-fit: contain;
}

.nav-link {
    color: rgba(255, 255, 255, 0.85);
    font-weight: 600;
    font-size: 0.95rem;
    transition: color 0.3s;
    position: relative;
}

.nav-link:hover {
    color: white;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    right: 0;
    width: 0;
    height: 2px;
    background: var(--red-primary);
    transition: width 0.3s;
}

.nav-link:hover::after {
    width: 100%;
}

.nav-star-link {
    color: #ffd700 !important;
}

.nav-star-link i {
    animation: starPulse 2s ease-in-out infinite;
}

@keyframes starPulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(1.2); }
}

/* ===== Hero Section ===== */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: linear-gradient(135deg, #0A0A1A 0%, #1a0a0a 35%, #2d0a0a 65%, #12060f 100%);
    background-size: 200% 200%;
    animation: heroGradientShift 18s ease infinite;
    overflow: hidden;
}

/* Soft vignette for depth */
.hero-section .hero-content::after { content: none; }

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

.hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(200, 16, 46, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    animation: pulse-glow 4s ease-in-out infinite;
}

.hero-section::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(245, 166, 35, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    animation: pulse-glow 5s ease-in-out infinite reverse;
}

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

.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at center, transparent 40%, rgba(0,0,0,0.55) 100%),
        url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.02'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    padding: 0 20px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 8px 22px;
    background: rgba(200, 16, 46, 0.18);
    border: 1px solid rgba(200, 16, 46, 0.4);
    border-radius: 50px;
    color: #ff8a96;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 3px;
    margin-bottom: 24px;
    animation: fadeInUp 0.8s ease;
    box-shadow: 0 0 24px rgba(200, 16, 46, 0.15), inset 0 0 12px rgba(200, 16, 46, 0.08);
    backdrop-filter: blur(4px);
}

.hero-badge::before {
    content: none;
}

@keyframes badgePulse {
    0%, 100% { opacity: 1; transform: scale(1); box-shadow: 0 0 10px #ff4060; }
    50% { opacity: 0.5; transform: scale(0.7); box-shadow: 0 0 4px #ff4060; }
}

.hero-title {
    font-size: clamp(2.6rem, 6.2vw, 5.2rem);
    font-weight: 900;
    color: white;
    line-height: 1.15;
    letter-spacing: -0.5px;
    margin-bottom: 20px;
    animation: fadeInUp 0.8s ease 0.2s both;
    filter: drop-shadow(0 4px 24px rgba(200, 16, 46, 0.35));
}

.hero-title span {
    background: linear-gradient(110deg, var(--red-light) 0%, var(--red-primary) 35%, var(--gold) 75%, #ffe08a 100%);
    background-size: 220% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: heroTitleShimmer 6s ease-in-out infinite;
}

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

.hero-subtitle {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.7);
    max-width: 600px;
    margin: 0 auto 40px;
    line-height: 1.8;
    animation: fadeInUp 0.8s ease 0.4s both;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 60px;
    animation: fadeInUp 0.8s ease 0.6s both;
}

.btn-primary {
    position: relative;
    padding: 14px 38px;
    background: linear-gradient(135deg, var(--red-primary), var(--red-light));
    color: white;
    border: none;
    border-radius: 12px;
    font-family: 'Cairo', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
    text-decoration: none;
    box-shadow: 0 4px 20px rgba(200, 16, 46, 0.4);
    overflow: hidden;
}

.btn-primary::after {
    content: '';
    position: absolute;
    top: 0;
    left: -120%;
    width: 60%;
    height: 100%;
    background: linear-gradient(120deg, transparent, rgba(255,255,255,0.35), transparent);
    transform: skewX(-20deg);
    transition: left 0.6s ease;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 34px rgba(200, 16, 46, 0.6);
}

.btn-primary:hover::after {
    left: 130%;
}

.btn-secondary {
    padding: 14px 36px;
    background: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 12px;
    font-family: 'Cairo', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: white;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    max-width: 640px;
    margin: 0 auto;
    animation: fadeInUp 0.8s ease 0.8s both;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 215, 0, 0.14);
    border-radius: 18px;
    padding: 18px 10px 14px;
    transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
    backdrop-filter: blur(6px);
    position: relative;
    overflow: hidden;
}

.stat-item::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    border-radius: 18px 18px 0 0;
    background: linear-gradient(90deg, transparent, rgba(255,215,0,0.5), transparent);
}

.stat-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.3);
    border-color: rgba(255, 215, 0, 0.3);
}

/* Icon circle */
.stat-icon {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.stat-icon-players {
    background: rgba(76, 175, 80, 0.18);
    color: #81c784;
    border: 1px solid rgba(76, 175, 80, 0.3);
    box-shadow: 0 0 14px rgba(76, 175, 80, 0.15);
}

.stat-icon-sports {
    background: rgba(255, 152, 0, 0.18);
    color: #ffb74d;
    border: 1px solid rgba(255, 152, 0, 0.3);
    box-shadow: 0 0 14px rgba(255, 152, 0, 0.15);
}

.stat-icon-branches {
    background: rgba(200, 16, 46, 0.2);
    color: #ef5350;
    border: 1px solid rgba(200, 16, 46, 0.3);
    box-shadow: 0 0 14px rgba(200, 16, 46, 0.12);
}

.stat-icon-exp {
    background: rgba(255, 215, 0, 0.15);
    color: #ffd700;
    border: 1px solid rgba(255, 215, 0, 0.3);
    box-shadow: 0 0 14px rgba(255, 215, 0, 0.15);
}

/* Number row */
.stat-value {
    display: flex;
    align-items: baseline;
    gap: 1px;
    line-height: 1;
    margin-bottom: 4px;
    direction: ltr;
}

.stat-number {
    font-size: 2rem;
    font-weight: 900;
    color: var(--gold);
    line-height: 1;
}

.stat-plus {
    font-size: 1.3rem;
    font-weight: 900;
    color: var(--gold);
    line-height: 1;
}

.stat-label {
    font-size: 0.72rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.55);
    letter-spacing: 0.3px;
    margin-top: 2px;
}

/* ===== Hero Sport Cards ===== */
.hero-sports-cards {
    display: flex;
    gap: 16px;
    margin-top: 40px;
    justify-content: center;
    flex-wrap: wrap;
    max-width: 820px;
    margin-left: auto;
    margin-right: auto;
}

.hero-sport-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 24px 20px 18px;
    text-decoration: none;
    flex: 1;
    min-width: 200px;
    max-width: 250px;
    transition: all 0.35s ease;
}

.hero-sport-card:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(200, 16, 46, 0.3);
    transform: translateY(-4px);
}

.hero-sport-card .hero-sport-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    margin-bottom: 12px;
}

.hero-sport-icon.football-icon {
    background: linear-gradient(135deg, #2d8a4e, #1a6b35);
    color: #fff;
}

.hero-sport-icon.gym-icon {
    background: linear-gradient(135deg, #7c3aed, #5b21b6);
    color: #fff;
}

.hero-sport-icon.basket-icon {
    background: linear-gradient(135deg, #ea580c, #c2410c);
    color: #fff;
}

.hero-sport-card h4 {
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
    margin: 0 0 8px 0;
}

.hero-sport-desc {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.5);
    margin: 0 0 12px 0;
    line-height: 1.5;
}

.hero-sport-age {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.75rem;
    color: #f0a500;
    background: rgba(240, 165, 0, 0.1);
    border: 1px solid rgba(240, 165, 0, 0.2);
    border-radius: 20px;
    padding: 4px 14px;
    font-weight: 600;
}

.hero-sport-age i {
    font-size: 0.7rem;
}

@media (max-width: 768px) {
    .hero-sports-cards {
        flex-direction: column;
        align-items: center;
        gap: 8px;
        margin-top: 24px;
        padding: 0 20px;
    }

    .hero-sport-card {
        min-width: unset;
        max-width: 100%;
        width: 100%;
        flex-direction: row;
        flex-wrap: wrap;
        align-items: center;
        text-align: start;
        padding: 12px 16px;
        gap: 0;
        border-radius: 12px;
    }

    .hero-sport-card .hero-sport-icon {
        margin-bottom: 0;
        margin-left: 10px;
        width: 36px;
        height: 36px;
        font-size: 1rem;
        border-radius: 10px;
    }

    .hero-sport-card h4 {
        margin: 0;
        font-size: 0.9rem;
        flex: 1;
    }

    p.hero-sport-desc {
        display: none !important;
    }

    .hero-sport-age {
        font-size: 0.7rem;
        padding: 3px 10px;
        margin: 0;
        border: none;
        background: rgba(240, 165, 0, 0.15);
    }
}

@media (max-width: 768px) {
    [dir="ltr"] .hero-sport-card .hero-sport-icon {
        margin-left: 0;
        margin-right: 10px;
    }
}

.hero-scroll {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}

.hero-scroll a {
    color: rgba(255, 255, 255, 0.5);
    font-size: 1.5rem;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(10px); }
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ===== Dark Theme Sections ===== */
.section-dark {
    background: linear-gradient(180deg, #0d0d1a 0%, #120a10 50%, #0d0d1a 100%);
    position: relative;
}

.section-dark-alt {
    background: linear-gradient(180deg, #10080e 0%, #1a0a12 50%, #10080e 100%);
    position: relative;
}

.section-dark-red {
    background: linear-gradient(135deg, #0A0A1A 0%, #1a0a0a 40%, #200a0a 60%, #0A0A1A 100%);
    position: relative;
}

/* ===== Section Styles ===== */
.section-tag {
    display: inline-block;
    padding: 6px 20px;
    background: rgba(200, 16, 46, 0.2);
    color: #ff6b7a;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 16px;
    border: 1px solid rgba(200, 16, 46, 0.3);
}

.section-tag.light {
    background: rgba(255, 255, 255, 0.15);
    color: white;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 900;
    color: white;
    margin-bottom: 16px;
    line-height: 1.3;
}

/* ===== About Section ===== */
.about-image {
    position: relative;
}

.about-img-placeholder {
    width: 100%;
    height: 450px;
    background: linear-gradient(135deg, rgba(200, 16, 46, 0.1), rgba(139, 0, 0, 0.15));
    border: 1px solid rgba(200, 16, 46, 0.2);
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.about-experience-badge {
    position: absolute;
    bottom: -20px;
    left: -20px;
    background: var(--red-primary);
    color: white;
    padding: 20px 30px;
    border-radius: 16px;
    text-align: center;
    display: flex;
    flex-direction: column;
    box-shadow: 0 10px 30px rgba(200, 16, 46, 0.4);
}

.about-feature {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    background: rgba(200, 16, 46, 0.1);
    border: 1px solid rgba(200, 16, 46, 0.15);
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.9);
}

/* ===== Sports Cards ===== */
.sport-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 32px;
    text-align: center;
    transition: all 0.4s ease;
    border: 1px solid rgba(200, 16, 46, 0.15);
    cursor: pointer;
}

.sport-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(200, 16, 46, 0.15);
    border-color: var(--red-primary);
    background: rgba(255, 255, 255, 0.08);
}

.sport-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--red-primary), var(--red-light));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 2rem;
    color: white;
    transition: transform 0.3s;
}

.sport-card:hover .sport-icon {
    transform: scale(1.1) rotate(-5deg);
}

.sport-icon.swimming { background: linear-gradient(135deg, #0077b6, #00b4d8); }
.sport-icon.karate { background: linear-gradient(135deg, #2d2d2d, #555); }
.sport-icon.basketball { background: linear-gradient(135deg, #e85d04, #f48c06); }
.sport-icon.fitness { background: linear-gradient(135deg, #38b000, #70e000); }
.sport-icon.gymnastics { background: linear-gradient(135deg, #7209b7, #b5179e); }

.sport-card h3 {
    font-size: 1.4rem;
    font-weight: 800;
    margin-bottom: 10px;
    color: white;
}

.sport-card p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: 16px;
}

.sport-details {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.sport-details span {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
    display: flex;
    align-items: center;
    gap: 6px;
}

.sport-price {
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--red-primary);
}

.sport-price small {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
    font-weight: 400;
}

/* ===== About Image ===== */
.about-img {
    width: 100%;
    height: auto;
    max-height: 500px;
    object-fit: contain;
    border-radius: 20px;
}

.about-img + .about-img-placeholder {
    display: none;
}

/* ===== Sport Card Images ===== */
.sport-card-img {
    width: 100%;
    height: 180px;
    border-radius: 14px;
    overflow: hidden;
    margin-bottom: 16px;
}

.sport-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 15%;
}

.sport-img-placeholder {
    display: none;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(200, 16, 46, 0.1), rgba(139, 0, 0, 0.15));
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.75rem;
}

.sport-img-placeholder i {
    font-size: 1.5rem;
    color: rgba(200, 16, 46, 0.4);
}

/* ===== Gallery ===== */
.gallery-filter {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 32px;
}

.filter-btn {
    padding: 8px 24px;
    border: 2px solid rgba(255, 255, 255, 0.15);
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.05);
    font-family: 'Cairo', sans-serif;
    font-size: 0.9rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.7);
    cursor: pointer;
    transition: all 0.3s;
}

.filter-btn.active,
.filter-btn:hover {
    background: var(--red-primary);
    color: white;
    border-color: var(--red-primary);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 260px));
    justify-content: center;
    gap: 20px;
}

.gallery-status {
    grid-column: 1 / -1;
    min-height: 180px;
    border: 1px dashed rgba(255,255,255,0.12);
    border-radius: 16px;
    background: rgba(255,255,255,0.025);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: rgba(255,255,255,0.55);
    text-align: center;
    padding: 26px;
}

.gallery-status i {
    color: rgba(200,16,46,0.55);
    font-size: 2rem;
}

.gallery-status span {
    font-size: 0.95rem;
    font-weight: 700;
}

.gallery-item {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    aspect-ratio: 9/16;
    cursor: pointer;
    background: rgba(200, 16, 46, 0.08);
    border: 1px solid rgba(200, 16, 46, 0.1);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s;
}

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

.gallery-placeholder {
    display: none;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(200, 16, 46, 0.08), rgba(139, 0, 0, 0.12));
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    color: rgba(255, 255, 255, 0.4);
}

.gallery-placeholder i {
    font-size: 2rem;
    color: rgba(200, 16, 46, 0.4);
}

.gallery-placeholder span {
    font-size: 0.85rem;
    font-weight: 600;
}

.gallery-placeholder small {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.3);
}

.video-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #1a1a2e, #2d2d44);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
}

.video-placeholder i {
    font-size: 3rem;
    color: var(--red-primary);
}

.video-placeholder span {
    font-size: 0.85rem;
    font-weight: 600;
}

.video-placeholder small {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.4);
}

.video-preview {
    position: relative;
    width: 100%;
    height: 100%;
    padding: 0;
    border: 0;
    cursor: pointer;
    overflow: hidden;
    color: white;
    background: linear-gradient(135deg, #1a1a2e, #2d2d44);
}

.video-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s;
}

.video-preview:hover img {
    transform: scale(1.08);
}

.video-preview-fallback {
    position: absolute;
    inset: 0;
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 16px;
    color: rgba(255, 255, 255, 0.75);
}

.video-preview-fallback.is-visible {
    display: flex;
}

.video-preview-fallback i {
    font-size: 3rem;
    color: var(--red-primary);
}

.video-preview-fallback span {
    font-size: 0.85rem;
    font-weight: 700;
}

.video-preview-fallback small {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.5);
}

.video-play-badge {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 56px;
    height: 56px;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--red-primary);
    color: white;
    box-shadow: 0 14px 36px rgba(200, 16, 46, 0.45);
    transition: transform 0.25s, background 0.25s;
}

.video-preview:hover .video-play-badge {
    transform: translate(-50%, -50%) scale(1.08);
    background: var(--red-secondary);
}

.gallery-video-open {
    overflow: hidden;
}

.gallery-video-modal {
    position: fixed;
    inset: 0;
    z-index: 3000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.gallery-video-modal.active {
    display: flex;
}

.gallery-video-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.88);
    backdrop-filter: blur(10px);
}

/* Wrapper holds close button ABOVE the dialog â€” outside the iframe */
.gallery-video-wrapper {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    width: min(960px, 100%);
}

.gallery-video-close {
    align-self: flex-end;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 2px solid rgba(200, 16, 46, 0.7);
    background: rgba(200, 16, 46, 0.9);
    color: white;
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    box-shadow: 0 4px 16px rgba(200, 16, 46, 0.5);
    flex-shrink: 0;
}

.gallery-video-close:hover {
    background: var(--red-primary);
    transform: scale(1.1);
    box-shadow: 0 6px 22px rgba(200, 16, 46, 0.7);
}

.gallery-video-dialog {
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 16px;
    overflow: hidden;
    background: #090912;
    border: 1px solid rgba(200, 16, 46, 0.25);
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.7), 0 0 30px rgba(200, 16, 46, 0.1);
}

.gallery-video-frame,
.gallery-video-frame iframe,
.gallery-video-frame video {
    width: 100%;
    height: 100%;
}

.gallery-video-frame iframe,
.gallery-video-frame video {
    display: block;
    border: 0;
    background: black;
}

.gallery-video-fallback {
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
    padding: 24px;
    text-align: center;
    color: white;
}

.gallery-video-fallback i {
    font-size: 3rem;
    color: var(--red-primary);
}

.gallery-video-fallback a {
    color: white;
    background: var(--red-primary);
    border-radius: 999px;
    padding: 10px 18px;
    text-decoration: none;
    font-weight: 800;
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 16px;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
    color: white;
    font-size: 0.85rem;
    font-weight: 600;
    opacity: 0;
    transition: opacity 0.3s;
}

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

.gallery-item.hidden-item {
    display: none;
}

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

@media (max-width: 480px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }
}

/* ===== Branches ===== */
.branches-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}

.branch-card {
    position: relative;
    background: linear-gradient(155deg, rgba(28,12,20,0.97), rgba(18,7,12,0.99));
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 16px;
    padding: 16px 15px 0;
    min-height: 118px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    text-decoration: none !important;
}

.branch-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--red-primary) 50%, transparent);
    opacity: 0.5;
    transition: opacity 0.3s;
}

.branch-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 40px rgba(200,16,46,0.18), 0 4px 14px rgba(0,0,0,0.5);
    border-color: rgba(200,16,46,0.28);
}

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

/* Branch number */
.branch-num {
    position: absolute;
    top: 10px;
    left: 12px;
    font-size: 0.55rem;
    font-weight: 800;
    letter-spacing: 2px;
    color: rgba(255,255,255,0.1);
    font-family: 'Inter', sans-serif;
}

/* Location pin icon â€” small */
.branch-pin-wrap {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: rgba(200,16,46,0.12);
    border: 1px solid rgba(200,16,46,0.22);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    color: #ff4060;
    margin: auto auto 9px;
    transition: background 0.3s;
}

.branch-card:hover .branch-pin-wrap {
    background: rgba(200,16,46,0.22);
}

/* Branch name */
.branch-card h4 {
    font-size: 0.82rem;
    font-weight: 800;
    color: #fff;
    margin: 0 34px 9px;
    line-height: 1.35;
    width: calc(100% - 68px);
    text-align: center;
}

/* Sports badges row */
.branch-sports-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    width: 100%;
    gap: 5px;
    margin-bottom: auto;
    min-height: 18px;
}

.bsport {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 9px;
    border-radius: 50px;
    font-size: 0.65rem;
    font-weight: 600;
    line-height: 1;
}

.bsport-football {
    background: rgba(76,175,80,0.12);
    color: #81c784;
    border: 1px solid rgba(76,175,80,0.22);
}

.bsport-gym {
    background: rgba(255,152,0,0.12);
    color: #ffb74d;
    border: 1px solid rgba(255,152,0,0.22);
}

.bsport-basket {
    background: rgba(33,150,243,0.12);
    color: #64b5f6;
    border: 1px solid rgba(33,150,243,0.22);
}

/* â”€â”€ Sport colour tokens â”€â”€ */
/* Football = green */
.bc-football::before { background: linear-gradient(90deg, transparent, #4caf50 50%, transparent); opacity: 0.8; }
.bc-football { border-color: rgba(76,175,80,0.12); }
.bc-football:hover { border-color: rgba(76,175,80,0.35); box-shadow: 0 16px 40px rgba(76,175,80,0.14), 0 4px 14px rgba(0,0,0,0.5); }
.bc-football .branch-pin-wrap { background: rgba(76,175,80,0.12); border-color: rgba(76,175,80,0.25); color: #81c784; }
.bc-football:hover .branch-pin-wrap { background: rgba(76,175,80,0.22); }
.bc-football .branch-dir-btn { color: #81c784; border-top-color: rgba(76,175,80,0.15); background: rgba(76,175,80,0.06); }
.bc-football:hover .branch-dir-btn { background: rgba(76,175,80,0.15); color: #a5d6a7; }

/* Basket = blue */
.bc-basket::before { background: linear-gradient(90deg, transparent, #2196f3 50%, transparent); opacity: 0.8; }
.bc-basket { border-color: rgba(33,150,243,0.12); }
.bc-basket:hover { border-color: rgba(33,150,243,0.35); box-shadow: 0 16px 40px rgba(33,150,243,0.14), 0 4px 14px rgba(0,0,0,0.5); }
.bc-basket .branch-pin-wrap { background: rgba(33,150,243,0.12); border-color: rgba(33,150,243,0.25); color: #64b5f6; }
.bc-basket:hover .branch-pin-wrap { background: rgba(33,150,243,0.22); }
.bc-basket .branch-dir-btn { color: #64b5f6; border-top-color: rgba(33,150,243,0.15); background: rgba(33,150,243,0.06); }
.bc-basket:hover .branch-dir-btn { background: rgba(33,150,243,0.15); color: #90caf9; }

/* Multi (football + gym) = green â†’ orange gradient */
.bc-multi::before { background: linear-gradient(90deg, transparent, #4caf50 30%, #ff9800 70%, transparent); opacity: 0.85; }
.bc-multi { border-color: rgba(255,152,0,0.12); }
.bc-multi:hover { border-color: rgba(255,152,0,0.35); box-shadow: 0 16px 40px rgba(255,152,0,0.12), 0 4px 14px rgba(0,0,0,0.5); }
.bc-multi .branch-pin-wrap { background: rgba(255,152,0,0.12); border-color: rgba(255,152,0,0.25); color: #ffb74d; }
.bc-multi:hover .branch-pin-wrap { background: rgba(255,152,0,0.22); }
.bc-multi .branch-dir-btn { color: #ffb74d; border-top-color: rgba(255,152,0,0.15); background: rgba(255,152,0,0.06); }
.bc-multi:hover .branch-dir-btn { background: rgba(255,152,0,0.15); color: #ffcc80; }

/* Directions strip at bottom */
.branch-dir-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: calc(100% + 30px);
    margin: 0 -15px;
    padding: 9px 15px;
    background: rgba(200,16,46,0.07);
    border-top: 1px solid rgba(200,16,46,0.1);
    font-size: 0.72rem;
    font-weight: 700;
    color: #ff5070;
    transition: background 0.25s, color 0.25s;
    text-decoration: none;
}

.branch-card:hover .branch-dir-btn {
    background: rgba(200,16,46,0.18);
    color: #ff7085;
}

/* ===== Sport Card Extras ===== */
.sport-gender {
    display: inline-block;
    padding: 4px 14px;
    background: rgba(200, 16, 46, 0.2);
    color: #ff6b7a;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    margin-bottom: 10px;
    border: 1px solid rgba(200, 16, 46, 0.3);
}

.sport-badges {
    display: flex;
    gap: 8px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 16px;
}

.sport-badge {
    padding: 4px 12px;
    background: rgba(245, 166, 35, 0.15);
    color: var(--gold);
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
}

.btn-register-sport {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 11px 28px;
    background: linear-gradient(135deg, var(--red-primary), var(--red-light));
    color: white;
    border-radius: 10px;
    font-family: 'Cairo', sans-serif;
    font-size: 0.9rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s;
    margin-top: 8px;
    box-shadow: 0 4px 14px rgba(200, 16, 46, 0.25);
}

.btn-register-sport i {
    font-size: 0.95rem;
    margin: 0 !important;
}

.btn-register-sport:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(200, 16, 46, 0.45);
}

/* ===== Registration Cards ===== */
.register-section {
    background: linear-gradient(135deg, var(--dark) 0%, #1a0a0a 50%, var(--dark) 100%);
    position: relative;
}

.register-card {
    background: white;
    border-radius: 20px;
    padding: 32px;
    text-align: center;
    transition: all 0.3s;
}

.register-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
}

.register-card-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--red-primary), var(--red-light));
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    color: white;
    font-size: 1.8rem;
}

.register-card-icon.gymnastics-icon { background: linear-gradient(135deg, #7209b7, #b5179e); }
.register-card-icon.basketball-icon { background: linear-gradient(135deg, #e85d04, #f48c06); }

.register-card h3 {
    font-size: 1.3rem;
    font-weight: 800;
    margin-bottom: 8px;
    color: var(--dark-gray);
}

.register-card p {
    font-size: 0.85rem;
    color: #666;
    line-height: 1.7;
    margin-bottom: 16px;
}

.register-features {
    list-style: none;
    padding: 0;
    margin-bottom: 20px;
    text-align: right;
}

.register-features li {
    padding: 6px 0;
    font-size: 0.85rem;
    color: #555;
    display: flex;
    align-items: center;
    gap: 8px;
}

.register-features li i {
    color: #38b000;
    font-size: 0.75rem;
}

.btn-register-card {
    display: inline-block;
    padding: 12px 32px;
    background: linear-gradient(135deg, var(--red-primary), var(--red-light));
    color: white;
    border-radius: 12px;
    font-family: 'Cairo', sans-serif;
    font-size: 0.95rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s;
    box-shadow: 0 4px 16px rgba(200, 16, 46, 0.3);
}

.btn-register-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(200, 16, 46, 0.5);
}

.btn-whatsapp-register {
    display: inline-block;
    padding: 14px 36px;
    background: #25d366;
    color: white;
    border-radius: 12px;
    font-family: 'Cairo', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s;
    margin-top: 16px;
    box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4);
}

.btn-whatsapp-register:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.6);
}

/* ===== Main Registration Card ===== */
.register-main-card {
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(200, 16, 46, 0.2);
    border-radius: 24px;
    padding: 48px 40px;
    text-align: center;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
}

.register-main-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--red-primary), var(--red-light));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: white;
    font-size: 2rem;
}

.register-main-card h3 {
    font-size: 1.6rem;
    font-weight: 900;
    color: white;
    margin-bottom: 8px;
}

.register-main-card p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 1rem;
    line-height: 1.7;
    max-width: 500px;
    margin: 0 auto;
}

.register-info-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px;
    background: rgba(200, 16, 46, 0.1);
    border: 1px solid rgba(200, 16, 46, 0.15);
    border-radius: 12px;
    font-weight: 700;
    color: white;
    font-size: 0.95rem;
}

.register-info-item i {
    color: #ff6b7a;
    font-size: 1.2rem;
}

.register-highlights {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 28px;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: rgba(200, 16, 46, 0.15);
    border: 1px solid rgba(200, 16, 46, 0.25);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #ff6b7a;
}

.highlight-item i {
    font-size: 0.8rem;
}

.btn-register-main {
    display: inline-block;
    padding: 16px 48px;
    background: linear-gradient(135deg, var(--red-primary), var(--red-light));
    color: white;
    border-radius: 14px;
    font-family: 'Cairo', sans-serif;
    font-size: 1.15rem;
    font-weight: 800;
    text-decoration: none;
    transition: all 0.3s;
    box-shadow: 0 6px 24px rgba(200, 16, 46, 0.4);
}

.btn-register-main:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(200, 16, 46, 0.6);
}

.schedule-links {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.schedule-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 22px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 10px;
    color: white;
    font-family: 'Cairo', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
}

.schedule-link:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .register-main-card {
        padding: 32px 20px;
    }

    .register-main-card h3 {
        font-size: 1.3rem;
    }

    .schedule-links {
        flex-direction: column;
        align-items: center;
    }
}

/* ===== Testimonials ===== */
.testimonial-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 32px;
    border: 1px solid rgba(200, 16, 46, 0.12);
    transition: all 0.3s;
}

.testimonial-card:hover {
    box-shadow: 0 10px 30px rgba(200, 16, 46, 0.1);
    background: rgba(255, 255, 255, 0.08);
}

.stars {
    color: var(--gold);
    margin-bottom: 16px;
    font-size: 0.9rem;
    display: flex;
    gap: 2px;
}

.testimonial-card p {
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.8;
    font-size: 0.95rem;
    margin-bottom: 20px;
}

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

.author-avatar {
    width: 48px;
    height: 48px;
    background: rgba(200, 16, 46, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ff6b7a;
}

.testimonial-author strong {
    display: block;
    font-size: 0.95rem;
    color: white;
}

.testimonial-author span {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
}

/* ===== Contact ===== */
.contact-card {
    text-align: center;
    padding: 40px 24px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(200, 16, 46, 0.12);
    border-radius: 20px;
    transition: all 0.3s;
}

.contact-card:hover {
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 10px 30px rgba(200, 16, 46, 0.1);
}

.contact-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--red-primary), var(--red-light));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    color: white;
    font-size: 1.5rem;
}

.contact-card h4 {
    font-size: 1.2rem;
    font-weight: 800;
    margin-bottom: 8px;
    color: white;
}

.contact-card p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    line-height: 1.8;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-top: 40px;
}

.social-link {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.4rem;
    transition: all 0.3s;
    text-decoration: none;
}

.social-link:hover {
    transform: translateY(-4px);
}

.social-link.instagram { background: linear-gradient(135deg, #833ab4, #fd1d1d, #fcb045); }
.social-link.twitter { background: #1da1f2; }
.social-link.whatsapp { background: #25d366; }
.social-link.tiktok { background: #000; }
.social-link.youtube { background: #ff0000; }
.social-link.facebook { background: #1877F2; }

/* ===== Footer ===== */
.footer {
    background: var(--dark);
}

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

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

.footer-links a {
    color: #888;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: white;
}

.footer-social {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #888;
    text-decoration: none;
    transition: all 0.3s;
}

.footer-social:hover {
    background: var(--red-primary);
    color: white;
}

/* ===== WhatsApp Float ===== */
.whatsapp-float {
    position: fixed;
    bottom: 24px;
    left: 24px;
    width: 60px;
    height: 60px;
    background: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.8rem;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
    transition: all 0.3s;
    z-index: 100;
    text-decoration: none;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.6);
}

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

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

/* ===== Responsive ===== */
@media (max-width: 768px) {
    /* Ù…Ù†Ø·Ù‚Ø© Ø¢Ù…Ù†Ø© Ù„Ù„Ù…ÙˆØ¨Ø§ÙŠÙ„ */
    .hero-section {
        align-items: flex-start;
        justify-content: flex-start;
    }

    .hero-content {
        padding-top: calc(290px + env(safe-area-inset-top, 16px));
        padding-bottom: 24px;
    }

    .hero-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
        max-width: 340px;
    }

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

    .stat-icon {
        width: 36px;
        height: 36px;
        font-size: 0.95rem;
    }

    .stat-label {
        font-size: 0.68rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .section-tag {
        font-size: 0.8rem;
        padding: 5px 16px;
    }

    .register-card {
        padding: 24px;
    }

    .about-experience-badge {
        position: relative;
        bottom: auto;
        left: auto;
        display: inline-flex;
        margin-top: 16px;
    }

    .about-img-placeholder {
        height: 250px;
    }

    .about-img {
        height: 250px;
    }

    .hero-buttons {
        margin-bottom: 40px;
    }

    .sport-card {
        padding: 24px;
    }

    .sport-card-img {
        height: 200px;
        border-radius: 12px;
    }

    .sport-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
        border-radius: 16px;
    }

    .sport-card h3 {
        font-size: 1.2rem;
    }

    .branches-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 11px;
    }

    .contact-card {
        padding: 28px 20px;
    }

    .contact-icon {
        width: 56px;
        height: 56px;
        font-size: 1.2rem;
        border-radius: 16px;
    }

    .social-links {
        gap: 12px;
    }

    .social-link {
        width: 48px;
        height: 48px;
        border-radius: 14px;
        font-size: 1.2rem;
    }

    .whatsapp-float {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
        bottom: 16px;
        left: 16px;
    }

    .testimonial-card {
        padding: 24px;
    }

    .nav-link {
        font-size: 0.85rem;
    }

    .footer .grid {
        gap: 24px;
    }
}

@media (max-width: 480px) {
    /* Ø§Ù„Ù…Ù†Ø·Ù‚Ø© Ø§Ù„Ø¢Ù…Ù†Ø© â€” ÙŠÙ†Ø²Ù„ Ø§Ù„Ù…Ø­ØªÙˆÙ‰ ØªØ­Øª Ø§Ù„Ù€ navbar ÙˆØ§Ù„Ù€ notch */
    .hero-section {
        align-items: flex-start;
        justify-content: flex-start;
    }

    .hero-content {
        padding-top: calc(300px + env(safe-area-inset-top, 20px));
        padding-bottom: 30px;
    }

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

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

    .hero-stats {
        gap: 8px;
        max-width: 300px;
    }

    .stat-item {
        padding: 14px 8px 12px;
        border-radius: 14px;
    }

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

    .btn-primary, .btn-secondary {
        padding: 12px 24px;
        font-size: 0.9rem;
    }

    .section-title {
        font-size: 1.6rem;
    }

    .sport-details {
        flex-direction: column;
        gap: 8px;
    }

    .register-highlights {
        gap: 8px;
    }

    .highlight-item {
        font-size: 0.75rem;
        padding: 6px 12px;
    }

    .gallery-filter {
        gap: 6px;
    }

    .filter-btn {
        padding: 6px 16px;
        font-size: 0.8rem;
    }

    .about-feature {
        font-size: 0.8rem;
        padding: 10px 12px;
    }

    .hero-badge {
        font-size: 0.7rem;
        padding: 6px 18px;
        letter-spacing: 2px;
    }
}

/* ===== Large Desktop ===== */
@media (min-width: 1400px) {
    .hero-title {
        font-size: 5.5rem;
    }

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

    .section-title {
        font-size: 3rem;
    }

    .sport-card {
        padding: 40px;
    }

    .gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(190px, 280px));
        gap: 24px;
    }
}

/* ===== Stories Section ===== */
.stories-section {
    padding: 30px 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.stories-container {
    display: flex;
    gap: 28px;
    justify-content: center;
    align-items: flex-start;
    overflow-x: auto;
    padding: 10px 0;
    scrollbar-width: none;
}

.stories-container::-webkit-scrollbar {
    display: none;
}

.story-circle {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    flex-shrink: 0;
}

.story-ring {
    width: 78px;
    height: 78px;
    border-radius: 50%;
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888, #f09433);
    background-size: 300% 300%;
    animation: storyRingRotate 3s linear infinite;
    padding: 3px;
    transition: transform 0.3s ease;
    position: relative;
}

.story-ring::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: inherit;
    background-size: inherit;
    animation: inherit;
    filter: blur(6px);
    opacity: 0.5;
    z-index: -1;
}

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

.story-circle:hover .story-ring {
    transform: scale(1.1);
}

.story-avatar {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: #1a1a2e;
    border: 3px solid #0d0d1a;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.story-avatar-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #2a1020, #1a0a15);
    color: var(--red-primary);
    font-size: 1.5rem;
}

.story-label {
    color: rgba(255,255,255,0.8);
    font-size: 0.75rem;
    font-weight: 600;
    text-align: center;
    max-width: 80px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Story Viewer Overlay */
.story-viewer {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    padding: 16px;
}

.story-viewer.active {
    display: flex;
    opacity: 1;
}

.story-viewer-inner {
    position: relative;
    width: 100%;
    max-width: 300px;
    height: min(520px, 70vh);
    background: linear-gradient(180deg, #0d0d1f 0%, #1a0505 100%);
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid rgba(200, 16, 46, 0.3);
    box-shadow:
        0 0 0 1px rgba(200,16,46,0.15),
        0 30px 80px rgba(0, 0, 0, 0.7),
        0 0 40px rgba(200, 16, 46, 0.12);
}

.story-progress-bar {
    position: absolute;
    top: 12px;
    left: 12px;
    right: 12px;
    display: flex;
    gap: 4px;
    z-index: 10;
}

.story-progress-segment {
    flex: 1;
    height: 3px;
    background: rgba(255,255,255,0.25);
    border-radius: 3px;
    overflow: hidden;
}

.story-progress-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--red-primary), #f5a623);
    border-radius: 3px;
    transition: width 0.1s linear;
}

.story-progress-fill.done {
    width: 100%;
    transition: none;
}

.story-progress-fill.active {
    animation: storyProgress 5s linear forwards;
}

@keyframes storyProgress {
    from { width: 0%; }
    to { width: 100%; }
}

.story-header {
    position: absolute;
    top: 24px;
    left: 16px;
    right: 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 10;
}

.story-header-info {
    display: flex;
    align-items: center;
    gap: 10px;
}

.story-header-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--red-primary), #e63946);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

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

.story-header-name {
    color: white;
    font-weight: 700;
    font-size: 0.9rem;
    text-shadow: 0 1px 4px rgba(0,0,0,0.6);
}

.story-close {
    background: rgba(200, 16, 46, 0.85);
    border: 1.5px solid rgba(200, 16, 46, 0.9);
    color: white;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    z-index: 20;
    box-shadow: 0 4px 14px rgba(200,16,46,0.5);
    flex-shrink: 0;
}

.story-close:hover {
    background: var(--red-primary);
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(200,16,46,0.7);
}

.story-content {
    width: 100%;
    height: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #0d0d1f;
}

.story-content img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.story-text-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 60px 24px calc(30px + env(safe-area-inset-bottom, 0px));
    background: linear-gradient(transparent, rgba(0,0,0,0.9));
    color: white;
    text-align: center;
}

.story-text-overlay h3 {
    font-size: 1.3rem;
    font-weight: 800;
    margin-bottom: 6px;
}

.story-text-overlay p {
    font-size: 0.85rem;
    opacity: 0.85;
    line-height: 1.5;
}

.story-nav {
    position: absolute;
    top: 80px;
    bottom: 80px;
    width: 40%;
    z-index: 5;
    cursor: pointer;
}

.story-nav-prev {
    left: 0;
}

.story-nav-next {
    right: 0;
}

.story-group-nav {
    position: absolute;
    top: 50%;
    left: -60px;
    right: -60px;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    z-index: 10;
    pointer-events: none;
}

.story-group-prev,
.story-group-next {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(200, 16, 46, 0.25);
    border: 1px solid rgba(200, 16, 46, 0.4);
    color: white;
    font-size: 0.9rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: all;
    transition: all 0.2s;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 14px rgba(0,0,0,0.4);
}

.story-group-prev:hover,
.story-group-next:hover {
    background: rgba(200, 16, 46, 0.6);
    border-color: var(--red-primary);
}

/* Story placeholder when no image */
.story-content-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
    color: rgba(255,255,255,0.5);
    font-size: 4rem;
    background: radial-gradient(circle at center, rgba(200,16,46,0.1) 0%, transparent 70%);
}

.story-content-placeholder span {
    font-size: 1.1rem;
    font-weight: 600;
    color: rgba(255,255,255,0.7);
}

@media (max-width: 768px) {
    .stories-container {
        gap: 10px;
        justify-content: center;
        padding: 10px 12px;
    }

    .story-ring {
        width: 56px;
        height: 56px;
    }

    .story-avatar i {
        font-size: 1.2rem !important;
    }

    .story-label {
        font-size: 0.65rem;
        max-width: 60px;
    }

    .story-viewer {
        padding: 12px;
        align-items: center;
    }

    .story-viewer-inner {
        max-width: 300px;
        width: 100%;
        height: min(460px, 68vh);
        border-radius: 20px;
    }

    .story-group-nav {
        left: -44px;
        right: -44px;
    }

    .story-group-prev,
    .story-group-next {
        width: 36px;
        height: 36px;
        font-size: 0.8rem;
    }
}

/* ===== Language Toggle Button ===== */
.lang-toggle {
    background: rgba(200, 16, 46, 0.3);
    border: 1px solid rgba(200, 16, 46, 0.6);
    color: white;
    padding: 6px 14px;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    letter-spacing: 0.5px;
    font-family: 'Inter', 'Cairo', sans-serif;
    white-space: nowrap;
}

.lang-toggle:hover {
    background: var(--red-primary);
    border-color: var(--red-primary);
    transform: scale(1.05);
}

/* ===== LTR / English Support ===== */
body.lang-en {
    font-family: 'Inter', sans-serif;
}

body.lang-en *:not(.fas):not(.far):not(.fab):not(.fa):not(i) {
    font-family: 'Inter', sans-serif;
}

body.lang-en .hero-title {
    letter-spacing: -1px;
    font-size: 3.8rem;
    line-height: 1.15;
}

body.lang-en .section-tag {
    letter-spacing: 2px;
    text-transform: uppercase;
    font-size: 0.8rem;
}

body.lang-en .nav-link {
    font-size: 0.9rem;
    white-space: nowrap;
}

/* Fix icon margins in LTR */
[dir="ltr"] .ml-2 {
    margin-left: 0;
    margin-right: 0.5rem;
}

/* Hero LTR */
[dir="ltr"] .hero-content {
    text-align: center;
}

[dir="ltr"] .hero-stats {
    direction: ltr;
}

[dir="ltr"] .hero-buttons {
    direction: ltr;
}

[dir="ltr"] .hero-sport-card {
    text-align: center;
}

@media (max-width: 768px) {
    [dir="ltr"] .hero-sport-card {
        text-align: start;
    }
}

/* About LTR */
[dir="ltr"] #about .grid {
    direction: ltr;
}

[dir="ltr"] .about-feature {
    text-align: left;
    flex-direction: row;
}

[dir="ltr"] .about-experience-badge {
    left: auto;
    right: -20px;
    bottom: -20px;
}

[dir="ltr"] #about .section-tag,
[dir="ltr"] #about .section-title,
[dir="ltr"] #about p.text-gray-400 {
    text-align: left;
}

/* Sports LTR */
[dir="ltr"] .sport-card {
    text-align: center;
}

[dir="ltr"] .sport-details {
    justify-content: center;
    direction: ltr;
}

[dir="ltr"] .sport-badges {
    justify-content: center;
    direction: ltr;
}

/* Branches LTR */
[dir="ltr"] .branch-card {
    align-items: center;
    text-align: center;
}

[dir="ltr"] .branch-num {
    left: auto;
    right: 12px;
}

/* Branches small mobile */
@media (max-width: 480px) {
    .branches-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 9px;
    }
}

/* Gallery LTR */
[dir="ltr"] .gallery-filter {
    direction: ltr;
}

/* Registration LTR */
[dir="ltr"] .register-main-card {
    text-align: center;
}

[dir="ltr"] .register-highlights {
    direction: ltr;
    justify-content: center;
}

[dir="ltr"] .schedule-links {
    direction: ltr;
}

/* Testimonials LTR */
[dir="ltr"] .testimonial-card {
    text-align: left;
}

[dir="ltr"] .testimonial-author {
    text-align: left;
    flex-direction: row;
}

/* Contact LTR */
[dir="ltr"] .contact-card {
    text-align: center;
}

[dir="ltr"] .social-links {
    direction: ltr;
}

/* Footer LTR */
[dir="ltr"] .footer-links {
    text-align: left;
}

[dir="ltr"] .footer .grid {
    direction: ltr;
}

[dir="ltr"] .footer .flex {
    direction: ltr;
}

/* Responsive LTR fixes */
@media (max-width: 768px) {
    body.lang-en .hero-title {
        font-size: 2.4rem;
    }

    body.lang-en .nav-link {
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    body.lang-en .hero-title {
        font-size: 2rem;
    }
}

/* ===== About Float Button ===== */
.about-float {
    position: fixed;
    bottom: 98px;
    left: 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    text-decoration: none;
    z-index: 999;
    transition: transform 0.3s;
}
@media (max-width: 768px) {
    .about-float { bottom: 86px; left: 16px; }
    .about-float-circle { width: 50px; height: 50px; font-size: 1.1rem; }
}
.about-float:hover { transform: translateY(-4px); }
.about-float-circle {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: linear-gradient(135deg, #C8102E, #E63946);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 18px rgba(200, 16, 46, 0.5);
    color: white;
    font-size: 1.2rem;
    transition: box-shadow 0.3s;
}
.about-float:hover .about-float-circle {
    box-shadow: 0 8px 26px rgba(200, 16, 46, 0.7);
}
.about-float-label {
    font-family: 'Cairo', sans-serif;
    font-size: 0.72rem;
    font-weight: 700;
    color: white;
    text-shadow: 0 1px 4px rgba(0,0,0,0.6);
    letter-spacing: 0.3px;
}
