/* ==========================================================================
   VERTEXIA GAME - LANDING PAGE STYLESHEET
   Natural Obsidian & Sunlit Gold Palette
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Be+Vietnam+Pro:ital,wght@0,400;0,500;0,600;0,700;0,800;1,400;1,600&family=Outfit:wght@400;500;600;700;800;900&family=Inter:wght@300;400;500;600;700&family=JetBrains+Mono:wght@400;500&display=swap');

:root {
    /* Canonical Gold & Amber */
    --color-gold-100: #fef3c7;
    --color-gold-200: #fde68a;
    --color-gold-300: #fcd34d;
    --color-gold-400: #fbbf24;
    --color-gold-500: #f1c40f;
    --color-gold-600: #d4ac0d;
    --color-gold-700: #b7950b;
    --color-gold-800: #8c6f08;

    /* Nature & Green */
    --color-green-300: #86efac;
    --color-green-400: #4ade80;
    --color-green-500: #22c55e;
    --color-green-600: #16a34a;
    --color-green-700: #15803d;

    /* Earth & Wood */
    --color-earth-200: #d7be9f;
    --color-earth-400: #a88254;
    --color-earth-500: #7a5229;
    --color-earth-600: #5c3c1b;
    --color-earth-700: #3e2710;

    /* Warm Obsidian Surfaces */
    --color-dark-950: #080907;
    --color-dark-900: #0e100b;
    --color-dark-850: #14170f;
    --color-dark-800: #1a1e14;
    --color-dark-750: #22271a;
    --color-dark-700: #2c3222;

    /* Danger / Combat */
    --color-red-400: #f87171;
    --color-red-500: #ef4444;
    --color-red-600: #dc2626;

    /* Text */
    --text-primary: #f9fafb;
    --text-secondary: #d1d5db;
    --text-muted: #9ca3af;
    --text-gold: #fde68a;

    /* Glass & Shadows */
    --glass-bg: rgba(20, 23, 15, 0.78);
    --glass-bg-card: rgba(26, 30, 20, 0.72);
    --glass-border: rgba(241, 196, 15, 0.22);
    --glass-border-hover: rgba(241, 196, 15, 0.55);
    --gold-glow: 0 0 32px rgba(241, 196, 15, 0.25);
    --gold-glow-intense: 0 0 45px rgba(241, 196, 15, 0.45);
    --green-glow: 0 0 30px rgba(34, 197, 94, 0.25);

    /* Typography */
    --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-heading-vi: 'Be Vietnam Pro', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-mono: 'JetBrains Mono', monospace;

    /* Layout */
    --container-max: 1240px;
}

/* ==========================================================================
   VIETNAMESE TYPOGRAPHY OPTIMIZATIONS
   Outfit has heavy glyphs that distort Vietnamese tone marks.
   Be Vietnam Pro provides native, beautifully balanced diacritics.
   ========================================================================== */
html[lang="vi"] {
    --font-heading: var(--font-heading-vi);
}

html[lang="vi"] h1,
html[lang="vi"] h2,
html[lang="vi"] h3,
html[lang="vi"] h4,
html[lang="vi"] .hero-title,
html[lang="vi"] .section-title,
html[lang="vi"] .feature-title,
html[lang="vi"] .translator-title,
html[lang="vi"] .play-title,
html[lang="vi"] .brand-title,
html[lang="vi"] .arsenal-cat-title,
html[lang="vi"] .video-title,
html[lang="vi"] .screenshot-title,
html[lang="vi"] .item-card-name,
html[lang="vi"] .relic-name,
html[lang="vi"] .btn-primary,
html[lang="vi"] .btn-secondary {
    font-family: var(--font-heading-vi);
    font-weight: 700;
    letter-spacing: normal;
}

html[lang="vi"] .hero-title {
    font-weight: 700;
    line-height: 1.22;
    letter-spacing: -0.2px;
}

/* Reset & Base */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    color-scheme: dark;
}

body {
    font-family: var(--font-body);
    background-color: var(--color-dark-950);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    background-image:
        radial-gradient(circle at 15% 10%, rgba(241, 196, 15, 0.08) 0%, transparent 40%),
        radial-gradient(circle at 85% 30%, rgba(34, 197, 94, 0.06) 0%, transparent 45%),
        radial-gradient(circle at 50% 70%, rgba(122, 82, 41, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 90%, rgba(241, 196, 15, 0.05) 0%, transparent 40%);
    background-attachment: fixed;
}

/* Ambient Subtle Grid Effect */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    background-size: 40px 40px;
    background-image:
        linear-gradient(to right, rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    z-index: 0;
}

.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 1;
}

/* ==========================================================================
   NAVIGATION BAR
   ========================================================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 16px 0;
    background: rgba(8, 9, 7, 0.82);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(241, 196, 15, 0.15);
    transition: all 0.3s ease;
}

.navbar.scrolled {
    padding: 12px 0;
    background: rgba(8, 9, 7, 0.94);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--text-primary);
}

.brand-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--color-gold-500), var(--color-gold-700));
    padding: 2px;
    box-shadow: 0 0 15px rgba(241, 196, 15, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
}

.brand-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}

.brand-title {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 22px;
    letter-spacing: 1.5px;
    background: linear-gradient(90deg, #ffffff, var(--color-gold-400));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 28px;
    list-style: none;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    transition: color 0.2s ease;
    position: relative;
}

.nav-link:hover {
    color: var(--color-gold-400);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0%;
    height: 2px;
    background: var(--color-gold-500);
    transition: width 0.2s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

/* Language Switcher */
.lang-toggle {
    display: flex;
    align-items: center;
    background: var(--color-dark-800);
    border: 1px solid rgba(241, 196, 15, 0.25);
    border-radius: 20px;
    padding: 3px;
    gap: 2px;
}

.lang-btn {
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 12px;
    font-weight: 700;
    font-family: var(--font-mono);
    padding: 4px 10px;
    border-radius: 16px;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1.2;
    transition: all 0.2s ease;
}

.lang-btn:hover {
    color: var(--text-primary);
}

.lang-btn.active {
    background: var(--color-gold-500);
    color: var(--color-dark-950);
    box-shadow: 0 0 10px rgba(241, 196, 15, 0.5);
}

/* Primary CTA Button */
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: linear-gradient(135deg, var(--color-gold-400) 0%, var(--color-gold-600) 100%);
    color: var(--color-dark-950);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 15px;
    padding: 10px 22px;
    border-radius: 10px;
    text-decoration: none;
    border: 1px solid var(--color-gold-300);
    box-shadow: var(--gold-glow);
    transition: all 0.25s ease;
    cursor: pointer;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--gold-glow-intense);
    background: linear-gradient(135deg, var(--color-gold-300) 0%, var(--color-gold-500) 100%);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: var(--glass-bg-card);
    color: var(--text-primary);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 15px;
    padding: 10px 22px;
    border-radius: 10px;
    text-decoration: none;
    border: 1px solid var(--glass-border);
    transition: all 0.25s ease;
    cursor: pointer;
}

.btn-secondary:hover {
    background: rgba(34, 39, 26, 0.9);
    border-color: var(--color-gold-400);
    transform: translateY(-2px);
    color: var(--color-gold-300);
}

.mobile-toggle {
    display: none;
    background: transparent;
    border: 1px solid var(--glass-border);
    color: var(--text-primary);
    padding: 8px;
    border-radius: 8px;
    cursor: pointer;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero {
    min-height: 100vh;
    padding-top: 150px;
    padding-bottom: 80px;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-content {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 48px;
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(241, 196, 15, 0.12);
    border: 1px solid rgba(241, 196, 15, 0.35);
    border-radius: 30px;
    padding: 6px 16px;
    font-family: var(--font-mono);
    font-size: 13px;
    color: var(--color-gold-300);
    margin-bottom: 24px;
    box-shadow: 0 0 15px rgba(241, 196, 15, 0.15);
}

.badge-pulse {
    width: 8px;
    height: 8px;
    background-color: var(--color-green-400);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--color-green-400);
    animation: pulse 1.8s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(0.95);
        opacity: 0.8;
    }

    50% {
        transform: scale(1.3);
        opacity: 1;
    }

    100% {
        transform: scale(0.95);
        opacity: 0.8;
    }
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 54px;
    font-weight: 900;
    line-height: 1.12;
    letter-spacing: -0.5px;
    margin-bottom: 22px;
}

.hero-title span.highlight {
    background: linear-gradient(135deg, var(--color-gold-300) 0%, var(--color-gold-500) 50%, var(--color-earth-400) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 40px rgba(241, 196, 15, 0.3);
}

.hero-subtitle {
    font-size: 18px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 36px;
    max-width: 580px;
}

.hero-ctas {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 40px;
}

.hero-ctas .btn-primary {
    padding: 14px 32px;
    font-size: 17px;
}

.hero-ctas .btn-secondary {
    padding: 14px 28px;
    font-size: 17px;
}

/* Quick platform tags */
.platform-tags {
    display: flex;
    align-items: center;
    gap: 18px;
    font-size: 13px;
    color: var(--text-muted);
}

.platform-tag {
    display: flex;
    align-items: center;
    gap: 6px;
}

.platform-tag img {
    width: 16px;
    height: 16px;
    opacity: 0.8;
}

/* Hero Showcase Card */
.hero-visual {
    position: relative;
}

.hero-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 24px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6), var(--gold-glow);
    position: relative;
    overflow: hidden;
}

.hero-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--color-gold-500), transparent);
}

.hero-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    padding-bottom: 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.server-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--color-green-400);
}

.hero-preview-box {
    width: 100%;
    aspect-ratio: 16 / 10;
    background: linear-gradient(135deg, #12160d 0%, #1c2214 100%);
    border-radius: 14px;
    border: 1px dashed rgba(241, 196, 15, 0.3);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    position: relative;
    overflow: hidden;
}

.hero-preview-grid {
    position: absolute;
    inset: 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 8px;
    padding: 10px;
    opacity: 0.25;
}

.hero-preview-grid div {
    background: rgba(241, 196, 15, 0.1);
    border: 1px solid rgba(241, 196, 15, 0.2);
    border-radius: 8px;
}

.hero-preview-overlay {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 20px;
}

.hero-preview-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 10px;
    filter: drop-shadow(0 0 20px rgba(241, 196, 15, 0.6));
    animation: floatIcon 3.5s ease-in-out infinite;
}

@keyframes floatIcon {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-8px);
    }
}

.hero-preview-text {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 16px;
    color: var(--color-gold-300);
}

.hero-preview-sub {
    font-size: 12px;
    color: var(--text-muted);
}

/* Mini Showcase Badges under hero visual */
.hero-features-chips {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    margin-top: 16px;
}

.chip-item {
    background: var(--color-dark-800);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 10px;
    padding: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.chip-item img {
    width: 24px;
    height: 24px;
}

.chip-text {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-secondary);
}

/* ==========================================================================
   METRICS & HIGHLIGHTS BANNER
   ========================================================================== */
.metrics-banner {
    padding: 30px 0;
    border-top: 1px solid rgba(241, 196, 15, 0.1);
    border-bottom: 1px solid rgba(241, 196, 15, 0.1);
    background: rgba(14, 16, 11, 0.6);
}

.metrics-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.metric-item {
    text-align: center;
    padding: 10px;
}

.metric-number {
    font-family: var(--font-heading);
    font-size: 34px;
    font-weight: 800;
    color: var(--color-gold-400);
    margin-bottom: 4px;
}

.metric-label {
    font-size: 13px;
    color: var(--text-muted);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

/* ==========================================================================
   SECTION COMMON STYLES
   ========================================================================== */
.section {
    padding: 100px 0;
    position: relative;
}

.section-header {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 60px;
}

.section-tag {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--color-gold-400);
    margin-bottom: 12px;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 38px;
    font-weight: 800;
    line-height: 1.25;
    margin-bottom: 16px;
}

.section-desc {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.65;
}

/* ==========================================================================
   GAMEPLAY FEATURES GRID (5 CORE PILLARS)
   ========================================================================== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.feature-card {
    background: var(--glass-bg-card);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(16px);
    border-radius: 18px;
    padding: 32px 26px;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--color-gold-500), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-6px);
    border-color: var(--glass-border-hover);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5), var(--gold-glow);
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-card.featured-card {
    grid-column: span 2;
    background: linear-gradient(135deg, rgba(26, 30, 20, 0.9) 0%, rgba(38, 44, 28, 0.8) 100%);
    border-color: rgba(241, 196, 15, 0.4);
}

.feature-icon-wrapper {
    width: 60px;
    height: 60px;
    border-radius: 14px;
    background: var(--color-dark-800);
    border: 1px solid rgba(241, 196, 15, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 22px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.feature-icon-wrapper img {
    width: 36px;
    height: 36px;
    object-fit: contain;
}

.feature-title {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.feature-text {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
}

/* ==========================================================================
   ENHANCED ITEM SHOWCASE CARDS (Replaces small item-pills)
   ========================================================================== */
.item-cards-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-top: auto;
    padding-top: 18px;
    border-top: 1px solid rgba(241, 196, 15, 0.15);
}

.feature-card.featured-card .item-cards-grid {
    grid-template-columns: repeat(4, 1fr);
}

.feature-card.featured-card .feature-text {
    white-space: pre-line;
    line-height: 1.65;
}

@media (max-width: 992px) {
    .feature-card.featured-card .item-cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.item-showcase-card {
    background: rgba(14, 16, 11, 0.9);
    border: 1px solid rgba(241, 196, 15, 0.2);
    border-radius: 12px;
    padding: 12px 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: all 0.25s ease;
    position: relative;
    overflow: hidden;
}

.item-showcase-card:hover {
    transform: translateY(-4px);
    border-color: var(--color-gold-400);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.6), 0 0 20px rgba(241, 196, 15, 0.3);
    background: rgba(26, 30, 20, 0.95);
}

.item-slot-frame {
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 8px;
    transition: all 0.25s ease;
}

.item-showcase-card:hover .item-slot-frame {
    /* border-color: var(--color-gold-300);
    box-shadow: inset 0 0 16px rgba(241, 196, 15, 0.3), 0 0 18px rgba(241, 196, 15, 0.4); */
}

.item-slot-frame img {
    width: 84px;
    height: 84px;
    object-fit: contain;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.7));
    transition: transform 0.25s ease;
}

.item-showcase-card:hover .item-slot-frame img {
    transform: scale(1.12);
}

.item-card-name {
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.3;
    margin-bottom: 3px;
}

.item-card-tier {
    font-family: var(--font-mono);
    font-size: 10px;
    font-weight: 600;
    color: var(--color-gold-300);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background: rgba(241, 196, 15, 0.1);
    padding: 2px 6px;
    border-radius: 6px;
}

/* ==========================================================================
   ARSENAL, ARMOR & ARTIFACTS SHOWCASE SECTION
   ========================================================================== */
.arsenal-section {
    background: linear-gradient(180deg, var(--color-dark-950) 0%, #12150e 50%, var(--color-dark-950) 100%);
    position: relative;
    border-top: 1px solid rgba(241, 196, 15, 0.15);
    border-bottom: 1px solid rgba(241, 196, 15, 0.15);
}

.arsenal-category-card {
    background: var(--glass-bg-card);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 28px;
    margin-bottom: 30px;
    transition: all 0.3s ease;
}

.arsenal-category-card:hover {
    border-color: var(--glass-border-hover);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6), var(--gold-glow);
}

.arsenal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    padding-bottom: 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.arsenal-title-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
}

.arsenal-cat-icon {
    width: 32px;
    height: 32px;
}

.arsenal-cat-title {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
}

.arsenal-cat-badge {
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--color-gold-300);
    background: rgba(241, 196, 15, 0.12);
    border: 1px solid rgba(241, 196, 15, 0.25);
    padding: 4px 10px;
    border-radius: 12px;
}

.arsenal-items-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
}

.relic-item-card {
    background: rgba(14, 16, 11, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    padding: 14px;
    display: flex;
    align-items: center;
    gap: 14px;
    transition: all 0.25s ease;
}

.relic-item-card:hover {
    transform: translateY(-3px);
    border-color: var(--color-gold-400);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5), 0 0 15px rgba(241, 196, 15, 0.25);
    background: rgba(24, 28, 18, 0.95);
}

.relic-icon-slot {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.25s ease;
}

.relic-item-card:hover .relic-icon-slot {
    /* border-color: var(--color-gold-300);
    box-shadow: 0 0 16px rgba(241, 196, 15, 0.4); */
}

.relic-icon-slot img {
    width: 84px;
    height: 84px;
    object-fit: contain;
    transition: transform 0.25s ease;
}

.relic-item-card:hover .relic-icon-slot img {
    transform: scale(1.1);
}

.relic-meta {
    display: flex;
    flex-direction: column;
}

.relic-name {
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 3px;
}

.relic-desc {
    font-size: 12px;
    color: var(--text-muted);
    line-height: 1.35;
}

/* ==========================================================================
   BREAKTHROUGH: VIETNAMESE AI SOCIAL TRANSLATOR SECTION
   ========================================================================== */
.translator-section {
    background: linear-gradient(180deg, var(--color-dark-950) 0%, #11140e 50%, var(--color-dark-950) 100%);
    position: relative;
    border-top: 1px solid rgba(241, 196, 15, 0.15);
    border-bottom: 1px solid rgba(241, 196, 15, 0.15);
}

.translator-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

.translator-info .section-tag {
    color: var(--color-green-400);
}

.translator-title {
    font-family: var(--font-heading);
    font-size: 36px;
    font-weight: 800;
    line-height: 1.25;
    margin-bottom: 20px;
}

.translator-desc {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 28px;
}

.breakthrough-points {
    display: flex;
    flex-direction: column;
    gap: 18px;
    margin-bottom: 30px;
}

.breakthrough-point {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.point-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: rgba(34, 197, 94, 0.15);
    border: 1px solid rgba(34, 197, 94, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.point-icon img {
    width: 18px;
    height: 18px;
}

.point-text h4 {
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 700;
    color: var(--color-gold-300);
    margin-bottom: 4px;
}

.point-text p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* Comparison Widget & Slider */
.translator-showcase {
    background: var(--glass-bg-card);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 28px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.6), var(--green-glow);
    position: relative;
    user-select: none;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
}

.showcase-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    width: 100%;
    box-sizing: border-box;
}

.context-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--color-dark-800);
    border: 1px solid rgba(241, 196, 15, 0.3);
    border-radius: 20px;
    padding: 4px 12px;
    font-size: 12px;
    color: var(--color-gold-300);
    min-width: 0;
    max-width: calc(100% - 92px);
    box-sizing: border-box;
}

.context-badge img {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.context-badge span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.slider-controls {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    flex-shrink: 0;
}

.slider-nav-btn {
    width: 28px;
    height: 28px;
    border-radius: 6px;
    background: var(--color-dark-800);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: var(--text-secondary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    padding: 0;
}

.slider-nav-btn:hover {
    background: rgba(241, 196, 15, 0.15);
    border-color: var(--color-gold-400);
    color: var(--color-gold-300);
}

.slider-counter {
    font-family: var(--font-mono, monospace);
    font-size: 11.5px;
    font-weight: 700;
    color: var(--color-gold-400);
    padding: 0 4px;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.translator-slides {
    position: relative;
    width: 100%;
    min-width: 0;
}

.translator-slide {
    display: none;
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
}

.translator-slide.active {
    display: block;
    animation: slideFadeIn 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}

@keyframes slideFadeIn {
    from {
        opacity: 0;
        transform: translateY(3px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.showcase-footer {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 16px;
    align-items: center;
    width: 100%;
}

.slider-progress-track {
    width: 100%;
    height: 2px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 2px;
    overflow: hidden;
}

.slider-progress-bar {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--color-gold-500), var(--color-green-400));
    border-radius: 2px;
}

.slider-dots {
    display: flex;
    align-items: center;
    gap: 6px;
    justify-content: center;
}

.slider-dot {
    width: 6px;
    height: 6px;
    border-radius: 3px;
    background: rgba(255, 255, 255, 0.25);
    border: none;
    padding: 0;
    cursor: pointer;
    transition: all 0.25s ease;
}

.slider-dot:hover {
    background: rgba(255, 255, 255, 0.45);
}

.slider-dot.active {
    width: 18px;
    background: linear-gradient(90deg, var(--color-gold-400), var(--color-green-400));
    box-shadow: 0 0 8px rgba(241, 196, 15, 0.4);
}

/* Chat bubble dialogue preview */
.dialogue-box {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.msg-card {
    border-radius: 12px;
    padding: 14px 18px;
    position: relative;
    min-width: 0;
    box-sizing: border-box;
    word-break: break-word;
    overflow-wrap: break-word;
}

.msg-source {
    background: var(--color-dark-800);
    border-left: 3px solid var(--color-gold-400);
}

.msg-label {
    font-size: 11px;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
}

.msg-source .msg-label {
    color: var(--color-gold-400);
}

.msg-text {
    font-size: 14px;
    color: var(--text-primary);
    word-break: break-word;
    overflow-wrap: break-word;
}

.comparison-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    min-width: 0;
    width: 100%;
}

.msg-standard {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.25);
    border-left: 3px solid var(--color-red-500);
}

.msg-standard .msg-label {
    color: var(--color-red-400);
}

.msg-vertexia {
    background: rgba(34, 197, 94, 0.12);
    border: 1px solid rgba(34, 197, 94, 0.35);
    border-left: 3px solid var(--color-green-500);
}

.msg-vertexia .msg-label {
    color: var(--color-green-400);
}

.msg-note {
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 6px;
    font-style: italic;
}

/* ==========================================================================
   MEDIA & GAMEPLAY SHOWCASE (VIDEO TRAILER & SCREENSHOTS)
   ========================================================================== */
.media-section {
    position: relative;
}

.video-trailer-card {
    background: var(--glass-bg-card);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 16px;
    margin-bottom: 48px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.7);
}

.video-placeholder {
    width: 100%;
    aspect-ratio: 16 / 9;
    background: linear-gradient(135deg, #10140c 0%, #1e2615 50%, #0d1109 100%);
    border-radius: 14px;
    border: 1px solid rgba(241, 196, 15, 0.25);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
}

.video-placeholder:hover {
    border-color: var(--color-gold-400);
}

.video-play-btn {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-gold-400), var(--color-gold-600));
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--gold-glow-intense);
    margin-bottom: 18px;
    transition: transform 0.3s ease;
}

.video-placeholder:hover .video-play-btn {
    transform: scale(1.1);
}

.play-triangle {
    width: 0;
    height: 0;
    border-top: 14px solid transparent;
    border-bottom: 14px solid transparent;
    border-left: 22px solid var(--color-dark-950);
    margin-left: 4px;
}

.video-title {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 6px;
}

.video-badge {
    font-family: var(--font-mono);
    font-size: 13px;
    color: var(--color-gold-300);
    background: rgba(8, 9, 7, 0.8);
    padding: 4px 12px;
    border-radius: 20px;
    border: 1px solid rgba(241, 196, 15, 0.2);
}

/* Screenshots Grid */
.screenshots-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.screenshot-card {
    background: var(--glass-bg-card);
    border: 1px solid var(--glass-border);
    border-radius: 14px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.screenshot-card:hover {
    transform: translateY(-4px);
    border-color: var(--color-gold-400);
    box-shadow: var(--gold-glow);
}

.screenshot-slot {
    width: 100%;
    aspect-ratio: 16 / 10;
    background: linear-gradient(135deg, #13170e 0%, #1f2716 100%);
    border-bottom: 1px solid rgba(241, 196, 15, 0.15);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 16px;
    text-align: center;
    gap: 8px;
    position: relative;
}

.screenshot-slot img {
    width: 136px;
    height: 136px;
    filter: drop-shadow(0 0 10px rgba(241, 196, 15, 0.4));
}

.slot-placeholder-badge {
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--color-gold-300);
    background: rgba(0, 0, 0, 0.5);
    padding: 2px 8px;
    border-radius: 10px;
}

.screenshot-details {
    padding: 16px;
}

.screenshot-title {
    font-family: var(--font-heading);
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 6px;
}

.screenshot-desc {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.45;
}

/* ==========================================================================
   WEBAPK & PLAY NOW SECTION
   ========================================================================== */
.play-section {
    background: radial-gradient(circle at 50% 50%, rgba(241, 196, 15, 0.12) 0%, transparent 60%);
    text-align: center;
}

.play-box {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(20px);
    border-radius: 24px;
    padding: 60px 40px;
    max-width: 900px;
    margin: 0 auto;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.7), var(--gold-glow);
    position: relative;
    overflow: hidden;
}

.play-box::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--color-gold-500), transparent);
}

.play-title {
    font-family: var(--font-heading);
    font-size: 42px;
    font-weight: 900;
    margin-bottom: 16px;
}

.play-container {
    max-width: 840px;
    margin: 0 auto;
    text-align: center;
}

.play-ctas {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 28px;
    margin-top: 28px;
}

.btn-large {
    font-size: 17px;
    padding: 14px 34px;
}

.pwa-install-hint {
    display: inline-block;
    background: rgba(14, 16, 11, 0.85);
    border: 1px solid rgba(241, 196, 15, 0.25);
    border-radius: 14px;
    padding: 14px 24px;
    font-size: 14px;
    color: var(--color-gold-300);
    max-width: 640px;
    margin: 0 auto;
    line-height: 1.55;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    background: var(--color-dark-950);
    padding: 50px 0 30px;
    font-size: 14px;
    color: var(--text-muted);
}

.footer-content {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-tagline {
    font-size: 14px;
    color: var(--text-secondary);
    max-width: 520px;
    line-height: 1.6;
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding-top: 24px;
}

.footer-legal a {
    color: var(--color-gold-400);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s ease;
}

.footer-legal a:hover {
    color: var(--color-gold-300);
    text-decoration: underline;
}

/* ==========================================================================
   RESPONSIVE DESIGN
   ========================================================================== */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-subtitle {
        margin: 0 auto 36px;
    }

    .hero-ctas {
        justify-content: center;
    }

    .platform-tags {
        justify-content: center;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .feature-card.featured-card {
        grid-column: span 2;
    }

    .translator-layout {
        grid-template-columns: 1fr;
    }

    .screenshots-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .metrics-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

    .nav-links.open {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(8, 9, 7, 0.98);
        border-bottom: 1px solid var(--glass-border);
        padding: 24px;
        gap: 18px;
    }

    .mobile-toggle {
        display: block;
    }

    .hero-title {
        font-size: 36px;
    }

    .section {
        padding: 64px 0;
    }

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

    .feature-card.featured-card {
        grid-column: span 1;
    }

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

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

/* 580px: Single-column metrics-banner, 2x2 hero chips, stacked CTAs */
@media (max-width: 580px) {
    .metrics-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .metric-item {
        padding: 14px 18px;
        background: rgba(255, 255, 255, 0.025);
        border: 1px solid rgba(241, 196, 15, 0.15);
        border-radius: 12px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        text-align: left;
    }

    .metric-number {
        font-size: 26px;
        margin-bottom: 0;
        min-width: 100px;
    }

    .metric-label {
        font-size: 13px;
        text-align: right;
    }

    .hero-features-chips {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }

    #nav-play-btn {
        display: none;
    }

    .arsenal-items-row {
        grid-template-columns: 1fr;
    }

    .play-ctas {
        flex-direction: column;
        width: 100%;
    }

    .play-ctas .btn-large {
        width: 100%;
        text-align: center;
    }
}

/* 480px down to 370px: Pixel-perfect mobile adaptation without horizontal scroll */
@media (max-width: 480px) {

    html,
    body {
        overflow-x: hidden;
        width: 100%;
        max-width: 100vw;
    }

    .container {
        padding: 0 16px;
    }

    /* Navbar */
    .navbar {
        padding: 12px 0;
    }

    .brand {
        gap: 8px;
    }

    .brand-icon {
        width: 32px;
        height: 32px;
        border-radius: 8px;
    }

    .brand-title {
        font-size: 17px;
        letter-spacing: 0.5px;
    }

    .nav-actions {
        gap: 8px;
    }

    .lang-toggle {
        padding: 2px;
        gap: 1px;
    }

    .lang-btn {
        padding: 4px 6px;
        font-size: 11px;
    }

    .mobile-toggle {
        padding: 6px;
    }

    .mobile-toggle svg {
        width: 20px;
        height: 20px;
    }

    /* Hero */
    .hero {
        padding-top: 96px;
        padding-bottom: 40px;
        min-height: auto;
    }

    .hero-badge {
        font-size: 11px;
        padding: 5px 12px;
        margin-bottom: 16px;
        max-width: 100%;
        white-space: normal;
        line-height: 1.35;
        text-align: left;
    }

    .hero-title {
        font-size: 28px;
        line-height: 1.2;
        letter-spacing: -0.3px;
        word-break: break-word;
        hyphens: auto;
        margin-bottom: 16px;
    }

    .hero-subtitle {
        font-size: 14px;
        line-height: 1.55;
        margin-bottom: 22px;
    }

    .hero-ctas {
        flex-direction: column;
        gap: 10px;
        margin-bottom: 26px;
        width: 100%;
    }

    .hero-ctas .btn-primary,
    .hero-ctas .btn-secondary {
        width: 100%;
        padding: 12px 18px;
        font-size: 15px;
        text-align: center;
        justify-content: center;
    }

    .platform-tags {
        flex-wrap: wrap;
        gap: 8px;
        font-size: 11.5px;
        justify-content: center;
    }

    .platform-tag {
        padding: 4px 10px;
    }

    .hero-card {
        padding: 16px 12px;
        border-radius: 14px;
    }

    .hero-preview-text {
        font-size: 14px;
    }

    .hero-preview-sub {
        font-size: 11px;
    }

    .chip-item {
        padding: 8px 10px;
        gap: 6px;
    }

    .chip-item img {
        width: 20px;
        height: 20px;
    }

    .chip-text {
        font-size: 11px;
    }

    /* Section Headers */
    .section {
        padding: 44px 0;
    }

    .section-header {
        margin-bottom: 24px;
    }

    .section-tag {
        font-size: 11px;
        letter-spacing: 1.5px;
    }

    .section-title {
        font-size: 23px;
        line-height: 1.25;
        margin-bottom: 8px;
    }

    .section-desc {
        font-size: 13.5px;
        line-height: 1.55;
    }

    /* Feature Cards */
    .feature-card {
        padding: 18px 12px;
        border-radius: 14px;
    }

    .feature-icon-wrapper {
        width: 48px;
        height: 48px;
        border-radius: 12px;
        margin-bottom: 14px;
    }

    .feature-icon-wrapper img {
        width: 26px;
        height: 26px;
    }

    .feature-title {
        font-size: 18px;
        margin-bottom: 8px;
    }

    .feature-text {
        font-size: 13.5px;
        line-height: 1.55;
        margin-bottom: 14px;
    }

    .item-cards-grid {
        gap: 6px;
        padding-top: 12px;
    }

    .item-showcase-card {
        padding: 8px 3px;
        border-radius: 8px;
    }

    .item-slot-frame {
        margin-bottom: 5px;
        border-radius: 8px;
    }

    .item-slot-frame img {
        width: 52px;
        height: 52px;
    }

    .item-card-name {
        font-size: 11px;
    }

    .item-card-tier {
        font-size: 8.5px;
        padding: 2px 3px;
    }

    /* Arsenal */
    .arsenal-category-card {
        padding: 14px 10px;
        border-radius: 14px;
        margin-bottom: 18px;
    }

    .arsenal-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .arsenal-cat-title {
        font-size: 17px;
    }

    .relic-item-card {
        padding: 8px 10px;
        gap: 10px;
        border-radius: 10px;
    }

    .relic-icon-slot {
        border-radius: 10px;
    }

    .relic-icon-slot img {
        width: 52px;
        height: 52px;
    }

    .relic-name {
        font-size: 13px;
    }

    .relic-desc {
        font-size: 11.5px;
        line-height: 1.35;
    }

    /* Translator */
    .translator-title {
        font-size: 23px;
        line-height: 1.25;
    }

    .translator-desc {
        font-size: 13.5px;
        line-height: 1.55;
    }

    .breakthrough-points {
        gap: 14px;
        margin-bottom: 22px;
    }

    .breakthrough-point {
        gap: 10px;
    }

    .point-text h4 {
        font-size: 14px;
    }

    .point-text p {
        font-size: 12px;
        line-height: 1.45;
    }

    .translator-showcase {
        padding: 14px 10px;
        border-radius: 14px;
    }

    .showcase-header {
        margin-bottom: 12px;
        padding-bottom: 8px;
        gap: 6px;
    }

    .context-badge {
        font-size: 10.5px;
        padding: 3px 6px;
        max-width: calc(100% - 78px);
    }

    .context-badge img {
        width: 14px;
        height: 14px;
    }

    .slider-nav-btn {
        width: 24px;
        height: 24px;
        border-radius: 5px;
    }

    .slider-counter {
        font-size: 10px;
        padding: 0 2px;
    }

    .dialogue-box {
        gap: 10px;
    }

    .msg-card {
        padding: 10px 10px;
    }

    .showcase-footer {
        margin-top: 12px;
        gap: 8px;
    }

    .msg-text {
        font-size: 13px;
        line-height: 1.45;
    }

    .msg-note {
        font-size: 11px;
    }

    /* Video & Media */
    .video-trailer-card {
        padding: 8px;
        border-radius: 12px;
        margin-bottom: 20px;
    }

    .video-play-btn {
        width: 48px;
        height: 48px;
        margin-bottom: 8px;
    }

    .play-triangle {
        border-top-width: 10px;
        border-bottom-width: 10px;
        border-left-width: 16px;
        margin-left: 3px;
    }

    .video-title {
        font-size: 14px;
        text-align: center;
    }

    .video-badge {
        font-size: 10px;
        text-align: center;
        white-space: normal;
        line-height: 1.3;
        padding: 3px 8px;
    }

    .screenshot-details {
        padding: 12px;
    }

    /* Play CTA */
    .play-title {
        font-size: 24px;
        line-height: 1.25;
    }

    .play-subtitle {
        font-size: 13.5px;
        margin-bottom: 18px;
    }

    .pwa-install-hint {
        font-size: 11.5px;
        padding: 10px 12px;
        border-radius: 10px;
        text-align: left;
    }

    /* Footer */
    .footer {
        padding: 32px 0 20px;
    }

    .footer-brand .brand-title {
        font-size: 16px;
    }

    .footer-tagline {
        font-size: 12.5px;
    }

    .footer-bottom {
        font-size: 11.5px;
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
    }
}