:root {
    --primary: #CF2448;
    --primary-dark: #8F1630;
    --secondary: #F0B34F;
    --accent: #3F5862;
    --bg-color: #1E1D1E;
    --card-bg: #302A2B;
    --text-color: #F5F1E8;
    --cream: #E8DCC8;
    --cream-light: #F5F1E8;
    --frame: #F0E8D8;
    --muted-bg: #4E4442;
    --header-bg: rgba(24, 22, 23, 0.88);
    --paw-pattern: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180' viewBox='0 0 180 180'%3E%3Cg fill='%23000000' opacity='.34' transform='rotate(-45 90 90)'%3E%3Cg transform='translate(42 34)'%3E%3Cellipse cx='28' cy='42' rx='16' ry='13'/%3E%3Ccircle cx='13' cy='22' r='6'/%3E%3Ccircle cx='24' cy='13' r='6'/%3E%3Ccircle cx='36' cy='13' r='6'/%3E%3Ccircle cx='47' cy='22' r='6'/%3E%3C/g%3E%3Cg transform='translate(94 92)'%3E%3Cellipse cx='28' cy='42' rx='16' ry='13'/%3E%3Ccircle cx='13' cy='22' r='6'/%3E%3Ccircle cx='24' cy='13' r='6'/%3E%3Ccircle cx='36' cy='13' r='6'/%3E%3Ccircle cx='47' cy='22' r='6'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    --paw-trail: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='720' height='520' viewBox='0 0 720 520'%3E%3Cdefs%3E%3Cg id='paw' fill='%23000000'%3E%3Cellipse cx='0' cy='30' rx='24' ry='20'/%3E%3Cellipse cx='-29' cy='-1' rx='10' ry='13'/%3E%3Cellipse cx='-10' cy='-18' rx='10' ry='14'/%3E%3Cellipse cx='12' cy='-18' rx='10' ry='14'/%3E%3Cellipse cx='31' cy='-1' rx='10' ry='13'/%3E%3Cpath d='M-42 -38l12 23-22-5zM-16 -61l9 25-21-10zM18 -61l-9 25 21-10zM44 -38L32 -15l22-5z'/%3E%3C/g%3E%3C/defs%3E%3Cg opacity='.38' transform='rotate(-45 360 260)'%3E%3Cuse href='%23paw' x='92' y='414' transform='rotate(-8 92 414)'/%3E%3Cuse href='%23paw' x='170' y='346' transform='rotate(9 170 346)'/%3E%3Cuse href='%23paw' x='254' y='292' transform='rotate(-6 254 292)'/%3E%3Cuse href='%23paw' x='344' y='232' transform='rotate(8 344 232)'/%3E%3Cuse href='%23paw' x='430' y='176' transform='rotate(-7 430 176)'/%3E%3Cuse href='%23paw' x='526' y='116' transform='rotate(10 526 116)'/%3E%3Cuse href='%23paw' x='618' y='58' transform='rotate(-6 618 58)'/%3E%3C/g%3E%3C/svg%3E");
    --button-bg: linear-gradient(180deg, rgba(255, 255, 255, 0.16), transparent 46%), linear-gradient(135deg, var(--primary), var(--primary-dark));
    --button-bg-hover: linear-gradient(180deg, rgba(255, 255, 255, 0.20), transparent 46%), linear-gradient(135deg, #F03D62, var(--primary-dark));
    --button-border: 2px solid rgba(255, 247, 236, 0.54);
    --button-shadow: 0 12px 24px rgba(143, 22, 48, 0.36), 5px 5px 0 rgba(0, 0, 0, 0.28);
    --button-shadow-hover: 0 18px 34px rgba(207, 36, 72, 0.50), 5px 5px 0 rgba(0, 0, 0, 0.28);
}

/* Summer’s Heartbeat visual system */
:root {
    --primary: #ff6847;
    --primary-dark: #c63f2f;
    --secondary: #ffc857;
    --accent: #66d0c3;
    --bg-color: #071a20;
    --card-bg: #102b31;
    --text-color: #f5f0df;
    --cream: #e9dfc4;
    --cream-light: #fff4d5;
    --frame: #163a3e;
    --muted-bg: #18383c;
    --header-bg: rgba(5, 22, 28, 0.82);
    --button-bg: linear-gradient(135deg, #ff7a4f, #ec4f39);
    --button-bg-hover: linear-gradient(135deg, #ff9166, #ff5b42);
    --button-border: 1px solid rgba(255, 200, 87, 0.5);
    --button-shadow: 0 14px 34px rgba(236, 79, 57, 0.27);
    --button-shadow-hover: 0 20px 44px rgba(255, 104, 71, 0.38);
}

html {
    background: #06171c;
}

body,
body.download-page {
    color: var(--text-color);
    background:
        radial-gradient(circle at 8% 4%, rgba(255, 200, 87, 0.09), transparent 27%),
        radial-gradient(circle at 88% 16%, rgba(102, 208, 195, 0.1), transparent 30%),
        linear-gradient(160deg, #06171c 0%, #0a252a 46%, #071a20 100%);
}

body::before {
    background:
        radial-gradient(circle at 18% 23%, rgba(255, 200, 87, 0.16) 0 1px, transparent 2px),
        radial-gradient(circle at 74% 16%, rgba(102, 208, 195, 0.12) 0 1px, transparent 2px),
        linear-gradient(115deg, transparent 0 48%, rgba(255, 244, 213, 0.025) 48% 49%, transparent 49% 100%),
        radial-gradient(circle at 50% 45%, transparent 0 48%, rgba(2, 12, 15, 0.4) 100%);
    background-size: 76px 76px, 112px 112px, 220px 220px, auto;
}

h1, h2, h3, h4,
.logo-main, .logo-sub,
.footer-logo-main, .footer-logo-sub {
    font-family: 'Montserrat', sans-serif;
}

header {
    padding: 13px 0;
    background: linear-gradient(180deg, rgba(5, 22, 28, 0.94), rgba(5, 22, 28, 0.78));
    border-bottom: 1px solid rgba(255, 200, 87, 0.14);
    box-shadow: 0 12px 40px rgba(0, 10, 13, 0.26);
    backdrop-filter: blur(18px) saturate(1.25);
}

.logo-text,
.footer-logo-text {
    flex-direction: row;
    align-items: baseline;
    gap: 0.34em;
}

.logo-main,
.logo-sub,
.footer-logo-main,
.footer-logo-sub {
    margin: 0;
    max-width: none;
    font-size: clamp(1.1rem, 1.6vw, 1.48rem);
    line-height: 1;
    letter-spacing: -0.045em;
    background: none;
    -webkit-text-fill-color: currentColor;
    color: var(--cream-light);
}

.logo-main,
.footer-logo-main {
    color: var(--secondary);
}

.nav-links {
    gap: clamp(14px, 2vw, 27px);
}

.nav-links a {
    color: rgba(245, 240, 223, 0.82);
    font-size: 0.88rem;
    letter-spacing: 0.025em;
}

.nav-links a::after,
.scroll-progress {
    background: linear-gradient(90deg, var(--primary), var(--secondary));
}

.language-selector {
    margin-left: 18px;
}

.language-btn {
    padding: 8px 13px;
    border-color: rgba(255, 200, 87, 0.35);
    background: rgba(255, 244, 213, 0.035);
}

.language-btn:hover {
    background: rgba(255, 200, 87, 0.1);
    border-color: var(--secondary);
}

.language-dropdown {
    background: rgba(7, 29, 34, 0.98);
    border: 1px solid rgba(255, 200, 87, 0.18);
    box-shadow: 0 22px 55px rgba(0, 8, 10, 0.55);
}

.language-option:hover,
.language-option.active {
    background: rgba(255, 104, 71, 0.14);
    color: var(--secondary);
}

.hero {
    min-height: 106vh;
    padding-top: 126px;
    background: #071a20;
}

.hero::before {
    inset: 0;
    background:
        linear-gradient(180deg, rgba(3, 16, 20, 0.34) 0%, rgba(3, 18, 22, 0.58) 48%, #071a20 100%),
        linear-gradient(90deg, rgba(5, 23, 28, 0.58), rgba(5, 23, 28, 0.12) 50%, rgba(5, 23, 28, 0.48)),
        url('../images/hero-background-optimized.jpg') center 18% / cover no-repeat;
    filter: saturate(1.08) contrast(1.02);
}

.hero::after {
    height: 48%;
    background: linear-gradient(to bottom, transparent, #071a20 94%);
}

.hero-content {
    gap: 20px;
}

.hero-title {
    max-width: 1060px;
    margin-bottom: 0;
    padding: 10px 26px 12px;
    line-height: 0.92;
    text-wrap: balance;
}

.title-main,
.title-sub {
    display: inline;
    margin: 0;
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(3.1rem, 8vw, 6.9rem);
    font-weight: 700;
    letter-spacing: -0.075em;
    line-height: 0.92;
    background: none;
    -webkit-text-fill-color: currentColor;
    color: var(--cream-light);
    text-shadow: 0 12px 42px rgba(0, 13, 16, 0.58);
}

.title-main {
    color: var(--secondary);
}

.title-sub::before {
    content: ' ';
}

.title-season {
    width: fit-content;
    margin: 20px auto 0;
    padding: 7px 16px;
    border: 1px solid rgba(255, 200, 87, 0.3);
    border-radius: 999px;
    color: var(--cream-light);
    background: rgba(6, 29, 34, 0.58);
    backdrop-filter: blur(12px);
    font-size: clamp(0.76rem, 1.5vw, 0.98rem);
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.hero-description {
    max-width: 850px;
    margin-bottom: 20px;
    color: rgba(245, 240, 223, 0.84);
    font-size: clamp(1rem, 1.65vw, 1.16rem);
    line-height: 1.8;
    text-wrap: balance;
}

.trailer-container {
    width: min(980px, 100%);
    padding: 8px;
    border: 1px solid rgba(255, 200, 87, 0.26);
    border-radius: 24px;
    background: linear-gradient(135deg, rgba(255, 200, 87, 0.13), rgba(102, 208, 195, 0.06));
    box-shadow: 0 34px 85px rgba(0, 10, 13, 0.46);
    overflow: hidden;
}

.local-video,
.local-video video {
    border-radius: 17px;
}

.local-video {
    background: #041015;
}

.local-video video {
    filter: saturate(1.05) contrast(1.03) brightness(0.98);
}

.video-btn,
.social-link,
.close-lightbox,
.lightbox-nav {
    background: rgba(5, 30, 34, 0.78);
    border-color: rgba(255, 200, 87, 0.34);
}

.video-btn:hover,
.social-link:hover,
.close-lightbox:hover,
.lightbox-nav:hover {
    background: var(--primary);
    border-color: var(--secondary);
}

.btn,
.download-btn,
.download-card-btn,
.mirror-btn {
    border-radius: 999px;
    border-width: 1px;
    letter-spacing: 0.07em;
    box-shadow: var(--button-shadow);
}

.btn-secondary {
    background: rgba(7, 32, 37, 0.78);
    border-color: rgba(255, 200, 87, 0.44);
}

.section {
    padding: 106px 0;
}

.section::after,
footer::before {
    height: 95px;
    background: linear-gradient(to bottom, rgba(2, 15, 18, 0.33), transparent);
}

.section-title {
    margin-bottom: 28px;
    padding-bottom: 20px;
    color: var(--cream-light);
    font-size: clamp(2.25rem, 5vw, 4.15rem);
    letter-spacing: -0.055em;
    text-shadow: 0 10px 34px rgba(0, 9, 11, 0.44);
}

.section-title::after {
    width: 94px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
}

#about {
    background:
        radial-gradient(circle at 9% 18%, rgba(255, 200, 87, 0.08), transparent 30%),
        radial-gradient(circle at 94% 84%, rgba(102, 208, 195, 0.08), transparent 28%),
        linear-gradient(180deg, #071a20, #0a2428);
}

.features {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.feature-card {
    min-height: 240px;
    padding: 30px;
    border: 1px solid rgba(255, 244, 213, 0.1);
    border-left: 1px solid rgba(255, 244, 213, 0.1);
    border-radius: 18px;
    background:
        linear-gradient(150deg, rgba(255, 244, 213, 0.055), transparent 48%),
        rgba(10, 38, 42, 0.82);
    box-shadow: 0 22px 52px rgba(0, 10, 12, 0.24);
}

.feature-card:hover {
    border-color: rgba(255, 200, 87, 0.38);
    border-left-color: rgba(255, 200, 87, 0.38);
    box-shadow: 0 26px 58px rgba(0, 10, 12, 0.38);
}

.feature-icon {
    width: 54px;
    height: 54px;
    color: #092228;
    background: linear-gradient(135deg, var(--secondary), #ff9c4a);
    box-shadow: 0 12px 28px rgba(255, 200, 87, 0.18);
}

.feature-title {
    color: var(--secondary);
}

.characters {
    background:
        radial-gradient(circle at 50% 0%, rgba(255, 104, 71, 0.12), transparent 35%),
        linear-gradient(180deg, #0a2428, #071c21);
}

.characters::before {
    background:
        radial-gradient(circle at 14% 24%, rgba(255, 200, 87, 0.12) 0 2px, transparent 3px),
        radial-gradient(circle at 78% 18%, rgba(102, 208, 195, 0.11) 0 2px, transparent 3px),
        linear-gradient(118deg, transparent 0 49%, rgba(255, 244, 213, 0.027) 49% 50%, transparent 50%);
    background-size: 90px 90px, 130px 130px, 260px 260px;
    opacity: 0.8;
}

.characters-grid {
    gap: 16px;
}

.character-card {
    min-height: 430px;
    border: 1px solid rgba(255, 200, 87, 0.2);
    border-radius: 20px;
    overflow: hidden;
    background: #0a2025;
    box-shadow: 0 24px 54px rgba(0, 9, 11, 0.34);
}

.character-card::before {
    content: none;
}

.character-card::after {
    background: linear-gradient(to top, rgba(2, 15, 18, 0.94) 0%, rgba(2, 15, 18, 0.1) 62%, transparent 100%);
}

.character-card:hover {
    border-color: rgba(255, 200, 87, 0.62);
    box-shadow: 0 34px 70px rgba(0, 9, 11, 0.52), 0 0 0 1px rgba(255, 200, 87, 0.14);
}

.character-img {
    height: 430px;
    filter: saturate(1.02) contrast(1.03);
}

.character-info {
    left: 0;
    right: 0;
    bottom: 0;
    min-height: 146px;
    padding: 64px 16px 16px;
    background: linear-gradient(to top, rgba(3, 20, 24, 0.96), transparent);
}

.character-name {
    color: var(--cream-light);
    font-size: clamp(1.35rem, 1.75vw, 1.75rem);
}

.character-role {
    color: var(--secondary);
    font-size: 0.72rem;
}

.character-meter {
    height: 5px;
    background: rgba(255, 244, 213, 0.12);
    border: 0;
}

.character-meter span {
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    box-shadow: 0 0 12px rgba(255, 104, 71, 0.35);
}

#screenshots {
    background:
        radial-gradient(circle at 85% 18%, rgba(102, 208, 195, 0.09), transparent 32%),
        linear-gradient(180deg, #071c21, #06171c);
}

#screenshots::before {
    background: repeating-linear-gradient(112deg, transparent 0 96px, rgba(255, 244, 213, 0.022) 96px 97px);
}

.screenshot-gallery {
    gap: 18px;
}

.screenshot-item {
    border: 1px solid rgba(255, 244, 213, 0.11);
    border-radius: 18px;
    box-shadow: 0 20px 48px rgba(0, 8, 10, 0.3);
}

.screenshot-item img {
    height: 220px;
}

.screenshot-item:hover {
    border-color: rgba(255, 200, 87, 0.5);
    box-shadow: 0 28px 60px rgba(0, 8, 10, 0.48);
}

.lightbox {
    background: rgba(2, 14, 17, 0.96);
}

.download {
    background:
        radial-gradient(circle at 50% 10%, rgba(255, 104, 71, 0.12), transparent 38%),
        linear-gradient(180deg, #071a20, #0a2428);
}

.requirement-card,
.download-card,
.mirror-card,
.locked-release-card,
.download-warning-box,
.faq-item {
    border: 1px solid rgba(255, 244, 213, 0.11);
    border-radius: 18px;
    background: linear-gradient(150deg, rgba(255, 244, 213, 0.05), transparent 45%), rgba(8, 33, 38, 0.88);
    box-shadow: 0 20px 50px rgba(0, 9, 11, 0.26);
}

.requirement-title,
.download-card-title,
.mirror-card h2,
.locked-release-title,
.faq-question {
    color: var(--secondary);
}

.requirement-list li {
    border-bottom-color: rgba(255, 200, 87, 0.13);
}

.requirement-value,
.download-card-tagline,
.mirror-tagline {
    color: var(--accent);
}

#faq {
    background: linear-gradient(180deg, #06171c, #081f24);
}

.faq-item:hover {
    border-color: rgba(255, 200, 87, 0.32);
}

footer {
    background:
        radial-gradient(circle at 12% 0%, rgba(255, 200, 87, 0.07), transparent 30%),
        linear-gradient(160deg, #071c21, #031115);
    border-top: 1px solid rgba(255, 200, 87, 0.1);
}

.footer-logo {
    margin-bottom: 20px;
}

.footer-heading {
    color: var(--secondary);
}

.footer-heading::after {
    background: var(--primary);
}

.footer-links a:hover {
    color: var(--secondary);
}

html body.download-page .download-hero {
    background:
        linear-gradient(180deg, rgba(3, 18, 22, 0.5), rgba(3, 18, 22, 0.92)),
        url('../images/hero-background-optimized.jpg') center 28% / cover no-repeat;
}

html body.download-page .download-main-title {
    color: var(--cream-light);
    text-shadow: 0 12px 42px rgba(0, 10, 13, 0.55);
}

html body.download-page .download-main-title::after {
    background: linear-gradient(90deg, var(--primary), var(--secondary));
}

html body.download-page .mirror-card::before,
html body.download-page .locked-release-card::before {
    background: linear-gradient(90deg, var(--primary), var(--secondary));
}

html body.download-page .download-section {
    background: transparent;
}

html body.download-page {
    background:
        radial-gradient(circle at 8% 4%, rgba(255, 200, 87, 0.09), transparent 27%),
        linear-gradient(160deg, #06171c, #0a252a 52%, #071a20);
}

html body.download-page footer {
    background:
        radial-gradient(circle at 12% 0%, rgba(255, 200, 87, 0.07), transparent 30%),
        linear-gradient(160deg, #071c21, #031115);
}

html body.download-page .mirrors-grid {
    gap: 24px;
}

html body.download-page .mirror-card,
html body.download-page .locked-release-card,
html body.download-page .download-warning-box {
    border: 1px solid rgba(255, 244, 213, 0.12);
    border-radius: 20px;
    background:
        linear-gradient(145deg, rgba(255, 244, 213, 0.055), transparent 46%),
        rgba(7, 31, 36, 0.91);
    box-shadow: 0 26px 60px rgba(0, 8, 10, 0.38);
    backdrop-filter: blur(16px);
}

html body.download-page .mirror-card:hover {
    border-color: rgba(255, 200, 87, 0.34);
    box-shadow: 0 34px 72px rgba(0, 8, 10, 0.5);
}

html body.download-page .mirror-icon {
    color: var(--secondary);
}

html body.download-page .mirror-card h2,
html body.download-page .download-warning-title,
html body.download-page .locked-release-title {
    color: var(--secondary);
}

html body.download-page .mirror-tagline {
    color: var(--accent);
}

html body.download-page .mirror-btn {
    border: 1px solid rgba(255, 200, 87, 0.45);
    border-radius: 999px;
    background: linear-gradient(135deg, #ff7a4f, #ec4f39);
    box-shadow: 0 14px 34px rgba(236, 79, 57, 0.28);
}

html body.download-page .mirror-btn:hover {
    background: linear-gradient(135deg, #ff9166, #ff5b42);
    box-shadow: 0 20px 44px rgba(255, 104, 71, 0.36);
}

html body.download-page .download-warning-box {
    border-left: 3px solid var(--primary);
}

@media (max-width: 1050px) {
    .features {
        grid-template-columns: repeat(2, 1fr);
    }

    .logo-main,
    .logo-sub {
        font-size: 1.12rem;
    }
}

@media (max-width: 768px) {
    .hero {
        min-height: auto;
        padding-top: 116px;
    }

    .hero-title {
        padding-inline: 0;
    }

    .title-main,
    .title-sub {
        font-size: clamp(2.75rem, 15vw, 4.8rem);
    }

    .title-season {
        max-width: 94%;
        line-height: 1.5;
    }

    .features {
        grid-template-columns: 1fr;
    }

    .section {
        padding: 78px 0;
    }

    .trailer-container {
        padding: 5px;
        border-radius: 15px;
    }

    .local-video,
    .local-video video {
        border-radius: 11px;
    }

    .character-card,
    .character-img {
        height: 520px;
        min-height: 520px;
    }
}

@media (max-width: 480px) {
    .logo-main,
    .logo-sub {
        font-size: 0.98rem;
    }

    .hero-description {
        line-height: 1.7;
    }

    .character-card,
    .character-img {
        height: 470px;
        min-height: 470px;
    }

    .screenshot-item img {
        height: 190px;
    }
}

@layer legacy {
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    background:
        radial-gradient(circle at 18% 0%, rgba(207, 36, 72, 0.12), transparent 34%),
        radial-gradient(circle at 84% 10%, rgba(63, 88, 98, 0.18), transparent 30%),
        linear-gradient(160deg, #141414 0%, #232323 46%, #303030 100%);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
    transition: all 0.3s ease;
}
body::before {
    content: '';
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    background:
        linear-gradient(rgba(255, 247, 236, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 247, 236, 0.02) 1px, transparent 1px),
        radial-gradient(circle at 50% 35%, transparent 0 45%, rgba(0, 0, 0, 0.36) 100%);
    background-size: 100% 3px, 4px 100%, auto;
    mix-blend-mode: normal;
}
body > * {
    position: relative;
    z-index: 1;
}
h1, h2, h3, h4 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
}
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}
header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: var(--header-bg);
    backdrop-filter: blur(10px);
    padding: 15px 0;
    transition: all 0.3s ease;
}
.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}
.logo-img {
    width: 50px;
    height: 50px; 
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: rgba(255, 247, 236, 0.08);
}
.logo-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.logo-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
}
.logo-main,
.title-main,
.footer-logo-main {
    font-size: 1.65rem;
    font-weight: 700;
    line-height: 0.96;
    letter-spacing: 0;
    background: linear-gradient(180deg, #FFEAF1 0%, #F04B6B 54%, #CF2448 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: none;
}
.logo-main,
.footer-logo-main {
    max-width: 280px;
}
.logo-main,
.logo-sub,
.footer-logo-main,
.footer-logo-sub {
    overflow-wrap: anywhere;
}
.logo-sub,
.title-sub,
.footer-logo-sub {
    font-size: 1.04rem;
    font-weight: 700;
    line-height: 1;
    margin-top: 3px;
    background: linear-gradient(180deg, #FFF7EC 0%, #F3C168 58%, #F0B34F 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: none;
}
.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
    flex-wrap: nowrap;
    align-items: center;
}
.nav-links a {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    white-space: nowrap;
    font-size: 0.95rem;
}
.nav-links a:hover {
    color: var(--secondary);
}
.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--secondary);
    transition: all 0.3s ease;
}
.nav-links a:hover::after {
    width: 100%;
}
.language-selector {
    margin-left: 30px;
    position: relative;
    display: inline-block;
}
.language-btn {
    background: transparent;
    border: 1px solid var(--primary);
    border-radius: 20px;
    padding: 8px 15px;
    color: var(--text-color);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}
.language-btn:hover {
    background: rgba(214, 68, 85, 0.1);
}
.language-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 5px;
    background: var(--card-bg);
    border-radius: 10px;
    padding: 10px 0;
    min-width: 150px;
    max-height: 300px;
    overflow-y: auto;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 1001;
    display: block;
}
.language-dropdown::-webkit-scrollbar {
    width: 6px;
}
.language-dropdown::-webkit-scrollbar-track {
    background: rgba(214, 68, 85, 0.1);
    border-radius: 3px;
}
.language-dropdown::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 3px;
}
.language-dropdown::-webkit-scrollbar-thumb:hover {
    background: var(--secondary);
}
.language-dropdown.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.language-option {
    padding: 8px 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-color);
    text-decoration: none;
}
.language-option:hover {
    background: rgba(214, 68, 85, 0.2);
    color: var(--secondary);
}
.language-option.active {
    background: rgba(214, 68, 85, 0.3);
    color: var(--secondary);
    font-weight: 600;
}
.lang-flag img {
    width: 20px;
    height: 14px;
    object-fit: contain;
    border-radius: 2px;
    display: block;
}
.lang-name {
    font-size: 0.9rem;
}
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 100px 0 50px;
    position: relative;
    overflow: hidden;
}
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 18% 0%, rgba(207, 36, 72, 0.22), transparent 34%),
        radial-gradient(circle at 78% 12%, rgba(240, 179, 79, 0.10), transparent 28%),
        linear-gradient(135deg, rgba(20, 20, 20, 0.98) 0%, rgba(36, 36, 36, 0.96) 48%, rgba(18, 18, 18, 0.98) 100%);
    z-index: -1;
}
.hero::after {
    content: '';
    position: absolute;
    inset: auto 0 0;
    height: 42%;
    background: linear-gradient(to bottom, transparent, var(--bg-color));
    z-index: -1;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 30px;
}
.hero-title {
    font-size: 4rem;
    margin-bottom: 10px;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 1s ease forwards 0.5s;
}
.title-main {
    font-size: 5rem;
    line-height: 1.1;
    display: block;
}
.title-sub {
    font-size: 5rem;
    line-height: 1.2;
    display: block;
    margin-top: 5px;
}
.title-season {
    color: var(--cream-light);
    font-size: 1.8rem;
    font-weight: 600;
    display: block;
    margin-top: 5px;
}
html[lang="ko"] .logo-main,
html[lang^="zh"] .logo-main,
html[lang="ja"] .logo-main {
    font-size: 1.18rem;
    line-height: 1.12;
}
html[lang="ko"] .footer-logo-main,
html[lang^="zh"] .footer-logo-main,
html[lang="ja"] .footer-logo-main {
    font-size: 1.28rem;
    line-height: 1.14;
}
html[lang="ko"] .title-main,
html[lang^="zh"] .title-main,
html[lang="ja"] .title-main {
    max-width: 980px;
    margin: 0 auto;
    font-size: clamp(2.6rem, 5vw, 4.5rem);
    line-height: 1.14;
    overflow-wrap: anywhere;
}
.hero-description {
    font-size: 1.2rem;
    max-width: 800px;
    margin-bottom: 30px;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 1s ease forwards 0.8s;
}
.section .hero-description {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

.download-layout {
    max-width: 1100px;
    margin: 0 auto;
}

.download-subtitle {
    font-size: 1.05rem;
    opacity: 0.9;
}

.download-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
    margin-top: 35px;
}

.download-card {
    background: linear-gradient(160deg, rgba(48, 48, 48, 0.96), rgba(24, 24, 24, 0.98));
    border-radius: 6px;
    padding: 26px 22px 22px;
    border: 1px solid rgba(255,255,255,0.06);
    box-shadow: 0 16px 35px rgba(0, 0, 0, 0.45);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 410px;
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.download-card:hover {
    transform: translateY(-8px) scale(1.01);
    box-shadow: 0 24px 50px rgba(0, 0, 0, 0.6);
    border-color: rgba(255, 255, 255, 0.2);
}

.download-card-header {
    text-align: center;
    margin-bottom: 16px;
}

.download-card-title {
    font-size: 1.35rem;
    margin-top: 10px;
    margin-bottom: 4px;
}

.download-card-tagline {
    font-size: 0.9rem;
    opacity: 0.85;
}

.download-card-size {
    font-size: 0.85rem;
    font-weight: 600;
    margin-top: 8px;
}

.download-card-footer {
    margin-top: 18px;
}

.download-card-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    gap: 8px;
    padding: 16px 30px;
    border-radius: 4px;
    border: var(--button-border);
    background: var(--button-bg);
    color: #F5F1E8;
    font-weight: 700;
    font-size: 1.05rem;
    text-decoration: none;
    cursor: pointer;
    box-shadow: var(--button-shadow);
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    min-height: 58px;
}

.download-card-btn:hover {
    transform: translateY(-3px);
    background: var(--button-bg-hover);
    box-shadow: var(--button-shadow-hover);
}

.download-card-btn-outline {
    background: var(--button-bg);
    border: var(--button-border);
    color: var(--cream-light);
    box-shadow: var(--button-shadow);
}

.download-warning-box {
    margin-top: 46px;
    border-radius: 6px;
    padding: 22px 24px;
    background: linear-gradient(160deg, rgba(48, 48, 48, 0.96), rgba(24, 24, 24, 0.98));
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.5);
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.download-warning-title {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
    font-size: 1.1rem;
    font-weight: 600;
}

.download-warning-text {
    font-size: 0.95rem;
    opacity: 0.9;
}

@media (max-width: 768px) {
    .download-layout {
        padding: 0 4px;
    }
}
.trailer-container {
    width: 100%;
    max-width: 900px;
    border-radius: 4px;
    overflow: visible;
    padding: 12px;
    background: var(--frame);
    border: 1px solid rgba(255, 247, 236, 0.88);
    box-shadow: 0 28px 60px rgba(0, 0, 0, 0.58), 12px 12px 0 rgba(143, 22, 48, 0.36);
    position: relative;
    opacity: 0;
    transform: scale(0.9);
    animation: fadeInScale 1s ease forwards 1s;
}
.local-video {
    width: 100%;
    height: 0;
    padding-bottom: 56.25%;
    position: relative;
    border-radius: 2px;
    overflow: hidden;
    background: #0F0E0F;
}
.local-video::after {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(to top, rgba(0, 0, 0, 0.30), transparent 38%),
        radial-gradient(circle at 50% 50%, transparent 0 58%, rgba(0, 0, 0, 0.28) 100%);
    z-index: 2;
}
.local-video video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 2px;
    filter: saturate(1.08) contrast(1.06) brightness(0.94);
}
.video-controls {
    position: absolute;
    bottom: 20px;
    right: 20px;
    z-index: 10;
    display: flex;
    gap: 10px;
}
.video-btn {
    background: rgba(107, 91, 86, 0.78);
    border: 1px solid rgba(240, 232, 216, 0.35);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    color: var(--cream-light);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}
.video-btn:hover {
    background: rgba(214, 68, 85, 0.86);
    transform: scale(1.1);
}
.cta-buttons {
    display: flex;
    gap: 20px;
    margin-top: 20px;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 1s ease forwards 1.2s;
}
.btn {
    padding: 16px 30px;
    border-radius: 4px;
    font-size: 1.05rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    cursor: pointer;
    border: var(--button-border);
    background: var(--button-bg);
    color: var(--cream-light);
    box-shadow: var(--button-shadow);
    text-shadow: none;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    min-height: 58px;
}

.btn,
.download-btn,
.download-card-btn,
.mirror-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 30px;
    border-radius: 4px;
    min-height: 58px;
    border: var(--button-border);
    background: var(--button-bg);
    color: var(--cream-light);
    box-shadow: var(--button-shadow);
    font-weight: 700;
    font-size: 1.05rem;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    cursor: pointer;
    transition: transform 0.3s ease, background 0.3s ease, box-shadow 0.3s ease, color 0.3s ease;
}

.btn:hover,
.download-btn:hover,
.download-card-btn:hover,
.mirror-btn:hover {
    transform: translateY(-3px);
    background: var(--button-bg-hover);
    box-shadow: var(--button-shadow-hover);
    color: var(--cream-light);
}
.btn-primary {
    background: var(--button-bg);
    color: var(--cream-light);
    box-shadow: var(--button-shadow);
}
.btn-primary:hover {
    transform: translateY(-3px);
    background: var(--button-bg-hover);
    box-shadow: var(--button-shadow-hover);
}
.btn-secondary {
    background: var(--button-bg);
    color: var(--cream-light);
    border: var(--button-border);
    box-shadow: var(--button-shadow);
}
.btn-secondary:hover {
    transform: translateY(-3px);
    background: var(--button-bg-hover);
    box-shadow: var(--button-shadow-hover);
}
.section {
    padding: 80px 0;
    position: relative;
}

.section::after,
footer::before {
    content: '';
    position: absolute;
    top: -1px;
    left: 0;
    right: 0;
    height: 72px;
    pointer-events: none;
    z-index: 1;
    background: linear-gradient(to bottom, rgba(20, 20, 20, 0.44), transparent);
}

.section > .container,
footer > .container {
    position: relative;
    z-index: 2;
}
.section-title {
    text-align: center;
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 38px;
    position: relative;
    display: block;
    margin-left: auto;
    margin-right: auto;
    padding: 0 0 18px;
    background: transparent;
    border: 0;
    color: var(--cream-light);
    text-shadow: 0 3px 14px rgba(0, 0, 0, 0.54);
    box-shadow: none;
}
.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: min(180px, 62%);
    height: 4px;
    background: linear-gradient(90deg, transparent, var(--primary), var(--secondary), transparent);
    border-radius: 2px;
}
.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 18px;
    margin-top: 46px;
}
.feature-card {
    background: linear-gradient(160deg, rgba(48, 42, 43, 0.94), rgba(28, 27, 28, 0.95));
    border-radius: 6px;
    padding: 28px;
    border: 1px solid rgba(255, 247, 236, 0.18);
    border-left: 4px solid var(--primary);
    box-shadow: 0 16px 34px rgba(0, 0, 0, 0.26);
    transition: all 0.6s ease;
    opacity: 0;
    transform: translateY(20px);
}
.feature-card.visible {
    opacity: 1;
    transform: translateY(0);
}
.feature-card:hover {
    transform: translateY(-6px);
    border-color: rgba(240, 179, 79, 0.42);
    border-left-color: var(--secondary);
    box-shadow: 0 22px 38px rgba(0, 0, 0, 0.36);
}
.feature-icon {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    margin-bottom: 18px;
    color: var(--cream-light);
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    box-shadow: 0 10px 22px rgba(207, 36, 72, 0.28);
}
.feature-title {
    font-size: 1.25rem;
    margin-bottom: 15px;
    color: var(--secondary);
}
.characters {
    background:
        linear-gradient(135deg, rgba(240, 232, 216, 0.055), transparent 26%),
        radial-gradient(circle at 65% 18%, rgba(201, 51, 79, 0.16), transparent 38%),
        linear-gradient(to bottom, #181617, #261D1F);
    position: relative;
    overflow: hidden;
}
.characters::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        repeating-linear-gradient(-18deg, transparent 0 18px, rgba(240, 232, 216, 0.045) 18px 20px),
        radial-gradient(circle at 22% 16%, rgba(207, 36, 72, 0.12), transparent 28%),
        radial-gradient(circle at 78% 10%, rgba(240, 179, 79, 0.08), transparent 24%);
    background-size: 260px, auto, auto;
    background-position: 0 0, center, center;
    background-repeat: repeat, no-repeat, no-repeat;
    opacity: 0.6;
    z-index: 0;
}
.characters-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(170px, 1fr));
    gap: 24px;
    margin-top: 56px;
    position: relative;
    z-index: 1;
}
.character-card {
    background: #F0E8D8;
    border-radius: 0;
    overflow: visible;
    border: 8px solid rgba(240, 232, 216, 0.78);
    box-shadow: 12px 18px 24px rgba(34, 28, 27, 0.34);
    opacity: 0;
    transform: translateY(20px);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    position: relative;
    min-height: 420px;
}
.character-card::before {
    content: '';
    position: absolute;
    top: -25px;
    left: 50%;
    width: 88px;
    height: 28px;
    transform: translateX(-50%) rotate(-4deg);
    background: rgba(240, 232, 216, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.22);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
    z-index: 3;
}
.character-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 28%, transparent 0 40%, rgba(0, 0, 0, 0.34) 100%);
    pointer-events: none;
    z-index: 1;
}
.character-card:nth-child(2n) {
    --tilt: -1.2deg;
    transform: rotate(var(--tilt)) translateY(20px);
}
.character-card:nth-child(3n) {
    --tilt: 1deg;
    transform: rotate(var(--tilt)) translateY(20px);
}
.character-card.visible {
    opacity: 1;
    transform: translateY(0) rotate(var(--tilt, 0deg));
}
.character-card:hover {
    transform: translateY(-12px) rotate(0deg) scale(1.035);
    border-color: rgba(245, 168, 51, 0.62);
    box-shadow: 0 18px 36px rgba(82, 45, 42, 0.45);
}
.character-img {
    width: 100%;
    height: 420px;
    object-fit: cover;
    object-position: 50% 25%;
    display: block;
    filter: saturate(0.9) contrast(0.96);
}
.character-info {
    position: absolute;
    left: 14px;
    right: 14px;
    bottom: 14px;
    z-index: 2;
    min-height: 136px;
    padding: 62px 12px 12px;
    background: linear-gradient(to top, rgba(22, 20, 20, 0.74), transparent);
    display: grid;
    grid-template-rows: 42px 12px 38px;
    align-items: center;
    row-gap: 14px;
}
.character-name {
    font-size: clamp(1.45rem, 1.85vw, 1.95rem);
    margin-bottom: 0;
    color: var(--cream-light);
    text-align: center;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.75);
    transition: all 0.3s ease;
    line-height: 1.05;
    display: flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
}

.character-role {
    font-style: normal;
    color: var(--cream);
    margin-bottom: 0;
    font-size: 0.78rem;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    opacity: 0.86;
    line-height: 1.25;
    min-height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.character-info p:not(.character-role) {
    display: none;
}
.character-meter {
    height: 12px;
    border-radius: 999px;
    background: rgba(240, 232, 216, 0.35);
    overflow: hidden;
    border: 1px solid rgba(240, 232, 216, 0.24);
    margin-bottom: 0;
}
.character-meter span {
    display: block;
    height: 100%;
    border-radius: inherit;
    background:
        repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.12) 0 4px, transparent 4px 8px),
        linear-gradient(90deg, #E8A14F, #F5A833);
    box-shadow: 0 0 12px rgba(245, 168, 51, 0.34);
}
.character-card:nth-child(1) .character-meter span { width: 46%; }
.character-card:nth-child(2) .character-meter span { width: 30%; }
.character-card:nth-child(3) .character-meter span { width: 100%; }
.character-card:nth-child(4) .character-meter span { width: 34%; }
.character-card:nth-child(5) .character-meter span { width: 8%; }
#screenshots {
    position: relative;
    overflow: hidden;
    background:
        linear-gradient(115deg, rgba(240, 179, 79, 0.08), transparent 22%),
        radial-gradient(circle at 12% 18%, rgba(207, 36, 72, 0.18), transparent 30%),
        radial-gradient(circle at 88% 72%, rgba(63, 88, 98, 0.24), transparent 32%),
        linear-gradient(180deg, #151516 0%, #0D0E10 100%);
}

#screenshots::before {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(120deg, transparent 0 46%, rgba(240, 232, 216, 0.04) 46% 47%, transparent 47% 100%),
        repeating-linear-gradient(90deg, rgba(255, 247, 236, 0.026) 0 1px, transparent 1px 86px);
    background-size: 220px 220px, 86px 100%;
    opacity: 0.58;
}

#screenshots .container {
    position: relative;
    z-index: 1;
}

.screenshot-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 50px;
}
.screenshot-item {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    position: relative;
    opacity: 0;
    transform: scale(0.95);
    transition: all 0.6s ease;
}
.screenshot-item.visible {
    opacity: 1;
    transform: scale(1);
}
.screenshot-item:hover {
    transform: scale(1.03);
}
.screenshot-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: all 0.3s ease;
}
.screenshot-item:hover img {
    filter: brightness(0.7);
}
.screenshot-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.44);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
}
.screenshot-item:hover .screenshot-overlay {
    opacity: 1;
}
.zoom-icon {
    display: none;
}
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(60, 46, 43, 0.96);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1001;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}
.lightbox.show {
    opacity: 1;
    pointer-events: all;
}
.lightbox-content {
    width: 100%;
    height: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 100px;
    box-sizing: border-box;
}
.lightbox-content img {
    max-width: calc(100vw - 200px);
    max-height: calc(100vh - 120px);
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 10px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.8);
    transition: opacity 0.3s ease, transform 0.3s ease;
    opacity: 1;
    transform: scale(1);
}
.close-lightbox {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    font-size: 1.5rem;
    color: var(--cream-light);
    background: rgba(107, 91, 86, 0.82);
    border: 2px solid rgba(240, 232, 216, 0.38);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 1002;
}
.close-lightbox:hover {
    background: rgba(214, 68, 85, 0.8);
    border-color: var(--secondary);
    transform: scale(1.1);
}
.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
    color: var(--cream-light);
    background: rgba(107, 91, 86, 0.82);
    border: 2px solid rgba(240, 232, 216, 0.38);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 1002;
}
.lightbox-nav:hover {
    background: rgba(214, 68, 85, 0.8);
    border-color: var(--secondary);
    transform: translateY(-50%) scale(1.1);
}
.lightbox-nav.prev {
    left: 20px;
}
.lightbox-nav.next {
    right: 20px;
}
.lightbox-nav:disabled {
    opacity: 0.3;
    cursor: not-allowed;
    pointer-events: none;
}
.download {
    text-align: center;
    background:
        radial-gradient(circle at 12% 0%, rgba(207, 36, 72, 0.14), transparent 34%),
        linear-gradient(180deg, #242424 0%, #171717 100%);
    padding: 100px 0 60px 0;
}
.requirements {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin: 50px 0;
    text-align: left;
}
.requirement-card {
    background: linear-gradient(160deg, rgba(48, 42, 43, 0.92), rgba(24, 22, 23, 0.94));
    padding: 30px;
    border-radius: 6px;
    border: 1px solid rgba(255, 247, 236, 0.18);
    box-shadow: 0 18px 36px rgba(0, 0, 0, 0.28);
}
.requirement-title {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: var(--primary);
    text-align: center;
}
.requirement-list {
    list-style: none;
}
.requirement-list li {
    padding: 10px 0;
    border-bottom: 1px solid rgba(214, 68, 85, 0.2);
    display: flex;
    justify-content: space-between;
}
.requirement-list li:last-child {
    border-bottom: none;
}
.requirement-value {
    font-weight: 600;
    color: var(--secondary);
    margin-left: 4px;
}
.download-options {
    display: flex;
    justify-content: center;
    gap: 18px;
    flex-wrap: wrap;
    margin-top: 50px;
}
.download-btn {
    flex-direction: row;
    min-width: 190px;
    width: auto;
    position: relative;
    overflow: hidden;
}
.download-btn.btn-primary {
    background: var(--button-bg);
    color: var(--cream-light);
    box-shadow: var(--button-shadow);
    overflow: hidden;
}
.download-btn.btn-primary::after {
    content: none;
}
.download-btn.btn-primary:hover::after {
    width: 0;
}
.download-btn.btn-primary:hover {
    background: var(--button-bg-hover);
    box-shadow: var(--button-shadow-hover);
    color: var(--cream-light);
}
.download-btn:hover {
    background: var(--button-bg-hover);
    box-shadow: var(--button-shadow-hover);
    color: var(--cream-light);
}
.download-btn::after {
    content: none;
}
.download-btn:hover::after {
    width: 0;
}
.download-icon {
    font-size: 1.55rem;
    margin-bottom: 0;
}
footer {
    background: linear-gradient(135deg, #202020 0%, #151515 100%);
    color: var(--text-color);
    padding: 70px 0 30px;
    position: relative;
    overflow: hidden;
}
.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}
.footer-about {
    display: flex;
    flex-direction: column;
}
.footer-logo {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
    text-decoration: none;
}
.footer-logo-img {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: rgba(255, 247, 236, 0.08);
}
.footer-logo-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.footer-logo-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}
.footer-logo-main {
    font-size: 1.95rem;
    font-weight: 700;
    line-height: 0.96;
    letter-spacing: 0;
    background: linear-gradient(180deg, #FFEAF1 0%, #F04B6B 54%, #CF2448 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: none;
}
.footer-logo-sub {
    font-size: 1.22rem;
    font-weight: 700;
    line-height: 1;
    margin-top: 4px;
    background: linear-gradient(180deg, #FFF7EC 0%, #F3C168 58%, #F0B34F 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: none;
}
.footer-description {
    margin-bottom: 25px;
    line-height: 1.7;
    opacity: 0.9;
}
.social-links {
    display: flex;
    gap: 15px;
}
.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: var(--cream-light);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1.2rem;
}
.social-link:hover {
    background: var(--primary);
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(214, 68, 85, 0.4);
}
.footer-heading {
    font-size: 1.3rem;
    margin-bottom: 25px;
    color: var(--secondary);
    position: relative;
    padding-bottom: 10px;
}
.footer-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--primary);
    border-radius: 2px;
}
.footer-links {
    list-style: none;
}
.footer-links li {
    margin-bottom: 12px;
}
.footer-links a {
    color: var(--text-color);
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    opacity: 0.9;
}
.footer-links a:hover {
    color: var(--secondary);
    padding-left: 8px;
    opacity: 1;
}
.footer-links a i {
    margin-right: 8px;
    font-size: 0.9rem;
    width: 20px;
    text-align: center;
}
.copyright {
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    font-size: 0.9rem;
    opacity: 0.7;
}
@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
@keyframes fadeInScale {
    to {
        opacity: 1;
        transform: scale(1);
    }
}
@media (max-width: 1920px) {
    header {
        padding: 20px 0;
    }
    .hero {
        min-height: 100vh;
        padding: 120px 0 40px;
    }
    .hero-title {
        font-size: 3.8rem;
        margin-bottom: 10px;
    }
    .title-main {
        font-size: 4.5rem;
    }
    .title-sub {
        font-size: 4.5rem;
    }
    .title-season {
        font-size: 1.7rem;
    }
    .hero-description {
        font-size: 1.1rem;
        max-width: 750px;
        margin-bottom: 20px;
    }
    .trailer-container {
        max-width: 800px;
    }
    .cta-buttons {
        gap: 15px;
        margin-top: 15px;
    }
    .btn {
        padding: 12px 25px;
        font-size: 1rem;
    }
}

@media (max-width: 1600px) {
    header {
        padding: 18px 0;
    }
    .hero {
        padding: 110px 0 35px;
    }
    .hero-title {
        font-size: 3.2rem;
    }
    .title-main {
        font-size: 3.8rem;
    }
    .title-sub {
        font-size: 3.8rem;
    }
    .hero-description {
        font-size: 1rem;
        max-width: 700px;
        margin-bottom: 18px;
    }
    .trailer-container {
        max-width: 750px;
    }
}

@media (max-width: 992px) {
    .characters-grid {
        grid-template-columns: repeat(2, minmax(220px, 1fr));
    }
    .character-card {
        min-height: 390px;
    }
    .character-img {
        height: 390px;
    }
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 40px 30px;
    }
    .footer-about {
        grid-column: 1 / -1;
    }
}
@media (max-width: 768px) {
    .hero {
        padding-top: 160px;
    }
    .hero-title {
        font-size: 3rem;
        margin-top: 20px;
    }
    .title-main {
        font-size: 3rem;
    }
    .title-sub {
        font-size: 3rem;
    }
    .title-season {
        font-size: 1.5rem;
    }
    .nav-links {
        display: none;
    }
    .language-selector {
        margin-left: 15px;
    }
    .characters-grid {
        grid-template-columns: 1fr;
        max-width: 360px;
        margin-left: auto;
        margin-right: auto;
    }
    .character-card {
        min-height: 430px;
    }
    .character-img {
        height: 430px;
    }
    .features-grid,
    .screenshots-grid,
    .download-grid,
    .requirements-grid {
        grid-template-columns: 1fr;
    }
    .cta-buttons {
        flex-direction: column;
    }
    .download-options {
        flex-direction: column;
        align-items: center;
    }
    .footer-logo-main {
        font-size: 1.8rem;
    }
    .footer-logo-sub {
        font-size: 1.1rem;
    }
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .requirement-list li {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }
    .requirement-value {
        display: block;
        text-align: left;
        white-space: normal;
    }
}

@media (max-width: 480px) {
    .hero {
        padding-top: 135px;
    }
    .hero-title,
    .title-main,
    .title-sub {
        font-size: 2.25rem;
    }
    .title-season {
        font-size: 1.2rem;
    }
    .hero-description {
        font-size: 0.95rem;
    }
    .language-dropdown {
        right: 0;
        left: auto;
        min-width: min(230px, calc(100vw - 30px));
    }
}
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0;
    height: 4px;
    background: linear-gradient(45deg, var(--primary), var(--secondary));
    z-index: 1000;
    transition: width 0.2s ease;
}
body.rtl {
    direction: rtl;
    text-align: right;
}
body.rtl .nav-links,
body.rtl .footer-links,
body.rtl .requirement-list {
    text-align: right;
}
		
		
		
		

      .volume-container {
    display: flex;
    align-items: center;
    position: relative;
}

.volume-slider-container {
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: rgba(0, 0, 0, 0.9);
    padding: 15px 8px;
    border-radius: 25px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    margin-bottom: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.volume-container:hover .volume-slider-container {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.volume-slider-wrapper {
    position: relative;
    width: 4px;
    height: 80px;
    background: rgba(102, 102, 102, 0.5);
    border-radius: 2px;
    cursor: pointer;
    transition: background 0.2s ease;
}

.volume-slider-wrapper:hover {
    background: rgba(102, 102, 102, 0.8);
}

.volume-slider-fill {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, #D64455, #F5A833);
    border-radius: 2px;
    transition: height 0.15s ease;
    pointer-events: none;
}

.volume-slider-thumb {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #D64455;
    border: 2px solid var(--cream-light);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
    cursor: grab;
    z-index: 2;
    transition: all 0.1s ease;
    user-select: none;
}

.volume-slider-thumb::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: transparent;
    cursor: grab;
    z-index: -1;
}

.volume-slider-thumb:hover {
    transform: translateX(-50%) scale(1.15);
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.4);
}

.volume-slider-thumb.dragging {
    cursor: grabbing;
    transform: translateX(-50%) scale(1.2);
    box-shadow: 0 4px 10px rgba(214, 68, 85, 0.6);
}

.volume-slider-thumb.dragging::before {
    cursor: grabbing;
}

#volumeSlider {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
    z-index: 3;
}

.video-error {
    display: none !important;
}
.local-video video::after,
.local-video video::-webkit-media-controls,
.local-video video::-webkit-media-controls-panel {
    display: none !important;
}

#faq {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 18% 0%, rgba(207, 36, 72, 0.10), transparent 30%),
        radial-gradient(circle at 82% 100%, rgba(63, 88, 98, 0.16), transparent 32%),
        linear-gradient(180deg, #131313 0%, #0B0B0C 100%);
}

#faq::before {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        repeating-linear-gradient(-18deg, transparent 0 18px, rgba(240, 232, 216, 0.025) 18px 20px);
    background-size: 260px;
    background-position: 0 0;
    opacity: 0.34;
    z-index: 0;
}

#faq .container {
    position: relative;
    z-index: 1;
}

#faq .faq-container {
    max-width: 900px;
    margin: 0 auto;
}

#faq .faq-item {
    background: linear-gradient(160deg, rgba(34, 34, 34, 0.96), rgba(13, 13, 13, 0.98));
    border-radius: 6px;
    padding: 26px 28px;
    margin-bottom: 20px;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 247, 236, 0.15);
    border-left: 4px solid rgba(207, 36, 72, 0.78);
    display: block;
    box-shadow: 0 18px 38px rgba(0, 0, 0, 0.34);
    position: relative;
    overflow: hidden;
}

#faq .faq-item::after {
    content: none;
}

#faq .faq-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 24px 46px rgba(0, 0, 0, 0.46);
    border-color: rgba(240, 179, 79, 0.38);
    border-left-color: var(--secondary);
}

#faq .faq-question {
    font-size: 1.3rem;
    color: var(--secondary);
    margin-bottom: 15px;
    font-weight: 600;
    display: block;
    font-family: 'Montserrat', sans-serif;
    position: relative;
    z-index: 1;
}

#faq .faq-answer {
    font-size: 1rem;
    color: rgba(245, 241, 232, 0.82);
    line-height: 1.8;
    display: block;
    margin: 0;
    position: relative;
    z-index: 1;
}

@media (max-width: 768px) {
    .volume-slider-wrapper {
        height: 60px;
    }
    
    .volume-slider-thumb {
        width: 14px;
        height: 14px;
    }
    
    #faq .faq-item {
        padding: 20px;
    }
    
    #faq .faq-question {
        font-size: 1.1rem;
    }
}

}



