:root {
    --primary: #B3261F;
    --primary-dark: #5A0D0A;
    --secondary: #F3B443;
    --accent: #51625B;
    --bg-color: #110807;
    --card-bg: #17100D;
    --text-color: #F8E7C5;
    --cream: #D4B17B;
    --cream-light: #FFF1CE;
    --frame: #C78B36;
    --muted-bg: #28170F;
    --header-bg: rgba(10, 9, 8, 0.86);
    --logo-gold-top: #FFFCEB;
    --logo-gold-mid: #FFE08A;
    --logo-gold-low: #D7A93A;
    --section-bg-a: #0A0605;
    --section-bg-b: #160806;
    --panel-bg: linear-gradient(160deg, rgba(30, 16, 11, 0.96), rgba(9, 6, 5, 0.98));
    --button-bg: linear-gradient(180deg, rgba(255, 240, 220, 0.22) 0%, rgba(255, 255, 255, 0.04) 36%, transparent 38%), linear-gradient(135deg, #8A0B08 0%, #B81612 42%, #D12A1F 58%, #7A0907 100%);
    --button-bg-hover: linear-gradient(180deg, rgba(255, 246, 228, 0.34) 0%, rgba(255, 255, 255, 0.10) 38%, transparent 42%), linear-gradient(135deg, #A60E0A 0%, #CF1D18 46%, #E33A29 58%, #890A08 100%);
    --button-border: 1px solid rgba(255, 226, 190, 0.72);
    --button-shadow: 0 16px 28px rgba(73, 6, 5, 0.48), 0 3px 0 rgba(53, 7, 6, 0.95), inset 0 1px 0 rgba(255, 248, 233, 0.22);
    --button-shadow-hover: 0 20px 36px rgba(101, 9, 7, 0.56), 0 3px 0 rgba(53, 7, 6, 0.95), inset 0 1px 0 rgba(255, 248, 233, 0.30);
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    background:
        radial-gradient(circle at 50% -10%, rgba(243, 180, 67, 0.16), transparent 36%),
        radial-gradient(circle at 12% 8%, rgba(179, 38, 31, 0.22), transparent 30%),
        linear-gradient(160deg, #120807 0%, #23100D 44%, #34160D 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, 210, 133, 0.028) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 210, 133, 0.018) 1px, transparent 1px),
        radial-gradient(circle at 50% 35%, transparent 0 42%, rgba(0, 0, 0, 0.58) 100%);
    background-size: 100% 3px, 4px 100%, auto;
    mix-blend-mode: normal;
}
body > * {
    position: relative;
    z-index: 1;
}
h1, h2, h3, h4 {
    font-family: 'Cinzel', '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: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: #170905;
    border: 1px solid rgba(243, 180, 67, 0.45);
    box-shadow: 0 0 22px rgba(179, 38, 31, 0.34);
}
.logo-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.logo-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
}
.logo-main,
.title-main,
.footer-logo-main {
    font-family: 'Cinzel', serif;
    font-size: 0.92rem;
    font-weight: 600;
    line-height: 1;
    letter-spacing: 0;
    text-transform: uppercase;
    background: linear-gradient(180deg, var(--logo-gold-top) 0%, var(--logo-gold-mid) 72%, var(--logo-gold-low) 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    -webkit-text-stroke: 1px rgba(102, 72, 18, 0.18);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.42), 0 0 18px rgba(255, 225, 130, 0.18);
}
.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-family: 'Cinzel', serif;
    font-size: 1.42rem;
    font-weight: 900;
    line-height: 0.9;
    margin-top: 2px;
    text-transform: uppercase;
    background: linear-gradient(180deg, var(--logo-gold-top) 0%, var(--logo-gold-mid) 52%, var(--logo-gold-low) 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    -webkit-text-stroke: 1px rgba(102, 72, 18, 0.24);
    text-shadow: 0 2px 3px rgba(0, 0, 0, 0.34), 0 8px 14px rgba(0, 0, 0, 0.34), 0 0 28px rgba(255, 224, 122, 0.20);
}
.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: 92px 0 48px;
    position: relative;
    overflow: hidden;
}
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        linear-gradient(90deg, rgba(10, 5, 4, 0.56) 0%, rgba(10, 5, 4, 0.20) 44%, rgba(10, 5, 4, 0.58) 100%),
        linear-gradient(180deg, rgba(10, 5, 4, 0.06) 0%, rgba(10, 5, 4, 0.34) 58%, rgba(12, 7, 6, 0.90) 100%),
        radial-gradient(circle at 80% 9%, rgba(255, 183, 61, 0.42), transparent 26%),
        radial-gradient(circle at 16% 14%, rgba(179, 38, 31, 0.28), transparent 30%),
        url('../library_hero_2x.jpg?v=6') center top / cover no-repeat;
    z-index: -1;
}
.hero::after {
    content: '';
    position: absolute;
    inset: auto 0 0;
    height: 52%;
    background:
        linear-gradient(to bottom, transparent, var(--bg-color)),
        repeating-linear-gradient(90deg, rgba(243, 180, 67, 0.04) 0 1px, transparent 1px 74px);
    z-index: -1;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 22px;
    min-height: calc(100vh - 140px);
    justify-content: center;
}
.hero-title {
    font-size: 4rem;
    margin-bottom: 10px;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 1s ease forwards 0.5s;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
}
.title-main {
    font-size: clamp(1.25rem, 2.7vw, 2.55rem);
    display: block;
    margin-bottom: 18px;
    letter-spacing: 0.06em;
    background: linear-gradient(180deg, #FFFCEB 0%, #FFE7A4 52%, #E2BC5A 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    -webkit-text-stroke: 1px rgba(102, 72, 18, 0.14);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.28), 0 0 20px rgba(255, 232, 144, 0.18);
}
.title-sub {
    font-size: clamp(3.25rem, 8.9vw, 8.6rem);
    display: block;
    margin-top: 0;
    letter-spacing: 0.04em;
    background: linear-gradient(180deg, #FFFDF0 0%, #FFE8A8 46%, #E1B54A 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    -webkit-text-stroke: 1px rgba(102, 72, 18, 0.16);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.28), 0 0 26px rgba(255, 227, 129, 0.20);
}
.title-season {
    color: var(--secondary);
    font-size: clamp(1rem, 2.1vw, 1.55rem);
    font-weight: 600;
    display: block;
    margin-top: 5px;
    text-transform: uppercase;
    letter-spacing: 0;
    text-shadow: 0 3px 18px rgba(0, 0, 0, 0.8);
}
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.22rem;
    font-weight: 500;
    max-width: 780px;
    margin-bottom: 30px;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 1s ease forwards 0.8s;
    color: rgba(255, 241, 206, 0.92);
    text-shadow: 0 2px 16px rgba(0, 0, 0, 0.86);
}
.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: var(--panel-bg);
    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: var(--panel-bg);
    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: 960px;
    border-radius: 4px;
    overflow: visible;
    padding: 6px;
    background: linear-gradient(135deg, rgba(255, 214, 119, 0.9), rgba(95, 16, 12, 0.95));
    border: 1px solid rgba(255, 206, 112, 0.62);
    box-shadow: 0 32px 70px rgba(0, 0, 0, 0.70), 0 0 80px rgba(179, 38, 31, 0.28);
    position: relative;
    opacity: 0;
    transform: scale(0.9);
    animation: fadeInScale 1s ease forwards 1s;
}
.trailer-section {
    padding-top: 90px;
}
.trailer-section-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.trailer-section .trailer-container {
    margin-top: 12px;
}
.trailer-container::before {
    content: none;
    position: absolute;
    top: -20px;
    left: 50%;
    width: 128px;
    height: 32px;
    transform: translateX(-50%) rotate(-3deg);
    background: rgba(255, 247, 236, 0.34);
    border: 1px solid rgba(255, 255, 255, 0.25);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.24);
    z-index: 3;
}
.local-video {
    width: 100%;
    height: 0;
    padding-bottom: 56.25%;
    position: relative;
    border-radius: 3px;
    overflow: hidden;
    background: #090605;
}
.local-video::after {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(to top, rgba(0, 0, 0, 0.38), transparent 38%),
        radial-gradient(circle at 50% 50%, transparent 0 58%, rgba(0, 0, 0, 0.34) 100%);
    z-index: 2;
}
.local-video video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 3px;
    filter: saturate(1.16) contrast(1.08) brightness(0.98);
}
.video-controls {
    position: absolute;
    bottom: 20px;
    right: 20px;
    z-index: 10;
    display: flex;
    gap: 10px;
}
.video-btn {
    background: rgba(35, 13, 8, 0.82);
    border: 1px solid rgba(243, 180, 67, 0.45);
    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: 0;
    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;
    position: relative;
    overflow: hidden;
    isolation: isolate;
    clip-path: none;
}

.btn::before,
.download-btn::before,
.download-card-btn::before,
.mirror-btn::before,
.social-link::before {
    content: '';
    position: absolute;
    inset: -10% auto -10% -38%;
    width: 34%;
    background: linear-gradient(90deg, transparent, rgba(255, 248, 235, 0.72), transparent);
    transform: skewX(-24deg);
    opacity: 0.6;
    animation: buttonSheen 3.8s ease-in-out infinite;
    z-index: -1;
}

.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;
    overflow: hidden;
    background:
        linear-gradient(180deg, rgba(8, 5, 4, 0.96), rgba(12, 6, 5, 0.98)),
        radial-gradient(circle at 12% 0%, rgba(179, 38, 31, 0.18), transparent 34%),
        radial-gradient(circle at 86% 18%, rgba(199, 139, 54, 0.10), transparent 32%),
        linear-gradient(135deg, var(--section-bg-a), var(--section-bg-b));
}

.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(0, 0, 0, 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: var(--panel-bg);
    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(243, 180, 67, 0.48);
    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(179, 38, 31, 0.34);
}
.feature-title {
    font-size: 1.25rem;
    margin-bottom: 15px;
    color: var(--secondary);
}
#screenshots {
    position: relative;
    overflow: hidden;
    background:
        linear-gradient(180deg, rgba(5, 3, 3, 0.98), rgba(10, 5, 4, 0.99)),
        radial-gradient(circle at 16% 18%, rgba(179, 38, 31, 0.18), transparent 32%),
        radial-gradient(circle at 84% 76%, rgba(199, 139, 54, 0.10), transparent 34%),
        linear-gradient(135deg, #060403 0%, #140706 100%);
}

#screenshots::before {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(120deg, transparent 0 46%, rgba(243, 180, 67, 0.045) 46% 47%, transparent 47% 100%),
        repeating-linear-gradient(90deg, rgba(255, 225, 160, 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: 4px;
    overflow: hidden;
    border: 1px solid rgba(243, 180, 67, 0.22);
    box-shadow: 0 18px 34px rgba(0, 0, 0, 0.42);
    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: 230px;
    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(3, 2, 2, 0.98);
    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(179, 38, 31, 0.86);
    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:
        linear-gradient(180deg, rgba(8, 5, 4, 0.97), rgba(5, 3, 2, 0.99)),
        radial-gradient(circle at 14% 2%, rgba(179, 38, 31, 0.20), transparent 36%),
        radial-gradient(circle at 82% 86%, rgba(199, 139, 54, 0.10), transparent 34%),
        linear-gradient(135deg, #080504 0%, #150705 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: var(--panel-bg);
    padding: 30px;
    border-radius: 6px;
    border: 1px solid rgba(243, 180, 67, 0.24);
    box-shadow: 0 22px 42px rgba(0, 0, 0, 0.42);
}
.requirement-title {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: var(--secondary);
    text-align: center;
}
.requirement-list {
    list-style: none;
}
.requirement-list li {
    padding: 10px 0;
    border-bottom: 1px solid rgba(243, 180, 67, 0.18);
    display: grid;
    grid-template-columns: minmax(96px, 120px) minmax(0, 1fr);
    gap: 10px;
    align-items: start;
}
.requirement-list li:last-child {
    border-bottom: none;
}
.requirement-value {
    font-weight: 600;
    color: var(--secondary);
    margin-left: 0;
    text-align: left;
    overflow-wrap: anywhere;
}
.download-options {
    display: flex;
    justify-content: center;
    gap: 18px;
    flex-wrap: wrap;
    margin-top: 50px;
}
.release-note {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    max-width: 680px;
    margin: 42px auto 0;
    padding: 16px 22px;
    border: 1px solid rgba(243, 180, 67, 0.28);
    border-radius: 4px;
    background: rgba(8, 5, 4, 0.72);
    color: var(--cream-light);
}
.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(180deg, rgba(8, 5, 4, 0.98), rgba(4, 2, 2, 1)),
        radial-gradient(circle at 12% 0%, rgba(179, 38, 31, 0.16), transparent 34%),
        radial-gradient(circle at 88% 90%, rgba(199, 139, 54, 0.08), transparent 34%),
        linear-gradient(135deg, #060403 0%, #130605 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: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: #170905;
    border: 1px solid rgba(243, 180, 67, 0.45);
    box-shadow: 0 0 22px rgba(179, 38, 31, 0.34);
}
.footer-logo-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.footer-logo-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}
.footer-logo-main {
    font-size: 1.08rem;
}
.footer-logo-sub {
    font-size: 1.75rem;
}
.footer-description {
    margin-bottom: 25px;
    line-height: 1.7;
    opacity: 0.9;
}
.social-links {
    display: flex;
    gap: 12px;
}
.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 0;
    border: var(--button-border);
    background: var(--button-bg);
    color: var(--cream-light);
    text-decoration: none;
    transition: transform 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
    font-size: 1.2rem;
    box-shadow: var(--button-shadow);
    position: relative;
    overflow: hidden;
    isolation: isolate;
    clip-path: none;
}
.x-social-icon {
    width: 1.05em;
    height: 1.05em;
    display: inline-block;
    fill: currentColor;
    flex: 0 0 auto;
}
.social-link:hover {
    background: var(--button-bg-hover);
    transform: translateY(-4px);
    box-shadow: var(--button-shadow-hover);
}
.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);
    }
}
@keyframes buttonSheen {
    0%, 18% {
        transform: translateX(-170%) skewX(-24deg);
        opacity: 0;
    }
    30%, 52% {
        opacity: 0.7;
    }
    68%, 100% {
        transform: translateX(430%) skewX(-24deg);
        opacity: 0;
    }
}
@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: 2.35rem;
    }
    .title-sub {
        font-size: 7.2rem;
    }
    .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: 2.05rem;
    }
    .title-sub {
        font-size: 6.2rem;
    }
    .hero-description {
        font-size: 1rem;
        max-width: 700px;
        margin-bottom: 18px;
    }
    .trailer-container {
        max-width: 750px;
    }
}

@media (max-width: 992px) {
    .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: 1.45rem;
    }
    .title-sub {
        font-size: 3.8rem;
    }
    .title-season {
        font-size: 1.5rem;
    }
    .nav-links {
        display: none;
    }
    .language-selector {
        margin-left: 15px;
    }
    .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.02rem;
    }
    .footer-logo-sub {
        font-size: 1.56rem;
    }
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .requirement-list li {
        grid-template-columns: 1fr;
        gap: 4px;
    }
    .requirement-value {
        display: block;
        text-align: left;
        white-space: normal;
    }
}

@media (max-width: 480px) {
    .hero {
        padding-top: 135px;
    }
    .hero-title {
        font-size: 2.25rem;
    }
    .title-main {
        font-size: 1.05rem;
    }
    .title-sub {
        font-size: 2.6rem;
    }
    .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, #7E1719, #D8A851);
    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: #A51E22;
    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:
        linear-gradient(180deg, rgba(8, 5, 4, 0.98), rgba(5, 3, 2, 0.99)),
        radial-gradient(circle at 18% 0%, rgba(179, 38, 31, 0.16), transparent 32%),
        radial-gradient(circle at 82% 100%, rgba(199, 139, 54, 0.08), transparent 34%),
        linear-gradient(135deg, #070403 0%, #130605 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: var(--panel-bg);
    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;
    }
}



