﻿

:root {
    --navy: #011244;
    --navy-2: #0C1D3C;
    --navy-3: #0E2145;
    --blue: #4E8FD1;
    --blue-soft: #6EA8E2;
    --text: #C4D0E3;
    --muted: #8C9EBB;
    --page-bg: #F2F6FC;
    --cyan-glow: #43e5f2;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: var(--page-bg);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    display: block;
    max-width: 100%;
}

button {
    font-family: inherit;
}

/* المان‌های کارت بازی مخصوص موبایل که در دسکتاپ رفتار متفاوتی دارند */
.mc-header-row, .mc-body-row {
    display: contents;
}



.mc-title-link {
    text-decoration: none;
    color: inherit;
    pointer-events: none;
    cursor: default;
}

/* ==================================================
           اسلایدر اصلی (دسکتاپ)
        ================================================== */
.hero-slider {
    position: relative;
    height: 100vh;
    min-height: 680px;
    max-height: 980px;
    overflow: hidden;
    background: #050B18;
}

    /* ---------- اسلایدها ---------- */
    .hero-slider .slide {
        position: absolute;
        inset: 0;
        background-size: cover;
        background-position: center top;
        opacity: 0;
        transform: scale(1.1);
        transition: opacity 1.1s ease;
    }

        .hero-slider .slide.active {
            opacity: 1;
            animation: kenBurns 7s ease-out forwards;
        }

@keyframes kenBurns {
    from {
        transform: scale(1.12);
    }

    to {
        transform: scale(1);
    }
}

/* سایه روی اسلایدها */
.hero-shade {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    background: linear-gradient(90deg, rgba(5,11,24,.82) 0%, rgba(5,11,24,.38) 40%, transparent 62%), linear-gradient(0deg, rgba(5,11,24,.85) 0%, transparent 32%);
}

/* ==================================================
           کارت بازی بعدی دسکتاپ (Match Card)
        ================================================== */
.match-card {
    position: absolute;
    z-index: 5;
    left: 3.5%;
    top: 57%;
    transform: translateY(-50%);
    width: 380px;
    text-align: center;
    background: #011244;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(57,214,230,.28);
    border-radius: 26px;
    padding: 26px 26px 24px;
    box-shadow: 0 30px 60px rgba(3,8,20,.55), inset 0 0 40px rgba(37,208,224,.05);
    animation: cardIn .9s .35s both;
}

@keyframes cardIn {
    from {
        opacity: 0;
        transform: translateY(calc(-50% + 28px));
    }

    to {
        opacity: 1;
        transform: translateY(-50%);
    }
}

.match-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 15%;
    left: 15%;
    height: 2px;
    border-radius: 2px;
    background: linear-gradient(90deg, transparent, #39D6E6, transparent);
    box-shadow: 0 0 14px rgba(57,214,230,.8);
}

.mc-label {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    color: #39D6E6;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 3px;
    direction: ltr;
}

    .mc-label::before, .mc-label::after {
        content: '';
        width: 36px;
        height: 1px;
        background: linear-gradient(90deg, transparent, #39D6E6);
    }

    .mc-label::after {
        background: linear-gradient(90deg, #39D6E6, transparent);
    }

.mc-title {
    color: #fff;
    font-size: 30px;
    font-weight: 800;
    margin-top: 10px;
}

.mc-league {
    color: #8C9EBB;
    font-size: 13px;
    margin-top: 6px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(110,168,226,.15);
}

/* تیم‌ها */
.mc-teams {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 8px 4px;
}

.mc-team {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 9px;
    width: 112px;
}

    .mc-team img {
        width: 66px;
        height: 66px;
        object-fit: contain;
        filter: drop-shadow(0 0 12px rgba(110,168,226,.55));
        transition: .35s;
    }

    .mc-team:hover img {
        transform: scale(1.1);
        filter: drop-shadow(0 0 18px rgba(110,168,226,.85));
    }

    .mc-team span {
        color: #E7EEF9;
        font-size: 12.5px;
        font-weight: 600;
    }

.mc-vs {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    flex-shrink: 0;
    display: grid;
    place-items: center;
    color: #fff;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 1px;
}

/* ورزشگاه */
.mc-stadium {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    color: #8C9EBB;
    font-size: 12.5px;
    padding: 14px 0 12px;
    border-bottom: 1px solid rgba(110,168,226,.15);
}

    .mc-stadium svg {
        color: #39D6E6;
    }

/* تاریخ و ساعت */
.mc-datetime {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    padding: 12px 0 16px;
    color: #DCE7F7;
    font-size: 13px;
    font-weight: 600;
}

    .mc-datetime > span {
        display: inline-flex;
        align-items: center;
        gap: 7px;
    }

    .mc-datetime svg {
        color: #39D6E6;
    }

.mc-dt-divider {
    width: 1px;
    height: 17px;
    background: rgba(110,168,226,.3);
}

/* شمارش معکوس */
.mc-countdown {
    display: flex;
    gap: 10px;
    justify-content: center;
    direction: ltr;
}

.cd-box {
    flex: unset;
    max-width: unset;
    background: unset;
    border: unset;
    border-radius: unset;
    padding: unset;
    transition: unset;
}

.cd-box_lg {
    flex: 1;
    max-width: 76px;
    background: rgba(255, 255, 255, .05);
    border: 1px solid rgba(110, 168, 226, .25);
    border-radius: 13px;
    padding: 10px 4px 8px;
    transition: .3s;
}

.cd-box:hover {
    border-color: rgba(57,214,230,.5);
    background: rgba(57,214,230,.07);
}

.cd-box b {
    display: block;
    color: #fff;
    font-size: 22px;
    font-weight: 800;
    line-height: 1.15;
}

.cd-box span {
    display: block;
    color: #fff;
    font-size: 22px;
    font-weight: 800;
    line-height: 1.15;
}

/* دکمه خرید بلیت */
.mc-btn {
    margin-top: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: linear-gradient(90deg, #43E5F2, #17B8DA);
    color: #042A3B;
    font-size: 15px;
    font-weight: 800;
    border-radius: 14px;
    padding: 14px;
    box-shadow: 0 0px 28px rgb(37 208 224 / 38%);
    transition: .3s;
    text-decoration: none;
}

    .mc-btn:hover {
        transform: translateY(-3px);
        filter: brightness(1.06);
        box-shadow: 0 18px 38px rgba(37,208,224,.55);
    }

/* ==================================================
           فلش‌ها و نقاط اسلایدر
        ================================================== */
.hero-arrows {
    position: absolute;
    z-index: 6;
    bottom: 34px;
    right: 5%;
    display: flex;
    gap: 12px;
}

.hero-arrow {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: rgba(10,23,48,.45);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(110,168,226,.4);
    color: #DCE7F7;
    cursor: pointer;
    display: grid;
    place-items: center;
    transition: .3s;
}

    .hero-arrow:hover {
        background: rgba(57,214,230,.18);
        border-color: #39D6E6;
        color: #fff;
        box-shadow: 0 0 18px rgba(57,214,230,.45);
    }

.hero-dots {
    position: absolute;
    z-index: 6;
    bottom: 52px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 9px;
}

.hero-dot {
    width: 9px;
    height: 9px;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    background: rgba(255,255,255,.3);
    transition: .4s;
}

    .hero-dot.active {
        width: 30px;
        background: #39D6E6;
        box-shadow: 0 0 12px rgba(57,214,230,.8);
    }

/* ==================================================
           NEWS TICKER (باکس اخبار گوشه راست)
        ================================================== */
.news-ticker {
    position: absolute;
    z-index: 6;
    right: 5.5%;
    bottom: 120px;
    width: 380px;
    background: rgb(5 17 51);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(57,214,230,.25);
    border-radius: 18px;
    padding: 15px 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    overflow: hidden;
}

.nt-badge {
    background: rgba(57,214,230,.15);
    color: #39D6E6;
    font-size: 11px;
    font-weight: 700;
    padding: 5px 12px;
    border-radius: 50px;
    white-space: nowrap;
    border: 1px solid rgba(57,214,230,.3);
}

.nt-content {
    flex: 1;
    position: relative;
    height: 40px;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.nt-item {
    position: absolute;
    width: 100%;
    opacity: 0;
    transform: translateY(100%);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-decoration: none;
    color: #fff;
}

    .nt-item.active {
        opacity: 1;
        transform: translateY(0);
    }

    .nt-item.prev {
        opacity: 0;
        transform: translateY(-100%);
    }

.nt-text {
    font-size: 13px;
    font-weight: 600;
    color: #E7EEF9;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 220px;
}

.nt-arrow {
    color: #39D6E6;
    display: grid;
    place-items: center;
    transition: transform 0.3s;
}

.nt-item:hover .nt-arrow {
    transform: translateX(-5px);
}


.span-next {
    display: block;
    line-height: 1.15;
    margin-top: 8px;
    color: white;
    font-size: 12px;
    font-weight: 600;
}


@media (max-width: 900px) {

    .cd-box_lg {
        flex: unset;
        max-width: unset;
        background: unset;
        border: unset;
        border-radius: unset;
        padding: unset;
        transition: unset;
    }

    .hero-arrows {
        display: none;
    }

    .news-ticker {
        width: 90%;
        right: 5%;
        bottom: auto;
        top: 100px;
    }
}

/* ==================================================
           ریسپانسیو موبایل و استایل‌های فلت (زیر 640px)
        ================================================== */
@media (max-width:640px) {

    .cd-box_lg {
        flex: unset;
        max-width: unset;
        background: unset;
        border: unset;
        border-radius: unset;
        padding: unset;
        transition: unset;
    }

    .hero-slider {
        min-height: 100svh;
        height: 105svh;
        padding-bottom: 0;
        display: block;
        position: relative;
    }

    /* مخفی سازی تگ‌ها، تیکت دکمه و استادیوم در نسخه موبایل */
    .mc-label, .mc-league, .mc-stadium, .mc-btn {
        display: none !important;
    }

    /* استایل کارت بازی نئونی مطابق عکس ارسالی */
    .match-card {
        position: absolute !important;
        left: 50% !important;
        top: auto !important;
        bottom: 100px !important;
        transform: translateX(-50%) !important;
        width: calc(100% - 32px) !important;
        max-width: 500px !important;
        background: rgb(1 18 68 / 56%) !important;
        backdrop-filter: blur(25px) !important;
        -webkit-backdrop-filter: blur(25px) !important;
        border: 1.5px solid rgba(67, 229, 242, 0.22) !important;
        border-radius: 16px !important;
        padding: 16px 20px !important;
        box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3) !important;
        animation: cardInM .9s .35s both !important;
    }

    @keyframes cardInM {
        from {
            opacity: 0;
            transform: translate(-50%, 20px);
        }

        to {
            opacity: 1;
            transform: translate(-50%, 0);
        }
    }

    /* ایجاد سطر هدر کارت در موبایل (بازی بعدی + تاریخ) */
    .mc-header-row {
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
        padding-bottom: 12px !important;
        margin-bottom: 14px !important;
        flex-direction: row-reverse;
    }

    .mc-title-link {
        display: flex !important;
        align-items: center !important;
        text-decoration: none !important;
        pointer-events: auto !important;
        cursor: pointer !important;
    }

    /* دایره کوچک آبی شامل علامت زاویه دار */
    .mc-title-icon-wrapper {
        display: inline-flex !important;
        width: 22px;
        height: 22px;
        border-radius: 50%;
        background: #39D6E6;
        color: #011244;
        align-items: center;
        justify-content: center;
        margin-left: 8px;
    }

    .mc-title {
        color: #fff !important;
        font-size: 15px !important;
        font-weight: 700 !important;
        margin: 0 !important;
    }

    /* تاریخ و ساعت */
    .mc-datetime {
        display: flex !important;
        align-items: center !important;
        gap: 6px !important;
        color: #fff !important;
        font-size: 12px !important;
        padding: 0 !important;
        font-weight: 500 !important;
    }

    .mc-calendar-icon {
        display: inline-block !important;
        color: #39D6E6 !important;
        margin-right: 4px;
    }

    .mc-dt-divider {
        display: inline !important;
        color: rgba(255,255,255,0.3) !important;
        margin: 0 4px !important;
    }

    /* سطر پایینی حاوی ستون تیم‌ها، خط جدا کننده و زمان معکوس */
    .mc-body-row {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        flex-direction: row-reverse;
    }

    .mc-teams-col {
        flex: 1.2 !important;
    }

    .mc-teams {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        padding: 0 !important;
    }

    .mc-team {
        width: 70px !important;
        gap: 6px !important;
    }

        .mc-team img {
            width: 44px !important;
            height: 44px !important;
            filter: drop-shadow(0 0 8px rgba(110,168,226,.4)) !important;
        }

        .mc-team span {
            font-size: 10px !important;
            white-space: nowrap !important;
        }

    .mc-vs {
        width: auto !important;
        height: auto !important;
        color: #39D6E6 !important;
        font-size: 12px !important;
        font-weight: 800 !important;
    }

    /* خط دیوایدر عمودی بین تیم‌ها و تایمر */


    .cd-box {
        padding: unset;
        border-radius: 8px !important;
        background: rgba(255, 255, 255, 0.03) !important;
        border: 1px solid rgba(255, 255, 255, 0.08) !important;
        width: 32px;
        height: 32px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .span-next {
        font-size: 12px;
        color: white;
    }

    .cd-box b {
        font-size: 14px !important;
    }

    .cd-box span {
        font-size: 12px !important;
        color: #ffffff !important;
    }

    /* جابجایی باکس اخبار در بالای کارت بازی */
    .news-ticker {
        position: absolute !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
        top: auto !important;
        bottom: 40px !important;
        width: calc(100% - 40px) !important;
        max-width: 500px !important;
        padding: 8px 12px !important;
        border-radius: 12px !important;
        margin: 0 !important;
        right: unset;
    }

    .nt-badge {
        font-size: 9px;
        padding: 3px 8px;
    }

    .nt-content {
        height: 28px;
    }

    .nt-text {
        font-size: 11px;
        max-width: 160px;
    }

    .nt-arrow svg {
        width: 12px;
        height: 12px;
    }

    .hero-shade {
        background: linear-gradient(0deg, rgba(5,11,24,.98) 0%, rgba(5,11,24,.6) 50%, rgba(5,11,24,.4) 100%);
    }

    .hero-dots {
        bottom: 10px;
        z-index: 10;
    }
}


/*اخبار*/
.news-section {
    margin-top: 120px;
    background: #F2F6FC;
    direction: rtl;
}


.news-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 26px;
    max-width: 1300px;
    margin: 0 auto;
    align-items: stretch;
}

    .news-grid a {
        text-decoration: none;
    }

/* بج دسته‌بندی */
.news-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 6px 13px;
    border-radius: 50px;
    background: linear-gradient(145deg, #153674, #071C4D);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    white-space: nowrap;
    box-shadow: 0 7px 15px rgba(8, 29, 75, .18);
}

    .news-badge i {
        color: #83BDF6;
        font-size: 11px;
    }

/* ======================================================
       کارت بزرگ خبر ویژه
    ====================================================== */
.news-featured {
    position: relative;
    min-height: 520px;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    border-radius: 24px;
    background: #0A1730;
    box-shadow: 0 22px 45px rgba(10, 23, 48, .17);
    isolation: isolate;
    transition: transform .35s ease, box-shadow .35s ease;
}

    .news-featured:hover {
        transform: translateY(-7px);
        box-shadow: 0 30px 55px rgba(10, 23, 48, .25);
    }

.news-featured-image {
    position: absolute;
    inset: 0;
    z-index: -2;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .9s cubic-bezier(.2,.65,.2,1);
}

.news-featured:hover .news-featured-image {
    transform: scale(1.08);
}

.news-featured::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(0deg, rgba(4, 19, 59, .98) 5%, rgba(8, 28, 80, .92) 26%, rgba(8, 28, 80, .36) 65%, transparent 100%), linear-gradient(90deg, rgba(4, 18, 54, .18), transparent 70%);
}

.featured-badge {
    position: absolute;
    top: 19px;
    right: 19px;
}

.featured-content {
    width: 100%;
    padding: 115px 27px 23px;
    color: #fff;
}

    .featured-content h3 {
        margin: 0;
        color: #fff;
        font-size: 16px;
        line-height: 2.05;
        font-weight: 700;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .featured-content p {
        margin: 5px 0 0;
        color: #B9C8E0;
        font-size: 12.5px;
        line-height: 2;
        display: -webkit-box;
        -webkit-line-clamp: 1;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

.featured-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    margin-top: 16px;
    padding-top: 14px;
    border-top: 1px solid rgba(255,255,255,.16);
}

.featured-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #fff;
    font-size: 12.5px;
    font-weight: 600;
    transition: .3s;
}

    .featured-more i {
        font-size: 13px;
        transition: .3s;
    }

    .featured-more:hover {
        color: #35D9EC;
    }

        .featured-more:hover i {
            transform: translateX(-6px);
        }

.featured-date {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #ffff;
    font-size: 12px;
    direction: ltr;
    white-space: nowrap;
}

    .featured-date i {
        color: #6CE2F3;
    }


.news-list {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.news-card {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 13px;
    background: #fff;
    border: 1px solid #DCE5F2;
    border-radius: 20px;
    box-shadow: 0 10px 25px rgba(10, 23, 48, .055);
    transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease;
}

    .news-card:hover {
        transform: translateY(-6px);
        border-color: rgba(50, 119, 210, .48);
        box-shadow: 0 22px 42px rgba(10, 23, 48, .14);
    }

.news-thumb {
    position: relative;
    flex-shrink: 0;
    width: 130px;
    height: 130px;
    overflow: hidden;
    border-radius: 13px;
    background: #0A1730;
}

    .news-thumb img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform .65s cubic-bezier(.2,.65,.2,1);
    }

.news-card:hover .news-thumb img {
    transform: scale(1.13);
}

.news-thumb-overlay {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    color: #fff;
    opacity: 0;
    background: rgba(6, 23, 59, .55);
    transition: opacity .35s ease;
}

.news-card:hover .news-thumb-overlay {
    opacity: 1;
}

.news-thumb-overlay i {
    display: grid;
    place-items: center;
    width: 37px;
    height: 37px;
    border: 1px solid rgba(255,255,255,.55);
    border-radius: 50%;
    background: rgba(255,255,255,.14);
    font-size: 14px;
    transform: scale(.6);
    transition: transform .35s ease;
}

.news-card:hover .news-thumb-overlay i {
    transform: scale(1);
}

.news-card-content {
    display: flex;
    flex: 1;
    flex-direction: column;
    min-width: 0;
}

.news-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 9px;
}

.news-card-date {
    color: #3C5681;
    font-size: 11px;
    font-weight: 700;
    white-space: nowrap;
    direction: ltr;
}

.news-card-text {
    margin: 0;
    color: #294269;
    font-size: 12px;
    line-height: 2;
    text-align: justify;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-card-more {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    margin-top: 8px;
    border: 1px solid #CFDCEC;
    border-radius: 50%;
    color: #0B2C68;
    font-size: 13px;
    transition: .3s;
}

.news-card:hover .news-card-more {
    border-color: transparent;
    background: linear-gradient(145deg, #1A4387, #071C4D);
    color: #fff;
    box-shadow: 0 8px 17px rgba(10, 42, 98, .3);
    transform: translateX(-5px);
}

/* ورود نرم هنگام اسکرول */
.news-reveal {
    opacity: 0;
    transform: translateY(35px);
    transition: opacity .7s ease, transform .7s cubic-bezier(.2,.65,.2,1);
}

    .news-reveal.news-visible {
        opacity: 1;
        transform: translateY(0);
    }

.news-list .news-reveal:nth-child(2) {
    transition-delay: .13s;
}

.news-list .news-reveal:nth-child(3) {
    transition-delay: .26s;
}

.featured-date i {
    color: #ffff;
}

.h-news {
    font-weight: bold;
    color: #011244;
    margin-top: 12px;
}

/* ======================================================
       ریسپانسیو
    ====================================================== */
@media (max-width: 992px) {
    .news-grid {
        grid-template-columns: 1fr;
    }

    .news-featured {
        min-height: 450px;
    }

    .news-list {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
    }

    .news-card {
        flex-direction: column;
        align-items: stretch;
    }

    .news-thumb {
        width: 100%;
        height: 190px;
    }

    .news-card-more {
        align-self: flex-start;
    }
}

@media (max-width: 700px) {
    .news-section {
        padding: 65px 4.5% 45px;
        margin-top: 40px;
    }

    .news-badge {
        padding: 2px 8px;
        font-size: 9.5px;
    }

    .news-card-text {
        line-height: 22px;
        text-align: unset;
    }

    .team-section {
        margin-top: 40px;
    }

    .news-title {
        font-size: 32px;
    }

    .news-sub {
        font-size: 12px;
    }

        .news-sub::before,
        .news-sub::after {
            width: 35px;
        }

    .news-list {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .news-card {
        flex-direction: row;
        align-items: center;
    }

    .news-thumb {
        width: 112px;
        height: 90px;
    }

    .news-featured {
        min-height: 400px;
        border-radius: 20px;
    }

    .featured-content {
        padding: 100px 18px 18px;
    }

        .featured-content h3 {
            font-size: 14px;
        }

        .featured-content p {
            font-size: 11.5px;
        }
}

@media (max-width: 400px) {
    .news-card {
        gap: 10px;
        padding: 10px;
    }

    .news-thumb {
        width: 95px;
        height: 82px;
    }

    .news-card-text {
        font-size: 10.5px;
    }

    .news-badge {
        padding: 2px 8px;
        font-size: 9.5px;
    }

    .news-card-more {
        width: 29px;
        height: 29px;
        margin-top: 5px;
    }
}


/*جدول نتایج و مسابقات*/


.matches-section {
    --m-navy: #03184c;
    --m-navy-dark: #02133d;
    --m-blue: #4a9bec;
    --m-cyan: #00bdd7;
    --m-border: #1686df;
    --m-text: #f5f9ff;
    --m-muted: #9fb9df;
    position: relative;
    overflow: hidden;
    padding-top: 60px;
    direction: rtl;
    color: var(--m-text);
    background-color: var(--m-navy-dark);
    background-image: url(images/pattern-mosabeghat.png);
    background-size: 100%;
    background-repeat: no-repeat;
    margin-top: 120px;
}

.matches-wrap {
    max-width: 1300px;
    margin: 0 auto;
}

/* عنوان */
.matches-title {
    margin: 0 0 55px;
    color: #fff;
    font-size: clamp(31px, 4vw, 53px);
    font-weight: 900;
    line-height: 1.2;
    text-align: center;
    text-shadow: 0 7px 20px rgba(0,0,0,.25);
}

/* تب رشته ورزشی */
.sport-tabs {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    overflow: hidden;
    margin-bottom: 16px;
    border: 1px solid #218dec;
    border-radius: 13px;
    background: rgba(2, 20, 63, .72);
}

.sport-tab {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-height: 47px;
    padding: 9px 10px;
    border: 0;
    background: transparent;
    color: #f4f8ff;
    font-family: inherit;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: .3s ease;
    flex-direction: row-reverse;
}

    .sport-tab:last-child {
        border-left: 0;
    }

    .sport-tab i {
        color: #fff;
        font-size: 23px;
        transition: .3s;
    }

    .sport-tab:hover {
        background: rgba(66, 151, 234, .16);
        color: #6ec5ff;
    }

        .sport-tab:hover i {
            transform: translateY(-3px) scale(1.1);
        }

    .sport-tab.active {
        background: linear-gradient(135deg, #55a7f7, #4795e8);
        color: #04225d;
        box-shadow: inset 0 0 22px rgba(255,255,255,.12);
    }

        .sport-tab.active i {
            color: #04225d;
        }

/* ستون‌ها */
.matches-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.match-panel {
    overflow: hidden;
    border: 1px solid #218dec;
    border-radius: 18px;
    background: rgba(2, 22, 68, .72);
    box-shadow: 0 15px 35px rgba(0, 0, 0, .16);
}

.panel-head1 {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 45px;
    padding: 0 15px;
    background: linear-gradient(90deg, rgb(2 19 61), rgb(8 52 122));
    border-bottom: 1px solid rgba(106, 189, 255, .35);
}

.panel-head2 {
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
    justify-content: space-between;
    min-height: 45px;
    padding: 0 15px;
    background: linear-gradient(90deg, rgb(6 142 166 / 62%), rgb(8 52 122 / 0%));
    border-bottom: 1px solid rgba(106, 189, 255, .35);
}

.panel-head.upcoming {
    background: linear-gradient(90deg, rgba(10, 59, 137, .95), rgba(45, 133, 224, .95));
}

.panel-title {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: #fff;
    font-size: 14px;
    font-weight: 800;
}

    .panel-title i {
        color: #9feaff;
        font-size: 17px;
    }

.panel-all {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #e2efff;
    font-size: 11.5px;
    text-decoration: none;
    transition: .3s;
}

    .panel-all:hover {
        color: #57ddfa;
        transform: translateX(-4px);
    }

.matches-list {
    display: flex;
    flex-direction: column;
    gap: 13px;
    padding: 13px;
}

/* کارت نتیجه */
.result-card {
    display: grid;
    grid-template-columns: 1fr auto 1fr 1px 105px;
    align-items: center;
    min-height: 82px;
    padding: 12px 15px;
    border: 1px solid rgba(0, 198, 225, .7);
    border-radius: 12px;
    background: linear-gradient(90deg, rgb(6 142 166 / 63%), rgb(8 52 122 / 0%));
    transition: transform .3s, box-shadow .3s, filter .3s;
}

    .result-card:hover {
        filter: brightness(1.1);
        transform: translateY(-4px) scale(1.008);
        box-shadow: 0 12px 25px rgba(0, 155, 210, .22);
    }

.team-mini {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-width: 0;
    color: #fff;
    font-size: 12.5px;
    font-weight: 700;
    white-space: nowrap;
}

    .team-mini img {
        width: 37px;
        height: 37px;
        flex: 0 0 37px;
        object-fit: contain;
        filter: drop-shadow(0 0 5px rgba(255,255,255,.35));
    }

.result-score {
    min-width: 51px;
    margin: 0 14px;
    padding: 4px 8px;
    border-radius: 4px;
    background: #fff;
    color: #06266b;
    font-size: 17px;
    font-weight: 900;
    text-align: center;
    direction: ltr;
}

.result-line {
    width: 1px;
    height: 48px;
    margin: 0 -26px;
    background: rgba(255,255,255,.23);
}

.result-info {
    color: #ecf7ff;
    font-size: 11px;
    line-height: 2;
    text-align: right;
    white-space: nowrap;
}

    .result-info strong {
        display: block;
        font-size: 11px;
    }

/* کارت مسابقه پیش رو */
.fixture-card {
    display: grid;
    grid-template-columns: 135px 1px 1fr;
    align-items: center;
    min-height: 112px;
    padding: 14px 18px;
    border: 1px solid rgba(102, 186, 255, .5);
    border-radius: 12px;
    background: linear-gradient(90deg, rgb(2 19 61), rgb(76 154 236 / 59%));
    transition: transform .3s, box-shadow .3s, filter .3s;
}

    .fixture-card:hover {
        filter: brightness(1.12);
        transform: translateY(-4px);
        box-shadow: 0 13px 28px rgba(50, 137, 232, .25);
    }

.fixture-date {
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    line-height: 2.2;
    white-space: nowrap;
}

    .fixture-date span {
        display: block;
        color: #e2efff;
        font-size: 10px;
        direction: ltr;
    }

.fixture-line {
    width: 1px;
    height: 72px;
    margin: 0 18px;
    background: rgba(255,255,255,.17);
}

.fixture-teams {
    display: grid;
    grid-template-columns: 1fr 42px 1fr;
    align-items: center;
    gap: 6px;
}

.fixture-team {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    text-align: center;
    white-space: nowrap;
}

    .fixture-team img {
        width: 55px;
        height: 55px;
        object-fit: contain;
        filter: drop-shadow(0 0 8px rgba(255,255,255,.3));
        transition: .3s;
    }

.fixture-card:hover .fixture-team img {
    transform: scale(1.08);
}

.fixture-vs {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: #fff;
    font-size: 18px;
    font-weight: 900;
}

.fixture-league {
    padding: 3px 9px;
    border-radius: 50px;
    background: #082b70;
    color: #dcecff;
    font-size: 9px;
    font-weight: 600;
    white-space: nowrap;
}

/* انیمیشن ورود */
.matches-animate {
    opacity: 0;
    transform: translateY(30px);
    transition: .7s cubic-bezier(.2,.65,.2,1);
}

    .matches-animate.show {
        opacity: 1;
        transform: none;
    }

/* ریسپانسیو */
@media (max-width: 1100px) {
    .result-card {
        grid-template-columns: 1fr auto 1fr;
        gap: 5px;
    }

    .result-line,
    .result-info {
        display: none;
    }
}

@media (max-width: 850px) {
    .matches-section {
        padding: 50px 4% 40px;
        margin-top: 40px;
    }

    .matches-title {
        margin-bottom: 34px;
    }

    .matches-grid {
        grid-template-columns: 1fr;
    }

    .sport-tabs {
        overflow-x: auto;
        display: flex;
    }

    .sport-tab {
        flex: 1 0 auto;
        gap: 6px;
        min-height: 32px;
        padding: 0px 4px;
        font-size: 10px;
    }

    .svg-tab {
        width: 32px;
    }

    .mos {
        display: none;
    }
}

@media (max-width: 540px) {
    .matches-section {
        padding: 42px 13px 32px;
    }

    .matches-title {
        font-size: 31px;
    }

    .panel-head {
        padding: 0 11px;
    }

    .panel-title {
        font-size: 12px;
    }

    .panel-all {
        font-size: 10px;
    }

    .matches-list {
        padding: 9px;
        gap: 10px;
    }

    .result-card {
        min-height: 75px;
        padding: 10px 8px;
    }

    .team-mini {
        gap: 4px;
        font-size: 10px;
    }

        .team-mini img {
            width: 30px;
            height: 30px;
            flex-basis: 30px;
        }

    .result-score {
        min-width: 43px;
        margin: 0 5px;
        padding: 3px 4px;
        font-size: 14px;
    }

    .fixture-card {
        grid-template-columns: 110px 1px 1fr;
        min-height: 100px;
        padding: 11px 8px;
    }

    .fixture-date {
        font-size: 10px;
    }

    .fixture-line {
        margin: 0 12px;
    }

    .fixture-team {
        font-size: 9px;
    }

        .fixture-team img {
            width: 42px;
            height: 42px;
        }

    .fixture-vs {
        font-size: 14px;
    }

    .fixture-league {
        padding: 3px 5px;
        font-size: 8px;
    }
}


/*آکادمی*/



.academy-page {
    position: relative;
    overflow: hidden;
    direction: rtl;
    min-height: 100vh;
    padding: 60px 5% 80px;
    margin-top:100px;
}

    .academy-page *,
    .academy-page *::before,
    .academy-page *::after {
        box-sizing: border-box;
    }

.academy-container {
    position: relative;
    z-index: 2;
    width: min(100%, 1240px);
    margin: 0 auto;
}



/* =========================
           عنوان و توضیحات
        ========================= */

.academy-heading {
    width: min(100%, 720px);
    margin: 0 auto 45px;
    text-align: center;
}

.academy-title {
    margin: 0;
    color: #062568;
    font-size: 40px;
    font-weight: 900;
    line-height: 1.35;
    margin-bottom: 24px;
}

.academy-title-decoration {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin: 16px 0 20px;
}

    .academy-title-decoration span {
        display: block;
        width: 38px;
        height: 2px;
        background: #1655ac;
    }

    .academy-title-decoration i {
        width: 8px;
        height: 8px;
        border-radius: 50%;
        background: #1655ac;
    }

.academy-intro {
    margin: 0;
    color: #353d4c;
    font-size: 16px;
    line-height: 32px;
    font-weight: 500;
    text-align: center;
}

    .academy-intro + .academy-intro {
        margin-top: 0px;
        font-size: 16px;
        line-height: 28px;
    }

/* =========================
           کارت‌های آکادمی
        ========================= */

.academy-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px 22px;
}

.academy-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 112px;
    align-items: center;
    min-height: 178px;
    padding: 24px 20px;
    border: 1px solid #e1e8f1;
    border-radius: 15px;
    background: rgba(255,255,255,.9);
    box-shadow: 0 8px 22px rgba(10,48,105,.07);
    transition: .35s ease;
}

    .academy-card:hover {
        border-color: #a9c9ed;
        background: #fff;
        transform: translateY(-7px);
        box-shadow: 0 18px 32px rgba(10,48,105,.15);
    }

.academy-card-content {
    min-width: 0;
    padding-left: 22px;
    border-left: 1px solid #dce4ee;
    text-align: right;
}

.academy-card-title {
    position: relative;
    margin: 0 0 15px;
    padding-bottom: 11px;
    color: #062568;
    font-size: 17px;
    font-weight: 900;
    line-height: 1.5;
}

    .academy-card-title::after {
        content: "";
        position: absolute;
        right: 0;
        bottom: 0;
        width: 27px;
        height: 2px;
        background: #1762bd;
    }

.academy-card-text {
    margin: 0;
    color: #3f4654;
    font-size: 11.5px;
    line-height: 2.15;
    text-align: right;
}

.academy-card-icon {
    display: grid;
    place-items: center;
    width: 92px;
    height: 92px;
    margin-right: 19px;
    border-radius: 50%;
    background: linear-gradient(145deg, #f1f5fc, #eaf0f9);
    color: #062568;
    transition: .4s ease;
}

    .academy-card-icon i {
        font-size: 44px;
        transition: .4s ease;
    }

.academy-card:hover .academy-card-icon {
    background: linear-gradient(90deg, rgb(6 142 166 / 63%), rgb(8 52 122 / 59%));
    color: #fff;
    transform: scale(1.07);
}

    .academy-card:hover .academy-card-icon i {
        transform: scale(1.12) rotate(-5deg);
    }

/* =========================
           نوار ثبت نام
        ========================= */

.academy-register {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
    min-height: 105px;
    margin-top: 20px;
    padding: 18px 58px;
    border-radius: 16px;
    background: linear-gradient(100deg, #f1f5fc, #f8faff);
    box-shadow: 0 8px 22px rgba(15,54,112,.05);
}

.academy-register-info {
    display: flex;
    align-items: center;
    gap: 24px;
}

.academy-register-icon {
    display: grid;
    place-items: center;
    width: 66px;
    height: 66px;
    flex: 0 0 66px;
    border-radius: 15px;
    background: linear-gradient(145deg, #123e91, #061e58);
    color: #fff;
    transform: rotate(30deg);
    box-shadow: 0 7px 16px rgba(7,37,99,.22);
}

    .academy-register-icon i {
        font-size: 30px;
        transform: rotate(-30deg);
    }

.academy-register-text h3 {
    margin: 0 0 5px;
    color: #062568;
    font-size: 17px;
    font-weight: 900;
}

.academy-register-text p {
    margin: 0;
    color: #59719b;
    font-size: 13px;
}

.academy-register-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    min-width: 215px;
    height: 47px;
    padding: 0 24px;
    border-radius: 25px;
    background: linear-gradient(135deg, #153f91, #061e58);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 8px 16px rgba(7,38,101,.22);
    transition: .35s ease;
}

    .academy-register-button:hover {
        background: linear-gradient(135deg, #287bd0, #092d77);
        color: #fff;
        transform: translateY(-3px);
        box-shadow: 0 13px 22px rgba(7,38,101,.3);
    }

    .academy-register-button i {
        transition: transform .3s ease;
    }

    .academy-register-button:hover i {
        transform: translateX(-5px);
    }

/* =========================
           انیمیشن
        ========================= */

.academy-reveal {
    transform: translateY(25px);
    transition: opacity .75s ease, transform .75s cubic-bezier(.2,.7,.2,1);
}

    .academy-reveal.show {
        opacity: 1;
        transform: translateY(0);
    }

.academy-card:nth-child(2) {
    transition-delay: .08s;
}

.academy-card:nth-child(3) {
    transition-delay: .16s;
}

.academy-card:nth-child(4) {
    transition-delay: .24s;
}

.academy-card:nth-child(5) {
    transition-delay: .32s;
}

.academy-card:nth-child(6) {
    transition-delay: .40s;
}

/* =========================
           ریسپانسیو
        ========================= */

@media (max-width: 1000px) {
    .academy-cards {
        grid-template-columns: repeat(2, 1fr);
    }

    .academy-register {
        padding-right: 30px;
        padding-left: 30px;
    }
}

@media (max-width: 780px) {
    .academy-page {
        padding: 45px 16px 60px;
    }

    .archive-heading {
        margin-bottom: 18px;
    }

    .slider-row {
        display: flex;
        align-items: center;
        gap: 0 !important;
        padding-inline: 12px;
    }

    .nav-btn {
        width: 32px !important;
        height: 32px !important;
    }

    .gol-gallery-arrow {
        width: 28px !important;
        height: 28px !important;
    }

    .academy-intro {
        margin-top: 0px;
        font-size: 14px;
        line-height: 28px;
        text-align: justify;
    }

        .academy-intro + .academy-intro {
            font-size: 14px;
        }

    .academy-cards {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .academy-card {
        min-height: 145px;
        grid-template-columns: minmax(0, 1fr) 90px;
        padding: 20px 16px;
    }

    .academy-card-content {
        padding-left: 15px;
    }

    .academy-card-icon {
        width: 75px;
        height: 75px;
        margin-right: 14px;
    }

        .academy-card-icon i {
            font-size: 36px;
        }

    .academy-card-title {
        margin-bottom: 9px;
        font-size: 15px;
    }

    .academy-card-text {
        font-size: 11px;
    }

    .academy-register {
        align-items: flex-start;
        flex-direction: column;
        gap: 20px;
        padding: 22px 20px;
    }

    .academy-register-info {
        gap: 15px;
    }

    .academy-register-icon {
        width: 57px;
        height: 57px;
        flex-basis: 57px;
    }

    .academy-register-text h3 {
        font-size: 14px;
        line-height: 28px;
    }

    .academy-register-text p {
        font-size: 11px;
    }

    .academy-register-button {
        width: 100%;
    }
}

@media (max-width: 420px) {
    .academy-title {
        font-size: 32px;
    }

    .academy-card {
        grid-template-columns: minmax(0, 1fr) 78px;
    }

    .academy-card-icon {
        width: 66px;
        height: 66px;
        margin-right: 8px;
    }

        .academy-card-icon i {
            font-size: 32px;
        }

    .academy-card-title {
        font-size: 14px;
    }

    .academy-card-text {
        font-size: 10px;
    }
}



/*گالری تصاویر*/


.gol-gallery {
    --gallery-bg: #03194f;
    --gallery-blue: #0b2c72;
    --gallery-white: #ffffff;
    position: relative;
    direction: rtl;
    overflow: hidden;
    width: 100%;
    min-height: 563px;
    padding: 60px 25px 60px;
    background-color: var(--gallery-bg);
    color: #fff;
    margin-top: 120px;
    isolation: isolate;
}

    /* الگوی سنتی بالای سکشن */
    .gol-gallery::before {
        content: "";
        position: absolute;
        z-index: -1;
        top: 0;
        right: 0;
        left: 0;
        height: 145px;
        background-image: url(images/pattern-mosabeghat.png);
        background-repeat: no-repeat;
        pointer-events: none;
        background-size: 100%;
    }

    /* نور محو پشت اسلایدر */
    .gol-gallery::after {
        content: "";
        position: absolute;
        z-index: -1;
        top: 125px;
        left: 50%;
        width: 650px;
        height: 330px;
        border-radius: 50%;
        transform: translateX(-50%);
        background: radial-gradient( ellipse, rgba(18, 79, 177, .28), transparent 68% );
        filter: blur(12px);
        pointer-events: none;
    }

/* عنوان */
.gol-gallery-title {
    position: relative;
    z-index: 5;
    margin: 30px 0 140px;
    color: #fff;
    font-size: clamp(35px, 4.1vw, 53px);
    font-weight: 900;
    line-height: 1.2;
    text-align: center;
    text-shadow: 0 5px 16px rgba(0, 0, 0, .22);
    animation: galleryTitleIn .8s ease both;
}

@keyframes galleryTitleIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* محدوده اسلایدر */
.gol-gallery-view {
    position: relative;
    width: min(100%, 850px);
    height: 327px;
    margin: 0 auto;
    margin-top: 110px;
    overflow: visible;
}

.gol-gallery-track {
    position: relative;
    width: 100%;
    height: 100%;
}

/* کارت تصاویر */
.gol-gallery-card {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 300px;
    height: 380px;
    overflow: hidden;
    padding: 0;
    border: 1px solid rgb(75 153 236 / 25%);
    border-radius: 16px;
    background: #0d327e;
    box-shadow: 0 18px 35px rgba(0, 0, 0, .3);
    cursor: pointer;
    opacity: 0;
    transform: translate(-85%, -50%) scale(.7);
    transition: left .75s cubic-bezier(.22,.7,.18,1), transform .75s cubic-bezier(.22,.7,.18,1), opacity .7s ease, filter .7s ease, box-shadow .7s ease;
    will-change: transform, opacity;
}

    .gol-gallery-card img {
        display: block;
        width: 100%;
        height: 100%;
        object-fit: cover;
        user-select: none;
        pointer-events: none;
        transition: transform .8s cubic-bezier(.2,.7,.2,1), filter .6s ease;
    }

    .gol-gallery-card:hover img {
        transform: scale(1.06);
    }

    /* تیرگی تصاویر کناری */
    .gol-gallery-card::after {
        content: "";
        position: absolute;
        inset: 0;
        /* گرادیانت سرمه‌ای روی کل تصویر، با شفافیت بیشتر در پایین */
        background: linear-gradient(0deg, rgba(1, 16, 53, 0.85) 0%, rgba(1, 16, 53, 0.3) 40%, transparent 70%);
        transition: background .5s ease;
        pointer-events: none;
    }

/* متن پایین کارت وسط */
.gol-gallery-caption {
    position: absolute;
    z-index: 2;
    right: 0;
    bottom: 0;
    left: 0;
    padding: 50px 8px 20px;
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    text-align: center;
    /* گرادیانت سرمه‌ای از پایین به بالا */
    background: linear-gradient(0deg, rgba(1, 16, 53, 0.95) 0%, rgba(1, 16, 53, 0.6) 50%, transparent 100%);
    opacity: 0;
    transform: translateY(12px);
    transition: opacity .45s ease, transform .45s ease;
}

/* کارت وسط */
.gol-gallery-card.active {
    z-index: 10;
    width: 400px;
    height: 480px;
    opacity: 1;
    filter: brightness(1);
    box-shadow: 0 0 24px rgb(73 152 234 / 24%);
    transform: translate(-50%, -50%) scale(1);
}

    .gol-gallery-card.active::after {
        background: linear-gradient(0deg, rgba(1, 16, 53, 0.7) 0%, rgba(1, 16, 53, 0.15) 45%, transparent 75%);
    }

    .gol-gallery-card.active .gol-gallery-caption {
        opacity: 1;
        transform: translateY(0);
    }

    .gol-gallery-card.active img {
        transform: scale(1.02);
    }

/* کارت نزدیک سمت چپ */
.gol-gallery-card.left-one {
    z-index: 7;
    opacity: .94;
    filter: brightness(.88) saturate(.9);
    transform: translate(-85%, -50%) translateX(-205px) scale(1);
}

/* کارت نزدیک سمت راست */
.gol-gallery-card.right-one {
    z-index: 7;
    opacity: .94;
    filter: brightness(.88) saturate(.9);
    transform: translate(-20%, -50%) translateX(205px) scale(1);
}

/* کارت دور سمت چپ */
.gol-gallery-card.left-two {
    z-index: 3;
    opacity: .48;
    filter: brightness(.65) saturate(.75);
    transform: translate(-90%, -50%) translateX(-390px) scale(.77);
}

/* کارت دور سمت راست */
.gol-gallery-card.right-two {
    z-index: 3;
    opacity: .48;
    filter: brightness(.65) saturate(.75);
    transform: translate(-10%, -50%) translateX(390px) scale(.77);
}

/* کارت خارج از کادر */
.gol-gallery-card.hidden-left {
    z-index: 1;
    opacity: 0;
    transform: translate(-50%, -50%) translateX(-560px) scale(.58);
}

.gol-gallery-card.hidden-right {
    z-index: 1;
    opacity: 0;
    transform: translate(-50%, -50%) translateX(560px) scale(.58);
}

/* انیمیشن ورود عکس جدید */
.gol-gallery-card.change-animation img {
    animation: galleryPhotoChange .75s ease both;
}

@keyframes galleryPhotoChange {
    0% {
        opacity: .3;
        filter: blur(3px);
        transform: scale(1.12);
    }

    100% {
        opacity: 1;
        filter: blur(0);
        transform: scale(1);
    }
}

/* فلش‌ها */
.gol-gallery-controls {
    position: relative;
    z-index: 30;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin-top: 110px;
}

.gol-gallery-arrow {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    outline: none;
    background: #fff;
    color: #092f75;
    cursor: pointer;
    box-shadow: 0 4px 13px rgba(0, 0, 0, .2);
    transition: transform .25s ease, background .25s ease, box-shadow .25s ease;
}

    .gol-gallery-arrow:hover {
        background: #4ba7fa;
        color: #fff;
        transform: scale(1.2);
        box-shadow: 0 0 18px rgba(66, 165, 255, .75);
    }

    .gol-gallery-arrow:active {
        transform: scale(.88);
    }

    .gol-gallery-arrow svg {
        width: 18px;
        height: 18px;
    }

/* نقاط فقط در موبایل */
.gol-gallery-dots {
    display: none;
    align-items: center;
    justify-content: center;
    gap: 7px;
    margin-top: 20px;
}

.gol-gallery-dot {
    width: 7px;
    height: 7px;
    padding: 0;
    border: 0;
    border-radius: 20px;
    background: rgba(255,255,255,.35);
    cursor: pointer;
    transition: width .3s ease, background .3s ease;
}

    .gol-gallery-dot.active {
        width: 24px;
        background: #50caff;
        box-shadow: 0 0 10px rgba(80, 202, 255, .8);
    }

/* =========================
       تبلت
    ========================= */
@media (max-width: 850px) {


    .archive-title {
        font-size: 24px;
    }

    .archive-title {
        font-size: 24px;
    }

    .svg-glim {
        width: 150px;
    }

    .gol-gallery {
        min-height: 530px;
        padding-top: 38px;
    }

    .gol-gallery-title {
        margin-bottom: 36px;
    }

    .gol-gallery-view {
        height: 315px;
        margin-top: 0;
    }

    .gol-gallery-card.left-one {
        transform: translate(-50%, -50%) translateX(-165px) scale(.9);
    }

    .gol-gallery-card.right-one {
        transform: translate(-50%, -50%) translateX(165px) scale(.9);
    }

    .gol-gallery-card.left-two {
        transform: translate(-50%, -50%) translateX(-315px) scale(.68);
    }

    .gol-gallery-card.right-two {
        transform: translate(-50%, -50%) translateX(315px) scale(.68);
    }
}

/* =========================
       موبایل
    ========================= */
@media (max-width: 600px) {
    .gol-gallery {
        min-height: 500px;
        padding: 35px 8px 32px;
        margin-top: 40px;
    }

    .gol-gallery-title {
        margin-bottom: 29px;
        font-size: 32px;
    }

    .gol-gallery-view {
        height: 285px;
        margin-top: 0;
    }

    .gol-gallery-card {
        width: 220px;
        height: 245px;
    }

        .gol-gallery-card.active {
            width: 220px;
            height: 290px;
        }

        .gol-gallery-card.left-one {
            transform: translate(-50%, -50%) translateX(-110px) scale(.78);
        }

        .gol-gallery-card.right-one {
            transform: translate(-50%, -50%) translateX(110px) scale(.78);
        }

        .gol-gallery-card.left-two {
            opacity: 0;
            transform: translate(-50%, -50%) translateX(-240px) scale(.5);
        }

        .gol-gallery-card.right-two {
            opacity: 0;
            transform: translate(-50%, -50%) translateX(240px) scale(.5);
        }

    .gol-gallery-caption {
        font-size: 10px;
        padding: 10px 5px;
    }

    .gol-gallery-controls {
        margin-top: 18px;
    }

    .gol-gallery-dots {
        display: flex;
    }
}

@media (max-width: 390px) {
    .gol-gallery-title {
        font-size: 29px;
    }

    .gol-gallery-view {
        height: 260px;
        margin-top: 0;
    }

    .gol-gallery-card {
        width: 190px;
        height: 215px;
    }

        .gol-gallery-card.active {
            width: 175px;
            height: 260px;
        }

        .gol-gallery-card.left-one {
            transform: translate(-50%, -50%) translateX(-87px) scale(.68);
        }

        .gol-gallery-card.right-one {
            transform: translate(-50%, -50%) translateX(87px) scale(.68);
        }
}


/*اعضای تیم*/





:root {
    --primary: #122880;
    --primary-dark: #0d1f66;
    --primary-deep: #0a1a52;
    --bg: #eef1f7;
    --card: #ffffff;
    --text: #122880;
    --muted: #8a93ac;
}



.team-section {
    max-width: 1240px;
    margin: 0 auto;
    margin-top: 120px;
    padding-top: 60px;
    margin-top: 100px;
}

/* عنوان */
.team-title {
    text-align: center;
    font-size: 52px;
    font-weight: 900;
    color: var(--primary);
    margin: 40px 0 50px;
    letter-spacing: -1px;
}

/* تب‌ها */
.tabs-wrap {
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
}

.tabs {
    display: flex;
    background: #fff;
    border-radius: 50px;
    padding: 6px;
    box-shadow: 0 6px 20px rgba(18,40,128,.08);
    border: 1px solid #e4e8f2;
    flex-direction: row-reverse;
}

.tab {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 26px;
    border-radius: 44px;
    font-size: 16px;
    font-weight: 700;
    color: var(--primary);
    cursor: pointer;
    border: none;
    background: transparent;
    font-family: inherit;
    transition: .3s;
    white-space: nowrap;
}

    .tab svg {
        width: 26px;
        height: 26px;
        fill: var(--primary);
        transition: .3s
    }

    .tab:hover {
        background: #f0f3fa
    }

    .tab.active {
        background: var(--primary);
        color: #fff;
        box-shadow: 0 8px 20px rgba(18,40,128,.3)
    }

        .tab.active svg {
            fill: #fff
        }

/* اسلایدر */
.slider-row {
    display: flex;
    align-items: center;
    gap: 14px;
}

.nav-btn {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--primary);
    border: none;
    color: #fff;
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 16px rgba(18,40,128,.25);
    transition: .3s;
}

    .nav-btn:hover {
        background: var(--primary-dark);
        transform: scale(1.08)
    }

.slider-viewport {
    flex: 1;
    overflow: hidden
}

.slider-track {
    display: flex;
    gap: 20px;
    transition: transform .5s cubic-bezier(.25,.8,.25,1);
}

/* کارت بازیکن */
.player-card {
    flex: 0 0 calc((100% - 80px) / 4);
    border-radius: 16px;
    overflow: hidden;
    background: linear-gradient(0deg, rgba(4, 19, 59, .98) 5%, rgb(242 246 252) 26%, rgb(1 18 68 / 85%) 65%, transparent 100%), linear-gradient(90deg, rgba(4, 18, 54, .18), transparent 70%);
    transition: .35s;
}

    .player-card:hover {
        background: linear-gradient(0deg, rgba(4, 19, 59, .98) 5%, rgb(41 194 223) 26%, rgb(56 190 219) 65%, transparent 100%), linear-gradient(90deg, rgba(4, 18, 54, .18), transparent 70%);
    }

.card-photo {
    position: relative;
    height: 270px;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    background-image: url(images/pt-player.png);
    background-size: 100%;
}

    .card-photo .bignum {
        position: absolute;
        top: 10px;
        left: 16px;
        font-size: 60px;
        font-weight: 900;
        color: rgba(18,40,128,.10);
        line-height: 1;
    }

    .card-photo .swirl {
        position: absolute;
        inset: 0;
        background: url('swirl.png') center/cover no-repeat;
        opacity: .5;
    }

    .card-photo img {
        position: relative;
        height: 250px;
        object-fit: contain;
        z-index: 2;
    }

.card-info {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 18px;
    border-top: 1px solid #eef1f7;
    margin-inline: 15px;
    background: white;
    position: relative;
    bottom: 10px;
    border-radius: 10px;
    z-index: 9;
    box-shadow: 0px 0px 10px #12288030;
}

    .card-info .txt {
        text-align: right
    }

    .card-info .name {
        font-size: 20px;
        font-weight: 900;
        color: var(--primary)
    }

    .card-info .pos {
        font-size: 14px;
        color: #4c5264;
        margin-top: 2px
    }

    .card-info .num {
        font-size: 30px;
        font-weight: 900;
        color: var(--primary);
    }

/* نوار آمار */
.stats-bar {
    margin-top: 36px;
    background: linear-gradient(0deg, #03194f, #122880);
    border-radius: 18px;
    display: flex;
    align-items: stretch;
    padding: 26px 10px;
    box-shadow: 0 15px 40px rgba(18,40,128,.25);
    direction: rtl;
}

.stat {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    padding: 0 12px;
    position: relative;
    justify-content: space-evenly;
}

    .stat:not(:last-child)::after {
        content: '';
        position: absolute;
        left: 0;
        top: 15%;
        height: 70%;
        width: 1px;
        background: rgba(255,255,255,.15);
    }

    .stat .s-icon {
        width: 46px;
        height: 46px;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
    }

        .stat .s-icon svg {
            width: 42px;
            height: 42px;
            fill: #fff;
        }

    .stat .s-txt {
        text-align: right;
        color: #fff
    }

    .stat .s-label {
        font-size: 12px;
        color: #b9c4e8
    }

    .stat .s-value {
        font-size: 18px;
        font-weight: 900;
        margin: 12px 0
    }

    .stat .s-sub {
        font-size: 11px;
        color: #9fb0e0
    }



/* ریسپانسیو */
@media(max-width:992px) {
    .team-title {
        font-size: 38px
    }

    .player-card {
        flex: 0 0 calc((100% - 40px)/3)
    }

    .tabs {
        flex-wrap: wrap;
        justify-content: center;
        border-radius: 24px
    }

    .stats-bar {
        flex-wrap: wrap;
        gap: 20px 0;
        margin: 20px;
    }

    .stat {
        flex: 0 0 33.33%
    }

        .stat::after {
            display: none
        }
}

@media(max-width:640px) {

    .stat .s-icon {
        display: none;
    }

    .player-card {
        flex: 0 0 calc((100% - 20px)/1)
    }

    .stat .s-value {
        font-size: 14px;
    }

    .stat .s-icon svg {
        width: 36px;
        height: 36px;
    }

    .stat .s-label {
        font-size: 10px;
    }

    .stat .s-value {
        margin: 6px 0;
    }

    .slider-track {
        justify-content: center;
    }

    .tab svg {
        display: none;
    }

    .team-title {
        font-size: 30px;
        margin: 20px 0 30px
    }

    .tab {
        padding: 10px 16px;
        font-size: 14px
    }

    .stat {
        flex: 0 0 50%;
        margin-bottom: 16px
    }
}



/*گالری ویدئو*/




.gg-video-section {
    direction: rtl;
    width: 100%;
    overflow: hidden;
    padding-top:60px;
    background: #f4f7fc;
    margin-top: 120px;
}



.gg-video-title {
    margin: 0 0 42px;
    color: #08286e;
    font-size: clamp(35px, 4.3vw, 54px);
    font-weight: 900;
    line-height: 1.3;
    text-align: center;
}

/* محدوده اسلایدر */
.gg-video-slider {
    position: relative;
    width: 100%;
    max-width: 1190px;
    margin: 0 auto;
    overflow: hidden;
}

.gg-video-track {
    display: flex;
    gap: 14px;
    width: 100%;
    direction: rtl;
    transition: transform .75s cubic-bezier(.22,.7,.18,1);
    touch-action: pan-y;
}

/* کارت ویدئو */
.gg-video-card {
    position: relative;
    flex: 0 0 calc((100% - 28px) / 3);
    overflow: hidden;
    min-width: 0;
    border: 1px solid #d7e2ef;
    border-radius: 13px;
    background: #fff;
    transition: transform .35s ease, box-shadow .35s ease;
}

    .gg-video-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 18px 30px rgba(7, 38, 92, .2);
    }

/* تصویر ویدئو */
.gg-video-image-box {
    position: relative;
    width: 100%;
    height: 400px;
    overflow: hidden;
    background: #08286e;
}

.gg-video-image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .65s cubic-bezier(.2,.7,.2,1), filter .45s ease;
}

.gg-video-card:hover .gg-video-image {
    transform: scale(1.08);
    filter: brightness(.78);
}

/* لایه تیره روی عکس */
.gg-video-image-box::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient( 180deg, rgba(5, 30, 83, .04), rgba(3, 20, 62, .2) );
    pointer-events: none;
}

/* دکمه پخش وسط تصویر */
.gg-video-play {
    position: absolute;
    z-index: 3;
    top: 50%;
    left: 50%;
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    border: 1px solid rgba(255,255,255,.55);
    border-radius: 50%;
    background: rgba(42, 90, 161, .75);
    color: #fff;
    transform: translate(-50%, -50%);
    transition: transform .35s ease, background .35s ease, box-shadow .35s ease;
}

    .gg-video-play::before {
        content: "";
        position: absolute;
        inset: -8px;
        border: 1px solid rgba(255,255,255,.32);
        border-radius: 50%;
        animation: ggVideoPulse 2s infinite;
    }

    .gg-video-play i {
        margin-right: 3px;
        font-size: 18px;
    }

.gg-video-card:hover .gg-video-play {
    background: #0b3d91;
    transform: translate(-50%, -50%) scale(1.13);
    box-shadow: 0 0 22px rgba(73, 172, 255, .75);
}

@keyframes ggVideoPulse {
    0% {
        opacity: .8;
        transform: scale(.8);
    }

    70% {
        opacity: 0;
        transform: scale(1.35);
    }

    100% {
        opacity: 0;
        transform: scale(1.35);
    }
}

/* محتوای پایین کارت */
.gg-video-content {
    min-height: 96px;
    padding: 16px 20px 14px;
    background: #fff;
    text-align: center;
}

.gg-video-text {
    display: -webkit-box;
    min-height: 45px;
    margin: 0;
    overflow: hidden;
    color: #092965;
    font-size: 14px;
    font-weight: 800;
    line-height: 1.5;
    text-align: center;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.gg-video-date {
    display: block;
    margin-top: 9px;
    color: #173d7b;
    font-size: 11px;
    font-weight: 600;
    direction: ltr;
}

/* فلش‌ها؛ در حالت عادی مخفی مثل تصویر */
.gg-video-arrow {
    position: absolute;
    z-index: 10;
    top: 50%;
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: #08286e;
    color: #fff;
    opacity: 0;
    cursor: pointer;
    transform: translateY(-50%);
    box-shadow: 0 5px 15px rgba(4, 32, 87, .35);
    transition: opacity .3s, transform .3s, background .3s;
}

.gg-video-slider:hover .gg-video-arrow {
    opacity: 1;
}

.gg-video-arrow:hover {
    background: #1c65ba;
    transform: translateY(-50%) scale(1.12);
}

.gg-video-arrow.prev {
    right: 8px;
}

.gg-video-arrow.next {
    left: 8px;
}

.gg-video-arrow i {
    font-size: 13px;
}

/* نقاط پایین */
.gg-video-dots {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    margin-top: 24px;
}

.gg-video-dot {
    width: 7px;
    height: 7px;
    padding: 0;
    border: 0;
    border-radius: 20px;
    background: #bdcbe0;
    cursor: pointer;
    transition: width .3s ease, background .3s ease;
}

    .gg-video-dot.active {
        width: 24px;
        background: #0b347d;
    }

/* انیمیشن ورود */
.gg-video-section.gg-video-loaded .gg-video-title {
    animation: ggVideoTitleIn .8s ease both;
}

.gg-video-section.gg-video-loaded .gg-video-card {
    animation: ggVideoCardIn .7s ease both;
}

    .gg-video-section.gg-video-loaded .gg-video-card:nth-child(2) {
        animation-delay: .12s;
    }

    .gg-video-section.gg-video-loaded .gg-video-card:nth-child(3) {
        animation-delay: .24s;
    }

@keyframes ggVideoTitleIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes ggVideoCardIn {
    from {
        opacity: 0;
        transform: translateY(25px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* تبلت */
@media (max-width: 900px) {
    .gg-video-section {
        padding-right: 4%;
        padding-left: 4%;
    }

    .gg-video-card {
        flex-basis: calc((100% - 14px) / 2);
    }

    .gg-video-image-box {
        height: 245px;
    }
}

/* موبایل */
@media (max-width: 600px) {
    .gg-video-section {
        padding: 58px 16px 75px;
    }

    .gg-video-title {
        margin-bottom: 30px;
        font-size: 34px;
    }

    .gg-video-card {
        flex-basis: 100%;
    }

    .gg-video-image-box {
        height: 245px;
    }

    .gg-video-content {
        min-height: 94px;
        padding: 14px 15px;
    }

    .gg-video-text {
        font-size: 12px;
    }

    .gg-video-arrow {
        width: 31px;
        height: 31px;
        opacity: 1;
    }

        .gg-video-arrow.prev {
            right: 7px;
        }

        .gg-video-arrow.next {
            left: 7px;
        }
}

@media (max-width: 390px) {
    .gg-video-title {
        font-size: 30px;
    }

    .gg-video-image-box {
        height: 220px;
    }
}
