/* =============================================
   CSS VARIABLES (LIGHT MODE DEFAULT)
============================================= */
:root {
    --bg-primary: #f5f6fa;
    --bg-secondary: #ffffff;
    --bg-card: rgba(255, 255, 255, 0.85);
    --bg-card-hover: rgba(255, 255, 255, 0.95);
    --bg-stats: rgba(255, 255, 255, 0.7);
    --bg-modal: #ffffff;
    --bg-skill: rgba(0, 0, 0, 0.04);
    --bg-badge: rgba(245, 200, 66, 0.1);
    --bg-special: rgba(245, 200, 66, 0.05);
    --bg-footer: #0d0d14;
    --bg-hero: linear-gradient(135deg, #1a1a2e, #2d2d44);

    --text-primary: #1a1a2e;
    --text-secondary: #4a4a5a;
    --text-muted: #7a7a8a;
    --text-light: #aaaaaa;
    --text-white: #ffffff;

    --gold: #d4a017;
    --gold-light: #f5c842;
    --gold-glow: rgba(212, 160, 23, 0.12);

    --border-light: rgba(0, 0, 0, 0.06);
    --border-card: rgba(0, 0, 0, 0.04);
    --shadow-card: 0 8px 32px rgba(0, 0, 0, 0.06);
    --shadow-hover: 0 16px 48px rgba(0, 0, 0, 0.1);
    --shadow-modal: 0 24px 64px rgba(0, 0, 0, 0.12);

    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --radius: 20px;
    --radius-sm: 12px;
}

/* =============================================
   DARK MODE
============================================= */
[data-theme="dark"] {
    --bg-primary: #0d0d14;
    --bg-secondary: #15151f;
    --bg-card: rgba(255, 255, 255, 0.04);
    --bg-card-hover: rgba(255, 255, 255, 0.07);
    --bg-stats: rgba(255, 255, 255, 0.03);
    --bg-modal: #15151f;
    --bg-skill: rgba(255, 255, 255, 0.04);
    --bg-badge: rgba(245, 200, 66, 0.08);
    --bg-special: rgba(245, 200, 66, 0.03);
    --bg-footer: #08080e;
    --bg-hero: linear-gradient(135deg, #0a0a12, #1a1a2e);

    --text-primary: #f0f0f0;
    --text-secondary: #b0b0c0;
    --text-muted: #7a7a8a;
    --text-light: #5a5a6a;
    --text-white: #ffffff;

    --gold: #f5c842;
    --gold-light: #ffd866;
    --gold-glow: rgba(245, 200, 66, 0.06);

    --border-light: rgba(255, 255, 255, 0.04);
    --border-card: rgba(255, 255, 255, 0.04);
    --shadow-card: 0 8px 32px rgba(0, 0, 0, 0.2);
    --shadow-hover: 0 16px 48px rgba(0, 0, 0, 0.3);
    --shadow-modal: 0 24px 64px rgba(0, 0, 0, 0.4);
}

/* =============================================
   RESET & BASE
============================================= */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Vazirmatn', 'Tahoma', sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    min-height: 100vh;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.container {
    max-width: 1240px;
    width: 100%;
    margin: 0 auto;
    padding: 0 20px;
}

/* =============================================
   HERO SLIDER
============================================= */
.hero-slider {
    position: relative;
    width: 100%;
    height: 600px;
    border-radius: 0 0 40px 40px;
    overflow: hidden;
    margin-bottom: 40px;
    background: var(--bg-hero);
}

.hero-slider .slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s ease, transform 1.2s ease;
    transform: scale(1.05);
}

.hero-slider .slide.active {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
}

.hero-slider .slide img,
.hero-slider .slide video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.hero-slider .slide video {
    background: #000;
}

.hero-slider .slide-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(10, 10, 18, 0.7) 0%, rgba(26, 26, 46, 0.5) 50%, transparent 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
}

.hero-slider .slide-content {
    max-width: 700px;
    text-align: center;
    color: #fff;
    opacity: 0;
    transform: translateY(30px);
}

.hero-slider .slide.active .slide-content {
    animation: slideContentIn 0.8s ease 0.3s forwards;
}

@keyframes slideContentIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-slider .slide-content .badge-top {
    display: inline-block;
    background: var(--bg-badge);
    color: var(--gold);
    padding: 4px 20px;
    border-radius: 40px;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 14px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-slider .slide-content h1 {
    font-size: 3.2rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 10px;
    text-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.hero-slider .slide-content h1 .highlight {
    background: linear-gradient(135deg, var(--gold-light), var(--gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-slider .slide-content p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.1rem;
    max-width: 520px;
    margin: 0 auto 24px;
    line-height: 1.8;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.2);
}

.hero-slider .slide-content .btn-primary {
    padding: 14px 38px;
    border-radius: 50px;
    border: none;
    background: linear-gradient(135deg, var(--gold-light), var(--gold));
    color: #fff;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    font-family: inherit;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.hero-slider .slide-content .btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px var(--gold-glow);
}

.hero-slider .slide-content .btn-secondary {
    padding: 14px 38px;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    color: #fff;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    font-family: inherit;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.hero-slider .slide-content .btn-secondary:hover {
    border-color: var(--gold);
    background: rgba(255, 215, 0, 0.1);
    transform: translateY(-3px);
}

.hero-slider .slide-content .hero-buttons {
    display: flex;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
}

.hero-slider .slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    color: #fff;
    font-size: 1.2rem;
    cursor: pointer;
    transition: var(--transition);
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-slider .slider-nav:hover {
    background: var(--gold);
    border-color: var(--gold);
    transform: translateY(-50%) scale(1.05);
}

.hero-slider .slider-nav.prev {
    left: 20px;
}

.hero-slider .slider-nav.next {
    right: 20px;
}

.hero-slider .slider-dots {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.hero-slider .slider-dots .dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.3);
    background: transparent;
    cursor: pointer;
    transition: var(--transition);
    padding: 0;
}

.hero-slider .slider-dots .dot.active {
    background: var(--gold);
    border-color: var(--gold);
    width: 32px;
    border-radius: 10px;
}

.hero-slider .slider-dots .dot:hover {
    border-color: var(--gold);
}

.hero-slider .video-indicator {
    position: absolute;
    bottom: 80px;
    right: 30px;
    z-index: 10;
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.7rem;
    background: rgba(0, 0, 0, 0.4);
    padding: 4px 14px;
    border-radius: 30px;
    backdrop-filter: blur(4px);
}

.hero-slider .video-indicator i {
    font-size: 0.8rem;
    color: var(--gold);
}

/* =============================================
   SECTION TITLE
============================================= */
.section-title {
    text-align: center;
    margin-bottom: 32px;
}

.section-title .badge {
    display: inline-block;
    background: var(--bg-badge);
    color: var(--gold);
    padding: 2px 18px;
    border-radius: 40px;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 6px;
    border: 1px solid var(--border-light);
}

.section-title h2 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
}

.section-title p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-top: 4px;
}

.section-title .line {
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    margin: 10px auto 0;
    border-radius: 4px;
}

/* =============================================
   STATS / COUNTER
============================================= */
.stats-home, .stats {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 32px 56px;
    padding: 20px 24px;
    margin: 0 0 40px 0;
    background: var(--bg-stats);
    border-radius: 60px;
    border: 1px solid var(--border-light);
    backdrop-filter: blur(8px);
    transition: var(--transition);
}

.stats .stat-item,
.stats-home .item {
    text-align: center;
}

.counter-item .num {
    display: inline-block;
    font-size: 2.2rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--gold-light), var(--gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stats-home .item .lbl {
    font-size: 0.75rem;
    color: var(--text-muted);
    letter-spacing: 0.5px;
    display: block;
}

/* =============================================
   FACILITIES
============================================= */
.facilities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.facility-card {
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    border-radius: var(--radius);
    padding: 24px 16px;
    text-align: center;
    transition: var(--transition);
    box-shadow: var(--shadow-card);
}

.facility-card:hover {
    transform: translateY(-4px);
    border-color: var(--gold);
    box-shadow: var(--shadow-hover);
}

.facility-card .icon {
    font-size: 2.4rem;
    margin-bottom: 8px;
    display: block;
}

.facility-card h4 {
    font-size: 0.95rem;
    color: var(--text-primary);
    margin-bottom: 2px;
}

.facility-card p {
    font-size: 0.75rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* =============================================
   COURSES SPECIAL
============================================= */
.courses-special-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 24px;
    margin-bottom: 40px;
}

.course-special-card {
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    border-radius: var(--radius);
    padding: 24px 20px;
    text-align: center;
    transition: var(--transition);
    box-shadow: var(--shadow-card);
    position: relative;
    overflow: hidden;
}

.course-special-card .border-animation {
    position: absolute;
    inset: -2px;
    border-radius: var(--radius);
    background: conic-gradient(from 0deg, 
        transparent, 
        var(--gold), 
        transparent, 
        var(--gold-light), 
        transparent 60%
    );
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 0;
    animation: borderSpin 4s linear infinite;
}

.course-special-card:hover .border-animation {
    opacity: 1;
}

@keyframes borderSpin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.course-special-card > * {
    position: relative;
    z-index: 1;
}

.course-special-card .badge-offer {
    position: absolute;
    top: 12px;
    right: 12px;
    background: linear-gradient(135deg, #ff6b6b, #ee5a24);
    color: #fff;
    padding: 2px 14px;
    border-radius: 30px;
    font-size: 0.65rem;
    font-weight: 700;
    z-index: 2;
}

.course-special-card .icon {
    font-size: 2.8rem;
    display: block;
    margin-bottom: 10px;
    position: relative;
    z-index: 1;
}

.course-special-card h4 {
    font-size: 1.1rem;
    color: var(--text-primary);
    position: relative;
    z-index: 1;
}

.course-special-card .price {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--gold);
    margin: 6px 0;
    position: relative;
    z-index: 1;
}

.course-special-card .price .old {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-decoration: line-through;
    font-weight: 400;
    margin-left: 8px;
}

.course-special-card .desc {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 12px;
    position: relative;
    z-index: 1;
}

.course-special-card .btn-enroll {
    padding: 8px 28px;
    border-radius: 40px;
    border: none;
    background: linear-gradient(135deg, var(--gold-light), var(--gold));
    color: #fff;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    font-family: inherit;
    font-size: 0.85rem;
    position: relative;
    z-index: 1;
}

.course-special-card .btn-enroll:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 30px var(--gold-glow);
}

/* =============================================
   COACHES PREVIEW
============================================= */
.coaches-preview {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.coach-mini {
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    border-radius: var(--radius);
    padding: 18px 14px;
    text-align: center;
    transition: var(--transition);
    box-shadow: var(--shadow-card);
    text-decoration: none;
    display: block;
    position: relative;
    overflow: hidden;
}

.coach-mini::after {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: var(--radius);
    background: linear-gradient(135deg, var(--gold), transparent, var(--gold));
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -1;
}

.coach-mini:hover::after {
    opacity: 0.3;
}

.coach-mini:hover {
    transform: translateY(-4px);
    border-color: var(--gold);
    box-shadow: var(--shadow-hover);
}

.coach-mini .img {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 8px;
    border: 2px solid var(--border-light);
}

.coach-mini .img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.coach-mini .img .no-img {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--gold-light), var(--gold));
    color: #fff;
    font-size: 1.6rem;
    font-weight: 800;
}

.coach-mini .name {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 0.9rem;
}

.coach-mini .title {
    font-size: 0.7rem;
    color: var(--text-muted);
}

.coach-mini .specialty {
    display: inline-block;
    font-size: 0.6rem;
    color: var(--gold);
    background: var(--bg-badge);
    padding: 1px 12px;
    border-radius: 30px;
    margin-top: 4px;
    border: 1px solid var(--border-light);
}

/* =============================================
   NEWS
============================================= */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.news-card {
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    border-radius: var(--radius);
    padding: 18px 16px;
    transition: var(--transition);
    box-shadow: var(--shadow-card);
}

.news-card:hover {
    transform: translateY(-4px);
    border-color: var(--gold);
    box-shadow: var(--shadow-hover);
}

.news-card .date {
    font-size: 0.65rem;
    color: var(--gold);
    font-weight: 600;
}

.news-card h4 {
    font-size: 0.95rem;
    color: var(--text-primary);
    margin: 4px 0 6px;
}

.news-card p {
    font-size: 0.8rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.news-card a {
    color: var(--gold);
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 500;
    display: inline-block;
    margin-top: 6px;
}

.news-card a:hover {
    color: var(--gold-light);
}

/* =============================================
   TESTIMONIALS SLIDER
============================================= */
.testimonials-slider {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius);
    min-height: 200px;
    margin-bottom: 40px;
}

.testimonial-slide {
    display: none;
    animation: fadeSlide 0.6s ease;
    padding: 10px 0;
}

.testimonial-slide.active {
    display: block;
}

@keyframes fadeSlide {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.testimonial-card {
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    border-radius: var(--radius);
    padding: 24px 20px;
    box-shadow: var(--shadow-card);
}

.testimonial-card .stars {
    color: var(--gold);
    font-size: 0.8rem;
    margin-bottom: 6px;
}

.testimonial-card p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.8;
    font-style: italic;
}

.testimonial-card .author {
    margin-top: 8px;
    font-weight: 600;
    color: var(--text-primary);
    font-size: 0.85rem;
}

.testimonial-card .author span {
    color: var(--text-muted);
    font-weight: 400;
    font-size: 0.75rem;
}

.slider-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 16px;
}

.slider-dots .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--border-light);
    border: none;
    cursor: pointer;
    transition: var(--transition);
    padding: 0;
}

.slider-dots .dot.active {
    background: var(--gold);
    width: 28px;
    border-radius: 10px;
}

/* =============================================
   FLOATING SOCIAL BAR
============================================= */
.floating-social {
    position: fixed;
    left: 20px;
    bottom: 100px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 999;
}

.floating-social a {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-card);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-light);
    color: var(--text-muted);
    text-decoration: none;
    transition: var(--transition);
    box-shadow: var(--shadow-card);
    font-size: 1rem;
    position: relative;
}

.floating-social a:hover {
    transform: scale(1.1) translateX(-4px);
    border-color: var(--gold);
    color: var(--gold);
    box-shadow: 0 8px 30px var(--gold-glow);
}

.floating-social .social-label {
    display: none;
    position: absolute;
    right: 56px;
    background: var(--bg-card);
    padding: 4px 14px;
    border-radius: 30px;
    font-size: 0.7rem;
    color: var(--text-primary);
    white-space: nowrap;
    border: 1px solid var(--border-light);
    backdrop-filter: blur(10px);
}

.floating-social a:hover .social-label {
    display: block;
}

/* =============================================
   SCROLL PROGRESS BAR
============================================= */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--gold), var(--gold-light));
    z-index: 10000;
    width: 0%;
    transition: width 0.1s ease;
    box-shadow: 0 0 20px var(--gold-glow);
}

/* =============================================
   BACK TO TOP
============================================= */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: none;
    background: linear-gradient(135deg, var(--gold-light), var(--gold));
    color: #fff;
    font-size: 1.2rem;
    cursor: pointer;
    box-shadow: 0 8px 30px var(--gold-glow);
    transition: var(--transition);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    z-index: 1000;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 12px 40px var(--gold-glow);
}

/* =============================================
   PAGE HEADER (برای صفحات داخلی)
============================================= */
.page-header {
    text-align: center;
    padding: 32px 0 20px;
}

.page-header .badge {
    display: inline-block;
    background: var(--bg-badge);
    color: var(--gold);
    padding: 4px 20px;
    border-radius: 40px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 8px;
    border: 1px solid var(--border-light);
}

.page-header h1 {
    font-size: 2.8rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--text-primary) 0%, var(--gold) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.page-header .sub {
    color: var(--text-muted);
    font-size: 1rem;
    font-weight: 300;
}

.page-header .line {
    width: 70px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    margin: 12px auto 0;
    border-radius: 4px;
}

/* =============================================
   CATEGORY (برای مربیان)
============================================= */
.category {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 44px 0 24px 0;
    padding: 6px 0;
    border-bottom: 1px solid var(--border-light);
}

.category .icon {
    font-size: 1.4rem;
}

.category h2 {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-primary);
}

.category .count {
    margin-right: auto;
    background: var(--bg-badge);
    padding: 2px 16px;
    border-radius: 30px;
    font-size: 0.75rem;
    color: var(--gold);
    border: 1px solid var(--border-light);
}

/* =============================================
   COACH GRID
============================================= */
.coach-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
}

/* =============================================
   COACH CARD
============================================= */
.coach-card {
    background: var(--bg-card);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-radius: var(--radius);
    padding: 24px 18px 18px;
    border: 1px solid var(--border-card);
    transition: var(--transition);
    text-align: center;
    position: relative;
    box-shadow: var(--shadow-card);
}

.coach-card:hover {
    transform: translateY(-6px);
    border-color: var(--gold);
    background: var(--bg-card-hover);
    box-shadow: var(--shadow-hover);
}

.card-number {
    position: absolute;
    top: 10px;
    left: 14px;
    font-size: 2.8rem;
    font-weight: 900;
    color: var(--text-light);
    opacity: 0.08;
    line-height: 1;
    font-family: 'Arial Black', sans-serif;
    user-select: none;
}

.card-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    padding: 2px 14px;
    border-radius: 30px;
    font-size: 0.6rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    background: var(--bg-badge);
    color: var(--gold);
    border: 1px solid var(--border-light);
}

.card-badge.gk {
    background: rgba(0, 180, 219, 0.08);
    color: #5bc0eb;
    border-color: rgba(0, 180, 219, 0.06);
}

[data-theme="dark"] .card-badge.gk {
    background: rgba(0, 180, 219, 0.12);
}

.card-image {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    margin: 0 auto 14px;
    overflow: hidden;
    border: 2px solid var(--border-light);
    transition: var(--transition);
}

.coach-card:hover .card-image {
    border-color: var(--gold);
    transform: scale(1.02);
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.card-image .no-img {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--gold-light), var(--gold));
    color: #fff;
    font-size: 3rem;
    font-weight: 800;
}

.card-name {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.3;
}

.card-title {
    font-size: 0.8rem;
    color: var(--text-muted);
    display: block;
    margin-bottom: 2px;
}

.card-specialty {
    display: inline-block;
    font-size: 0.7rem;
    color: var(--gold);
    background: var(--bg-badge);
    padding: 2px 14px;
    border-radius: 30px;
    border: 1px solid var(--border-light);
    margin-bottom: 12px;
}

.divider {
    width: 28px;
    height: 1.5px;
    background: var(--border-light);
    margin: 6px auto 14px;
    border-radius: 4px;
    transition: var(--transition);
}

.skills {
    text-align: right;
    margin: 8px 0 12px;
}

.skill-item {
    margin-bottom: 4px;
}

.skill-item .top {
    display: flex;
    justify-content: space-between;
    font-size: 0.65rem;
    color: var(--text-muted);
}

.skill-item .top span:last-child {
    color: var(--gold);
    font-weight: 600;
}

.skill-bar {
    width: 100%;
    height: 2px;
    background: var(--border-light);
    border-radius: 10px;
    overflow: hidden;
}

.skill-bar .fill {
    height: 100%;
    border-radius: 10px;
    background: linear-gradient(90deg, var(--gold), var(--gold-light));
    transition: width 0.8s ease;
    width: 0;
}

.card-details {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 6px 12px;
    font-size: 0.7rem;
    color: var(--text-muted);
    margin: 6px 0 10px;
}

.card-details span {
    display: flex;
    align-items: center;
    gap: 4px;
}

.card-details i {
    color: var(--gold);
    font-size: 0.6rem;
}

.achievements {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 4px 6px;
    margin: 6px 0 12px;
}

.achievements span {
    background: var(--bg-skill);
    border: 1px solid var(--border-light);
    padding: 1px 10px;
    border-radius: 30px;
    font-size: 0.55rem;
    color: var(--text-secondary);
    white-space: nowrap;
}

.social {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 14px;
}

.social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--bg-skill);
    color: var(--text-muted);
    border: 1px solid var(--border-light);
    text-decoration: none;
    transition: var(--transition);
    font-size: 0.8rem;
}

.social a:hover {
    background: var(--gold);
    color: #fff;
    border-color: var(--gold);
    transform: translateY(-2px);
}

.btn-more {
    width: 100%;
    padding: 10px 0;
    border: 1px solid var(--border-light);
    background: var(--bg-skill);
    color: var(--gold);
    border-radius: 40px;
    font-family: inherit;
    font-size: 0.8rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    letter-spacing: 0.5px;
}

.btn-more:hover {
    background: var(--gold);
    color: #fff;
    border-color: var(--gold);
    box-shadow: 0 6px 24px var(--gold-glow);
}

/* =============================================
   MODAL
============================================= */
.modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    padding: 20px;
    animation: fadeIn 0.25s ease;
}

.modal-overlay.active {
    display: flex;
}

.modal {
    background: var(--bg-modal);
    border-radius: 28px;
    max-width: 700px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    padding: 32px 30px;
    border: 1px solid var(--border-light);
    position: relative;
    animation: slideUp 0.35s ease;
    box-shadow: var(--shadow-modal);
    transition: var(--transition);
}

.modal::-webkit-scrollbar {
    width: 4px;
}
.modal::-webkit-scrollbar-thumb {
    background: var(--gold);
    border-radius: 10px;
}

.modal-close {
    position: sticky;
    top: 0;
    float: left;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid var(--border-light);
    background: var(--bg-skill);
    color: var(--text-muted);
    font-size: 1.2rem;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 8px;
}

.modal-close:hover {
    background: rgba(255, 70, 70, 0.1);
    color: #ff6b6b;
    transform: rotate(90deg);
}

.modal-header {
    text-align: center;
    margin-bottom: 12px;
}

.modal-header .img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 10px;
    border: 2px solid var(--border-light);
}

.modal-header .img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.modal-header .img .no-img {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--gold-light), var(--gold));
    color: #fff;
    font-size: 2.8rem;
    font-weight: 800;
}

.modal-header h2 {
    font-size: 1.6rem;
    color: var(--text-primary);
}

.modal-header .title {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.modal-gallery {
    margin: 12px 0 18px;
    border-radius: 16px;
    overflow: hidden;
}

.modal-gallery .swiper-slide {
    height: 220px;
    background: var(--bg-skill);
}

.modal-gallery .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.modal-gallery .swiper-button-next,
.modal-gallery .swiper-button-prev {
    color: var(--gold);
    background: rgba(0, 0, 0, 0.3);
    width: 30px;
    height: 30px;
    border-radius: 50%;
}

.modal-gallery .swiper-button-next::after,
.modal-gallery .swiper-button-prev::after {
    font-size: 0.8rem;
}

.modal-gallery .swiper-pagination-bullet {
    background: var(--text-secondary);
    opacity: 0.2;
}

.modal-gallery .swiper-pagination-bullet-active {
    background: var(--gold);
    opacity: 1;
}

.modal-info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin: 12px 0;
}

.modal-info .item {
    background: var(--bg-skill);
    padding: 8px 14px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-light);
}

.modal-info .item .lbl {
    font-size: 0.6rem;
    text-transform: uppercase;
    color: var(--text-muted);
    letter-spacing: 0.5px;
    display: block;
}

.modal-info .item .val {
    color: var(--text-primary);
    font-weight: 600;
    font-size: 0.9rem;
}

.modal-info .item .val i {
    color: var(--gold);
    margin-left: 4px;
}

.modal-bio {
    color: var(--text-secondary);
    line-height: 1.9;
    font-size: 0.9rem;
    padding: 14px 18px;
    background: var(--bg-skill);
    border-radius: 14px;
    border-right: 2px solid var(--gold);
    margin: 12px 0;
    text-align: justify;
}

.modal-specials {
    margin: 12px 0;
    padding: 12px 16px;
    background: var(--bg-special);
    border-radius: 14px;
    border: 1px solid var(--border-light);
}

.modal-specials h4 {
    color: var(--gold);
    font-size: 0.8rem;
    margin-bottom: 6px;
}

.modal-specials ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.modal-specials ul li {
    padding: 2px 14px;
    background: var(--bg-badge);
    border-radius: 30px;
    font-size: 0.75rem;
    color: var(--text-secondary);
    border: 1px solid var(--border-light);
}

.modal-skills {
    margin: 12px 0;
}

.modal-skills h4 {
    color: var(--gold);
    font-size: 0.8rem;
    margin-bottom: 6px;
}

.modal-social {
    display: flex;
    justify-content: center;
    gap: 12px;
    padding-top: 16px;
    margin-top: 12px;
    border-top: 1px solid var(--border-light);
}

.modal-social a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-badge);
    color: var(--gold);
    border: 1px solid var(--border-light);
    text-decoration: none;
    transition: var(--transition);
    font-size: 1.1rem;
}

.modal-social a:hover {
    background: var(--gold);
    color: #fff;
    transform: translateY(-2px);
}

/* =============================================
   ANIMATIONS
============================================= */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(40px) scale(0.96);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* =============================================
   RESPONSIVE
============================================= */
@media (max-width: 992px) {
    .hero-slider {
        height: 480px;
    }
    .hero-slider .slide-content h1 {
        font-size: 2.5rem;
    }
    .facilities-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .page-header h1 {
        font-size: 2.2rem;
    }
}

@media (max-width: 768px) {
    .hero-slider {
        height: 400px;
        border-radius: 0 0 24px 24px;
    }
    .hero-slider .slide-content h1 {
        font-size: 1.8rem;
    }
    .hero-slider .slide-content p {
        font-size: 0.9rem;
    }
    .hero-slider .slider-nav {
        width: 36px;
        height: 36px;
        font-size: 0.9rem;
    }
    .hero-slider .slider-nav.prev {
        left: 10px;
    }
    .hero-slider .slider-nav.next {
        right: 10px;
    }
    .hero-slider .slide-overlay {
        padding: 20px;
    }
    
    .facilities-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .courses-special-grid {
        grid-template-columns: 1fr 1fr;
    }
    .stats-home, .stats {
        gap: 18px 30px;
        border-radius: 30px;
        padding: 14px 16px;
    }
    .counter-item .num {
        font-size: 1.6rem;
    }
    .coaches-preview {
        grid-template-columns: repeat(2, 1fr);
    }
    .news-grid {
        grid-template-columns: 1fr 1fr;
    }
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    .coach-grid {
        grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
        gap: 18px;
    }
    .modal {
        padding: 24px 18px;
    }
    .modal-info {
        grid-template-columns: 1fr;
    }
    .modal-gallery .swiper-slide {
        height: 160px;
    }
    .page-header h1 {
        font-size: 2rem;
    }
    .floating-social {
        display: none;
    }
}

@media (max-width: 480px) {
    .hero-slider {
        height: 320px;
    }
    .hero-slider .slide-content h1 {
        font-size: 1.4rem;
    }
    .hero-slider .slide-content .btn-primary,
    .hero-slider .slide-content .btn-secondary {
        padding: 10px 20px;
        font-size: 0.8rem;
    }
    .hero-slider .slider-dots .dot {
        width: 8px;
        height: 8px;
    }
    .hero-slider .slider-dots .dot.active {
        width: 24px;
    }
    
    .facilities-grid {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }
    .facility-card {
        padding: 16px 10px;
    }
    .facility-card .icon {
        font-size: 1.8rem;
    }
    .courses-special-grid {
        grid-template-columns: 1fr;
    }
    .coaches-preview {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }
    .news-grid {
        grid-template-columns: 1fr;
    }
    .section-title h2 {
        font-size: 1.5rem;
    }
    .page-header h1 {
        font-size: 1.6rem;
    }
    .coach-grid {
        grid-template-columns: 1fr;
    }
    .card-image {
        width: 100px;
        height: 100px;
    }
    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 42px;
        height: 42px;
        font-size: 1rem;
    }
}