/* ══════════════════════════════════════
   GAME PAGE – استایل‌های نهایی
══════════════════════════════════════ */

/* Breadcrumb (بدون تغییر) */
.breadcrumb-nav { margin-bottom: 24px; }
.breadcrumb-list {
    display: flex; align-items: center; gap: 10px;
    flex-wrap: nowrap; padding: 0; list-style: none;
}
.breadcrumb-item { font-size: var(--fs-sm); font-weight: 300; }
.breadcrumb-item a { color: var(--text-muted); text-decoration: none; transition: color 0.2s; }
.breadcrumb-item a:hover { color: var(--color-blue); }
.breadcrumb-item.active span { color: var(--color-blue); font-weight: 500; }
.breadcrumb-separator { color: var(--text-muted); opacity: 0.5; user-select: none; }

/* ═══ هیرو ═══ */
.game-hero {
    position: relative;
    padding: calc(var(--header-height) + 64px) 0 80px;
    overflow: hidden;
    min-height: 90vh;
    display: flex; align-items: center;
}

/* پس‌زمینه جدید: ذرات نقطه‌چین شناور */
.game-hero-bg {
    position: absolute; inset: 0; pointer-events: none;
}
.game-hero-glow {
    position: absolute; border-radius: 50%;
    filter: blur(100px); opacity: 0.18;
}
.game-hero-glow--blue {
    width: 600px; height: 600px;
    background: var(--color-blue);
    top: -200px; right: -150px;
    animation: floatBubble 8s ease-in-out infinite alternate;
}
.game-hero-glow--gold {
    width: 500px; height: 500px;
    background: var(--color-gold);
    bottom: -200px; left: -100px;
    animation: floatBubble 10s ease-in-out infinite alternate-reverse;
}
.game-hero-glow--red {
    width: 300px; height: 300px;
    background: var(--color-red);
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0.08;
    animation: floatBubble 12s linear infinite;
}

/* بافت نقطه‌چین */
.game-hero-dots {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, rgba(255, 255, 255, 0.25) 1.5px, transparent 1.5px);
    background-size: 40px 40px;
    animation: dotMove 20s linear infinite;
    mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 30%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 30%, transparent 70%);
}
@keyframes dotMove {
    0% { background-position: 0 0; }
    100% { background-position: 40px 40px; }
}
@keyframes floatBubble {
    0% { transform: translate(0,0) scale(1); }
    100% { transform: translate(30px, -30px) scale(1.15); }
}

.game-hero-inner {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 48px; align-items: center; position: relative; z-index: 2;
    margin-top: 16px;
}

/* ── محتوای متنی ── */
.game-hero-content {
    display: flex; flex-direction: column; gap: 20px;
    animation: fadeInUp 0.7s ease both;
}
.game-hero-title {
    font-family: var(--font-display); font-weight: 900;
    font-size: clamp(2.4rem, 5vw, 3.8rem); color: var(--text-white);
    line-height: 1.2; display: flex; flex-wrap: wrap; align-items: baseline; gap: 12px;
}
.game-hero-subtitle {
    font-size: 0.9em; color: var(--color-gold); font-weight: 700;
}
.game-hero-desc {
    font-weight: 300; font-size: var(--fs-base);
    color: var(--text-secondary); line-height: 1.9;
}
.game-hero-cta {
    display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-top: 8px;
}

/* ── تصویر (قاب موبایل) ── */
.game-hero-image {
    display: flex; justify-content: center; align-items: center;
    animation: fadeInRight 0.8s ease 0.2s both;
    perspective: 500px;
}
.phone-mockup {
    position: relative;
    width: 280px; height: 560px;
    background: #1a1b1f;
    border-radius: 36px;
    border: 4px solid rgba(255,255,255,0.15);
    box-shadow: 0 30px 50px rgba(0,0,0,0.6), inset 0 0 20px rgba(0,0,0,0.4);
    overflow: hidden;
    transition: transform 0.3s ease;
}
.phone-mockup:hover {
    transform: rotateY(-5deg) rotateX(3deg);
}
.phone-mockup::before {
    content: '';
    position: absolute;
    top: 12px; left: 50%; transform: translateX(-50%);
    width: 60px; height: 6px;
    background: rgba(255,255,255,0.2); border-radius: 20px;
    z-index: 5;
}
.phone-mockup img {
    width: 100%; height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 32px;
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInRight {
    from { opacity: 0; transform: translateX(30px); }
    to   { opacity: 1; transform: translateX(0); }
}

/* ══════════════════════════════════════
   پاپ‌آپ دانلود (بازطراحی‌شده)
══════════════════════════════════════ */

.dl-modal-overlay {
    position: fixed; inset: 0;
    background: rgba(0,0,0,0.7);
    backdrop-filter: blur(8px);
    z-index: 10000;
    display: flex; align-items: center; justify-content: center;
    opacity: 0; visibility: hidden;
    transition: 0.3s;
}
.dl-modal-overlay.open {
    opacity: 1; visibility: visible;
}

.dl-modal {
    background: rgba(20,22,32,0.8);
    backdrop-filter: blur(30px);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 24px;
    padding: 32px 24px;
    width: 90%; max-width: 420px;
    text-align: center; position: relative;
    transform: translateY(20px);
    transition: 0.3s;
}
.dl-modal-overlay.open .dl-modal {
    transform: translateY(0);
}

.dl-modal-close {
    position: absolute; top: 12px; left: 12px;
    background: none; border: none;
    color: var(--text-muted); font-size: 28px;
    cursor: pointer; line-height: 1;
}

/* هدر پاپ‌آپ */
.dl-modal-header {
    display: flex; flex-direction: column; align-items: center;
    gap: 12px; margin-bottom: 28px;
}
.dl-modal-logo {
    width: 80px; height: 80px;
    border-radius: 50%;
    border: 2px solid var(--color-gold);
    object-fit: cover;
    box-shadow: 0 0 20px rgba(207,169,12,0.3);
}
.dl-modal-game-title {
    font-family: var(--font-display);
    font-weight: 900; font-size: 1.4rem;
    color: var(--text-white);
}

/* دکمه‌های دانلود */
.dl-modal-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}
.dl-modal .dl-btn {
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    gap: 6px; padding: 14px 8px;
    border-radius: 16px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.08);
    color: #fff; text-decoration: none;
    font-weight: 500; font-size: 0.9rem;
    transition: 0.2s;
}
.dl-modal .dl-btn:hover {
    transform: translateY(-3px);
}
.dl-btn-bazaar:hover {
    background: rgba(46,204,113,0.2); border-color: #2ecc71;
    box-shadow: 0 0 15px rgba(46,204,113,0.4);
}
.dl-btn-myket:hover {
    background: rgba(52,152,219,0.2); border-color: #3498db;
    box-shadow: 0 0 15px rgba(52,152,219,0.4);
}
.dl-btn-googleplay:hover {
    background: rgba(231,76,60,0.2); border-color: #e74c3c;
    box-shadow: 0 0 15px rgba(231,76,60,0.4);
}
.dl-btn-direct:hover {
    background: rgba(155,89,182,0.2); border-color: #9b59b6;
    box-shadow: 0 0 15px rgba(155,89,182,0.4);
}
.dl-btn .dl-icon {
    width: 24px; height: 24px;
}
.dl-btn .dl-size {
    font-size: 0.7rem; opacity: 0.7;
}

/* ── Responsive ── */
@media (max-width: 991px) {
    .game-hero-inner {
        grid-template-columns: 1fr; text-align: center;
    }
    .game-hero-cta { justify-content: center; }
    .game-hero-image { order: 0; margin-top: 32px; }
    .phone-mockup { width: 240px; height: 480px; }
}
@media (max-width: 600px) {
    .game-hero {
        padding: calc(var(--header-height-mobile) + 40px) 0 64px;
        min-height: auto;
    }
    .phone-mockup { width: 200px; height: 400px; }
    .game-hero-title { flex-direction: column; align-items: center; gap: 4px; }
    .dl-modal-buttons { grid-template-columns: 1fr 1fr; }
}

/* ══════════════════════════════════════
   GAME FEATURES SECTION
══════════════════════════════════════ */

.game-features-section {
    padding: 96px 0;
    position: relative;
}

/* ── ویدئو ── */
.game-video-wrapper {
    position: relative;
    width: 100%;
    max-width: 800px;
    margin: 40px auto 48px;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
    aspect-ratio: 16 / 9;
    background: #000;
}

.game-video-wrapper iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* Placeholder (تصویر + دکمه پلی) */
.game-video-placeholder {
    cursor: pointer;
    position: relative;
}

.game-video-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.game-video-placeholder:hover img {
    transform: scale(1.02);
}

.play-button {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 72px; height: 72px;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(6px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    transition: background 0.3s, transform 0.3s;
}

.game-video-placeholder:hover .play-button {
    background: var(--color-blue);
    transform: translate(-50%, -50%) scale(1.1);
}

/* ── کارت‌های ویژگی ── */
.game-features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 8px;
}

.game-feature-card {
    background: rgba(20,22,32,0.65);
    backdrop-filter: blur(16px) saturate(140%);
    -webkit-backdrop-filter: blur(16px) saturate(140%);
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: var(--radius-lg);
    padding: 32px 24px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.game-feature-card:hover {
    transform: translateY(-6px);
    border-color: var(--color-blue);
    box-shadow: 0 15px 30px rgba(13,144,205,0.25);
}

.game-feature-icon {
    color: var(--color-blue);
    margin-bottom: 20px;
    display: inline-flex;
    transition: transform 0.3s ease;
}

.game-feature-card:hover .game-feature-icon {
    transform: scale(1.1) rotate(-5deg);
}

.game-feature-title {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--text-white);
    margin-bottom: 12px;
}

.game-feature-desc {
    font-weight: 300;
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.8;
}

/* ── Responsive ── */
@media (max-width: 991px) {
    .game-features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .game-video-wrapper {
        max-width: 100%;
        margin: 32px 0 40px;
    }
}

@media (max-width: 575px) {
    .game-features-grid {
        grid-template-columns: 1fr;
    }
    .game-features-section {
        padding: 64px 0;
    }
}

/* ══════════════════════════════════════
   GAME ABOUT SECTION
══════════════════════════════════════ */

.game-about-section {
    padding: 96px 0 64px;
    position: relative;
}

.game-about-section .section-desc {
    font-weight: 300;
    font-size: var(--fs-base);
    color: var(--text-secondary);
    line-height: 2.0;
    margin-top: 20px;
}

/* ══════════════════════════════════════
   GAME CARDS SECTION (Flip ساده و شیک)
══════════════════════════════════════ */

.game-cards-section {
    padding: 80px 0 96px;
    position: relative;
}

.game-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 48px;
}

/* هر کارت */
.game-card-item {
    height: 260px;                /* ارتفاع جمع‌وجور */
    perspective: 800px;
    cursor: pointer;
}

/* لایهٔ داخلی که می‌چرخد */
.card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    transform-style: preserve-3d;
}

/* چرخش روی hover */
.game-card-item:hover .card-inner {
    transform: rotateY(180deg);
}

/* رویه و پشت کارت */
.card-front,
.card-back {
    position: absolute;
    inset: 0;
    backface-visibility: hidden;
    border-radius: var(--radius-xl);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* ═══ روی کارت (جلو) ═══ */
.card-front {
    background: var(--bg-card);
    backdrop-filter: blur(16px) saturate(140%);
    -webkit-backdrop-filter: blur(16px) saturate(140%);
    border: 1px solid rgba(255,255,255,0.07);
    padding: 24px 20px;
    gap: 14px;
    z-index: 2;
}

/* تصویر دایره‌ای روی کارت */
.card-front .game-card-img {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: rgba(255,255,255,0.03);
    border: 2px solid var(--color-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex-shrink: 0;
}
.card-front .game-card-img img {
    width: 70%;
    height: 70%;
    object-fit: contain;
}

/* عنوان و توضیح (همان قبلی) */
.game-card-title {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.15rem;
    color: var(--text-white);
    margin: 0;
    text-align: center;
}
.game-card-desc {
    font-weight: 300;
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin: 0;
    text-align: center;
}

/* ═══ پشت کارت (فقط تصویر) ═══ */
.card-back {
    background: rgba(207, 169, 12, 0.2);   /* طلایی شیشه‌ای */
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 2px solid var(--color-gold);
    transform: rotateY(180deg);             /* آماده برای چرخش */
    box-shadow: none;                       /* بدون glow اضافی */
}

.card-back img {
    width: 65%;
    height: 65%;
    object-fit: contain;
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.3));
    transition: transform 0.3s ease;
}

.game-card-item:hover .card-back img {
    transform: scale(1.05);
}

/* ── Responsive ── */
@media (max-width: 991px) {
    .game-cards-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    .game-card-item {
        height: 260px;
    }
}

@media (max-width: 575px) {
    .game-cards-grid {
        grid-template-columns: 1fr;
    }
    .game-card-item {
        height: 240px;
    }
}

/* ── تنظیم فاصله‌های داخلی کارت فقط در دسکتاپ ── */
@media (min-width: 992px) {
    .card-front {
        padding-bottom: 12px;      /* قبلاً 24px بود – فضای خالی پایین کمتر */
        gap: 0;                   /* حذف gap پیش‌فرض برای کنترل دستی */
    }

    .game-card-title {
        margin-top: 24px;         /* فاصلهٔ عنوان از تصویر بیشتر شد */
        margin-bottom: 12px;       /* فاصلهٔ عنوان تا پاراگراف */
    }

    .game-card-desc {
        margin-bottom: 0;         /* چسبیدن متن به پایین */
        margin-top: 4px;
    }
}

/* ══════════════════════════════════════
   GAME ROADMAP (افکت جرقه + چراغ LED)
══════════════════════════════════════ */

.game-roadmap-section {
    padding: 80px 0 96px;
    position: relative;
}

.roadmap-timeline {
    position: relative;
    margin-top: 48px;
}

/* خط عمودی نقطه‌چین در مرکز */
.roadmap-center-line {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: 0;
    bottom: 0;
    width: 2px;
    background: repeating-linear-gradient(
        to bottom,
        var(--color-blue) 0,
        var(--color-blue) 6px,
        transparent 6px,
        transparent 16px
    );
    opacity: 0.4;
    z-index: 1;
}

/* ─── جرقه نورانی (Travelling Light) ─── */
.roadmap-center-line::after {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: 0;
    width: 6px;
    height: 80px;
    background: linear-gradient(to bottom, transparent, var(--color-gold), var(--color-blue));
    border-radius: 4px;
    box-shadow: 0 0 20px 6px rgba(207, 169, 12, 0.8);
    animation: travelLight 4s ease-in-out infinite;
    z-index: 2;
}

@keyframes travelLight {
    0%   { top: 0%; opacity: 0; }
    10%  { opacity: 1; }
    90%  { opacity: 1; }
    100% { top: 100%; opacity: 0; }
}

/* کانتینر اصلی – flex-column */
.roadmap-grid {
    display: flex;
    flex-direction: column;
    gap: 50px;
    position: relative;
    z-index: 2;
}

/* هر ردیف */
.roadmap-row {
    display: flex;
    align-items: center;
    position: relative;
    width: 100%;
}

/* نقطه (دایره) – در مرکز، روی خط */
.roadmap-dot {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 16px;
    height: 16px;
    background: #f1c40f;
    backdrop-filter: blur(4px);
    border: 2px solid rgba(207, 169, 12, 0.8);
    border-radius: 50%;
    z-index: 3;
    transition: all 0.35s ease 0.2s; /* تأخیر برای حس روشن شدن */
    box-shadow: 0 0 12px rgba(207, 169, 12, 0.6);
}

/* نقطه فعال – پالس می‌زنه */
.roadmap-dot.active {
    background: #ffd700;
    border-color: var(--color-gold);
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.9), 0 0 35px rgba(255, 215, 0, 0.5);
    transform: translateX(-50%) scale(1.6);
    animation: dotPulse 1.2s ease-in-out infinite alternate 0.2s;
}

@keyframes dotPulse {
    from {
        transform: translateX(-50%) scale(1.4);
        box-shadow: 0 0 18px rgba(207, 169, 12, 0.8), 0 0 36px rgba(207, 169, 12, 0.5);
    }
    to {
        transform: translateX(-50%) scale(1.9);
        box-shadow: 0 0 28px rgba(207, 169, 12, 1), 0 0 50px rgba(207, 169, 12, 0.8);
    }
}

/* ردیف‌های راست (زوج) – کارت در سمت راست */
.roadmap-row--right {
    justify-content: flex-end;
}

/* ردیف‌های چپ (فرد) – کارت در سمت چپ */
.roadmap-row--left {
    justify-content: flex-start;
}

/* کارت شیشه‌ای */
.roadmap-card {
    display: flex;
    align-items: center;
    gap: 20px;
    background: var(--bg-card);
    backdrop-filter: blur(16px) saturate(140%);
    -webkit-backdrop-filter: blur(16px) saturate(140%);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: var(--radius-xl);
    padding: 24px 28px;
    width: 45%;
    max-width: 450px;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.roadmap-card:hover {
    transform: translateY(-6px);
    border-color: var(--color-blue);
    box-shadow: 0 15px 30px rgba(13,144,205,0.3);
}

.roadmap-row.active-card .roadmap-card {
    border-color: var(--color-gold);
    box-shadow: 0 0 25px rgba(207, 169, 12, 0.5);
}

.roadmap-row--right .roadmap-card {
    direction: rtl;
    text-align: right;
}

.roadmap-row--left .roadmap-card {
    direction: ltr;
    text-align: left;
    flex-direction: row-reverse;
}

/* تصویر دایره‌ای */
.roadmap-img {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: rgba(255,255,255,0.03);
    border: 2px solid var(--color-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex-shrink: 0;
    box-shadow: 0 0 15px rgba(207,169,12,0.2);
    transition: border-color 0.3s, box-shadow 0.3s;
}

.roadmap-card:hover .roadmap-img {
    border-color: var(--color-blue);
    box-shadow: 0 0 25px rgba(13,144,205,0.5);
}

.roadmap-img img {
    width: 70%;
    height: 70%;
    object-fit: contain;
}

/* متن */
.roadmap-content {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.roadmap-title {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--text-white);
    margin: 0;
}

.roadmap-desc {
    font-weight: 300;
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin: 0;
}

/* ═══ موبایل ═══ */
@media (max-width: 767px) {
    .roadmap-center-line {
        left: auto;
        right: 8px;
    }

    .roadmap-center-line::after {
        display: none; /* جرقه توی موبایل نباشه که شلوغ نشه */
    }

    .roadmap-grid {
        gap: 30px;
    }

    .roadmap-dot {
        left: auto;
        right: 0;
        transform: translateX(50%);
        position: absolute;
    }

    .roadmap-row {
        justify-content: flex-start;
        padding-right: 50px;
    }

    .roadmap-row--left .roadmap-card,
    .roadmap-row--right .roadmap-card {
        direction: rtl;
        text-align: right;
        flex-direction: row;
    }

    .roadmap-card {
        width: 100%;
        max-width: 100%;
    }

    .roadmap-img {
        width: 75px;
        height: 75px;
    }
}

@media (max-width: 480px) {
    .roadmap-card {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    .roadmap-img {
        width: 65px;
        height: 65px;
    }
}

/* ══════════════════════════════════════
   GAME CHARACTERS SECTION (اصلاح‌شده)
══════════════════════════════════════ */

.game-characters-section {
    padding: 80px 0 96px;
    position: relative;
}

.game-char-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 48px;
}

/* کارت شخصیت */
.game-char-card {
    background: var(--card-bg, rgba(20,22,32,0.65));
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-radius: var(--radius-xl);
    overflow: hidden;
    position: relative;
    height: 280px;                     /* ارتفاع متعادل – قبلاً 340px بود */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: none;                      /* حذف حاشیه */
}

.game-char-card:hover {
    transform: translateY(-8px) rotateY(2deg);
    box-shadow: 0 20px 40px rgba(0,0,0,0.6), 0 0 25px var(--char-color1, rgba(255,255,255,0.2));
}

/* تصویر */
.game-char-img-wrap {
    position: absolute;
    top: 25px;
    left: 50%;
    transform: translateX(-50%);
    width: 150px;
    height: 150px;
    border-radius: 50%;
    overflow: hidden;
    z-index: 1;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.game-char-card:hover .game-char-img-wrap {
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: var(--radius-xl);
    transform: none;
}

.game-char-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
    border: none;
    box-shadow: none;
    border-radius: inherit;
}

/* اطلاعات (نام و شخصیت) */
.game-char-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px 16px;
    text-align: center;
    z-index: 3;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

.game-char-card:hover .game-char-info {
    opacity: 0;
    visibility: hidden;
}

.game-char-name {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--text-white);
    margin: 0 0 4px;
}

.game-char-personality {
    font-weight: 300;
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* ── Responsive ── */
@media (max-width: 1199px) {
    .game-char-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 991px) {
    .game-char-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    .game-char-card {
        height: 260px;
    }
}

@media (max-width: 575px) {
    .game-char-grid {
        grid-template-columns: 1fr;
    }
    .game-char-card {
        height: 300px;
    }
    .game-char-img-wrap {
        width: 180px;
        height: 180px;
        top: 16px;
    }
}

/* ══════════════════════════════════════
   GAME SCREENSHOTS (بدون قاب گوشی)
══════════════════════════════════════ */

.game-screenshots-section {
    padding: 80px 0 96px;
    position: relative;
}

.screenshots-track {
    display: grid;
    grid-template-columns: repeat(5, 1fr);   /* ۵ ستون در دسکتاپ */
    gap: 16px;                                /* فاصله کمتر */
    margin-top: 48px;
    align-items: start;
}

.screenshot-slide {
    border-radius: var(--radius-xl);
    overflow: hidden;
    background: var(--bg-card);
    border: 1px solid rgba(255,255,255,0.07);
    aspect-ratio: 9 / 16;                    /* نسبت تصاویر موبایل */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.screenshot-slide:hover {
    transform: scale(1.03);
    box-shadow: 0 15px 30px rgba(13,144,205,0.3);
}

.screenshot-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;                        /* کل فضا پر شود */
    display: block;
}

/* نقاط راهنما (فقط در موبایل) */
.screenshots-dots {
    display: none;
}

/* ── Responsive ── */
@media (max-width: 1199px) {
    .screenshots-track {
        grid-template-columns: repeat(3, 1fr);   /* ۳ ستون در تبلت بزرگ */
    }
}

@media (max-width: 991px) {
    .screenshots-track {
        grid-template-columns: repeat(2, 1fr);   /* ۲ ستون در تبلت */
        gap: 12px;
    }
}

@media (max-width: 767px) {
    .screenshots-track {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        gap: 20px;
        padding-bottom: 16px;
    }

    .screenshots-track::-webkit-scrollbar {
        display: none;
    }

    .screenshot-slide {
        flex: 0 0 75vw;
        max-width: 300px;
        scroll-snap-align: center;
        aspect-ratio: 9 / 16;
    }

    .screenshots-dots {
        display: flex;
        justify-content: center;
        gap: 8px;
        margin-top: 24px;
    }

    .screenshot-dot {
        width: 8px;
        height: 8px;
        border-radius: 50%;
        background: rgba(255,255,255,0.25);
        transition: background 0.3s, transform 0.3s;
    }

    .screenshot-dot.active {
        background: var(--color-gold);
        transform: scale(1.4);
    }
}

@media (max-width: 480px) {
    .screenshot-slide {
        flex: 0 0 80vw;
        max-width: 260px;
    }
}

/* ══════════════════════════════════════
   GAME VIDEO
══════════════════════════════════════ */

.game-video-section {
    padding: 80px 0;
    position: relative;
}

.game-video-section .game-video-wrapper {
    margin-top: 40px;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(0,0,0,0.5);
    aspect-ratio: 16 / 9;
    background: #000;
}

.game-video-section .game-video-wrapper iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* ══════════════════════════════════════
   GAME FAQ (استایل‌های یکسان با صفحه اصلی)
══════════════════════════════════════ */

.game-faq-section {
    padding: 80px 0 96px;
}

.game-faq-section .faq-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-top: 40px;
}

.game-faq-section .faq-item {
    background: rgba(26, 27, 31, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: border-color 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

.game-faq-section .faq-item:hover {
    border-color: rgba(255, 255, 255, 0.12);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.game-faq-section .faq-item.open {
    border-color: rgba(13, 144, 205, 0.3);
    background: rgba(22, 24, 32, 0.85);
    box-shadow: 0 8px 24px rgba(13, 144, 205, 0.08);
}

.game-faq-section .faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    width: 100%;
    padding: 22px 28px;
    background: transparent;
    border: none;
    color: var(--text-primary);
    font-family: var(--font-body);
    font-weight: 500;
    font-size: var(--fs-base);
    text-align: right;
    cursor: pointer;
    transition: color 0.2s;
    line-height: 1.5;
}

.game-faq-section .faq-question:hover {
    color: var(--color-blue-light);
}

.game-faq-section .faq-item.open .faq-question {
    color: var(--color-blue);
}

.game-faq-section .faq-question-text {
    flex: 1;
}

.game-faq-section .faq-icon {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    color: var(--text-muted);
    transition: background 0.3s, color 0.3s, transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.game-faq-section .faq-item.open .faq-icon {
    background: rgba(13, 144, 205, 0.15);
    color: var(--color-blue);
    transform: rotate(45deg);
}

.game-faq-section .faq-icon svg {
    display: block;
}

.game-faq-section .faq-icon-line-vertical,
.game-faq-section .faq-icon-line-horizontal {
    transition: opacity 0.3s;
}

.game-faq-section .faq-item.open .faq-icon-line-vertical {
    opacity: 0;
}

.game-faq-section .faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.game-faq-section .faq-item.open .faq-answer {
    max-height: 500px;
}

.game-faq-section .faq-answer-inner {
    padding: 0 28px 24px;
    font-family: var(--font-body);
    font-weight: 300;
    font-size: var(--fs-sm);
    color: var(--text-secondary);
    line-height: 2.0;
    border-top: 1px solid var(--border-subtle);
}

@media (max-width: 767px) {
    .game-faq-section .faq-question {
        padding: 18px 20px;
        font-size: var(--fs-sm);
    }
    .game-faq-section .faq-answer-inner {
        padding: 0 20px 18px;
    }
}

/* ══════════════════════════════════════
   GAME RECOMMENDED (با رنگ‌های متنوع)
══════════════════════════════════════ */

.game-recommended-section {
    padding: 80px 0 96px;
    position: relative;
}

.game-rec-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 48px;
}

.game-rec-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    padding: 28px 24px 24px;
    background: var(--bg-card);
    border: 2px solid; /* حاشیه رنگی */
    border-radius: var(--radius-xl);
    text-decoration: none;
    transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
}

/* رنگ‌های اختصاصی هر کارت */
.game-rec-card--blue {
    border-color: var(--color-blue);
    box-shadow: 0 0 15px rgba(13, 144, 205, 0.2);
}

.game-rec-card--red {
    border-color: var(--color-red);
    box-shadow: 0 0 15px rgba(184, 14, 19, 0.2);
}

.game-rec-card--gold {
    border-color: var(--color-gold);
    box-shadow: 0 0 15px rgba(207, 169, 12, 0.2);
}

.game-rec-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.5);
}

.game-rec-card--blue:hover {
    border-color: var(--color-blue-light);
    box-shadow: 0 0 25px rgba(13, 144, 205, 0.5);
}

.game-rec-card--red:hover {
    border-color: var(--color-red-light);
    box-shadow: 0 0 25px rgba(184, 14, 19, 0.5);
}

.game-rec-card--gold:hover {
    border-color: var(--color-gold-light);
    box-shadow: 0 0 25px rgba(207, 169, 12, 0.5);
}

/* تصویر دایره‌ای – هم‌رنگ با حاشیه */
.game-rec-card img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 2px solid; /* حاشیه رنگی خواهد گرفت */
    object-fit: cover;
}

.game-rec-card--blue img { border-color: var(--color-blue); }
.game-rec-card--red img { border-color: var(--color-red); }
.game-rec-card--gold img { border-color: var(--color-gold); }

.game-rec-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

.game-rec-title {
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--text-white);
    text-align: center;
}

.game-rec-desc {
    font-size: 0.85rem;
    color: var(--text-secondary);
    text-align: center;
}

/* دکمه دانلود – هم‌رنگ با کارت */
.game-rec-dl-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 18px;
    background: linear-gradient(135deg, var(--btn-color), var(--btn-color-dark));
    border-radius: var(--radius-pill);
    color: #fff;
    font-weight: 500;
    font-size: 0.8rem;
    text-decoration: none;
    transition: transform 0.2s, box-shadow 0.2s;
}

.game-rec-card--blue .game-rec-dl-btn {
    --btn-color: var(--color-blue);
    --btn-color-dark: var(--color-blue-dark);
}

.game-rec-card--red .game-rec-dl-btn {
    --btn-color: var(--color-red);
    --btn-color-dark: var(--color-red-dark);
}

.game-rec-card--gold .game-rec-dl-btn {
    --btn-color: var(--color-gold);
    --btn-color-dark: var(--color-gold-dark);
}

.game-rec-dl-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.4);
}

.game-rec-card--blue .game-rec-dl-btn:hover {
    box-shadow: 0 8px 20px rgba(13, 144, 205, 0.5);
}

.game-rec-card--red .game-rec-dl-btn:hover {
    box-shadow: 0 8px 20px rgba(184, 14, 19, 0.5);
}

.game-rec-card--gold .game-rec-dl-btn:hover {
    box-shadow: 0 8px 20px rgba(207, 169, 12, 0.5);
}

@media (max-width: 767px) {
    .game-rec-grid {
        grid-template-columns: 1fr;
        max-width: 350px;
        margin-left: auto;
        margin-right: auto;
    }
}

/* ══════════════════════════════════════
   GAME CTA (بازطراحی جذاب با تصویر مربعی)
══════════════════════════════════════ */

.game-cta-section {
    padding: 80px 0 120px;
    position: relative;
}

.game-cta-card {
    display: grid;
    grid-template-columns: 1fr auto;   /* متن سمت چپ، تصویر سمت راست */
    gap: 32px;
    align-items: center;
    background: rgba(20,22,32,0.6);
    backdrop-filter: blur(20px) saturate(160%);
    -webkit-backdrop-filter: blur(20px) saturate(160%);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius-xl);
    padding: 36px 32px;
    box-shadow: 0 25px 50px rgba(0,0,0,0.5);
    position: relative;
    overflow: hidden;
}

/* هاله رنگی پشت کارت */
.game-cta-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 30% 50%, rgba(207,169,12,0.12) 0%, transparent 60%);
    pointer-events: none;
    z-index: 0;
}

/* ستون متن */
.game-cta-content {
    display: flex;
    flex-direction: column;
    gap: 16px;
    position: relative;
    z-index: 1;
}

.game-cta-title {
    font-family: var(--font-display);
    font-weight: 900;
    font-size: clamp(1.8rem, 4vw, 2.2rem);
    color: var(--text-white);
    line-height: 1.3;
    margin: 0;
}

.game-cta-highlight {
    color: var(--color-gold);
    background: linear-gradient(135deg, var(--color-gold), #e6b800);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.game-cta-desc {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin: 0;
}

/* دکمه CTA (طلایی) */
.game-cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 32px;
    background: linear-gradient(135deg, var(--color-gold), #e6b800);
    border-radius: var(--radius-pill);
    color: #1A1B1F;
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    box-shadow: 0 8px 25px rgba(207,169,12,0.5);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    width: fit-content;
    border: none;
    cursor: pointer;
}

.game-cta-btn:hover {
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 15px 35px rgba(207,169,12,0.8);
}

.game-cta-btn:active {
    transform: translateY(0) scale(0.98);
}

/* ستون تصویر (مربعی) */
.game-cta-visual {
    position: relative;
    z-index: 1;
    flex-shrink: 0;
}

.game-cta-img {
    width: 160px;
    height: 160px;
    object-fit: cover;
    border-radius: var(--radius-lg);
    border: 2px solid var(--color-gold);
    box-shadow: 0 15px 30px rgba(0,0,0,0.5), 0 0 20px rgba(207,169,12,0.3);
    animation: ctaFloat 4s ease-in-out infinite alternate;
}

@keyframes ctaFloat {
    from { transform: translateY(0); }
    to   { transform: translateY(-10px); }
}

/* ── Responsive ── */
@media (max-width: 767px) {
    .game-cta-card {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 32px 24px;
        gap: 24px;
    }

    .game-cta-content {
        align-items: center;
    }

    .game-cta-img {
        width: 120px;
        height: 120px;
        margin: 0 auto;
    }
}

@media (max-width: 480px) {
    .game-cta-card {
        padding: 28px 20px;
    }

    .game-cta-title {
        font-size: 1.5rem;
    }

    .game-cta-btn {
        padding: 12px 24px;
        font-size: 0.9rem;
    }
}

/* ══════════════════════════════════════
   GAME INFO TABLE (با آیکون)
══════════════════════════════════════ */

.game-info-section {
    padding: 80px 0;
}

.game-info-table {
    display: flex;
    flex-direction: column;
    gap: 1px;
    margin-top: 40px;
    border-radius: var(--radius-xl);
    overflow: hidden;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.07);
}

.info-row {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 24px;
    background: var(--bg-card);
    transition: background 0.2s;
}

.info-row:hover {
    background: rgba(255,255,255,0.03);
}

.info-icon {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-blue-light);
    opacity: 0.8;
}

.info-label {
    font-weight: 500;
    color: var(--text-secondary);
    font-size: 0.9rem;
    flex: 1;
}

.info-value {
    font-weight: 700;
    color: var(--text-white);
    font-size: 0.95rem;
    direction: ltr;
    text-align: right;
}

@media (max-width: 480px) {
    .info-row {
        flex-wrap: wrap;
        gap: 8px;
    }
    .info-label {
        flex: 100%;
    }
}

@media (max-width: 480px) {
    .info-row {
        flex-wrap: wrap;      /* اگر جا نشد، مقدار به خط بعدی برود */
        gap: 6px 12px;        /* فاصله عمودی و افقی */
        padding: 12px 16px;
    }

    .info-icon {
        width: 18px;
        height: 18px;
        font-size: 0.9rem;
    }

    .info-label {
        flex: 1;              /* ← مهم: فضای موجود را پر کند ولی کل عرض را نگیرد */
        font-size: 0.8rem;
        min-width: 80px;      /* حداقل عرض برای جلوگیری از چسبیدن به مقدار */
    }

    .info-value {
        font-size: 0.85rem;
        text-align: right;
        flex: 0 1 auto;       /* اندازه طبیعی خود را بگیرد */
        word-break: break-word;
    }
}

/* ══════════════════════════════════════
   GAME REVIEWS (Marquee هم‌زمان)
══════════════════════════════════════ */

.game-reviews-section {
    padding: 80px 0;
    overflow: hidden;
}

.reviews-marquee {
    margin-top: 40px;
    position: relative;
    width: 100%;
    overflow: hidden;
}

.reviews-track {
    display: flex;
    gap: 24px;
    width: max-content;
    animation: marqueeScroll var(--speed, 50s) linear infinite;
}

/* توقف هنگام hover */
.reviews-marquee:hover .reviews-track {
    animation-play-state: paused;
}

.reviews-marquee--left .reviews-track {
    animation-name: marqueeLeft;
}

.reviews-marquee--right .reviews-track {
    animation-name: marqueeRight;
}

@keyframes marqueeLeft {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

@keyframes marqueeRight {
    0%   { transform: translateX(-50%); }
    100% { transform: translateX(0); }
}

/* کارت نظر */
.review-card {
    flex-shrink: 0;
    width: 360px;
    background: var(--bg-card);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: var(--radius-xl);
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
}

.review-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 30px rgba(13,144,205,0.3);
    border-color: var(--color-blue);
}

.review-header { display: flex; align-items: center; gap: 12px; }

.review-avatar {
    width: 44px; height: 44px;
    border-radius: 50%;
    border: 2px solid var(--color-gold);
    object-fit: cover;
}

.review-user-info { flex: 1; display: flex; flex-direction: column; }
.review-name { font-weight: 600; color: var(--text-white); font-size: 0.9rem; }
.review-date { font-size: 0.75rem; color: var(--text-muted); }

.review-stars { display: flex; gap: 2px; font-size: 14px; }
.review-star { color: var(--text-muted); }
.review-star--full { color: var(--color-gold); }
.review-star--half {
    background: linear-gradient(to right, var(--color-gold) 55%, var(--text-muted) 55%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.review-text { font-size: 0.85rem; color: var(--text-secondary); line-height: 1.8; margin: 0; }

@media (max-width: 600px) {
    .review-card { width: 300px; padding: 20px; }
}

/* ══════════════════════════════════════
   انیمیشن ورود کارت‌ها با اسکرول
══════════════════════════════════════ */

.game-card-item {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.game-card-item.card-visible {
    opacity: 1;
    transform: translateY(0);
}

/* تأخیر staggered برای هر کارت */
.game-card-item:nth-child(1) { transition-delay: 0.1s; }
.game-card-item:nth-child(2) { transition-delay: 0.2s; }
.game-card-item:nth-child(3) { transition-delay: 0.3s; }
.game-card-item:nth-child(4) { transition-delay: 0.4s; }
.game-card-item:nth-child(5) { transition-delay: 0.5s; }
.game-card-item:nth-child(6) { transition-delay: 0.6s; }

/* توی دسکتاپ (بزرگتر از 768px) یک خط بمونه */
@media (min-width: 768px) {
    .game-roadmap-section .section-desc {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: 100%;
    }
}

/* توی موبایل (زیر 768px) آزاد باشه */
@media (max-width: 767px) {
    .game-roadmap-section .section-desc {
        white-space: normal;
        overflow: visible;
    }
}