@font-face {
    font-family: 'TianshiYanSC';
    src: url('assets/fonts/tianshi-yan-cn-display.ttf?v=3') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'FZDisplayTC';
    src: url('assets/fonts/fz-zh-tw-display.ttf?v=1') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'HanyiBodySerifSC';
    src: url('assets/fonts/hanyi-zh-cn-body-serif.ttf?v=5') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'FZBodySerifTC';
    src: url('assets/fonts/fz-zh-tw-body-serif.ttf?v=5') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Noto Sans SC', -apple-system, BlinkMacSystemFont, sans-serif;
    overflow-x: hidden;
    background: #000;
    color: #fff;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

img,
video {
    max-width: 100%;
    height: auto;
}

body.lang-en {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

body.lang-zh-tw {
    font-family: 'Noto Sans TC', -apple-system, BlinkMacSystemFont, sans-serif;
}

html {
    scroll-behavior: smooth;
}

/* Navigation */
#navbar.scrolled {
    background: rgba(0, 0, 0, 0.95);
    border-bottom: 1px solid rgba(88, 160, 255, 0.18);
}

.logo-icon {
    width: 24px;
    height: 24px;
    background: linear-gradient(135deg, #64d2ff 0%, #7c5cff 52%, #89f7d1 100%);
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    box-shadow: 0 0 18px rgba(100, 210, 255, 0.28);
}

.brand-name {
    font-size: 1.3rem;
    font-family: 'Noto Serif SC', serif;
    font-weight: 700;
    letter-spacing: 0.1em;
    flex: 0 0 auto;
    min-width: max-content;
    position: relative;
    z-index: 2;
}

.brand-text {
    display: inline-block;
    white-space: nowrap;
    color: #f5fbff;
    background-image: linear-gradient(135deg, #ffffff 0%, #8fe1ff 22%, #7f95ff 56%, #9effe0 100%);
    background-size: 100% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 18px rgba(96, 182, 255, 0.26));
}

body.lang-en .brand-name,
body.lang-en .hero-title,
body.lang-en .section-title {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    letter-spacing: 0.02em;
}

body.lang-en .brand-text {
    background-image: linear-gradient(135deg, #f4fbff 0%, #74d5ff 28%, #8a86ff 60%, #85f1d0 100%);
}

body.lang-zh-tw .brand-name,
body.lang-zh-tw .hero-title,
body.lang-zh-tw .section-title {
    font-family: 'FZDisplayTC', 'Noto Serif TC', serif;
}

body.lang-zh-tw .brand-text {
    background-image: linear-gradient(135deg, #ffffff 0%, #92defe 24%, #8b8fff 58%, #a4ffe3 100%);
}

body.lang-zh-cn .hero-description,
body.lang-zh-cn .module-overlay p,
body.lang-zh-cn .comparison-row > div:not(.comparison-label),
body.lang-zh-cn .glass-card p,
body.lang-zh-cn .footer-description,
body.lang-zh-cn .footer-contact p,
body.lang-zh-cn .text-gray-400,
body.lang-zh-cn .text-gray-300 {
    font-family: 'HanyiBodySerifSC', 'Noto Serif SC', serif;
    line-height: 1.88;
    letter-spacing: 0.015em;
}

body.lang-zh-tw .hero-description,
body.lang-zh-tw .module-overlay p,
body.lang-zh-tw .comparison-row > div:not(.comparison-label),
body.lang-zh-tw .glass-card p,
body.lang-zh-tw .footer-description,
body.lang-zh-tw .footer-contact p,
body.lang-zh-tw .text-gray-400,
body.lang-zh-tw .text-gray-300 {
    font-family: 'FZBodySerifTC', 'Noto Serif TC', serif;
    line-height: 1.9;
    letter-spacing: 0.01em;
}

body.lang-en .hero-title,
body.lang-en .section-title {
    line-height: 1.08;
}

body.lang-en .hero-subtitle {
    letter-spacing: 0.06em;
}

body.lang-en .btn-primary,
body.lang-en .btn-secondary {
    min-width: 190px;
}

body.lang-en .footer-description,
body.lang-en .hero-description,
body.lang-en .module-overlay p,
body.lang-en .glass-card p,
body.lang-en .comparison-row > div {
    line-height: 1.8;
}

body.lang-en .comparison-header > div,
body.lang-en .comparison-row > div,
body.lang-en .footer-contact p {
    word-break: normal;
    overflow-wrap: anywhere;
}

body.lang-en .experience-tag,
body.lang-en .lang-btn {
    letter-spacing: 0.01em;
}

.nav-link {
    color: rgba(255, 255, 255, 0.7);
    transition: color 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    letter-spacing: 0.05em;
}

.nav-link:hover,
.nav-link.active {
    color: #79d3ff;
}

.nav-primary-links {
    display: none;
    flex: 1 1 auto;
    min-width: 0;
    justify-content: center;
}

.nav-lang-wrap {
    display: flex;
    align-items: center;
    margin-left: auto;
}

.lang-switcher {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(12px);
    flex-wrap: nowrap;
}

.lang-btn {
    border: none;
    background: transparent;
    color: rgba(255, 255, 255, 0.78);
    padding: 9px 14px;
    border-radius: 10px;
    font-size: 0.84rem;
    line-height: 1;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.25s ease;
    white-space: nowrap;
}

.lang-btn:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.06);
}

.lang-btn.active {
    color: #eaf6ff;
    background: linear-gradient(135deg, rgba(74, 132, 255, 0.95), rgba(109, 92, 255, 0.92));
    box-shadow: 0 8px 24px rgba(92, 121, 255, 0.28);
}

/* Mobile language select */
.lang-select {
    display: none;
    padding: 10px 16px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #fff;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    backdrop-filter: blur(12px);
    outline: none;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23fff' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 36px;
}

.lang-select option {
    background: #1a1a1a;
    color: #fff;
    padding: 8px;
}


/* Hero */
.hero-section {
    min-height: 100svh;
}

.hero-title {
    font-size: clamp(2.4rem, 7.2vw, 6.2rem);
    font-weight: 900;
    letter-spacing: 0.03em;
    line-height: 1.08;
    font-family: 'Noto Serif SC', serif;
}

@media (min-width: 1024px) {
    .hero-title {
        white-space: nowrap;
    }
}

.hero-brand-title {
    display: inline-block;
    background-image: linear-gradient(135deg, #f4fbff 0%, #86deff 24%, #7f93ff 58%, #97ffe1 100%);
    background-size: 100% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    filter: drop-shadow(0 0 24px rgba(96, 182, 255, 0.22));
}

body.lang-en .hero-brand-title {
    background-image: linear-gradient(135deg, #f7fcff 0%, #7cd9ff 26%, #8e87ff 60%, #8ff7d9 100%);
}

body.lang-zh-tw .hero-brand-title {
    background-image: linear-gradient(135deg, #f6fbff 0%, #8cdfff 24%, #8d92ff 58%, #a2ffe4 100%);
}

@supports not ((-webkit-background-clip: text) or (background-clip: text)) {
    .hero-brand-title {
        color: #8ddcff;
        -webkit-text-fill-color: initial;
    }
}

.hero-subtitle {
    font-size: clamp(1.2rem, 3vw, 1.8rem);
    letter-spacing: 0.15em;
    color: #D4AF37;
    height: 2em;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-description {
    text-shadow: 0 4px 20px rgba(0,0,0,0.4);
}

body.lang-zh-cn .hero-description,
body.lang-zh-cn .text-lg.text-gray-400,
body.lang-zh-cn .text-lg.text-gray-300,
body.lang-zh-cn .text-gray-400.max-w-4xl,
body.lang-zh-cn .text-gray-400.max-w-3xl,
body.lang-zh-cn .text-gray-300.max-w-3xl,
body.lang-zh-cn .text-gray-200.max-w-2xl,
body.lang-zh-cn .text-gray-200.max-w-3xl {
    font-family: 'HanyiBodySerifSC', 'Noto Serif SC', serif;
}

body.lang-zh-tw .hero-description,
body.lang-zh-tw .text-lg.text-gray-400,
body.lang-zh-tw .text-lg.text-gray-300,
body.lang-zh-tw .text-gray-400.max-w-4xl,
body.lang-zh-tw .text-gray-400.max-w-3xl,
body.lang-zh-tw .text-gray-300.max-w-3xl,
body.lang-zh-tw .text-gray-200.max-w-2xl,
body.lang-zh-tw .text-gray-200.max-w-3xl {
    font-family: 'FZBodySerifTC', 'Noto Serif TC', serif;
}

.animated-text {
    display: inline-block;
    will-change: transform, opacity;
    animation: fadeInOut 6s infinite;
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .animated-text {
        animation: none;
    }

    .fade-in {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

@keyframes fadeInOut {
    0%, 100% { opacity: 0; transform: translateY(10px); }
    10%, 40% { opacity: 1; transform: translateY(0); }
    50%, 90% { opacity: 0; transform: translateY(-10px); }
}

/* Section */
.section-padding {
    padding: 140px 0;
}

/* Hero Background */
.hero-bg {
    background-image: url('assets/images/optimized/backgrounds/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.hero-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.5) 50%, rgba(0, 0, 0, 0.8) 100%);
}

.hero-bg > * {
    position: relative;
    z-index: 1;
}

/* Library Background */
.library-bg {
    background-image: url('assets/images/optimized/poster-wall.webp');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
}

.library-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 30% 50%, rgba(109, 40, 217, 0.2) 0%, transparent 70%), rgba(0, 0, 0, 0.85);
}

.library-bg > * {
    position: relative;
    z-index: 1;
}

/* Netflix Background */
.netflix-bg {
    background: radial-gradient(ellipse at 50% 0%, #0a001a 0%, #000428 40%, #000 100%);
    position: relative;
}

.netflix-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(2px 2px at 20% 30%, white, transparent),
        radial-gradient(2px 2px at 60% 70%, white, transparent),
        radial-gradient(1px 1px at 50% 50%, white, transparent),
        radial-gradient(1px 1px at 80% 10%, white, transparent),
        radial-gradient(2px 2px at 90% 60%, white, transparent),
        radial-gradient(1px 1px at 33% 80%, white, transparent),
        radial-gradient(1px 1px at 15% 90%, white, transparent);
    background-size: 200% 200%;
    opacity: 0.4;
    animation: stars 60s linear infinite;
}

@keyframes stars {
    0% { background-position: 0% 0%; }
    100% { background-position: 100% 100%; }
}

.netflix-bg > * {
    position: relative;
    z-index: 1;
}

/* WeChat Background */
.wechat-bg {
    background:
        linear-gradient(135deg, rgba(59, 130, 246, 0.1) 0%, transparent 50%),
        linear-gradient(-45deg, rgba(124, 58, 237, 0.15) 0%, transparent 60%),
        #000;
    position: relative;
}

.wechat-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        repeating-linear-gradient(90deg, rgba(59, 130, 246, 0.03) 0px, transparent 2px, transparent 40px),
        repeating-linear-gradient(0deg, rgba(124, 58, 237, 0.03) 0px, transparent 2px, transparent 40px);
}

.wechat-bg > * {
    position: relative;
    z-index: 1;
}

/* Entertainment Background */
.entertainment-bg {
    background-image: url('assets/images/optimized/theater-1.webp');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
}

.entertainment-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.75);
}

.entertainment-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 70% 50%, rgba(212, 175, 55, 0.08) 0%, transparent 60%);
}

.entertainment-bg > * {
    position: relative;
    z-index: 1;
}

/* Theater Experience Background */
.theater-experience-bg {
    background-image: url('assets/images/optimized/backgrounds/theater-experience-bg.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
}

.theater-experience-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.4) 50%, rgba(0, 0, 0, 0.8) 100%);
}

.theater-experience-bg > * {
    position: relative;
    z-index: 1;
}

/* Gaming Experience Background */
.gaming-experience-bg {
    background-image: url('assets/images/optimized/backgrounds/gaming-experience-bg.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
}

.gaming-experience-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(139, 0, 139, 0.3) 0%, rgba(0, 0, 0, 0.7) 50%, rgba(220, 20, 60, 0.2) 100%);
}

.gaming-experience-bg > * {
    position: relative;
    z-index: 1;
}

/* Server Background */
.server-bg {
    background:
        radial-gradient(ellipse at 20% 30%, rgba(30, 58, 138, 0.3) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 70%, rgba(17, 24, 39, 0.5) 0%, transparent 50%),
        linear-gradient(180deg, #000 0%, #001a33 50%, #000 100%);
}

/* Pricing Background */
.pricing-bg {
    background-image: url('assets/images/optimized/pricing-bg.webp');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
}

.pricing-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.9) 0%, rgba(10, 10, 20, 0.85) 100%);
}

.pricing-bg > * {
    position: relative;
    z-index: 1;
}

/* Area Background */
.area-bg {
    background-image: url('assets/images/optimized/backgrounds/area-bg.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
}

.area-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.75);
}

.area-bg > * {
    position: relative;
    z-index: 1;
}

/* Partners Background */
.partners-bg {
    background: linear-gradient(135deg, #0d0d0d 0%, #1a1410 50%, #0d0d0d 100%);
    position: relative;
}

.partners-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 50%, rgba(212, 175, 55, 0.05) 0%, transparent 70%);
}

.partners-bg > * {
    position: relative;
    z-index: 1;
}

.section-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 900;
    letter-spacing: 0.02em;
    line-height: 1.1;
    font-family: 'Noto Serif SC', serif;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, #D4AF37, transparent);
    margin: 16px auto 0;
}

/* Buttons */
.btn-primary {
    position: relative;
    background: linear-gradient(135deg, rgba(36, 66, 150, 0.96) 0%, rgba(86, 88, 214, 0.96) 52%, rgba(61, 162, 209, 0.96) 100%);
    color: #eef7ff;
    padding: 18px 48px;
    border-radius: 9999px;
    font-weight: 700;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-block;
    text-decoration: none;
    font-size: 16px;
    letter-spacing: 0.05em;
    border: 1px solid rgba(135, 194, 255, 0.28);
    box-shadow: 0 14px 38px rgba(39, 78, 168, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.btn-primary::before {
    content: '';
    position: absolute;
    inset: 1px;
    border-radius: inherit;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.02));
    pointer-events: none;
}

.btn-primary:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 20px 56px rgba(49, 92, 197, 0.34), 0 0 28px rgba(108, 176, 255, 0.18);
}

.btn-secondary {
    background: rgba(10, 18, 36, 0.62);
    border: 1px solid rgba(117, 178, 255, 0.36);
    color: #9ad8ff;
    padding: 16px 48px;
    border-radius: 9999px;
    font-weight: 700;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-block;
    text-decoration: none;
    font-size: 16px;
    letter-spacing: 0.05em;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 10px 28px rgba(9, 17, 36, 0.22);
}

.btn-secondary:hover {
    background: rgba(18, 31, 58, 0.82);
    border-color: rgba(135, 206, 255, 0.58);
    color: #dff3ff;
    transform: translateY(-2px);
    box-shadow: 0 16px 36px rgba(24, 48, 92, 0.24), 0 0 24px rgba(89, 172, 255, 0.14);
}

/* Glass Card */
.glass-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 0 40px rgba(124, 58, 237, 0.05);
}

.glass-card:hover {
    background: rgba(255, 255, 255, 0.06);
    transform: translateY(-6px);
    box-shadow: 0 20px 60px rgba(124, 58, 237, 0.15);
    border-color: rgba(212, 175, 55, 0.2);
}

/* Feature Item */
.feature-item {
    text-align: center;
    padding: 20px;
}

.feature-icon {
    font-size: 3rem;
    font-weight: 900;
    background: linear-gradient(135deg, #D4AF37, #F4E4C1);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 12px;
    font-family: 'Noto Serif SC', serif;
}

/* Stats */
.stat-number {
    font-size: 3rem;
    font-weight: 900;
    background: linear-gradient(135deg, #60a5fa, #c084fc);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
}

.stat-unit {
    font-size: 1rem;
    color: #9ca3af;
    letter-spacing: 0.1em;
}

.stat-icon {
    font-size: 2rem;
    font-weight: 900;
    color: #D4AF37;
    letter-spacing: 0.05em;
    font-family: 'Noto Sans SC', sans-serif;
}

/* Steps */
.step-number {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.2), rgba(124, 58, 237, 0.2));
    border: 2px solid rgba(59, 130, 246, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 900;
    color: #60a5fa;
}

/* Module Card */
.module-card {
    position: relative;
    height: 400px;
    border-radius: 24px;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.module-card:hover {
    transform: translateY(-10px);
}

.wechat-module {
    background-image:
        linear-gradient(180deg, rgba(2, 6, 23, 0.18) 0%, rgba(2, 6, 23, 0.78) 72%, rgba(0, 0, 0, 0.92) 100%),
        linear-gradient(135deg, rgba(59, 130, 246, 0.16) 0%, rgba(124, 58, 237, 0.12) 100%),
        url('assets/images/wechat/IMG_5354.PNG');
    background-size: cover;
    background-position: center 22%;
}

.gaming-module {
    background-image:
        linear-gradient(180deg, rgba(5, 7, 12, 0.22) 0%, rgba(5, 7, 12, 0.78) 70%, rgba(0, 0, 0, 0.94) 100%),
        linear-gradient(135deg, rgba(99, 102, 241, 0.18) 0%, rgba(168, 85, 247, 0.12) 45%, rgba(59, 130, 246, 0.14) 100%),
        url('assets/images/optimized/ps5-hero.webp');
    background-size: cover;
    background-position: center;
}

.module-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.90) 0%, rgba(0, 0, 0, 0.45) 48%, rgba(0, 0, 0, 0.12) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 40px;
}

.module-icon {
    font-size: 4rem;
    font-weight: 900;
    color: #D4AF37;
    margin-bottom: 16px;
    letter-spacing: 0.05em;
}

/* Experience Container */
.experience-container,
.experience-video-container {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    height: 600px;
    min-height: 500px;
}

.experience-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    background: #0b0b0f;
}

.cinematic-video-block::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.92) 0%, rgba(0, 0, 0, 0.35) 50%, rgba(0, 0, 0, 0.78) 100%);
    z-index: 1;
}

.experience-heading-block {
    max-width: 980px;
    margin-left: auto;
    margin-right: auto;
}

.experience-heading-block h2 {
    line-height: 1.15;
}

.experience-tag-row {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    justify-content: center;
    margin-top: 8px;
}

.experience-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px;
    text-align: center;
    z-index: 2;
}

.experience-overlay-bottom {
    justify-content: flex-end;
    padding-bottom: 44px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.72) 0%, rgba(0, 0, 0, 0.18) 45%, rgba(0, 0, 0, 0) 100%);
}

.video-audio-toggle {
    position: absolute;
    right: 24px;
    bottom: 24px;
    z-index: 3;
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(0, 0, 0, 0.55);
    color: #fff;
    border-radius: 9999px;
    padding: 10px 16px;
    font-size: 14px;
    cursor: pointer;
    backdrop-filter: blur(12px);
    transition: all 0.25s ease;
}

.video-audio-toggle:hover {
    background: rgba(0, 0, 0, 0.72);
    border-color: rgba(212, 175, 55, 0.35);
}

.video-audio-toggle-inline {
    position: static;
    margin-top: 16px;
}

.gaming-showcase {
    display: grid;
    grid-template-columns: minmax(280px, 380px) 1fr;
    gap: 48px;
    align-items: center;
    position: relative;
    overflow: hidden;
    background:
        linear-gradient(135deg, rgba(10, 12, 20, 0.82) 0%, rgba(8, 10, 18, 0.72) 45%, rgba(5, 7, 12, 0.88) 100%),
        radial-gradient(circle at 82% 18%, rgba(96, 165, 250, 0.18) 0%, transparent 32%),
        radial-gradient(circle at 68% 78%, rgba(168, 85, 247, 0.18) 0%, transparent 30%),
        url('assets/images/optimized/theater-2.webp');
    background-size: cover;
    background-position: center;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.gaming-phone-video-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.gaming-phone-video-frame {
    width: min(100%, 360px);
    aspect-ratio: 9 / 16;
    border-radius: 28px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
}

.gaming-portrait-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    background: #05070c;
}

.gaming-showcase-copy {
    position: relative;
    z-index: 1;
}

.experience-tag {
    padding: 8px 20px;
    background: rgba(212, 175, 55, 0.15);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 9999px;
    font-size: 0.9rem;
    letter-spacing: 0.05em;
}

/* Phone Frame */
.phone-frame {
    max-width: 400px;
    margin: 0 auto;
    padding: 20px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 40px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.wechat-swiper {
    border-radius: 20px;
    overflow: hidden;
}

.wechat-swiper img {
    width: 100%;
    height: auto;
    display: block;
}

.swiper-button-prev,
.swiper-button-next {
    color: #D4AF37;
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 1s cubic-bezier(0.4, 0, 0.2, 1), transform 1s cubic-bezier(0.4, 0, 0.2, 1);
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Pricing */
.pricing-tier-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.pricing-tier-card {
    position: relative;
    min-height: 260px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: left;
}

.pricing-tier-label {
    font-size: 1.15rem;
    font-weight: 700;
    color: #eaf6ff;
    margin-bottom: 18px;
    letter-spacing: 0.04em;
}

.pricing-tier-note {
    display: inline-block;
    margin-bottom: 12px;
    color: #D4AF37;
    font-size: 0.9rem;
    letter-spacing: 0.04em;
}

.pricing-tier-badge {
    position: absolute;
    top: 18px;
    right: 18px;
    padding: 6px 12px;
    border-radius: 9999px;
    font-size: 12px;
    font-weight: 700;
    background: linear-gradient(135deg, rgba(212,175,55,0.95), rgba(244,228,193,0.95));
    color: #111;
}

.pricing-tier-featured {
    border-color: rgba(212, 175, 55, 0.28);
    box-shadow: 0 20px 60px rgba(212, 175, 55, 0.10);
}

.pricing-tier-custom .pricing-price {
    font-size: clamp(1.45rem, 3vw, 2rem);
    line-height: 1.4;
}

.pricing-tier-list {
    list-style: none;
    display: grid;
    gap: 12px;
    margin-top: auto;
    padding: 0;
    margin-bottom: 22px;
}

.pricing-tier-list li {
    position: relative;
    padding-left: 22px;
    line-height: 1.8;
}

.pricing-tier-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    top: 0;
    color: #D4AF37;
    font-weight: 700;
}

.pricing-tier-cta {
    margin-top: auto;
    width: 100%;
    text-align: center;
}

.pricing-price {
    font-size: clamp(2rem, 5vw, 3rem);
    font-family: 'Noto Serif SC', serif;
}

.price-currency {
    font-size: 0.6em;
    color: #9ca3af;
}

.price-amount {
    font-weight: 900;
    background: linear-gradient(135deg, #D4AF37, #F4E4C1);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.price-separator {
    color: #6b7280;
}

/* Comparison Table */
.comparison-table {
    display: grid;
    gap: 1px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 24px;
    overflow: hidden;
}

.comparison-header,
.comparison-row {
    display: grid;
    grid-template-columns: 1.1fr 1fr 1fr 1.2fr;
}

.comparison-header > div {
    background: rgba(255,255,255,0.06);
    padding: 24px 20px;
    font-weight: 700;
    color: #D4AF37;
}

.comparison-row > div {
    background: rgba(255,255,255,0.02);
    padding: 24px 20px;
    line-height: 1.8;
    color: #d1d5db;
}

.comparison-label {
    font-weight: 700;
    color: #fff !important;
}

/* WeChat ID */
.wechat-id {
    font-size: 4rem;
    font-weight: 900;
    background: linear-gradient(135deg, #D4AF37, #F4E4C1);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-family: 'Noto Sans SC', sans-serif;
    letter-spacing: 0.05em;
}

.contact-qr-wrap {
    cursor: zoom-in;
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.02);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.35s cubic-bezier(0.4, 0, 0.2, 1), border-color 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.contact-qr-wrap:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.32);
    border-color: rgba(212, 175, 55, 0.24);
}

.contact-qr-image {
    width: 100%;
    max-width: 360px;
    margin: 0 auto;
    display: block;
    border-radius: 18px;
}

/* Server Images */
.server-gallery {
    overflow: hidden;
}

.server-main-img {
    height: 250px;
    width: 100%;
    object-fit: cover;
    border-radius: 12px;
}

.server-small-imgs {
    display: flex;
    gap: 8px;
    margin-top: 8px;
}

.server-small-imgs img {
    height: 120px;
    width: 100%;
    flex: 1;
    object-fit: cover;
    border-radius: 12px;
}

.server-image-zoom {
    overflow: hidden;
    border-radius: 12px;
    cursor: zoom-in;
}

.zoomable-image {
    transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1), filter 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}

.server-image-zoom:hover .zoomable-image {
    transform: scale(1.08);
    filter: brightness(1.05);
}

.image-modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    z-index: 9999;
}

.image-modal.hidden {
    display: none;
}

.image-modal-content {
    position: relative;
    max-width: min(92vw, 1200px);
    max-height: 90vh;
}

.image-modal-content img {
    max-width: 100%;
    max-height: 82vh;
    display: block;
    border-radius: 16px;
    box-shadow: 0 20px 80px rgba(0, 0, 0, 0.45);
}

.image-modal-close {
    position: absolute;
    top: -12px;
    right: -12px;
    width: 44px;
    height: 44px;
    border: none;
    border-radius: 9999px;
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    font-size: 28px;
    cursor: pointer;
}

.image-modal-caption {
    text-align: center;
    margin-top: 12px;
    color: #d1d5db;
}

/* Case entry */
.case-entry-card {
    position: relative;
    overflow: hidden;
}

.case-entry-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 85% 20%, rgba(100, 210, 255, 0.12) 0%, transparent 28%);
    pointer-events: none;
}

.case-entry-image-wrap {
    display: block;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.08);
    box-shadow: 0 20px 50px rgba(0,0,0,0.28);
}

.case-entry-image {
    width: 100%;
    height: 100%;
    min-height: 280px;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.case-entry-image-wrap:hover .case-entry-image {
    transform: scale(1.04);
}

/* Footer */
.site-footer {
    background:
        linear-gradient(180deg, rgba(0, 0, 0, 0.96) 0%, rgba(7, 7, 10, 1) 100%),
        radial-gradient(circle at 20% 20%, rgba(212, 175, 55, 0.08) 0%, transparent 28%);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 72px 0 28px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 48px;
    align-items: start;
}

.footer-title {
    font-size: 1rem;
    font-weight: 700;
    color: #D4AF37;
    margin-bottom: 18px;
    letter-spacing: 0.08em;
}

.footer-description {
    color: #9ca3af;
    line-height: 1.9;
    max-width: 460px;
}

.footer-links {
    display: grid;
    gap: 12px;
}

.footer-links a,
.footer-contact p,
.footer-contact span {
    color: #d1d5db;
    text-decoration: none;
    transition: color 0.25s ease;
}

.footer-links a:hover {
    color: #D4AF37;
}

.footer-contact {
    display: grid;
    gap: 12px;
    line-height: 1.8;
}


.footer-bottom {
    margin-top: 42px;
    padding-top: 22px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    text-align: center;
    color: #6b7280;
    font-size: 0.92rem;
}

/* Responsive */
@media (min-width: 768px) {
    .nav-primary-links {
        display: flex !important;
    }
}

@media (max-width: 768px) {
    .nav-primary-links {
        display: none !important;
    }

    .nav-lang-wrap {
        display: flex;
        flex: 0 0 auto;
        order: 2;
        margin-left: auto;
        margin-right: 8px;
    }

    .lang-switcher-desktop {
        display: none !important;
    }

    .lang-select {
        display: block;
    }

    #menu-btn {
        flex: 0 0 auto;
        order: 3;
    }

    .hero-bg,
    .library-bg,
    .entertainment-bg,
    .theater-experience-bg,
    .gaming-experience-bg,
    .pricing-bg,
    .area-bg {
        background-attachment: scroll;
        background-position: center center;
        background-size: cover;
    }

    .hero-bg::before {
        background: linear-gradient(135deg, rgba(0, 0, 0, 0.46) 0%, rgba(0, 0, 0, 0.34) 50%, rgba(0, 0, 0, 0.58) 100%);
    }

    .library-bg::before {
        background: radial-gradient(ellipse at 30% 50%, rgba(109, 40, 217, 0.14) 0%, transparent 70%), rgba(0, 0, 0, 0.72);
    }

    .entertainment-bg::before,
    .area-bg::before {
        background: rgba(0, 0, 0, 0.62);
    }

    .theater-experience-bg::before,
    .pricing-bg::before {
        background: linear-gradient(135deg, rgba(0, 0, 0, 0.72) 0%, rgba(10, 10, 20, 0.58) 100%);
    }

    .gaming-experience-bg::before {
        background: linear-gradient(135deg, rgba(139, 0, 139, 0.18) 0%, rgba(0, 0, 0, 0.56) 50%, rgba(220, 20, 60, 0.12) 100%);
    }

    #navbar .container {
        padding-left: 16px;
        padding-right: 16px;
    }

    #mobile-menu .nav-link {
        font-size: 0.98rem;
        padding: 10px 0;
    }

    .lang-switcher {
        gap: 4px;
        padding: 4px;
    }

    .lang-btn {
        padding: 8px 10px;
        font-size: 12px;
    }

    body.lang-en .hero-title {
        font-size: clamp(2.2rem, 11vw, 3.5rem);
    }

    body.lang-en .section-title {
        font-size: clamp(1.9rem, 8vw, 2.7rem);
    }

    .section-padding {
        padding: 64px 0;
    }

    .hero-section {
        min-height: 100svh;
        padding-top: 96px;
        padding-bottom: 36px;
    }

    .hero-title {
        font-size: clamp(2.5rem, 14vw, 4.25rem);
        line-height: 1.05;
        margin-bottom: 18px;
    }

    .hero-subtitle {
        font-size: 0.95rem;
        letter-spacing: 0.08em;
        height: auto;
        min-height: 1.8em;
        margin-bottom: 24px;
    }

    .hero-description {
        font-size: 0.96rem;
        line-height: 1.78;
        margin-bottom: 24px;
    }

    .section-title {
        font-size: clamp(2rem, 9vw, 3rem);
        line-height: 1.15;
    }

    .btn-primary,
    .btn-secondary {
        width: 100%;
        max-width: 320px;
        margin: 0 auto;
        padding: 15px 24px;
        text-align: center;
    }

    .feature-item {
        padding: 12px 6px;
    }

    .feature-item .font-semibold {
        font-size: 0.95rem;
        line-height: 1.65;
    }

    .step-number {
        width: 64px;
        height: 64px;
        font-size: 1.5rem;
        margin-bottom: 14px;
    }

    .phone-frame {
        max-width: 320px;
        padding: 14px;
        border-radius: 28px;
    }

    .experience-container,
    .experience-video-container {
        height: 360px;
        min-height: 360px;
    }

    .experience-overlay,
    .experience-overlay-bottom {
        padding: 22px;
    }

    .experience-overlay-bottom {
        padding-bottom: 22px;
    }

    .experience-tag-row {
        gap: 12px;
    }

    .experience-tag {
        font-size: 0.82rem;
        padding: 7px 14px;
    }

    .module-card {
        height: 280px;
    }

    .module-overlay {
        padding: 22px;
    }

    .module-overlay h3 {
        font-size: 1.5rem;
        line-height: 1.2;
    }

    .module-overlay p {
        font-size: 0.95rem;
        line-height: 1.7;
    }

    .video-audio-toggle {
        right: 16px;
        bottom: 16px;
        padding: 8px 14px;
        font-size: 13px;
    }

    .gaming-showcase {
        grid-template-columns: 1fr;
        gap: 28px;
        padding: 24px;
    }

    .gaming-phone-video-frame {
        width: min(100%, 300px);
    }

    .pricing-tier-grid {
        grid-template-columns: 1fr;
    }

    .pricing-tier-card {
        min-height: auto;
    }

    .comparison-header,
    .comparison-row {
        grid-template-columns: 1fr;
    }

    .comparison-header > div:first-child {
        display: none;
    }

    .comparison-header > div,
    .comparison-row > div {
        padding: 16px;
    }

    .comparison-row > div {
        line-height: 1.75;
    }

    .comparison-row > div:not(.comparison-label)::before {
        display: block;
        font-size: 0.85rem;
        color: #D4AF37;
        margin-bottom: 8px;
        opacity: 0.9;
    }

    .comparison-row > div:nth-child(2)::before {
        content: var(--label-cn-streaming, '中国流媒体');
    }

    .comparison-row > div:nth-child(3)::before {
        content: var(--label-global-streaming, 'Netflix / Disney+ / HBO');
    }

    .comparison-row > div:nth-child(4)::before {
        content: var(--label-private-system, '私人影音系统');
    }

    .glass-card {
        border-radius: 20px;
    }

    .server-main-img {
        height: 220px;
    }

    .server-small-imgs img {
        height: 96px;
    }

    .wechat-id {
        font-size: 2.5rem;
    }

    .contact-qr-image {
        max-width: 260px;
    }

    .case-entry-image {
        min-height: 220px;
    }

    .site-footer {
        padding: 56px 0 24px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 28px;
        text-align: center;
    }

    .footer-description {
        margin: 0 auto;
    }
}

@media (max-width: 480px) {
    .brand-name {
        font-size: 1.05rem;
        letter-spacing: 0.06em;
    }

    .hero-section .container,
    .section-padding .container,
    .site-footer .container {
        padding-left: 16px;
        padding-right: 16px;
    }

    .hero-title {
        font-size: clamp(2.2rem, 13vw, 3.4rem);
    }

    .hero-description,
    .text-lg {
        font-size: 0.94rem !important;
    }

    .comparison-header > div,
    .comparison-row > div,
    .glass-card.p-12,
    .glass-card.p-8,
    .glass-card.p-6 {
        padding: 18px !important;
    }

    .price-amount {
        display: inline-block;
        line-height: 1.15;
    }

    .contact-qr-image {
        max-width: 220px;
    }

    .image-modal {
        padding: 14px;
    }

    .image-modal-close {
        top: -8px;
        right: -4px;
    }
}
