* {
    font-family: "Vazirmatn", sans-serif;
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Tahoma, sans-serif;
    background: #080808;
    color: #fff;
}

a {
    text-decoration: none;
    color: inherit;
}

.container {
    width: min(1200px, 90%);
    margin: auto;
}

/* HEADER */
.site-header {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(0,0,0,0.35);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.site-header .container {
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo a {
    font-size: 28px;
    font-weight: bold;
    color: #fff;
}

.logo span {
    color: #c8a45d;
    font-size: 18px;
}

.main-menu {
    display: flex;
    gap: 35px;
}

.main-menu a {
    font-size: 16px;
    transition: .3s;
}

.main-menu a:hover {
    color: #c8a45d;
}

.mobile-menu-btn {
    display: none;
}

/* Scroll Animation */
.reveal {
    opacity: 0;
    transform: translateY(80px);
    transition: opacity 1s ease, transform 1s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}



/* ===== HERO SECTION ===== */
.hero {
    min-height: 100vh;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 700px;   /* ← از 700px به 120px */
}

.hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center 10%;
}

.hero-bg::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 2;
    background: linear-gradient(
        to bottom,
        rgba(5, 5, 5, 0) 0%,
        rgba(5, 5, 5, 0) 15%,
        rgba(5, 5, 5, 0.2) 35%,
        rgba(5, 5, 5, 0.5) 55%,
        rgba(5, 5, 5, 0.8) 75%,
        rgba(5, 5, 5, 0.95) 90%,
        rgba(5, 5, 5, 1) 100%
    );
}

.hero-bg::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: rgba(0, 0, 0, 0.45);
}

.hero-scene {
    position: absolute;
    top: 200px;
    left: -250px;
    transform: none;
    z-index: 2;
    text-align: right;
    width: 90%;
    max-width: 700px;
}

.hero-title {
    font-family: "Vazirmatn", sans-serif;
    font-size: clamp(25px, 5vw, 28px);
    font-weight: 900;
    letter-spacing: -1px;
    line-height: 1.3;
}

.hero-title span {
    display: block;
}

.hero-text {
    font-size: 18px;
    font-weight: 400;
    line-height: 2;
    color: #ddd;
    margin-top: 20px;
}

.hero-actions {
    margin-top: 40px;
}

.hero-actions a {
    display: inline-block;
    padding: 15px 35px;
    margin: 10px;
    border: 1px solid #c8a45d;
    border-radius: 4px;
    transition: .3s;
}

.hero-actions a:hover {
    background: #c8a45d;
    color: #050505;
}

.scroll-story {
    height: 150vh;
}

.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 25px 60px;
    background: rgba(0,0,0,.25);
    backdrop-filter: blur(10px);
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    color: white;
    font-size: 26px;
    font-weight: 900;
}

.logo span {
    color: #caa45d;
}

.main-header nav {
    display: flex;
    gap: 35px;
}

.main-header nav a {
    color: white;
    text-decoration: none;
    font-size: 16px;
    transition: .3s;
}

.main-header nav a:hover {
    color: #caa45d;
}

.header-action a {
    color: #caa45d;
    border: 1px solid #caa45d;
    padding: 10px 25px;
    border-radius: 30px;
    text-decoration: none;
}

/* ===== STORY SECTION ===== */
.story-section {
    min-height: 100vh;
    background: #050505;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 20px;
    overflow: hidden;
}

.story-container {
    max-width: 1200px;
    text-align: center;
    color: white;
    opacity: 0;
    transform: translateY(80px);
    transition: 1.2s ease;
}

.story-container.show {
    opacity: 1;
    transform: translateY(0);
}

.story-small {
    display: block;
    color: #caa45d;
    letter-spacing: 5px;
    font-size: 14px;
    margin-bottom: 40px;
}

.story-title {
    font-size: 64px;
    line-height: 1.2;
    font-weight: 800;
    letter-spacing: -1px;
    margin: 0;
}

.story-title span {
    background: linear-gradient(90deg, #caa45d, #f5df9b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.story-text {
    max-width: 700px;
    margin: 50px auto 0;
    font-size: 22px;
    line-height: 2;
    color: #ccc;
}

@media(max-width:768px) {
    .story-title {
        font-size: 38px;
    }
    .story-text {
        font-size: 18px;
    }
}

/* ========== PRODUCTION SECTION ========== */
.production-section {
    min-height: 100vh;
    background: #050505;
    padding: 10px 10px;
    color: white;
}

.production-header {
    text-align: center;
    margin-bottom: 30px;
}

.production-header span {
    display: block;
    color: #caa45d;
    letter-spacing: 5px;
    font-size: 12px;
    margin-bottom: 1    0px;
}

.production-header h2 {
    font-size: 30px;
    margin-top: 10px;
}

.productionSwiper {
    width: 100%;
    padding: 0px 0;
    overflow: hidden;
}

.productionSwiper .swiper-slide {
    height: auto;
}
.production-header-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 40px;
}

.production-header-row h2 {
    font-size: 50px;
    margin: 0;
}

/* کارت اصلی */
.production-card {
    width: 100%;
    position: relative;
    overflow: hidden;
    border-radius: 25px;
    background: #111;
    text-decoration: none;
    color: white;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease;
}

.production-card:hover {
    transform: translateY(-5px);
}

/* عکس */
.production-image {
    width: 100%;
    height: 320px;
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
}

.production-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.production-card:hover .production-image img {
    transform: scale(1.08);
}

/* کادر زیر عکس */
.production-body {
    padding: 2px 4px;
    text-align: center;
    background: #111;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.production-body h3 {
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    margin: 0 0 6px 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.production-body p {
    font-size: 13px;
    color: #caa45d;
    margin: 0;
    font-weight: 500;
}

/* دکمه مشاهده همه */

.production-more {
    text-align: left;
    margin: 0;
}

.production-more a {
    display: inline-block;
    color: #caa45d;
    border: 1px solid #caa45d;
    padding: 12px 30px;
    border-radius: 4px;
    transition: 0.3s;
    font-size: 14px;
}

.production-more a:hover {
    background: #caa45d;
    color: #050505;
}

/* ===== HERO FIXES ===== */
.hero-bg {
    filter: none !important;
    opacity: 1 !important;
}

.hero video {
    display: none !important;
}

/* ===== FEATURED PRODUCTION ===== */
.featured-production {
    background: #050505;
    padding: 10px;
}

.featured-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
    gap: 90px;
    border: 2px solid rgba(202, 164, 93, 0.35);
    border-radius: 16px;
    overflow: hidden;
    background: #080808;
    padding: 5px;
}

/* ═══ عکس بنر ═══ */
.featured-poster {
    flex: 0 0 32%;              /* ← عرض بنر (درصد) */
    position: relative;
    overflow: hidden;
    border-radius: 0;  
    border-radius: 12px;
}

/* اینجا ارتفاع بنر تنظیم می‌شه */
.featured-poster::before {
    content: "";
    display: block;
    padding-top: 80%;           /* ← ارتفاع بنر (کمتر = کوتاه‌تر) */
}

.featured-poster img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* وسط: محتوا */
.featured-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: right;
}

.featured-label {
    color: #caa45d;
    font-size: 18px;
    letter-spacing: 2px;
    margin-bottom: 8px;
    display: block;
}

.featured-content h2 {
    font-size: 28px;
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 10px;
    color: #fff;
}

.featured-content p {
    font-size: 14px;
    color: #aaa;
    line-height: 1.7;
    margin-bottom: 18px;
}

.featured-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #caa45d;
    border: 1px solid #caa45d;
    padding: 10px 20px;
    border-radius: 4px;
    font-size: 13px;
    transition: 0.3s;
    width: fit-content;
}

.featured-btn:hover {
    background: #caa45d;
    color: #050505;
}

/* راست: اطلاعات */
.featured-meta {
    flex: 0 0 200px;        /* ← عرض ثابت کوچیک‌تر */
    margin-right: 50px;     /* ← فاصله از لبه راست → میره وسط */
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 14px;
}
.meta-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.meta-icon {
    width: 18px;
    height: 18px;
    color: #caa45d;
    flex-shrink: 0;
}

.meta-info {
    display: flex;
    flex-direction: column;
}

.meta-label {
    font-size: 10px;
    color: #777;
    margin-bottom: 2px;
    letter-spacing: 1px;
}

.meta-value {
    font-size: 12px;
    color: #fff;
    font-weight: 600;
}

.featured-trailer {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 6px;
    color: #fff;
    font-size: 12px;
    transition: 0.3s;
}

.featured-trailer:hover {
    color: #caa45d;
}

.play-circle {
    width: 24px;
    height: 24px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-right: 2px;
    transition: 0.3s;
}

.featured-trailer:hover .play-circle {
    border-color: #caa45d;
    background: rgba(202, 164, 93, 0.1);
}

/* ریسپانسیو */
@media (max-width: 992px) {
    .featured-production {
        padding: 30px 20px;
    }
    .featured-container {
        flex-direction: column;
        gap: 20px;
    }
    .featured-poster {
        flex: none;
        width: 100%;
    }
    .featured-poster::before {
        padding-top: 50%;
    }
    .featured-content {
        text-align: center;
        align-items: center;
    }
    .featured-meta {
        flex: none;
        width: 100%;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 20px;
    }
    .featured-content h2 {
        font-size: 22px;
    }
}
/* ===== PEOPLE SECTION ===== */
.people-section {
    min-height: 600px;
    background: #050505;
    padding: 120px 40px;
    color: white;
}

.people-header {
    text-align: center;
    margin-bottom: 70px;
}

.people-header span {
    color: #caa45d;
    letter-spacing: 5px;
    font-size: 14px;
}

.people-header h2 {
    font-size: 55px;
    margin-top: 20px;
}

.people-slider {
    display: flex;
    gap: 35px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 20px 10px 40px;
}

.people-slider::-webkit-scrollbar {
    height: 6px;
}

.person-card {
    flex: 0 0 260px;
    text-align: center;
}

.person-image {
    width: 260px;
    height: 340px;
    overflow: hidden;
    border-radius: 25px;
    background: #111;
}

.person-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: .5s;
}

.person-card:hover img {
    transform: scale(1.08);
}

.person-card h3 {
    font-size: 26px;
    margin-top: 25px;
}

.person-card p {
    color: #caa45d;
    font-size: 16px;
}

/* ========== WORKS PAGE ========== */
.works-section {
    min-height: 100vh;
    background: #050505;
    padding: 120px 40px;
    color: white;
}

.works-header {
    text-align: center;
    margin-bottom: 60px;
}

.works-header span {
    color: #caa45d;
    letter-spacing: 5px;
    font-size: 14px;
}

.works-header h2 {
    font-size: 50px;
    margin-top: 20px;
}

.works-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

/* کارت داخل گرید */
.works-grid .production-card {
    width: 100%;
    flex: none;
    height: auto;
}

/* وقتی اثری نیست */
.works-empty {
    grid-column: 1 / -1;
    text-align: center;
    padding: 80px 20px;
    color: #888;
    font-size: 18px;
}

/* ریسپانسیو */
@media (max-width: 1200px) {
    .works-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 992px) {
    .works-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
    
    .hero-scene {
        left: auto;
        right: 20%;
        width: 100%;
    }
    .hero-title{
        font-size: 20px;
        }
    .hero-text {
        text-align: right;
        font-size: 15px;
    }
        .hero-title span {
        display: block;
        
    }
    


}
/* ========== PRODUCTION DETAIL PAGE ========== */

/* ===== HERO ===== */
.detail-hero {
    min-height: 55vh;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    background-size: cover;
    background-position: center;
    padding-top: 700px;
    padding-bottom: 0;
}

.detail-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(5, 5, 5, 1) 0px,
        rgba(5, 5, 5, 1) 90px,
        rgba(5, 5, 5, 0.3) 35%,
        rgba(5, 5, 5, 0.5) 60%,
        rgba(5, 5, 5, 0.7) 100%
    );
}

.detail-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 900px;
    padding: 0 20px 150px;
    animation: fadeInUp 1s ease;
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.detail-type {
    display: inline-block;
    color: #caa45d;
    border: 1px solid #caa45d;
    padding: 6px 40px;
    border-radius: 30px;
    font-size: 20px;
    letter-spacing: 3px;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.detail-hero-content h1 {
    font-size: clamp(36px, 6vw, 82px);
    font-weight: 900;
    line-height: 1.15;
    color: #fff;
}

/* ===== META BAR (روی پوستر) ===== */
.detail-meta-bar {
    position: relative;
    z-index: 3;
    width: 100%;
    background: rgba(5, 5, 5, 0.5);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding: 20px 20px 25px;
}

.detail-meta-inner {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    gap: 70px;
    flex-wrap: wrap;
}

.meta-item {
    text-align: center;
}

.meta-item span {
    display: block;
    color: #aaa;
    font-size: 12px;
    margin-bottom: 8px;
    letter-spacing: 2px;
}

.meta-item strong {
    color: #fff;
    font-size: 22px;
    font-weight: 700;
}


/* ===== FADE پایین نوار اطلاعات ===== */
.detail-hero-fade {
    position: relative;
    z-index: 3;
    width: 100%;
    height: 0.2px;  /* ← 250px = خیلی بلندتر */
    background: linear-gradient(
        to bottom,
        rgba(5, 5, 5, 0.7) 0%,
        rgba(5, 5, 5, 0.2) 50%,
        rgba(5, 5, 5, 0) 100%
    );
    pointer-events: none;
}

/* ===== SUMMARY ===== */
.detail-summary {
    max-width: 800px;
    margin: 100px auto;
    padding: 0 20px;
    text-align: center;
}

.detail-summary h2 {
    font-size: 13px;
    color: #caa45d;
    letter-spacing: 6px;
    margin-bottom: 35px;
    text-transform: uppercase;
}

.detail-summary p {
    font-size: 20px;
    line-height: 2.4;
    color: #bbb;
}

/* ===== CAST (Horizontal Scroll) ===== */
.cast-section {
    max-width: 1200px;
    margin: 0 auto 100px;
    padding: 0 20px;
}

.cast-section h2 {
    font-size: 13px;
    color: #caa45d;
    letter-spacing: 6px;
    margin-bottom: 45px;
    text-align: center;
    text-transform: uppercase;
}

.cast-scroll {
    display: flex;
    gap: 30px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 10px 10px 40px;
    cursor: grab;
    user-select: none;
    -webkit-user-select: none;
}

.cast-scroll:active {
    cursor: grabbing;
}

.cast-scroll::-webkit-scrollbar {
    height: 5px;
}

.cast-scroll::-webkit-scrollbar-track {
    background: #111;
    border-radius: 3px;
}

.cast-scroll::-webkit-scrollbar-thumb {
    background: #caa45d;
    border-radius: 3px;
}

.cast-item {
    flex: 0 0 110px;
    text-align: center;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.cast-item:hover {
    transform: translateY(-5px);
}

.cast-item img {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(255,255,255,0.08);
    transition: 0.4s ease;
    display: block;
    margin: 0 auto;
}

.cast-item:hover img {
    border-color: #caa45d;
    box-shadow: 0 0 20px rgba(202,164,93,0.2);
}

.cast-item h4 {
    font-size: 14px;
    margin-top: 14px;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-weight: 600;
}

.cast-item p {
    font-size: 11px;
    color: #888;
    margin-top: 6px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.4;
}

.cast-char {
    color: #caa45d;
}

.cast-more {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding-top: 5px;
}

.cast-more-circle {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    border: 2px dashed rgba(202,164,93,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #caa45d;
    font-size: 18px;
    font-weight: 700;
    transition: 0.3s ease;
}

.cast-more:hover .cast-more-circle {
    background: #caa45d;
    color: #050505;
    border-style: solid;
}

.cast-more h4 {
    margin-top: 14px;
    font-size: 13px;
    color: #caa45d;
}

/* ===== CAST POPUP ===== */
.cast-popup {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9999;
    align-items: center;
    justify-content: center;
}

.cast-popup.active {
    display: flex;
}

.cast-popup-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.88);
    backdrop-filter: blur(10px);
}

.cast-popup-content {
    position: relative;
    z-index: 2;
    background: #0d0d0d;
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 24px;
    max-width: 950px;
    width: 92%;
    max-height: 85vh;
    overflow-y: auto;
    padding: 50px 40px;
}

.cast-popup-content::-webkit-scrollbar {
    width: 6px;
}

.cast-popup-content::-webkit-scrollbar-thumb {
    background: #caa45d;
    border-radius: 3px;
}

.cast-popup-close {
    position: absolute;
    top: 20px;
    left: 25px;
    background: none;
    border: none;
    color: #fff;
    font-size: 36px;
    cursor: pointer;
    line-height: 1;
    opacity: 0.7;
    transition: 0.3s;
}

.cast-popup-close:hover {
    opacity: 1;
    color: #caa45d;
}

.cast-popup-content h2 {
    text-align: center;
    font-size: 26px;
    margin-bottom: 45px;
    color: #caa45d;
    letter-spacing: 3px;
}

.cast-popup-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 35px;
}

.cast-grid-item {
    text-align: center;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.cast-grid-item:hover {
    transform: translateY(-5px);
}

.cast-grid-item img {
    width: 100%;
    aspect-ratio: 1;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(255,255,255,0.08);
    transition: 0.4s ease;
}

.cast-grid-item:hover img {
    border-color: #caa45d;
    box-shadow: 0 0 25px rgba(202,164,93,0.15);
}

.cast-grid-item h4 {
    font-size: 15px;
    margin-top: 16px;
    color: #fff;
    font-weight: 600;
}

.cast-grid-item p {
    font-size: 12px;
    color: #888;
    margin-top: 6px;
    line-height: 1.5;
}

.cast-grid-item p span {
    color: #caa45d;
}

/* ===== LIGHTBOX ===== */
.lightbox {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 10000;
    background: rgba(0,0,0,0.95);
    align-items: center;
    justify-content: center;
    cursor: zoom-out;
}

.lightbox.active {
    display: flex;
}

.lightbox img {
    max-width: 85%;
    max-height: 85%;
    border-radius: 12px;
    object-fit: contain;
    animation: lightboxIn 0.3s ease;
}

@keyframes lightboxIn {
    from { opacity: 0; transform: scale(0.9); }
    to { opacity: 1; transform: scale(1); }
}

/* ===== VIDEO ===== */
.video-section {
    max-width: 900px;
    margin: 0 auto 120px;
    padding: 0 20px;
}

.video-section h2 {
    font-size: 13px;
    color: #caa45d;
    letter-spacing: 6px;
    margin-bottom: 35px;
    text-align: center;
    text-transform: uppercase;
}

.video-player {
    position: relative;
    padding-bottom: 56.25%;
    background: #111;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.06);
}

.video-player video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
    .cast-popup-grid { grid-template-columns: repeat(3, 1fr); }
    .detail-meta-inner { gap: 50px; }
}

@media (max-width: 768px) {
    .detail-hero { min-height: 55vh; padding-bottom: 60px; }
    .detail-meta-inner { gap: 30px; }
    .meta-item strong { font-size: 20px; }
    .detail-summary { margin: 60px auto; }
    .detail-summary p { font-size: 16px; line-height: 2.2; }
    .cast-popup-grid { grid-template-columns: repeat(2, 1fr); gap: 25px; }
    .cast-popup-content { padding: 40px 25px; }
    .video-section { margin-bottom: 80px; }
}

@media (max-width: 480px) {
    .cast-popup-grid { grid-template-columns: 1fr; }
    .cast-item { flex: 0 0 90px; }
    .cast-item img { width: 70px; height: 70px; }
    .cast-more-circle { width: 70px; height: 70px; }
    .detail-meta-inner { gap: 25px; }
}

/* ========== GALLERY SECTION ========== */
.gallery-section {
    max-width: 1200px;
    margin: 0 auto 120px;
    padding: 0 20px;
}

.gallery-section h2 {
    font-size: 13px;
    color: #caa45d;
    letter-spacing: 6px;
    margin-bottom: 45px;
    text-align: center;
    text-transform: uppercase;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 15px;
}

.gallery-item {
    position: relative;
    aspect-ratio: 3/4;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    background: #111;
    border: 1px solid rgba(255,255,255,0.06);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.gallery-item:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 10px 40px rgba(202,164,93,0.1);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-more {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: rgba(202,164,93,0.05);
    border: 2px dashed rgba(202,164,93,0.3);
}

.gallery-more-overlay {
    font-size: 28px;
    font-weight: 800;
    color: #caa45d;
    margin-bottom: 8px;
}

.gallery-more span {
    font-size: 13px;
    color: #caa45d;
    font-weight: 600;
}

/* ===== GALLERY POPUP ===== */
.gallery-popup {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9999;
    align-items: center;
    justify-content: center;
}

.gallery-popup.active {
    display: flex;
}

.gallery-popup-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.92);
    backdrop-filter: blur(10px);
}

.gallery-popup-content {
    position: relative;
    z-index: 2;
    background: #0d0d0d;
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 24px;
    max-width: 1100px;
    width: 92%;
    max-height: 85vh;
    overflow-y: auto;
    padding: 50px 40px;
}

.gallery-popup-content::-webkit-scrollbar {
    width: 6px;
}

.gallery-popup-content::-webkit-scrollbar-thumb {
    background: #caa45d;
    border-radius: 3px;
}

.gallery-popup-close {
    position: absolute;
    top: 20px;
    left: 25px;
    background: none;
    border: none;
    color: #fff;
    font-size: 36px;
    cursor: pointer;
    line-height: 1;
    opacity: 0.7;
    transition: 0.3s;
}

.gallery-popup-close:hover {
    opacity: 1;
    color: #caa45d;
}

.gallery-popup-content h2 {
    text-align: center;
    font-size: 26px;
    margin-bottom: 45px;
    color: #caa45d;
    letter-spacing: 3px;
}

.gallery-popup-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 15px;
}

.gallery-popup-item {
    aspect-ratio: 3/4;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    background: #111;
    border: 1px solid rgba(255,255,255,0.06);
    transition: transform 0.3s ease;
}

.gallery-popup-item:hover {
    transform: scale(1.03);
}

.gallery-popup-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.gallery-popup-item:hover img {
    transform: scale(1.08);
}

/* ===== RESPONSIVE GALLERY ===== */
@media (max-width: 992px) {
    .gallery-grid { grid-template-columns: repeat(3, 1fr); }
    .gallery-popup-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 576px) {
    .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .gallery-popup-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .gallery-popup-content { padding: 40px 20px; }
    .gallery-section { margin-bottom: 80px; }
}
/* ===== VIDEO SELECTOR ===== */
.video-selector {
    text-align: center;
    margin-bottom: 25px;
}

.video-selector-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: transparent;
    border: 1px solid #caa45d;
    color: #caa45d;
    padding: 12px 35px;
    border-radius: 50px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: "Vazirmatn", sans-serif;
}

.video-selector-btn:hover {
    background: #caa45d;
    color: #050505;
}

.video-selector-btn i {
    font-size: 18px;
}

/* ===== VIDEO PLAYER EMPTY STATE ===== */
.video-player-empty {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #0a0a0a;
    min-height: 300px;
}

.video-empty-state {
    text-align: center;
    color: #555;
}

.video-empty-state i {
    font-size: 48px;
    margin-bottom: 15px;
    display: block;
}

.video-empty-state p {
    font-size: 16px;
}

/* ===== VIDEO POPUP ===== */
.video-popup {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9999;
    align-items: center;
    justify-content: center;
}

.video-popup.active {
    display: flex;
}

.video-popup-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.9);
    backdrop-filter: blur(10px);
}

.video-popup-content {
    position: relative;
    z-index: 2;
    background: #0d0d0d;
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 20px;
    max-width: 500px;
    width: 90%;
    max-height: 70vh;
    overflow-y: auto;
    padding: 40px 30px;
}

.video-popup-content::-webkit-scrollbar {
    width: 5px;
}

.video-popup-content::-webkit-scrollbar-thumb {
    background: #caa45d;
    border-radius: 3px;
}

.video-popup-close {
    position: absolute;
    top: 15px;
    left: 20px;
    background: none;
    border: none;
    color: #fff;
    font-size: 32px;
    cursor: pointer;
    line-height: 1;
    opacity: 0.7;
    transition: 0.3s;
}

.video-popup-close:hover {
    opacity: 1;
    color: #caa45d;
}

.video-popup-content h2 {
    text-align: center;
    font-size: 22px;
    margin-bottom: 30px;
    color: #caa45d;
    letter-spacing: 2px;
}

.video-popup-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.video-popup-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 18px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.video-popup-item:hover {
    background: rgba(202,164,93,0.08);
    border-color: rgba(202,164,93,0.2);
    transform: translateX(-5px);
}

.video-popup-thumb {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(202,164,93,0.1);
    border: 1px solid rgba(202,164,93,0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #caa45d;
    font-size: 16px;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.video-popup-item:hover .video-popup-thumb {
    background: #caa45d;
    color: #050505;
}

.video-popup-info h4 {
    font-size: 16px;
    color: #fff;
    margin: 0;
    font-weight: 600;
}

/* ===== RESPONSIVE VIDEO POPUP ===== */
@media (max-width: 576px) {
    .video-popup-content {
        padding: 35px 20px;
    }
    .video-popup-item {
        padding: 12px 14px;
    }
}
.logo {
    display: flex;
    align-items: center;
    gap: 5px;
    color: white;
    font-size: 25px;
    font-weight: 900;
    text-decoration: none;
}

.logo img {
    height: 60px;
    width: auto;
    display: block;
}


.logo span {
    color: #caa45d;
    font-size: 18px;
    font-weight: 400;
    display: block;
}

/* ═══ عکس/ویدیو بنر ═══ */
.featured-poster {
    flex: 0 0 32%;
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    align-self: stretch;
}

.featured-poster::before {
    content: "";
    display: block;
    padding-top: 75%;
}

.featured-poster img,
.featured-poster video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 12px;
}
/* ===== TRAILER HINT ===== */
.trailer-hint {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 16px;
    color: #caa45d;
    font-size: 15px;
    font-weight: 500;
}

.trailer-arrow {
    color: #caa45d;
    animation: arrowPulse 1.2s ease-in-out infinite;
}

@keyframes arrowPulse {
    0%, 100% {
        transform: translateX(0);
    }
    50% {
        transform: translateX(-8px);
    }
}


/* ═══════════════════════════════════════
   FOOTER STYLES
   ═══════════════════════════════════════ */

.main-footer {
    background: #050505;
    border-top: 1px solid rgba(202, 164, 93, 0.12);
    padding: 50px 0 0;          /* ← از 80px به 50px */
    color: #fff;
    font-family: "Vazirmatn", sans-serif;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 50px;
}

/* ─── گرید ۵ ستونه ─── */
.footer-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 40px;
    align-items: start;
}

/* ─── ستون‌ها ─── */
.footer-col {
    min-width: 0;
}

.footer-title {
    font-size: 16px;
    font-weight: 800;
    color: #caa45d;
    margin-bottom: 15px;        /* ← از 22px به 15px */
    position: relative;
    padding-bottom: 12px;
}

.footer-title::after {
    content: "";
    position: absolute;
    bottom: 0;
    right: 0;
    width: 35px;
    height: 2px;
    background: #caa45d;
    border-radius: 2px;
}

.footer-text {
    font-size: 13px;
    color: #999;
    line-height: 2;
    margin-bottom: 12px;        /* ← از 18px به 12px */
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 6px;         /* ← از 10px به 6px */
}

.footer-links a {
    color: #aaa;
    font-size: 14px;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-links a:hover {
    color: #caa45d;
    padding-right: 6px;
}

/* ─── فرم خبرنامه ─── */
.newsletter-form .form-group {
    margin-bottom: 8px;         /* ← از 12px به 8px */
}

.footer-input {
    background: rgba(255, 255, 255, 0.04) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 8px !important;
    padding: 10px 12px !important;   /* ← از 12px 14px به 10px 12px */
    color: #fff !important;
    font-size: 13px !important;
    width: 100% !important;
    outline: none !important;
    transition: all 0.3s ease !important;
    font-family: "Vazirmatn", sans-serif !important;
    box-shadow: none !important;
}

.footer-input::placeholder {
    color: #555;
}

.footer-input:focus {
    border-color: #caa45d !important;
    background: rgba(255, 255, 255, 0.07) !important;
}

.footer-btn {
    background: #caa45d;
    color: #050505;
    border: none;
    padding: 9px 20px;          /* ← از 11px 28px به 9px 20px */
    border-radius: 8px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    font-family: "Vazirmatn", sans-serif;
}

.footer-btn:hover {
    background: #dbb76a;
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(202, 164, 93, 0.2);
}

/* ─── ستون لوگو ─── */
.footer-brand {
    text-align: center;
}

.footer-logo {
    margin-bottom: 18px;
}

.footer-logo img {
    height: 65px;               /* ← از 85px به 65px */
    width: auto;
    display: inline-block;
}
.footer-desc {
    font-size: 13px;
    color: #aaa;
    line-height: 2.2;
    margin-bottom: 15px;        /* ← از 25px به 15px */
    max-width: 280px;
    margin-left: auto;
    margin-right: auto;
}

/* ─── آیکون‌های شبکه اجتماعی ─── */
.footer-socials {
    display: flex;
    justify-content: center;
    gap: 8px;                   /* ← از 12px به 8px */
}

.social-link {
    width: 38px;                /* ← از 44px به 38px */
    height: 38px;               /* ← از 44px به 38px */
    border-radius: 50%;
    border: 1px solid rgba(202, 164, 93, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #caa45d;
    transition: all 0.3s ease;
    text-decoration: none;
}
.social-link:hover {
    background: #caa45d;
    color: #050505;
    border-color: #caa45d;
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(202, 164, 93, 0.25);
}

.social-link svg {
    display: block;
}

/* ─── کپی‌رایت پایین ─── */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 15px 0;            /* ← از 25px به 15px */
    margin-top: 30px;           /* ← از 50px به 30px */
    text-align: center;
}

.footer-bottom p {
    color: #555;
    font-size: 12px;
    margin: 0;
    letter-spacing: 1px;
}

/* ═══ ریسپانسیو ═══ */
@media (max-width: 1199px) {
    .footer-container {
        padding: 0 30px;
    }
    .footer-grid {
        gap: 30px;
    }
}

@media (max-width: 991px) {
    .main-footer {
        padding-top: 60px;
    }
    .footer-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 30px;
    }
    .footer-logo img {
        height: 75px;
    }
}

@media (max-width: 767px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
    .footer-title {
        font-size: 15px;
        margin-bottom: 18px;
    }
    .footer-links a {
        font-size: 13px;
    }
    .footer-desc {
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 35px;
    }
    .footer-container {
        padding: 0 20px;
    }
    .footer-bottom {
        margin-top: 30px;
    }
}

/* ═══════════════════════════════════════
   WORKSHOPS SECTION
   ═══════════════════════════════════════ */

.workshops-section {
    background: #050505;
    padding: 20px 40px 15px;
    color: #fff;
    font-family: "Vazirmatn", sans-serif;
    overflow: hidden;
}

.workshops-container {
    max-width: 1400px;
    margin: 0 auto;
}

/* ─── هدر: دکمه چپ، عنوان وسط ─── */
.workshops-top {
    display: flex;
    align-items: center;
    margin-bottom: 45px;
}

.workshops-more-wrap {
    flex: 0 0 auto;
    min-width: 160px;
}

.workshops-header {
    text-align: center;
    margin-bottom: 30px;
}
.workshops-header span {
    display: block;
    color: #caa45d;
    letter-spacing: 5px;
    font-size: 12px;
    margin-bottom: 10px;
}

.workshops-label {
    display: block;
    color: #caa45d;
    letter-spacing: 5px;
    font-size: 12px;
    margin-bottom: 10px;
}

.workshops-header h2 {
    font-size: 30px;
    font-weight: 800;
    margin-top: 10px;
}

.workshops-spacer {
    flex: 0 0 auto;
    min-width: 160px;
}

/* دکمه مشاهده همه */
.workshops-more {
    text-align: left;
    margin: 15px 0 0;
}
.workshops-more a {
    display: inline-block;
    color: #caa45d;
    border: 1px solid #caa45d;
    padding: 12px 30px;
    border-radius: 4px;
    transition: 0.3s;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
}
.workshops-more a:hover {
    background: #caa45d;
    color: #050505;
}



.workshops-more svg {
    transition: transform 0.3s ease;
}

.workshops-more:hover svg {
    transform: rotate(45deg);
}

/* ─── wrapper اسلایدر + دکمه‌های بیرون ─── */
.workshop-slider-wrap {
    display: flex;
    align-items: center;
    gap: 14px;
}

/* ─── اسلایدر ─── */
.workshopSwiper {
    flex: 1;
    min-width: 0;
    padding: 15px 5px 40px;
    overflow: hidden;
}

.workshopSwiper .swiper-slide {
    height: auto;
}

/* ─── کارت کارگاه ─── */
.workshop-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(202, 164, 93, 0.15);
    border-radius: 16px;
    padding: 28px 18px;
    text-align: center;
    transition: all 0.4s ease;
    cursor: grab;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.workshop-card:hover {
    border-color: rgba(202, 164, 93, 0.4);
    transform: translateY(-6px);
    box-shadow: 0 12px 35px rgba(202, 164, 93, 0.08);
    background: rgba(255, 255, 255, 0.04);
}

.workshop-card:active {
    cursor: grabbing;
}

/* آیکون */
.workshop-icon {
    width: 52px;
    height: 52px;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.workshop-icon svg {
    width: 100%;
    height: 100%;
    stroke: #caa45d;
    opacity: 0.9;
    transition: all 0.4s ease;
}

.workshop-card:hover .workshop-icon svg {
    opacity: 1;
    transform: scale(1.08);
    filter: drop-shadow(0 0 12px rgba(202, 164, 93, 0.3));
}

/* عنوان و توضیحات */
.workshop-card h3 {
    font-size: 17px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 8px;
}

.workshop-card p {
    font-size: 12px;
    color: #888;
    line-height: 1.9;
    margin: 0;
}

/* ─── دکمه‌های ناوبری (بیرون اسلایدر) ─── */
.workshop-prev,
.workshop-next {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: 1px solid rgba(202, 164, 93, 0.3);
    background: rgba(5, 5, 5, 0.9);
    color: #caa45d;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    flex-shrink: 0;
    position: static;
    backdrop-filter: blur(4px);
}

.workshop-prev::after,
.workshop-next::after {
    display: none;
}

/* هاور اکتیو */
.workshop-slider-wrap .swiper-button-prev.workshop-prev:hover,
.workshop-slider-wrap .swiper-button-next.workshop-next:hover {
    background: #caa45d !important;
    color: #050505 !important;
    border-color: #caa45d !important;
    box-shadow: 0 0 25px rgba(202, 164, 93, 0.45), 0 5px 20px rgba(202, 164, 93, 0.2);
    transform: scale(1.1);
}

/* کلیک اکتیو */
.workshop-prev:active,
.workshop-next:active {
    transform: scale(0.95);
    box-shadow: 0 0 15px rgba(202, 164, 93, 0.3);
}

.workshop-prev.swiper-button-disabled,
.workshop-next.swiper-button-disabled {
    opacity: 0.25;
    pointer-events: none;
}

/* ═══ انیمیشن اسکرول دونه‌دونه ═══ */
.workshop-card {
    opacity: 0;
    transform: translateY(35px);
}

.workshops-section.reveal.active .workshop-card {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.7s ease, transform 0.7s ease, border-color 0.4s ease, box-shadow 0.4s ease, background 0.4s ease;
}

.workshops-section.reveal.active .swiper-slide:nth-child(1) .workshop-card { transition-delay: 0.08s; }
.workshops-section.reveal.active .swiper-slide:nth-child(2) .workshop-card { transition-delay: 0.16s; }
.workshops-section.reveal.active .swiper-slide:nth-child(3) .workshop-card { transition-delay: 0.24s; }
.workshops-section.reveal.active .swiper-slide:nth-child(4) .workshop-card { transition-delay: 0.32s; }
.workshops-section.reveal.active .swiper-slide:nth-child(5) .workshop-card { transition-delay: 0.40s; }




/* ═══ ریسپانسیو ═══ */
@media (max-width: 1199px) {
    .workshops-section {
        padding: 80px 30px;
    }
}

@media (max-width: 991px) {
    .workshops-header h2 {
        font-size: 28px;
    }
    .workshop-icon {
        width: 48px;
        height: 48px;
    }
    .workshop-card h3 {
        font-size: 16px;
    }
}

@media (max-width: 767px) {
    .workshops-section {
        padding: 60px 20px;
    }
    .workshops-header h2 {
        font-size: 24px;
    }
    .workshops-more {
        padding: 9px 20px;
        font-size: 12px;
    }
    .workshop-slider-wrap {
        flex-wrap: wrap;
        justify-content: center;
    }
    .workshopSwiper {
        order: 1;
        width: 100%;
    }
    .workshop-prev,
    .workshop-next {
        order: 2;
        margin-top: 10px;
        width: 42px;
        height: 42px;
    }
}

/* ═══════════════════════════════════════
   PODCASTS SECTION
   ═══════════════════════════════════════ */

.podcasts-section {
    background: #050505;
    padding: 10px 40px 60px;
    color: #fff;
    font-family: "Vazirmatn", sans-serif;
    overflow: hidden;
}

.podcasts-container {
    max-width: 1400px;
    margin: 0 auto;
}

/* ─── هدر پادکست (مثل کارگاه‌ها) ─── */
.podcasts-header {
    text-align: center;
    margin-bottom: 30px;
}

.podcasts-header span {
    display: block;
    color: #caa45d;
    letter-spacing: 5px;
    font-size: 12px;
    margin-bottom: 10px;
}

.podcasts-header h2 {
    font-size: 30px;
    font-weight: 800;
    margin-top: 10px;
}

.podcasts-more {
    text-align: left;
    margin: 15px 0 0;
}

.podcasts-more a {
    display: inline-block;
    color: #caa45d;
    border: 1px solid #caa45d;
    padding: 12px 30px;
    border-radius: 4px;
    transition: 0.3s;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
}

.podcasts-more a:hover {
    background: #caa45d;
    color: #050505;
}

/* ─── کادر طلایی دور کل بخش ─── */
.podcasts-body-box {
    border: 2px solid rgba(202, 164, 93, 0.35);
    border-radius: 16px;
    overflow: hidden;
    background: #080808;
    padding: 20px;
}

/* ─── بدنه دو ستونه ─── */
.podcasts-body {
    display: flex;
    gap: 25px;
    align-items: stretch;
    min-height: 320px;
}

/* ─── سمت راست: اسلایدر ─── */
.podcasts-slider-side {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.podcast-slider-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* ─── سمت چپ: پلیر ─── */
.podcasts-player-side {
    flex: 0 0 38%;
    max-width: 420px;
    display: flex;
    flex-direction: column;
}

/* پلیر اصلی - هم‌ارتفاع با کارت‌ها */
.main-player {
    background: linear-gradient(135deg, #0a0a0a 0%, #111 100%);
    border: 1px solid rgba(202, 164, 93, 0.12);
    border-radius: 16px;
    padding: 22px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
}

.main-player::before {
    content: "";
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(202,164,93,0.03) 0%, transparent 70%);
    pointer-events: none;
}

/* بصری پلیر */
.player-visual {
    position: relative;
    height: 90px;
    margin-bottom: 15px;
}

.player-mic {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 55px;
    opacity: 0.6;
}

.player-mic svg {
    width: 100%;
    height: auto;
    stroke: #caa45d;
}

.player-wave {
    position: absolute;
    right: 0;
    bottom: 15px;
    left: 50px;
}

.player-wave svg {
    width: 100%;
    height: 50px;
}

.player-wave path {
    stroke-linecap: round;
}

.player-wave path:nth-child(1) { animation: waveMove 3s ease-in-out infinite; }
.player-wave path:nth-child(2) { animation: waveMove 3s ease-in-out 0.2s infinite; }
.player-wave path:nth-child(3) { animation: waveMove 3s ease-in-out 0.4s infinite; }

@keyframes waveMove {
    0%, 100% { d: path("M0 30 Q 10 10, 20 30 T 40 30 T 60 30 T 80 30 T 100 30 T 120 30 T 140 30 T 160 30 T 180 30 T 200 30 T 220 30 T 240 30 T 260 30 T 280 30 T 300 30"); }
    50% { d: path("M0 30 Q 10 50, 20 30 T 40 30 T 60 30 T 80 30 T 100 30 T 120 30 T 140 30 T 160 30 T 180 30 T 200 30 T 220 30 T 240 30 T 260 30 T 280 30 T 300 30"); }
}

/* محتوای پلیر */
.player-content {
    position: relative;
    z-index: 1;
}

.player-label {
    display: inline-block;
    color: #caa45d;
    font-size: 12px;
    letter-spacing: 2px;
    margin-bottom: 10px;
    border: 1px solid rgba(202, 164, 93, 0.3);
    padding: 4px 14px;
    border-radius: 20px;
}

.player-content h3 {
    font-size: 17px;
    font-weight: 800;
    margin-bottom: 6px;
    line-height: 1.4;
}

.player-content p {
    font-size: 12px;
    color: #888;
    line-height: 1.8;
    margin: 0;
}

/* فوتر پلیر */
.player-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 15px;
    position: relative;
    z-index: 1;
}

.player-year {
    font-size: 14px;
    color: #666;
    font-weight: 600;
}

.player-play-btn {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: #caa45d;
    border: none;
    color: #050505;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 25px rgba(202, 164, 93, 0.3);
}

.player-play-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 35px rgba(202, 164, 93, 0.5);
}

.player-play-btn:active {
    transform: scale(0.95);
}

/* ─── اسلایدر ─── */
.podcastSwiper {
    flex: 1;
    min-width: 0;
    padding: 10px 5px 20px;
    overflow: hidden;
}

.podcastSwiper .swiper-slide {
    height: auto;
}

/* کارت پادکست */
.podcast-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(202, 164, 93, 0.12);
    border-radius: 14px;
    overflow: hidden;
    transition: all 0.4s ease;
    cursor: pointer;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.podcast-card:hover {
    border-color: rgba(202, 164, 93, 0.35);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(202, 164, 93, 0.08);
}

.podcast-image {
    position: relative;
    width: 100%;
    aspect-ratio: 16/10;
    overflow: hidden;
}

.podcast-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.podcast-card:hover .podcast-image img {
    transform: scale(1.08);
}

.podcast-play {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,0.35);
    opacity: 0;
    transition: all 0.3s ease;
}

.podcast-card:hover .podcast-play {
    opacity: 1;
}

.podcast-play svg {
    width: 40px;
    height: 40px;
    background: rgba(202, 164, 93, 0.9);
    border-radius: 50%;
    padding: 10px;
    color: #050505;
    backdrop-filter: blur(4px);
}

.podcast-info {
    padding: 12px;
    text-align: right;
}

.podcast-info h4 {
    font-size: 14px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 5px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.podcast-info span {
    font-size: 12px;
    color: #caa45d;
    font-weight: 500;
}

/* ─── دکمه‌های ناوبری ─── */
.podcast-prev,
.podcast-next {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid rgba(202, 164, 93, 0.3);
    background: rgba(5, 5, 5, 0.9);
    color: #caa45d;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    flex-shrink: 0;
    position: static;
    backdrop-filter: blur(4px);
}

.podcast-prev::after,
.podcast-next::after {
    display: none;
}

.podcast-prev:hover,
.podcast-next:hover {
    background: #caa45d;
    color: #050505;
    border-color: #caa45d;
    box-shadow: 0 0 25px rgba(202, 164, 93, 0.45);
    transform: scale(1.1);
}

.podcast-prev.swiper-button-disabled,
.podcast-next.swiper-button-disabled {
    opacity: 0.25;
    pointer-events: none;
}

/* ═══ ریسپانسیو ═══ */
@media (max-width: 1199px) {
    .podcasts-section {
        padding: 80px 30px;
    }
    .podcasts-body {
        min-height: auto;
    }
}

@media (max-width: 991px) {
    .podcasts-body {
        flex-direction: column;
    }
    .podcasts-player-side {
        flex: none;
        max-width: 100%;
        width: 100%;
    }
    .main-player {
        flex-direction: row;
        align-items: center;
        gap: 25px;
        padding: 25px;
    }
    .player-visual {
        flex: 0 0 100px;
        height: auto;
        margin-bottom: 0;
    }
    .player-mic {
        width: 55px;
    }
    .player-wave {
        display: none;
    }
    .player-content {
        flex: 1;
    }
}

@media (max-width: 767px) {
    .podcasts-section {
        padding: 60px 20px;
    }
    .podcasts-header h2 {
        font-size: 24px;
    }
    .podcasts-more {
        padding: 8px 18px;
        font-size: 12px;
    }
    .podcasts-body-box {
        padding: 20px;
    }
    .main-player {
        flex-direction: column;
        padding: 25px;
    }
    .player-visual {
        flex: none;
        height: 90px;
        margin-bottom: 15px;
    }
    .player-mic {
        width: 50px;
    }
    .player-content h3 {
        font-size: 17px;
    }
    .podcast-prev,
    .podcast-next {
        width: 38px;
        height: 38px;
    }
}

/* ═══════════════════════════════════════
   ABOUT PAGE
   ═══════════════════════════════════════ */

.about-page-hero {
    min-height: 45vh;
    background: #050505;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 140px 40px 60px;
    text-align: center;
}

.about-page-container {
    max-width: 1000px;
    margin: 0 auto;
}

.about-page-label {
    display: block;
    color: #caa45d;
    letter-spacing: 5px;
    font-size: 12px;
    margin-bottom: 15px;
}

.about-page-hero h1 {
    font-size: 48px;
    font-weight: 900;
    margin: 0;
}

.about-page-content {
    background: #050505;
    padding: 40px 40px 100px;
    font-family: "Vazirmatn", sans-serif;
}

.about-page-intro {
    text-align: center;
    margin-bottom: 70px;
}

.about-page-intro h2 {
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 25px;
    color: #fff;
}

.about-page-intro p {
    font-size: 18px;
    color: #aaa;
    line-height: 2.2;
    margin-bottom: 20px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.about-page-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 800px;
    margin: 0 auto 80px;
}

.about-stat-card {
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(202, 164, 93, 0.15);
    border-radius: 16px;
    padding: 40px 20px;
    text-align: center;
    transition: all 0.3s ease;
}

.about-stat-card:hover {
    border-color: rgba(202, 164, 93, 0.35);
    transform: translateY(-5px);
}

.about-stat-card strong {
    display: block;
    font-size: 42px;
    font-weight: 900;
    color: #caa45d;
    margin-bottom: 10px;
}

.about-stat-card span {
    font-size: 14px;
    color: #888;
}

.about-page-quote {
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.06);
    padding-top: 60px;
}

.about-page-quote blockquote {
    font-size: 28px;
    font-weight: 700;
    color: #fff;
    line-height: 1.6;
    margin: 0 0 20px;
    font-style: italic;
}

.about-page-quote cite {
    font-size: 14px;
    color: #caa45d;
    font-style: normal;
}

/* ریسپانسیو */
@media (max-width: 768px) {
    .about-page-hero {
        padding: 120px 20px 40px;
    }
    .about-page-hero h1 {
        font-size: 32px;
    }
    .about-page-content {
        padding: 30px 20px 60px;
    }
    .about-page-intro h2 {
        font-size: 24px;
    }
    .about-page-intro p {
        font-size: 15px;
    }
    .about-page-stats {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .about-stat-card strong {
        font-size: 36px;
    }
    .about-page-quote blockquote {
        font-size: 20px;
    }
}


/* ═══════════════════════════════════════
   STATS SECTION
   ═══════════════════════════════════════ */

.stats-section {
    background: #080808;
    border-top: 1px solid rgba(202, 164, 93, 0.08);
    border-bottom: 1px solid rgba(202, 164, 93, 0.08);
    padding: 30px 40px;
    font-family: "Vazirmatn", sans-serif;
}

.stats-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 14px;
    flex: 1;
    justify-content: center;
}

.stat-icon svg {
    width: 32px;
    height: 32px;
    stroke: #caa45d;
    fill: none;
    stroke-width: 1.5;
    opacity: 0.9;
}

.stat-text strong {
    display: block;
    font-size: 24px;
    font-weight: 800;
    color: #fff;
    line-height: 1;
    font-variant-numeric: tabular-nums;
}

.stat-text span {
    display: block;
    font-size: 12px;
    color: #888;
    margin-top: 4px;
    white-space: nowrap;
}

.stat-divider {
    width: 1px;
    height: 36px;
    background: rgba(202, 164, 93, 0.15);
    flex-shrink: 0;
}

/* ═══ ریسپانسیو ═══ */
@media (max-width: 991px) {
    .stats-container {
        flex-wrap: wrap;
        gap: 20px;
    }
    .stat-item {
        flex: 0 0 45%;
        justify-content: flex-start;
        padding: 0 10px;
    }
    .stat-divider {
        display: none;
    }
}

@media (max-width: 480px) {
    .stats-section {
        padding: 25px 20px;
    }
    .stat-item {
        flex: 0 0 100%;
    }
    .stat-text strong {
        font-size: 22px;
    }
}

/* ═══════════════════════════════════════
   INVESTMENT SECTION
   ═══════════════════════════════════════ */

.investment-section {
    background: #050505;
    padding: 40px;
    font-family: "Vazirmatn", sans-serif;
}

.investment-container {
    max-width: 1400px;
    margin: 0 auto;
    border: 1px solid rgba(202, 164, 93, 0.3);
    border-radius: 16px;
    overflow: hidden;
    background: #080808;
}

.investment-body {
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
    gap: 50px;
    padding: 0;
}

/* ─── تصویر سمت چپ ─── */
.investment-image {
    flex: 0 0 45%;
    position: relative;
    overflow: hidden;
    align-self: center;
    min-height: auto;
}

.investment-image::before {
    content: "";
    display: block;
    padding-top: 65%;
}

.investment-image img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ─── محتوای وسط ─── */
.investment-content {
    flex: 1;
    padding: 40px 0;
    text-align: right;
}

.investment-label {
    display: block;
    color: #caa45d;
    font-size: 14px;
    letter-spacing: 2px;
    margin-bottom: 12px;
}

.investment-content h2 {
    font-size: 26px;
    font-weight: 800;
    line-height: 1.4;
    margin-bottom: 16px;
    color: #fff;
}

/* ─── خط جداکننده گرادینت ─── */
.investment-divider {
    width: 1px;
    align-self: stretch;
    background: linear-gradient(
        to bottom,
        transparent 0%,
        rgba(202, 164, 93, 0.5) 25%,
        rgba(202, 164, 93, 0.5) 75%,
        transparent 100%
    );
    margin: 20px 0;
}

.investment-content p {
    font-size: 14px;
    color: #aaa;
    line-height: 2;
    margin-bottom: 28px;
    max-width: 420px;
}

/* دکمه */
.investment-btn {
    display: inline-block;
    background: #caa45d;
    color: #050505;
    padding: 14px 32px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    margin-bottom: 16px;
}

.investment-btn:hover {
    background: #dbb76a;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(202, 164, 93, 0.25);
}

/* لینک زیر دکمه */
.investment-link {
    display: block;
    color: #caa45d;
    font-size: 13px;
    text-decoration: none;
    transition: 0.3s;
}

.investment-link:hover {
    color: #dbb76a;
    padding-right: 5px;
}

/* ─── ویژگی‌های سمت راست ─── */
.investment-features {
    flex: 0 0 280px;
    padding: 40px 30px 40px 40px;   /* ← راست از 0 به 30px */
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.investment-feature {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    text-align: right;
}

.feature-icon svg {
    width: 40px;
    height: 40px;
    stroke: #caa45d;
    flex-shrink: 0;
}

.feature-text h4 {
    font-size: 15px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 6px;
}

.feature-text p {
    font-size: 12px;
    color: #888;
    line-height: 1.8;
    margin: 0;
}

/* ═══ ریسپانسیو ═══ */
@media (max-width: 1199px) {
    .investment-section {
        padding: 30px;
    }
    .investment-body {
        gap: 30px;
    }
    .investment-features {
        flex: 0 0 240px;
        padding: 30px 0 30px 20px;
    }
}

@media (max-width: 991px) {
    .investment-body {
        flex-direction: column;
    }
    .investment-image {
        flex: none;
        width: 100%;
        min-height: 250px;
    }
    .investment-image::before {
        padding-top: 50%;
    }
    .investment-content {
        padding: 0 30px;
        text-align: center;
    }
    .investment-divider {
        display: none;
        }
    .investment-content p {
        max-width: 100%;
    }
    .investment-features {
        flex: none;
        width: 100%;
        padding: 0 30px 30px;
    }
}

@media (max-width: 480px) {
    .investment-section {
        padding: 20px;
    }
    .investment-content h2 {
        font-size: 22px;
    }
    .investment-btn {
        padding: 12px 24px;
        font-size: 13px;
    }
}

/* ═══════════════════════════════════════
   NEWS SECTION
   ═══════════════════════════════════════ */

.news-section {
    background: #050505;
    padding: 80px 40px;
    font-family: "Vazirmatn", sans-serif;
    overflow: hidden;
}

.news-container {
    max-width: 1400px;
    margin: 0 auto;
}

/* ─── هدر ─── */
.news-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 45px;
}

.news-header h2 {
    font-size: 30px;
    font-weight: 800;
    margin: 0;
}

.news-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #caa45d;
    border: 1px solid #caa45d;
    padding: 10px 24px;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 600;
    transition: all 0.3s ease;
    text-decoration: none;
}

.news-more:hover {
    background: #caa45d;
    color: #050505;
}

.news-more svg {
    transition: transform 0.3s ease;
}

.news-more:hover svg {
    transform: rotate(45deg);
}

/* ─── گرید کارت‌ها ─── */
.news-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}

/* کارت خبر */
.news-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(202, 164, 93, 0.12);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.4s ease;
    cursor: pointer;
}

.news-card:hover {
    border-color: rgba(202, 164, 93, 0.35);
    transform: translateY(-6px);
    box-shadow: 0 12px 35px rgba(202, 164, 93, 0.08);
    background: rgba(255, 255, 255, 0.04);
}

/* تصویر */
.news-image {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 10;
    overflow: hidden;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.news-card:hover .news-image img {
    transform: scale(1.06);
}

/* محتوای کارت */
.news-body {
    padding: 18px;
    text-align: right;
}

.news-date {
    display: block;
    color: #caa45d;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 10px;
    letter-spacing: 1px;
}

.news-body h4 {
    font-size: 15px;
    font-weight: 700;
    color: #fff;
    line-height: 1.6;
    margin-bottom: 10px;
    min-height: 48px;
}

.news-category {
    display: inline-block;
    font-size: 12px;
    color: #666;
    transition: color 0.3s ease;
}

.news-card:hover .news-category {
    color: #888;
}

/* ═══ انیمیشن اسکرول ═══ */
.news-card {
    opacity: 0;
    transform: translateY(40px);
}

.news-section.reveal.active .news-card {
    animation: newsFadeUp 0.7s ease forwards;
}

.news-section.reveal.active .news-card:nth-child(1) { animation-delay: 0.08s; }
.news-section.reveal.active .news-card:nth-child(2) { animation-delay: 0.16s; }
.news-section.reveal.active .news-card:nth-child(3) { animation-delay: 0.24s; }
.news-section.reveal.active .news-card:nth-child(4) { animation-delay: 0.32s; }

@keyframes newsFadeUp {
    from { opacity: 0; transform: translateY(40px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ═══ ریسپانسیو ═══ */
@media (max-width: 1199px) {
    .news-section {
        padding: 60px 30px;
    }
    .news-grid {
        gap: 18px;
    }
}

@media (max-width: 991px) {
    .news-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .news-header h2 {
        font-size: 26px;
    }
}

@media (max-width: 480px) {
    .news-section {
        padding: 50px 20px;
    }
    .news-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .news-header {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
    }
    .news-header h2 {
        font-size: 22px;
    }
    .news-body h4 {
        min-height: auto;
    }
}

/* ═══════════════════════════════════════
   PODCASTS LIST PAGE
   ═══════════════════════════════════════ */

.global-player-bar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    margin-top: 90px;
    background: rgba(10,10,10,0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(202,164,93,0.2);
    padding: 12px 40px;
    animation: slideDown 0.4s ease;
}
@keyframes slideDown {
    from { transform: translateY(-100%); }
    to { transform: translateY(0); }
}
.global-player-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 20px;
}
.global-player-inner img {
    width: 50px;
    height: 50px;
    border-radius: 8px;
    object-fit: cover;
    border: 1px solid rgba(202,164,93,0.3);
}
.global-player-info {
    flex: 0 0 200px;
}
.global-player-info h4 {
    font-size: 14px;
    color: #fff;
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.global-player-info span {
    font-size: 12px;
    color: #caa45d;
}
.global-player-controls {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 15px;
}
.global-play-btn {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #caa45d;
    border: none;
    color: #050505;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: 0.3s;
}
.global-play-btn:hover { transform: scale(1.1); }
.global-progress-wrap {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 10px;
}
.global-progress-wrap span {
    font-size: 12px;
    color: #888;
    font-variant-numeric: tabular-nums;
}
.global-progress-bar {
    flex: 1;
    height: 4px;
    background: rgba(255,255,255,0.1);
    border-radius: 2px;
    overflow: hidden;
}
.global-progress-bar div {
    height: 100%;
    background: #caa45d;
    width: 0%;
    transition: width 0.3s;
}
.global-close-btn {
    background: none;
    border: none;
    color: #888;
    font-size: 18px;
    cursor: pointer;
    transition: 0.3s;
}
.global-close-btn:hover { color: #caa45d; }

.podcasts-list-section {
    background: #050505;
    padding: 140px 40px 100px;
    min-height: 100vh;
}
.page-hero-title {
    text-align: center;
    margin-bottom: 60px;
}
.page-hero-title span {
    display: block;
    color: #caa45d;
    letter-spacing: 5px;
    font-size: 12px;
    margin-bottom: 15px;
}
.page-hero-title h1 {
    font-size: 48px;
    font-weight: 900;
    color: #fff;
    margin-bottom: 15px;
}
.page-hero-title p {
    font-size: 16px;
    color: #888;
}
.podcasts-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 25px;
    max-width: 1400px;
    margin: 0 auto;
}
.podcast-list-card {
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(202,164,93,0.12);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.4s ease;
}
.podcast-list-card:hover {
    border-color: rgba(202,164,93,0.35);
    transform: translateY(-6px);
    box-shadow: 0 15px 40px rgba(202,164,93,0.08);
}
.podcast-list-image {
    position: relative;
    aspect-ratio: 16/10;
    overflow: hidden;
}
.podcast-list-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.5s;
}
.podcast-list-card:hover .podcast-list-image img {
    transform: scale(1.08);
}
.podcast-list-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: 0.3s;
}
.podcast-list-card:hover .podcast-list-overlay {
    opacity: 1;
}
.podcast-preview-btn {
    background: #caa45d;
    border: none;
    color: #050505;
    padding: 10px 20px;
    border-radius: 30px;
    font-family: 'Vazirmatn', sans-serif;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: 0.3s;
}
.podcast-preview-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 20px rgba(202,164,93,0.3);
}
.podcast-list-body {
    padding: 18px;
    text-align: right;
}
.podcast-list-body h3 {
    font-size: 15px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 10px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.podcast-list-meta {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
    flex-wrap: wrap;
}
.podcast-topic, .podcast-episode {
    font-size: 12px;
    padding: 4px 12px;
    border-radius: 20px;
    background: rgba(202,164,93,0.1);
    color: #caa45d;
}
.podcast-detail-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #aaa;
    font-size: 13px;
    border-top: 1px solid rgba(255,255,255,0.06);
    padding-top: 12px;
    transition: 0.3s;
    text-decoration: none;
}
.podcast-detail-btn:hover {
    color: #caa45d;
}
.podcasts-empty {
    grid-column: 1 / -1;
    text-align: center;
    padding: 80px;
    color: #555;
}
.podcasts-empty i {
    margin-bottom: 20px;
    color: #caa45d;
    opacity: 0.5;
}
.podcasts-pagination {
    max-width: 1400px;
    margin: 50px auto 0;
    display: flex;
    justify-content: center;
}
.podcasts-pagination .pagination {
    gap: 8px;
}
.podcasts-pagination .page-link {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(202,164,93,0.15);
    color: #aaa;
    border-radius: 8px;
    padding: 10px 18px;
    font-size: 14px;
}
.podcasts-pagination .page-link:hover, 
.podcasts-pagination .page-item.active .page-link {
    background: #caa45d;
    border-color: #caa45d;
    color: #050505;
}

/* ═══════════════════════════════════════
   PODCAST DETAIL PAGE
   ═══════════════════════════════════════ */

.podcast-detail-section {
    background: #050505;
    padding: 140px 40px 100px;
    min-height: 100vh;
    color: #fff;
    font-family: 'Vazirmatn', sans-serif;
}
.podcast-detail-hero {
    display: flex;
    gap: 50px;
    align-items: flex-start;
    max-width: 1200px;
    margin: 0 auto 60px;
}
.podcast-detail-banner {
    flex: 0 0 40%;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(202,164,93,0.15);
}
.podcast-detail-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.podcast-detail-info {
    flex: 1;
}
.podcast-detail-label {
    display: inline-block;
    color: #caa45d;
    font-size: 12px;
    letter-spacing: 4px;
    border: 1px solid rgba(202,164,93,0.3);
    padding: 6px 18px;
    border-radius: 20px;
    margin-bottom: 20px;
}
.podcast-detail-info h1 {
    font-size: 36px;
    font-weight: 900;
    margin-bottom: 20px;
    line-height: 1.3;
}
.podcast-detail-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}
.podcast-detail-meta span {
    font-size: 14px;
    color: #aaa;
    display: flex;
    align-items: center;
    gap: 8px;
}
.podcast-detail-meta i {
    color: #caa45d;
}
.podcast-detail-player-wrap {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(202,164,93,0.15);
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 20px;
}
.podcast-detail-audio {
    width: 100%;
    height: 50px;
}
.podcast-detail-video-wrap {
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(202,164,93,0.15);
}
.podcast-detail-video {
    width: 100%;
    display: block;
}
.podcast-detail-desc {
    max-width: 1200px;
    margin: 0 auto 50px;
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(202,164,93,0.1);
    border-radius: 16px;
    padding: 35px;
}
.podcast-detail-desc h3 {
    font-size: 20px;
    color: #caa45d;
    margin-bottom: 20px;
}
.podcast-detail-desc p {
    font-size: 16px;
    color: #bbb;
    line-height: 2.2;
    margin: 0;
}
.podcast-detail-speakers {
    max-width: 1200px;
    margin: 0 auto 50px;
}
.podcast-detail-speakers h3 {
    font-size: 20px;
    color: #caa45d;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.speakers-list {
    display: flex;
    gap: 25px;
    flex-wrap: wrap;
}
.speaker-item {
    text-align: center;
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(202,164,93,0.1);
    border-radius: 16px;
    padding: 25px;
    min-width: 140px;
    transition: 0.3s;
}
.speaker-item:hover {
    border-color: rgba(202,164,93,0.3);
    transform: translateY(-5px);
}
.speaker-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 15px;
    border: 2px solid rgba(202,164,93,0.2);
}
.speaker-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.speaker-avatar-placeholder {
    width: 100%;
    height: 100%;
    background: rgba(202,164,93,0.1);
    color: #caa45d;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    font-weight: 700;
}
.speaker-name {
    font-size: 15px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 5px;
}
.speaker-role {
    font-size: 12px;
    color: #caa45d;
}
.podcast-detail-back {
    max-width: 1200px;
    margin: 0 auto;
}
.podcast-back-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #caa45d;
    border: 1px solid #caa45d;
    padding: 12px 28px;
    border-radius: 8px;
    text-decoration: none;
    transition: 0.3s;
    font-size: 14px;
}
.podcast-back-btn:hover {
    background: #caa45d;
    color: #050505;
}

/* ═══ ریسپانسیو ═══ */
@media (max-width: 1400px) {
    .podcasts-grid { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 1100px) {
    .podcasts-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 992px) {
    .podcast-detail-hero { flex-direction: column; }
    .podcast-detail-banner { flex: none; width: 100%; }
    .podcast-detail-info h1 { font-size: 28px; }
}
@media (max-width: 768px) {
    .podcasts-list-section { padding: 120px 20px 60px; }
    .page-hero-title h1 { font-size: 32px; }
    .podcasts-grid { grid-template-columns: repeat(2, 1fr); gap: 15px; }
    .global-player-inner { gap: 10px; padding: 0 10px; }
    .global-player-info { flex: 0 0 120px; }
    .podcast-detail-section { padding: 120px 20px 60px; }
    .speakers-list { justify-content: center; }
}
@media (max-width: 480px) {
    .podcasts-grid { grid-template-columns: 1fr; }
    .global-player-info h4 { font-size: 12px; }
}

/* ═══════════════════════════════════════
   COURSES LIST PAGE
   ═══════════════════════════════════════ */
/* ─── بنر دوره ─── */
.course-list-banner {
    width: 100%;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    border-radius: 12px;
    margin-bottom: 16px;
    background: #111;
}

.course-list-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.course-banner-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.course-banner-placeholder svg {
    width: 50%;
    height: auto;
    max-height: 80%;
}
.courses-list-section {
    min-height: 100vh;
    background: #050505;
    padding: 120px 40px 100px;
    color: #fff;
    font-family: "Vazirmatn", sans-serif;
}

.courses-list-container {
    max-width: 1400px;
    margin: 0 auto;
}

.courses-list-header {
    text-align: center;
    margin-bottom: 60px;
}

.courses-list-header span {
    display: block;
    color: #caa45d;
    letter-spacing: 5px;
    font-size: 12px;
    margin-bottom: 10px;
}

.courses-list-header h2 {
    font-size: 48px;
    font-weight: 900;
    margin: 0;
}

/* گرید ۵ ستونه */
.courses-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 22px;
}

/* کارت دوره */
.course-list-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(202, 164, 93, 0.12);
    border-radius: 16px;
    padding: 28px 18px;
    text-align: center;
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.course-list-card:hover {
    border-color: rgba(202, 164, 93, 0.35);
    transform: translateY(-6px);
    box-shadow: 0 12px 35px rgba(202, 164, 93, 0.08);
    background: rgba(255, 255, 255, 0.04);
}

/* آیکون */
.course-list-icon {
    width: 52px;
    height: 52px;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.course-list-icon svg {
    width: 100%;
    height: 100%;
    stroke: #caa45d;
    opacity: 0.9;
}

.course-list-icon i {
    font-size: 52px;
    color: #caa45d;
}

/* بدنه کارت */
.course-list-body {
    width: 100%;
}

.course-list-body h3 {
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 6px;
    line-height: 1.4;
}

.course-subject {
    font-size: 12px;
    color: #888;
    margin-bottom: 8px;
    line-height: 1.6;
}

.course-type-badge {
    display: inline-block;
    font-size: 11px;
    color: #caa45d;
    border: 1px solid rgba(202, 164, 93, 0.3);
    padding: 3px 12px;
    border-radius: 20px;
    margin-bottom: 10px;
    font-weight: 600;
}

/* تاریخ */
.course-date {
    margin-top: 8px;
    padding-top: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.course-date small {
    display: block;
    font-size: 10px;
    color: #666;
    margin-bottom: 2px;
    letter-spacing: 1px;
}

.course-date span {
    display: block;
    font-size: 13px;
    color: #caa45d;
    font-weight: 600;
}

/* خالی */
.courses-empty {
    grid-column: 1 / -1;
    text-align: center;
    padding: 80px 20px;
    color: #555;
}

/* صفحه‌بندی */
.courses-pagination {
    margin-top: 50px;
    display: flex;
    justify-content: center;
}

.courses-pagination .pagination {
    gap: 8px;
}

.courses-pagination .page-link {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(202, 164, 93, 0.15);
    color: #aaa;
    border-radius: 8px;
    padding: 10px 18px;
    font-size: 14px;
    transition: all 0.3s ease;
}

.courses-pagination .page-link:hover,
.courses-pagination .page-item.active .page-link {
    background: #caa45d;
    border-color: #caa45d;
    color: #050505;
}

/* ═══ ریسپانسیو ═══ */
@media (max-width: 1400px) {
    .courses-grid { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 1100px) {
    .courses-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
    .courses-list-section { padding: 120px 20px 60px; }
    .courses-list-header h2 { font-size: 32px; }
    .courses-grid { grid-template-columns: repeat(2, 1fr); gap: 15px; }
}

@media (max-width: 480px) {
    .courses-grid { grid-template-columns: 1fr; }
    .courses-list-header h2 { font-size: 26px; }
}



/* ═══════════════════════════════════════
   COURSE DETAIL — PROFESSIONAL DESIGN
   ═══════════════════════════════════════ */

/* ─── HERO ─── */
.cd-hero {
    min-height: 60vh;
    position: relative;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    background-size: cover;
    background-position: center;
    padding: 380px 20px 80px;
}

.cd-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(5, 5, 5, 0.3) 0%,
        rgba(5, 5, 5, 0.6) 50%,
        rgba(5, 5, 5, 0.95) 100%
    );
}

.cd-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 900px;
}

.cd-hero-type {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #050505;
    background: linear-gradient(135deg, #caa45d, #dbb76a);
    padding: 14px 40px;
    border-radius: 50px;
    font-size: 20px;
    font-weight: 800;
    letter-spacing: 2px;
    margin-bottom: 25px;
    box-shadow: 0 8px 30px rgba(202, 164, 93, 0.4), 0 0 60px rgba(202, 164, 93, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.15);
    text-shadow: none;
    position: relative;
    overflow: hidden;
}

.cd-hero-type::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.25), transparent 70%);
    opacity: 0;
    transition: opacity 0.5s ease;
}

.cd-hero-type:hover::before {
    opacity: 1;
}

/* آیکون کنار نوع دوره */
.cd-hero-type::after {
    content: "";
    width: 10px;
    height: 10px;
    background: #050505;
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 0 10px rgba(5,5,5,0.5);
}

.cd-hero-content h1 {
    font-size: clamp(32px, 5vw, 56px);
    font-weight: 900;
    line-height: 1.2;
    color: #fff;
    margin-bottom: 15px;
}

.cd-hero-subject {
    font-size: 18px;
    color: #ccc;
    font-weight: 400;
}

/* ─── META BAR ─── */
.cd-meta-bar {
    background: #080808;
    border-bottom: 1px solid rgba(202, 164, 93, 0.1);
    padding: 25px 20px;
}

.cd-meta-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.cd-meta-item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #fff;
}

.cd-meta-item > i {
    font-size: 22px;
    color: #caa45d;
    width: 30px;
    text-align: center;
}

.cd-meta-item div {
    display: flex;
    flex-direction: column;
}

.cd-meta-item span {
    font-size: 11px;
    color: #888;
    letter-spacing: 1px;
    margin-bottom: 2px;
}

.cd-meta-item strong {
    font-size: 15px;
    font-weight: 700;
    color: #fff;
}

.cd-status {
    padding: 2px 10px;
    border-radius: 20px;
    font-size: 12px;
}

.cd-status--open_for_registration {
    background: rgba(40, 167, 69, 0.15);
    color: #28a745;
}

.cd-status--ended {
    background: rgba(220, 53, 69, 0.15);
    color: #dc3545;
}

.cd-status--preparing {
    background: rgba(255, 193, 7, 0.15);
    color: #ffc107;
}

/* ─── MAIN LAYOUT ─── */
.cd-main {
    background: #050505;
    padding: 50px 20px 80px;
}

.cd-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 35px;
    align-items: start;
}

/* ─── CONTENT CARDS ─── */
.cd-content {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.cd-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(202, 164, 93, 0.08);
    border-radius: 16px;
    padding: 28px 30px;
    transition: all 0.3s ease;
}

.cd-card:hover {
    border-color: rgba(202, 164, 93, 0.2);
    background: rgba(255, 255, 255, 0.03);
}

.cd-card h3 {
    font-size: 16px;
    color: #caa45d;
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.cd-card h3 i {
    font-size: 14px;
    opacity: 0.8;
}

.cd-card p {
    font-size: 15px;
    color: #bbb;
    line-height: 2;
    margin: 0;
}

.cd-card--intro {
    background: linear-gradient(135deg, rgba(202, 164, 93, 0.08), rgba(202, 164, 93, 0.02));
    border-color: rgba(202, 164, 93, 0.2);
    position: relative;
    overflow: hidden;
}

.cd-card-icon {
    position: absolute;
    top: 15px;
    left: 20px;
    font-size: 48px;
    color: rgba(202, 164, 93, 0.1);
}

.cd-card--highlight {
    background: rgba(202, 164, 93, 0.05);
    border-color: rgba(202, 164, 93, 0.25);
}

.cd-syllabus,
.cd-educational {
    font-size: 15px;
    color: #bbb;
    line-height: 2.2;
}

/* ─── FILES SECTION ─── */
.cd-card--files {
    background: rgba(255, 255, 255, 0.015);
}

.cd-files-count {
    font-size: 12px;
    color: #666;
    font-weight: 400;
    margin-right: auto;
}

.cd-files-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.cd-file-box {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 14px;
    padding: 18px;
    transition: all 0.3s ease;
}

.cd-file-box:hover {
    border-color: rgba(202, 164, 93, 0.25);
    transform: translateY(-3px);
}

.cd-file-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.cd-file-num {
    font-size: 12px;
    color: #555;
    font-weight: 700;
}

.cd-file-type {
    font-size: 11px;
    padding: 3px 10px;
    border-radius: 20px;
    font-weight: 600;
}

.cd-file-type--video {
    background: rgba(23, 162, 184, 0.15);
    color: #17a2b8;
}

.cd-file-type--audio {
    background: rgba(202, 164, 93, 0.15);
    color: #caa45d;
}

.cd-file-name {
    font-size: 14px;
    color: #ddd;
    margin-bottom: 12px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-weight: 600;
}

.cd-file-player video,
.cd-file-player audio {
    width: 100%;
    border-radius: 10px;
    background: #0a0a0a;
}

.cd-file-player video {
    aspect-ratio: 16/9;
    object-fit: cover;
}

/* ─── SIDEBAR ─── */
.cd-sidebar {
    display: flex;
    flex-direction: column;
    gap: 20px;
    position: sticky;
    top: 100px;
}

.cd-sidebar-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(202, 164, 93, 0.1);
    border-radius: 16px;
    padding: 24px;
}

.cd-sidebar-card h4 {
    font-size: 14px;
    color: #caa45d;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Register Card */
.cd-register-card {
    background: linear-gradient(135deg, rgba(202, 164, 93, 0.1), rgba(202, 164, 93, 0.02));
    border-color: rgba(202, 164, 93, 0.3);
    text-align: center;
}

.cd-register-price {
    margin-bottom: 18px;
}

.cd-price-amount {
    font-size: 36px;
    font-weight: 900;
    color: #caa45d;
}

.cd-price-unit {
    font-size: 14px;
    color: #888;
    margin-right: 4px;
}

.cd-price-free {
    font-size: 32px;
    font-weight: 900;
    color: #28a745;
}

.cd-register-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    background: #caa45d;
    color: #050505;
    padding: 14px;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 800;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: "Vazirmatn", sans-serif;
}

.cd-register-btn:hover {
    background: #dbb76a;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(202, 164, 93, 0.3);
}

.cd-register-btn--disabled {
    background: #2a2a2a;
    color: #666;
    cursor: not-allowed;
}

.cd-register-btn--disabled:hover {
    transform: none;
    box-shadow: none;
}

.cd-register-hint {
    font-size: 12px;
    color: #666;
    margin-top: 10px;
    margin-bottom: 0;
}

/* Preview Video */
.cd-preview-video video {
    width: 100%;
    border-radius: 10px;
    aspect-ratio: 16/9;
    object-fit: cover;
    background: #0a0a0a;
}

/* Info Card */
.cd-info-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.cd-info-card li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: #bbb;
}

.cd-info-card li i {
    color: #caa45d;
    width: 18px;
    text-align: center;
    font-size: 13px;
}

.cd-info-card li span {
    color: #888;
    margin-left: 4px;
}

/* ─── BACK ─── */
.cd-back {
    background: #050505;
    padding: 0 20px 60px;
    text-align: center;
}

.cd-back-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #caa45d;
    border: 1px solid rgba(202, 164, 93, 0.3);
    padding: 12px 28px;
    border-radius: 10px;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 14px;
}

.cd-back-btn:hover {
    background: #caa45d;
    color: #050505;
    border-color: #caa45d;
}

/* ─── FILES LIST (Offline Mode) ─── */
.cd-files-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.cd-file-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    padding: 14px 18px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.cd-file-row:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(202, 164, 93, 0.2);
    transform: translateX(-4px);
}

.cd-file-row-info {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
    min-width: 0;
}

.cd-file-row-num {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(202, 164, 93, 0.15);
    color: #caa45d;
    font-size: 12px;
    font-weight: 700;
    border-radius: 50%;
    flex-shrink: 0;
}

.cd-file-row-info i {
    color: #caa45d;
    font-size: 14px;
    flex-shrink: 0;
}

.cd-file-row-name {
    font-size: 14px;
    color: #ddd;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.cd-file-download {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #caa45d;
    color: #050505;
    padding: 8px 18px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    flex-shrink: 0;
    font-family: "Vazirmatn", sans-serif;
}

.cd-file-download:hover {
    background: #dbb76a;
    transform: scale(1.05);
    box-shadow: 0 5px 20px rgba(202, 164, 93, 0.3);
}

.cd-file-download i {
    font-size: 12px;
}

/* ═══ RESPONSIVE ═══ */
@media (max-width: 992px) {
    .cd-container {
        grid-template-columns: 1fr;
    }
    .cd-sidebar {
        position: static;
        order: -1;
    }
    .cd-register-card {
        max-width: 400px;
        margin: 0 auto;
    }
    .cd-files-grid {
        grid-template-columns: 1fr;
    }
    .cd-meta-inner {
        gap: 25px;
    }
}
@media (max-width: 768px) {
    .hero-title,
    .hero-text {
    text-align: right;
    
        
    }
    .hero-title span {
        display: block;
    }
    .hero-actions {
        justify-content: flex-end;
    }
}
@media (max-width: 576px) {
    .cd-hero {
        padding: 200px 15px 50px;
        min-height: 45vh;
    }
    .cd-hero-content h1 {
        font-size: 26px;
    }
    .cd-hero-subject {
        font-size: 14px;
    }
    .cd-card {
        padding: 20px;
    }
    .cd-meta-item > i {
        font-size: 18px;
    }
    .cd-meta-item strong {
        font-size: 13px;
    }
    .cd-sidebar-card {
        padding: 18px;
    }
    .cd-price-amount {
        font-size: 28px;
    }

    /* ═══════════════════════════════════════
   HEADER USER AVATAR
   ═══════════════════════════════════════ */
.user-menu-dropdown {
    position: relative;
}
.user-avatar-link {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #fff;
    text-decoration: none;
    padding: 6px 12px;
    border-radius: 8px;
    transition: all 0.3s ease;
}
.user-avatar-link:hover {
    background: rgba(202, 164, 93, 0.1);
    color: #caa45d;
}
.user-avatar-img {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #caa45d;
}
.user-avatar-placeholder {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(202, 164, 93, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #caa45d;
}
.user-avatar-placeholder i {
    color: #caa45d;
    font-size: 14px;
}
.user-name {
    font-size: 14px;
    font-weight: 600;
}

/* ═══════════════════════════════════════
   LOGIN & PAYMENT MODALS
   ═══════════════════════════════════════ */
.modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}
.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}
.modal-box {
    background: #0d0d0d;
    border: 1px solid rgba(202, 164, 93, 0.2);
    border-radius: 20px;
    padding: 35px 30px;
    width: 92%;
    max-width: 420px;
    position: relative;
    transform: translateY(30px) scale(0.95);
    transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}
.modal-overlay.active .modal-box {
    transform: translateY(0) scale(1);
}
.modal-box--payment {
    max-width: 460px;
}
.modal-close {
    position: absolute;
    top: 15px;
    left: 18px;
    background: none;
    border: none;
    color: #888;
    font-size: 28px;
    cursor: pointer;
    transition: 0.3s;
    line-height: 1;
}
.modal-close:hover {
    color: #caa45d;
}
.modal-header {
    text-align: center;
    margin-bottom: 25px;
}
.modal-header h3 {
    font-size: 18px;
    color: #caa45d;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}
.modal-header p {
    font-size: 13px;
    color: #888;
    margin: 0;
}

.form-group {
    margin-bottom: 16px;
}
.form-group label {
    display: block;
    font-size: 12px;
    color: #aaa;
    margin-bottom: 6px;
    letter-spacing: 1px;
}
.form-input {
    width: 100%;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    padding: 12px 15px;
    color: #fff;
    font-size: 14px;
    font-family: "Vazirmatn", sans-serif;
    transition: all 0.3s ease;
    outline: none;
}
.form-input:focus {
    border-color: #caa45d;
    background: rgba(255, 255, 255, 0.06);
}
.alert-error {
    background: rgba(220, 53, 69, 0.1);
    color: #ff6b6b;
    padding: 10px 14px;
    border-radius: 8px;
    font-size: 13px;
    margin-bottom: 15px;
    border: 1px solid rgba(220, 53, 69, 0.2);
}

.btn-submit {
    width: 100%;
    background: #caa45d;
    color: #050505;
    border: none;
    padding: 14px;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 800;
    font-family: "Vazirmatn", sans-serif;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 8px;
}
.btn-submit:hover {
    background: #dbb76a;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(202, 164, 93, 0.25);
}
.btn-submit--payment {
    background: linear-gradient(135deg, #28a745, #20c997);
}
.btn-submit--payment:hover {
    background: linear-gradient(135deg, #218838, #1ba87e);
    box-shadow: 0 10px 30px rgba(40, 167, 69, 0.25);
}

.modal-footer {
    margin-top: 22px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    text-align: center;
}
.modal-footer p {
    font-size: 13px;
    color: #888;
    margin-bottom: 10px;
}
.btn-register-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #caa45d;
    border: 1px solid rgba(202, 164, 93, 0.3);
    padding: 10px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
}
.btn-register-link:hover {
    background: #caa45d;
    color: #050505;
}

.payment-info {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(202, 164, 93, 0.1);
    border-radius: 12px;
    padding: 18px;
    margin-bottom: 20px;
}
.payment-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    font-size: 14px;
}
.payment-row:last-child {
    margin-bottom: 0;
}
.payment-row span {
    color: #888;
}
.payment-row strong {
    color: #fff;
}
.payment-price {
    color: #caa45d !important;
    font-size: 18px;
}
.payment-note {
    text-align: center;
    font-size: 12px;
    color: #666;
    margin-top: 15px;
    margin-bottom: 0;
}
.payment-note i {
    color: #caa45d;
}

/* دکمه ثبت‌نام موفق */
.cd-register-btn--success {
    background: #28a745 !important;
    color: #fff !important;
    cursor: default;
}
.cd-register-btn--success:hover {
    transform: none !important;
    box-shadow: none !important;
}

/* فایل قفل شده */
.cd-file-locked {
    font-size: 12px;
    color: #666;
    padding: 6px 14px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 6px;
}

}

/* ═══ MODALS ═══ */
.modal-overlay{position:fixed;inset:0;z-index:9999;background:rgba(0,0,0,0.85);backdrop-filter:blur(8px);display:flex;align-items:center;justify-content:center;opacity:0;visibility:hidden;transition:all 0.3s ease;}
.modal-overlay.active{opacity:1;visibility:visible;}
.modal-box{background:#0d0d0d;border:1px solid rgba(202,164,93,0.2);border-radius:20px;padding:35px 30px;width:92%;max-width:420px;position:relative;transform:translateY(30px) scale(0.95);transition:all 0.4s cubic-bezier(0.22,1,0.36,1);}
.modal-overlay.active .modal-box{transform:translateY(0) scale(1);}
.modal-box--payment{max-width:460px;}
.modal-close{position:absolute;top:15px;left:18px;background:none;border:none;color:#888;font-size:28px;cursor:pointer;transition:0.3s;line-height:1;}
.modal-close:hover{color:#caa45d;}
.modal-header{text-align:center;margin-bottom:25px;}
.modal-header h3{font-size:18px;color:#caa45d;margin-bottom:8px;display:flex;align-items:center;justify-content:center;gap:10px;}
.modal-header p{font-size:13px;color:#888;margin:0;}
.form-group{margin-bottom:16px;}
.form-group label{display:block;font-size:12px;color:#aaa;margin-bottom:6px;}
.form-input{width:100%;background:rgba(255,255,255,0.04);border:1px solid rgba(255,255,255,0.08);border-radius:10px;padding:12px 15px;color:#fff;font-size:14px;font-family:"Vazirmatn",sans-serif;transition:all 0.3s ease;outline:none;}
.form-input:focus{border-color:#caa45d;background:rgba(255,255,255,0.06);}
.alert-error{background:rgba(220,53,69,0.1);color:#ff6b6b;padding:10px 14px;border-radius:8px;font-size:13px;margin-bottom:15px;border:1px solid rgba(220,53,69,0.2);display:none;}
.btn-submit{width:100%;background:#caa45d;color:#050505;border:none;padding:14px;border-radius:10px;font-size:15px;font-weight:800;font-family:"Vazirmatn",sans-serif;cursor:pointer;transition:all 0.3s ease;display:flex;align-items:center;justify-content:center;gap:8px;margin-top:8px;}
.btn-submit:hover{background:#dbb76a;transform:translateY(-2px);box-shadow:0 10px 30px rgba(202,164,93,0.25);}
.btn-submit--payment{background:linear-gradient(135deg,#28a745,#20c997);}
.btn-submit--payment:hover{background:linear-gradient(135deg,#218838,#1ba87e);}
.modal-footer{margin-top:22px;padding-top:20px;border-top:1px solid rgba(255,255,255,0.06);text-align:center;}
.modal-footer p{font-size:13px;color:#888;margin-bottom:10px;}
.btn-register-link{display:inline-flex;align-items:center;gap:8px;color:#caa45d;border:1px solid rgba(202,164,93,0.3);padding:10px 24px;border-radius:8px;text-decoration:none;font-size:14px;font-weight:600;transition:all 0.3s ease;}
.btn-register-link:hover{background:#caa45d;color:#050505;}
.payment-info{background:rgba(255,255,255,0.02);border:1px solid rgba(202,164,93,0.1);border-radius:12px;padding:18px;margin-bottom:20px;}
.payment-row{display:flex;justify-content:space-between;align-items:center;margin-bottom:10px;font-size:14px;}
.payment-row:last-child{margin-bottom:0;}
.payment-row span{color:#888;}
.payment-row strong{color:#fff;}
.payment-price{color:#caa45d!important;font-size:18px;}
.cd-register-btn--success{background:#28a745!important;color:#fff!important;cursor:default;}
.cd-file-locked{font-size:12px;color:#666;padding:6px 14px;background:rgba(255,255,255,0.03);border-radius:6px;}

/* ═══ USER DROPDOWN MENU ═══ */
.user-dropdown {
    position: relative;
}
.user-dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 8px;
    background: none;
    border: none;
    color: #fff;
    font-family: "Vazirmatn", sans-serif;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    padding: 6px 12px;
    border-radius: 10px;
    transition: all 0.3s ease;
}
.user-dropdown-toggle:hover {
    background: rgba(202, 164, 93, 0.1);
    color: #caa45d;
}
.user-avatar-img {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #caa45d;
}
.user-avatar-placeholder {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(202, 164, 93, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #caa45d;
}
.user-avatar-placeholder i {
    color: #caa45d;
    font-size: 14px;
}
.user-name {
    font-size: 14px;
    font-weight: 600;
}
.user-chevron {
    font-size: 10px;
    color: #888;
    transition: transform 0.3s ease;
}
.user-dropdown.active .user-chevron {
    transform: rotate(180deg);
}

/* منوی بازشو */
.user-dropdown-menu {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    min-width: 260px;
    background: #0d0d0d;
    border: 1px solid rgba(202, 164, 93, 0.15);
    border-radius: 16px;
    padding: 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px) scale(0.95);
    transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
    z-index: 9999;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    overflow: hidden;
}
.user-dropdown.active .user-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

/* هدر منو */
.user-dropdown-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 18px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.user-dropdown-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #caa45d;
}
.user-dropdown-avatar-placeholder {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(202, 164, 93, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #caa45d;
}
.user-dropdown-avatar-placeholder i {
    color: #caa45d;
    font-size: 18px;
}
.user-dropdown-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.user-dropdown-info strong {
    font-size: 14px;
    color: #fff;
    font-weight: 700;
}
.user-dropdown-info span {
    font-size: 12px;
    color: #888;
}

/* آیتم‌های منو */
.user-dropdown-body {
    padding: 8px;
}
.user-dropdown-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    border-radius: 10px;
    color: #ccc;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    transition: all 0.25s ease;
}
.user-dropdown-item:hover {
    background: rgba(202, 164, 93, 0.08);
    color: #caa45d;
}
.user-dropdown-item i {
    width: 20px;
    text-align: center;
    font-size: 14px;
    color: #caa45d;
}

/* فوتر منو - خروج */
.user-dropdown-footer {
    padding: 8px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}
.user-dropdown-logout {
    color: #ff6b6b;
}
.user-dropdown-logout:hover {
    background: rgba(220, 53, 69, 0.08);
    color: #ff6b6b;
}
.user-dropdown-logout i {
    color: #ff6b6b;
}

.flash-message {
    position: fixed;
    top: 100px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 9998;
    padding: 14px 28px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.3);
    animation: flashSlide 0.4s ease;
}
.flash-success {
    background: rgba(40, 167, 69, 0.15);
    color: #28a745;
    border: 1px solid rgba(40, 167, 69, 0.3);
}
.flash-error {
    background: rgba(220, 53, 69, 0.15);
    color: #dc3545;
    border: 1px solid rgba(220, 53, 69, 0.3);
}
.flash-message button {
    background: none;
    border: none;
    color: inherit;
    font-size: 18px;
    cursor: pointer;
    margin-right: 8px;
    opacity: 0.7;
}
.flash-message button:hover { opacity: 1; }
@keyframes flashSlide {
    from { transform: translateX(-50%) translateY(-20px); opacity: 0; }
    to { transform: translateX(-50%) translateY(0); opacity: 1; }
}

.payment-result-section {
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
}
.payment-result-box {
    background: #0d0d0d;
    border: 1px solid rgba(202, 164, 93, 0.15);
    border-radius: 20px;
    padding: 50px 40px;
    text-align: center;
    max-width: 420px;
    width: 100%;
}
.payment-result-icon {
    font-size: 64px;
    margin-bottom: 20px;
}
.payment-result-icon.success { color: #28a745; }
.payment-result-icon.error { color: #dc3545; }
.payment-result-box h2 {
    font-size: 22px;
    color: #fff;
    margin-bottom: 12px;
}
.payment-result-box p {
    color: #888;
    font-size: 14px;
    margin-bottom: 24px;
}
.ref-id {
    background: rgba(202, 164, 93, 0.08);
    border: 1px solid rgba(202, 164, 93, 0.2);
    padding: 14px;
    border-radius: 10px;
    margin-bottom: 24px;
}
.ref-id span { color: #888; font-size: 13px; display: block; margin-bottom: 4px; }
.ref-id strong { color: #caa45d; font-size: 18px; letter-spacing: 1px; }
.btn-submit--secondary {
    background: transparent;
    border: 1px solid rgba(202, 164, 93, 0.3);
    color: #caa45d;
}
.btn-submit--secondary:hover {
    background: #caa45d;
    color: #050505;
}

.payment-result-section {
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
}
.payment-result-box {
    background: #0d0d0d;
    border: 1px solid rgba(202, 164, 93, 0.15);
    border-radius: 20px;
    padding: 50px 40px;
    text-align: center;
    max-width: 420px;
    width: 100%;
}
.payment-result-icon {
    font-size: 64px;
    margin-bottom: 20px;
}
.payment-result-icon.success { color: #28a745; }
.payment-result-icon.error { color: #dc3545; }
.payment-result-box h2 {
    font-size: 22px;
    color: #fff;
    margin-bottom: 12px;
}
.payment-result-box p {
    color: #888;
    font-size: 14px;
    margin-bottom: 24px;
}
.ref-id {
    background: rgba(202, 164, 93, 0.08);
    border: 1px solid rgba(202, 164, 93, 0.2);
    padding: 14px;
    border-radius: 10px;
    margin-bottom: 24px;
}
.ref-id span { color: #888; font-size: 13px; display: block; margin-bottom: 4px; }
.ref-id strong { color: #caa45d; font-size: 18px; letter-spacing: 1px; }
.btn-submit--secondary {
    background: transparent;
    border: 1px solid rgba(202, 164, 93, 0.3);
    color: #caa45d;
}
.btn-submit--secondary:hover {
    background: #caa45d;
    color: #050505;
}
/* ═══ فراموشی رمز عبور ═══ */
.forgot-link {
    display: block;
    text-align: left;
    margin-top: 6px;
    font-size: 12px;
    color: #caa45d;
    text-decoration: none;
    transition: 0.3s;
}
.forgot-link:hover {
    color: #dbb76a;
    text-decoration: underline;
}
.btn-submit--secondary {
    background: transparent;
    border: 1px solid rgba(202, 164, 93, 0.3);
    color: #caa45d;
}
.btn-submit--secondary:hover {
    background: rgba(202, 164, 93, 0.08);
    color: #caa45d;
}

