/* ==========================================================================
   MENUS, SHOP, POPUPS, MODALS & RESPONSIVE LAYOUT
   ========================================================================== */
/* ==========================================================================
   FULL-PAGE IMMERSIVE LANDING SCREEN
   ========================================================================== */
#start-menu {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    padding-top: max(16px, env(safe-area-inset-top, 0px) + 8px);
    padding-right: max(20px, env(safe-area-inset-right, 0px));
    padding-bottom: max(16px, env(safe-area-inset-bottom, 0px) + 8px);
    padding-left: max(20px, env(safe-area-inset-left, 0px));
    z-index: 30;
    pointer-events: none;
    background: radial-gradient(circle at 50% 50%, rgba(12, 10, 6, 0.12) 0%, rgba(10, 8, 4, 0.65) 100%);
    transition: opacity 0.35s ease;
}

/* Unified Floating Rounded Header Capsule */
.landing-header-capsule {
    width: 100%;
    max-width: 900px;
    background: var(--bg-surface);
    border: 1.4px solid var(--card-border);
    backdrop-filter: var(--card-blur);
    border-radius: var(--radius-full);
    padding: 6px 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.5), inset 0 1px 0 var(--card-border-highlight);
    pointer-events: auto;
}

/* ================= STANDARDIZED TEXT2 BRAND HEADER ================= */
.header-brand-group {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.btn-back {
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1.5px solid rgba(255, 255, 255, 0.22);
    color: #ffffff;
    text-decoration: none;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
    flex-shrink: 0;
    font-size: 18px;
    padding: 0;
    box-sizing: border-box;
}

.btn-back i,
.btn-back svg {
    color: #ffffff;
    font-size: 18px;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-back:hover {
    background: rgba(255, 255, 255, 0.15);
    color: #ffffff;
    transform: translateX(-2px);
    border-color: rgba(255, 255, 255, 0.45);
}

.btn-back:active {
    transform: scale(0.92);
    background: rgba(255, 255, 255, 0.22);
    border-color: rgba(255, 255, 255, 0.55);
}

.brand-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: inherit;
    transition: opacity 0.15s ease;
    flex-shrink: 0;
}

.brand-link:hover {
    opacity: 0.92;
}

.brand-logo-card {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1), 0 0 0 1px rgba(0, 0, 0, 0.06);
    flex-shrink: 0;
    padding: 3.5px;
    box-sizing: border-box;
    transition: transform 0.2s ease;
}

.brand-link:hover .brand-logo-card {
    transform: scale(1.04);
}

.brand-logo-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 6px;
    display: block;
}

.brand-text {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    line-height: 1;
    white-space: nowrap;
}

.brand-name {
    font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
    font-weight: 800;
    font-size: 19px;
    color: #ffffff;
    letter-spacing: -0.025em;
    line-height: 1;
}

.brand-divider {
    font-size: 14px;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.4);
    opacity: 0.7;
    user-select: none;
}

.brand-app {
    font-family: 'Orbitron', 'Plus Jakarta Sans', sans-serif;
    font-size: 14px;
    font-weight: 700;
    color: #ffd166;
    letter-spacing: 0.02em;
    line-height: 1;
}

@media (max-width: 640px) {
    .btn-back {
        width: 34px;
        height: 34px;
        border-radius: 10px;
        font-size: 16px;
    }

    .brand-logo-card {
        width: 32px;
        height: 32px;
        border-radius: 8px;
        padding: 3px;
    }

    .brand-name {
        font-size: 17px;
    }

    .brand-divider {
        font-size: 13px;
    }

    .brand-app {
        font-size: 13px;
    }
}

.capsule-right {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* ==========================================================================
   CENTER HERO: LUXURY SOFT GOLDEN "CHƠI NGAY" LAUNCH BUTTON
   ========================================================================== */
.landing-center-hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    pointer-events: auto;
    text-align: center;
    position: relative;
    margin: auto 0;
}

/* Smooth Ambient Breathing Aura */
.hero-soft-ambient-aura {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 280px;
    height: 110px;
    border-radius: var(--radius-full);
    background: radial-gradient(ellipse at center, rgba(255, 209, 102, 0.45) 0%, rgba(245, 158, 11, 0.22) 50%, rgba(0, 0, 0, 0) 80%);
    filter: blur(22px);
    pointer-events: none;
    animation: auraBreathe 3.4s ease-in-out infinite alternate;
}

@keyframes auraBreathe {
    0% { transform: translate(-50%, -50%) scale(0.9); opacity: 0.55; }
    100% { transform: translate(-50%, -50%) scale(1.15); opacity: 0.9; }
}

/* The Soft Liquid-Gold Launch Button */
.btn-hero-play-launch {
    min-width: 230px;
    height: 64px;
    padding: 0 30px 0 20px;
    border-radius: var(--radius-full);
    background: linear-gradient(135deg, #ffe082 0%, #ffd166 35%, #f59e0b 80%, #d97706 100%);
    border: 2px solid rgba(255, 255, 255, 0.85);
    box-shadow: 
        0 14px 36px rgba(245, 158, 11, 0.45), 
        0 0 28px rgba(255, 209, 102, 0.4), 
        inset 0 2px 2px rgba(255, 255, 255, 0.9), 
        inset 0 -2px 6px rgba(180, 83, 9, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    cursor: pointer;
    position: relative;
    z-index: 5;
    overflow: hidden;
    transition: transform 0.28s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.28s ease;
    text-decoration: none;
}

.btn-hero-play-launch:hover {
    transform: translateY(-4px) scale(1.04);
    box-shadow: 
        0 20px 48px rgba(245, 158, 11, 0.65), 
        0 0 45px rgba(255, 224, 130, 0.75),
        inset 0 2px 3px #ffffff;
}

.btn-hero-play-launch:active {
    transform: translateY(1px) scale(0.97);
}

/* Soft Diagonal Shimmer Light Sweep */
.btn-shimmer-sweep {
    position: absolute;
    top: 0;
    left: -120%;
    width: 60%;
    height: 100%;
    background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.55) 50%, transparent 100%);
    transform: skewX(-24deg);
    pointer-events: none;
    animation: shimmerSweep 3.6s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

@keyframes shimmerSweep {
    0% { left: -120%; opacity: 0; }
    20% { opacity: 1; }
    50% { left: 160%; opacity: 0; }
    100% { left: 160%; opacity: 0; }
}

/* Icon Play Circle */
.play-launch-icon-box {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: linear-gradient(135deg, #1f1910, #0a0805);
    border: 1.5px solid rgba(255, 209, 102, 0.45);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.35);
    flex-shrink: 0;
    transition: transform 0.25s ease;
}

.btn-hero-play-launch:hover .play-launch-icon-box {
    transform: scale(1.08);
}

.play-launch-icon-box svg {
    width: 18px;
    height: 18px;
    fill: var(--primary-gold);
    margin-left: 2px;
    filter: drop-shadow(0 0 4px var(--primary-gold-glow));
}

/* Typography Container */
.play-launch-text-wrap {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
}

.play-launch-main-text {
    font-family: var(--font-heading);
    font-size: 1.18rem;
    font-weight: 900;
    letter-spacing: 1px;
    color: #1a1205;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.6);
    line-height: 1.1;
    text-transform: uppercase;
}

.play-launch-sub-text {
    font-family: var(--font-heading);
    font-size: 0.62rem;
    font-weight: 800;
    letter-spacing: 1.5px;
    color: #78350f;
    text-transform: uppercase;
    margin-top: 1px;
}

.btn-settings-header {
    background: rgba(255, 255, 255, 0.06);
    border: 1.2px solid rgba(255, 255, 255, 0.12);
    color: #f1f5f9;
    padding: 5px 14px;
    font-size: 0.76rem;
    border-radius: var(--radius-full);
}

.btn-settings-header:hover {
    background: var(--primary-gold-dim);
    border-color: var(--primary-gold);
    color: var(--primary-gold);
}

/* Bottom Control Dashboard (Luxury Symmetrical Dock: Hero Store & Camera) */
.landing-bottom-dock {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    pointer-events: auto;
    background: linear-gradient(180deg, rgba(22, 18, 10, 0.92), rgba(12, 10, 6, 0.96));
    border: 1.6px solid rgba(255, 209, 102, 0.35);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    padding: 8px 18px 8px 12px;
    border-radius: var(--radius-full);
    box-shadow: 0 16px 45px rgba(0, 0, 0, 0.75), 0 0 28px rgba(255, 209, 102, 0.15);
    margin-bottom: 8px;
    transition: all 0.3s ease;
}

/* Module 1: Big Luxury Hero Store Button */
.btn-dock-store-hero {
    height: 48px;
    padding: 0 18px 0 6px;
    border-radius: var(--radius-full);
    background: linear-gradient(135deg, rgba(255, 209, 102, 0.18), rgba(245, 158, 11, 0.3));
    border: 1.6px solid var(--primary-gold);
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 18px rgba(255, 209, 102, 0.25);
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-dock-store-hero:hover {
    transform: translateY(-2px) scale(1.03);
    background: linear-gradient(135deg, rgba(255, 209, 102, 0.32), rgba(245, 158, 11, 0.45));
    box-shadow: 0 8px 28px var(--primary-gold-glow);
    border-color: #fff;
}

.store-hero-shimmer {
    position: absolute;
    top: 0;
    left: -120%;
    width: 60%;
    height: 100%;
    background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.45) 50%, transparent 100%);
    transform: skewX(-24deg);
    pointer-events: none;
    animation: shimmerSweep 3.2s infinite;
}

.store-hero-icon-box {
    position: relative;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-gold), var(--accent-amber));
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0d0a06;
    box-shadow: 0 0 14px var(--primary-gold-glow);
    flex-shrink: 0;
}

.store-hero-svg {
    width: 20px;
    height: 20px;
    fill: #0d0a06;
}

.store-hot-badge {
    position: absolute;
    top: -4px;
    right: -6px;
    background: linear-gradient(135deg, #ef4444, #f43f5e);
    color: #fff;
    font-size: 0.48rem;
    font-weight: 900;
    padding: 1px 4px;
    border-radius: 4px;
    letter-spacing: 0.3px;
    box-shadow: 0 0 8px rgba(239, 68, 68, 0.9);
    animation: bounceBadge 1.8s infinite;
}

.store-hero-text {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.store-main-title {
    font-family: var(--font-heading);
    font-size: 1.02rem;
    font-weight: 900;
    color: #fff;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    text-shadow: 0 0 10px var(--primary-gold-glow);
}

/* Module 2: Camera Perspective Selector */
.dock-module-camera {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.dock-module-label {
    font-family: var(--font-heading);
    font-size: 0.62rem;
    font-weight: 900;
    letter-spacing: 1.2px;
    color: #94a3b8;
    text-transform: uppercase;
}

.camera-toggle-group {
    display: flex;
    background: rgba(0, 0, 0, 0.55);
    border: 1.2px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-full);
    padding: 3px;
    gap: 3px;
}

.cam-btn {
    padding: 6px 12px;
    background: transparent;
    border: none;
    border-radius: var(--radius-full);
    color: #94a3b8;
    font-family: var(--font-heading);
    font-size: 0.72rem;
    font-weight: 800;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

.cam-btn .btn-svg-icon {
    width: 14px;
    height: 14px;
    fill: currentColor;
}

.cam-btn:hover {
    color: #fff;
}

.cam-btn.active {
    background: linear-gradient(135deg, var(--primary-gold), var(--accent-amber));
    color: #080705;
    box-shadow: 0 0 14px var(--primary-gold-glow);
}

.dock-module-divider {
    width: 1px;
    height: 34px;
    background: linear-gradient(180deg, transparent, rgba(255, 209, 102, 0.4), transparent);
}

/* ==========================================================================
   Modals (Game Over, Hangar, Pause) - Next-Gen Arcade Aesthetics
   ========================================================================== */
.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(8, 7, 5, 0.75);
    backdrop-filter: blur(16px);
    z-index: 35;
    padding-top: max(16px, env(safe-area-inset-top, 0px) + 10px);
    padding-right: max(16px, env(safe-area-inset-right, 0px) + 6px);
    padding-bottom: max(16px, env(safe-area-inset-bottom, 0px) + 10px);
    padding-left: max(16px, env(safe-area-inset-left, 0px) + 6px);
    transition: opacity 0.3s ease;
}

.modal-content {
    background: var(--bg-surface);
    border: 1.5px solid var(--card-border);
    border-radius: 28px;
    padding: 24px 22px;
    max-width: 420px;
    width: 100%;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.8), 0 0 35px var(--primary-gold-glow);
    text-align: center;
    position: relative;
    overflow: hidden;
    animation: modalPop 0.32s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes modalPop {
    0% { transform: scale(0.88); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}

/* Specific Clean Arcade Game Over Card */
.game-over-card {
    max-width: 370px;
    padding: 22px 20px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
}

.game-over-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 107, 107, 0.12);
    border: 1.2px solid rgba(255, 107, 107, 0.5);
    color: #ff8585;
    font-family: var(--font-heading);
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 2px;
    padding: 3px 12px;
    border-radius: var(--radius-full);
    text-transform: uppercase;
}

/* Big Hero Score Stage */
.hero-score-stage {
    position: relative;
    width: 130px;
    height: 130px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 2px auto;
}

.hero-score-glow-ring {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 209, 102, 0.25) 0%, rgba(255, 209, 102, 0) 70%);
    border: 1.5px dashed rgba(255, 209, 102, 0.4);
    animation: rotateRing 14s linear infinite;
}

@keyframes rotateRing {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.hero-score-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.hero-score-val {
    font-family: var(--font-heading);
    font-size: 3.4rem;
    font-weight: 900;
    line-height: 1;
    color: #ffffff;
    text-shadow: 0 0 24px var(--primary-gold-glow), 0 4px 12px rgba(0, 0, 0, 0.5);
}

.hero-score-sub {
    font-family: var(--font-heading);
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 2px;
    color: var(--primary-gold);
    text-transform: uppercase;
    margin-top: 2px;
}

/* ==========================================================================
   Standard Arcade Debriefing Card (Game Over UI)
   Clean, Elegant Glassmorphic Dashboard with Gold Accents
   ========================================================================== */
.game-over-clean-card {
    max-width: 370px;
    width: 90%;
    background: linear-gradient(175deg, rgba(22, 18, 14, 0.96) 0%, rgba(12, 10, 8, 0.98) 100%);
    border: 1.5px solid rgba(255, 215, 120, 0.28);
    border-radius: 32px;
    padding: 24px 22px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    backdrop-filter: blur(28px);
    -webkit-backdrop-filter: blur(28px);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.8), 0 0 35px rgba(255, 209, 102, 0.12);
    animation: modalScaleUp 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes modalScaleUp {
    from {
        opacity: 0;
        transform: scale(0.92) translateY(12px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

/* 1. Header Banner */
.go-header-banner {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.go-title-wrap {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.go-title-tag {
    font-family: var(--font-heading);
    font-size: 0.64rem;
    font-weight: 800;
    letter-spacing: 2px;
    color: rgba(255, 255, 255, 0.45);
    text-transform: uppercase;
}

.go-main-title {
    font-family: var(--font-tech);
    font-size: 1.35rem;
    font-weight: 900;
    letter-spacing: 1px;
    color: #f8fafc;
    line-height: 1.1;
    margin: 0;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.go-record-badge {
    font-family: var(--font-heading);
    font-size: 0.74rem;
    font-weight: 800;
    color: var(--primary-gold);
    background: rgba(255, 209, 102, 0.1);
    border: 1.2px solid rgba(255, 209, 102, 0.3);
    border-radius: var(--radius-full);
    padding: 5px 12px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
    transition: all 0.2s ease;
}

.go-record-badge span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.go-svg-ico {
    width: 14px;
    height: 14px;
    fill: currentColor;
    flex-shrink: 0;
    vertical-align: middle;
}

.go-svg-ico.gold {
    fill: var(--primary-gold);
    filter: drop-shadow(0 0 4px var(--primary-gold-glow));
}

.go-record-badge.new-record-highlight {
    background: rgba(239, 68, 68, 0.2);
    border-color: #ef4444;
    color: #ff8585;
    box-shadow: 0 0 14px rgba(239, 68, 68, 0.5);
    animation: bounceBadge 1.8s infinite;
}

.go-record-badge.new-record-highlight strong {
    color: #fff;
}

/* 2. Hero Score Card */
.go-score-box {
    width: 100%;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 209, 102, 0.03) 100%);
    border: 1.2px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 16px 14px 14px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.go-score-label {
    font-family: var(--font-heading);
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 2.2px;
    text-transform: uppercase;
    color: #94a3b8;
}

.go-score-num {
    font-family: var(--font-tech);
    font-size: 3.8rem;
    font-weight: 900;
    line-height: 1;
    letter-spacing: -1px;
    background: linear-gradient(180deg, #ffffff 25%, #ffefa6 65%, var(--primary-gold) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 6px 20px rgba(255, 209, 102, 0.3));
}

/* 3. Flight Stats Grid (2-Column Clean Cards) */
.go-stats-grid {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.go-stat-card {
    background: rgba(255, 255, 255, 0.035);
    border: 1.2px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 10px 14px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.go-stat-icon-wrap {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.go-stat-icon-wrap.cyan {
    background: rgba(0, 240, 255, 0.12);
    border: 1px solid rgba(0, 240, 255, 0.3);
}

.go-stat-icon-wrap.gold {
    background: rgba(255, 209, 102, 0.12);
    border: 1px solid rgba(255, 209, 102, 0.3);
}

.go-stat-svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

.go-stat-icon-wrap.cyan .go-stat-svg {
    fill: #00f0ff;
    filter: drop-shadow(0 0 4px rgba(0, 240, 255, 0.5));
}

.go-stat-icon-wrap.gold .go-stat-svg {
    fill: #ffd166;
    filter: drop-shadow(0 0 4px var(--primary-gold-glow));
}

.go-stat-info {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.go-stat-title {
    font-family: var(--font-heading);
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 1px;
    color: #94a3b8;
}

.go-stat-val {
    font-family: var(--font-tech);
    font-size: 1.2rem;
    font-weight: 900;
    line-height: 1.1;
}

.go-stat-val.cyan { color: #38bdf8; }
.go-stat-val.gold { color: var(--primary-gold); }

/* 4. Revive Button */
.btn-go-revive {
    width: 100%;
    height: 42px;
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.15), rgba(217, 119, 6, 0.25));
    border: 1.4px solid rgba(245, 158, 11, 0.7);
    color: #fbbf24;
    padding: 0 16px;
    border-radius: var(--radius-full);
    font-family: var(--font-heading);
    font-size: 0.82rem;
    font-weight: 900;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(245, 158, 11, 0.2);
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-go-revive:hover {
    background: #f59e0b;
    color: #080705;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(245, 158, 11, 0.5);
}

.btn-go-revive svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
}

/* 5. Primary Action: Large Gold Play Again */
.btn-go-primary-play {
    width: 100%;
    height: 52px;
    border-radius: var(--radius-full);
    background: linear-gradient(135deg, #ffd166 0%, #f59e0b 100%);
    border: 1.5px solid rgba(255, 255, 255, 0.6);
    color: #080705;
    font-family: var(--font-tech);
    font-size: 0.95rem;
    font-weight: 900;
    letter-spacing: 1.2px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    cursor: pointer;
    box-shadow: 0 6px 24px rgba(255, 209, 102, 0.45);
    position: relative;
    overflow: hidden;
    transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-go-primary-play:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(255, 209, 102, 0.7);
    filter: brightness(1.08);
}

.btn-go-primary-play:active {
    transform: translateY(1px);
    box-shadow: 0 3px 12px rgba(255, 209, 102, 0.5);
}

.btn-go-primary-play .btn-svg-icon {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

/* 6. Secondary Actions (Store & Home) */
.go-sub-actions {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.btn-go-secondary {
    height: 42px;
    background: rgba(255, 255, 255, 0.05);
    border: 1.2px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-full);
    color: #e2e8f0;
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.6px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-go-secondary:hover {
    background: rgba(255, 209, 102, 0.12);
    border-color: rgba(255, 209, 102, 0.4);
    color: var(--primary-gold);
    transform: translateY(-1px);
}

.btn-go-secondary .btn-svg-icon {
    width: 16px;
    height: 16px;
    fill: currentColor;
    transition: transform 0.2s ease;
}

.btn-go-secondary:hover .btn-svg-icon {
    transform: scale(1.1);
}

/* Camera Mode Selector */
.camera-toggle-group {
    display: flex;
    background: rgba(0, 0, 0, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-full);
    padding: 3px;
    gap: 3px;
}

.cam-btn {
    padding: 5px 11px;
    background: transparent;
    border: none;
    border-radius: var(--radius-full);
    color: #cbd5e1;
    font-family: var(--font-heading);
    font-size: 0.72rem;
    font-weight: 800;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    transition: all 0.2s ease;
}

.cam-btn.active {
    background: linear-gradient(135deg, var(--primary-gold), var(--accent-amber));
    color: #080705;
    box-shadow: 0 0 12px var(--primary-gold-glow);
}

/* Audio Controls */
/* ==========================================================================
   Hangar / Skins Selector Modal
   ========================================================================== */
.skins-modal-content {
    max-width: 580px;
    max-height: 85vh;
    overflow-y: auto;
}

.skins-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 18px;
}

.skins-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 12px;
    margin-bottom: 18px;
}

.skin-card {
    background: rgba(0, 0, 0, 0.4);
    border: 1.4px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-sm);
    padding: 12px 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: all 0.2s ease;
}

.skin-card.equipped {
    border-color: var(--primary-gold);
    box-shadow: 0 0 16px var(--primary-gold-glow);
    background: var(--primary-gold-dim);
}

.skin-preview {
    width: 62px;
    height: 62px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 8px;
}

.skin-jet-icon {
    width: 26px;
    height: 26px;
    fill: currentColor;
}

.skin-name {
    font-family: var(--font-heading);
    font-size: 0.88rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 2px;
}

.skin-desc {
    font-size: 0.65rem;
    color: #94a3b8;
    margin-bottom: 10px;
    text-align: center;
    height: 28px;
    line-height: 1.3;
}

.btn-sm {
    padding: 6px 12px;
    font-size: 0.72rem;
    border-radius: var(--radius-full);
    width: 100%;
}

.btn-equipped {
    background: var(--primary-gold-dim);
    color: var(--primary-gold);
    border: 1.2px solid var(--primary-gold);
}

.btn-equip {
    background: var(--primary-gold);
    color: #080705;
}

.btn-buy {
    background: linear-gradient(135deg, var(--primary-gold), var(--accent-amber));
    color: #080705;
    font-weight: 900;
}

/* ==========================================================================
   Mobile Quick Jet Thruster Button
   ========================================================================== */
#mobile-jump-btn {
    display: none;
    position: absolute;
    bottom: 26px;
    right: 26px;
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-gold) 0%, var(--accent-amber) 100%);
    color: #080705;
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 900;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 2px;
    border: 2.5px solid rgba(255, 255, 255, 0.85);
    box-shadow: 0 8px 24px var(--primary-gold-glow);
    z-index: 15;
    cursor: pointer;
    touch-action: none;
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    user-select: none;
    transition: transform 0.1s ease;
}

#mobile-jump-btn:active {
    transform: scale(0.92);
}

#mobile-jump-btn svg {
    width: 20px;
    height: 20px;
    fill: #080705;
}

/* ==========================================================================
   Comprehensive Settings Modal (Cyberpunk Glass & Rich SVG Badges)
   ========================================================================== */
.settings-modal-card {
    max-width: 440px;
    width: 100%;
    background: rgba(14, 11, 7, 0.85);
    border: 1.5px solid rgba(255, 209, 102, 0.25);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.7), 0 0 30px rgba(255, 209, 102, 0.1);
    padding: 22px 20px;
    border-radius: var(--radius-lg);
}

.settings-modal-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.settings-header-icon-box {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: var(--primary-gold-dim);
    border: 1.2px solid rgba(255, 209, 102, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 14px var(--primary-gold-glow);
    flex-shrink: 0;
}

.settings-gear-svg {
    width: 22px;
    height: 22px;
    fill: var(--primary-gold);
    animation: slowSpin 20s linear infinite;
}

@keyframes slowSpin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.settings-header-text {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.settings-title {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 900;
    letter-spacing: 0.5px;
    color: #fff;
    margin: 0;
    line-height: 1.2;
}

.settings-subtitle {
    font-size: 0.72rem;
    color: #94a3b8;
    margin-top: 2px;
}

.settings-sections-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.settings-module-card {
    background: rgba(0, 0, 0, 0.35);
    border: 1.2px solid rgba(255, 255, 255, 0.07);
    border-radius: var(--radius-sm);
    padding: 10px 12px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.settings-card-tag {
    display: flex;
    align-items: center;
    gap: 6px;
    font-family: var(--font-heading);
    font-size: 0.64rem;
    font-weight: 900;
    color: var(--primary-gold);
    letter-spacing: 0.8px;
    text-transform: uppercase;
}

.tag-svg {
    width: 13px;
    height: 13px;
    fill: currentColor;
}

.settings-item-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    padding: 4px 0;
}

.settings-item-meta {
    display: flex;
    align-items: center;
    gap: 10px;
}

.setting-icon-pill {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.setting-icon-pill svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
}

.setting-icon-pill.gold { background: rgba(255, 209, 102, 0.12); color: var(--primary-gold); border: 1px solid rgba(255, 209, 102, 0.3); }
.setting-icon-pill.purple { background: rgba(217, 70, 239, 0.12); color: #d946ef; border: 1px solid rgba(217, 70, 239, 0.3); }
.setting-icon-pill.cyan { background: rgba(0, 240, 255, 0.12); color: #00f0ff; border: 1px solid rgba(0, 240, 255, 0.3); }
.setting-icon-pill.red { background: rgba(239, 68, 68, 0.12); color: #f87171; border: 1px solid rgba(239, 68, 68, 0.3); }

.setting-item-label {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.setting-label-main {
    font-family: var(--font-heading);
    font-size: 0.82rem;
    font-weight: 800;
    color: #f1f5f9;
}

.setting-label-sub {
    font-size: 0.68rem;
    color: #64748b;
}

/* Sliding iOS/Cyberpunk Switch Toggle */
.btn-toggle-switch {
    width: 64px;
    height: 30px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    border: 1.2px solid rgba(255, 255, 255, 0.16);
    position: relative;
    cursor: pointer;
    display: flex;
    align-items: center;
    padding: 0 4px;
    transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.switch-knob {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #64748b;
    transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), background 0.25s ease;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
}

.switch-text {
    font-family: var(--font-heading);
    font-size: 0.65rem;
    font-weight: 900;
    color: #64748b;
    position: absolute;
    right: 8px;
    transition: color 0.25s ease;
}

.btn-toggle-switch.active {
    background: rgba(255, 209, 102, 0.2);
    border-color: var(--primary-gold);
    box-shadow: 0 0 12px var(--primary-gold-glow);
}

.btn-toggle-switch.active .switch-knob {
    transform: translateX(34px);
    background: linear-gradient(135deg, var(--primary-gold), var(--accent-amber));
    box-shadow: 0 2px 8px var(--primary-gold-glow);
}

.btn-toggle-switch.active .switch-text {
    left: 8px;
    right: auto;
    color: var(--primary-gold);
}

/* Danger Button */
.btn-setting-danger {
    padding: 5px 12px;
    border-radius: var(--radius-full);
    background: rgba(239, 68, 68, 0.12);
    border: 1.2px solid rgba(239, 68, 68, 0.4);
    color: #f87171;
    font-family: var(--font-heading);
    font-size: 0.72rem;
    font-weight: 900;
    display: flex;
    align-items: center;
    gap: 4px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-setting-danger:hover {
    background: #ef4444;
    color: #fff;
    box-shadow: 0 0 12px rgba(239, 68, 68, 0.5);
}

/* Close Settings Hero Button */
.btn-close-settings-hero {
    width: 100%;
    margin-top: 14px;
    height: 44px;
    background: rgba(255, 255, 255, 0.06);
    border: 1.4px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-full);
    color: #cbd5e1;
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-close-settings-hero:hover {
    background: var(--primary-gold-dim);
    border-color: var(--primary-gold);
    color: var(--primary-gold);
}

/* ==========================================================================
   FULL-PAGE DEDICATED CYBER STORE & ARMORY STYLING
   ========================================================================== */

/* Daily Header Reward Button & Pulse */
.btn-daily-header {
    background: linear-gradient(135deg, rgba(255, 209, 102, 0.18), rgba(245, 158, 11, 0.28));
    border: 1.4px solid rgba(255, 209, 102, 0.6);
    color: var(--primary-gold);
    padding: 6px 14px;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    gap: 6px;
    font-family: var(--font-heading);
    font-size: 0.82rem;
    font-weight: 800;
    cursor: pointer;
    position: relative;
    box-shadow: 0 0 14px rgba(255, 209, 102, 0.35);
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-daily-header:hover {
    transform: translateY(-2px);
    background: linear-gradient(135deg, rgba(255, 209, 102, 0.3), rgba(245, 158, 11, 0.45));
    border-color: #fff;
    box-shadow: 0 0 20px rgba(255, 209, 102, 0.6);
}

.pulse-reward {
    animation: rewardPulse 2s ease-in-out infinite;
}

@keyframes rewardPulse {
    0%, 100% {
        box-shadow: 0 0 10px rgba(255, 209, 102, 0.4);
        transform: scale(1);
    }
    50% {
        box-shadow: 0 0 22px rgba(255, 209, 102, 0.85);
        transform: scale(1.04);
    }
}

.daily-gift-icon {
    font-size: 1.05rem;
}

.daily-gift-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #ef4444;
    box-shadow: 0 0 8px #ef4444;
    position: absolute;
    top: -2px;
    right: -2px;
}

/* Store Dock Module Button */
.btn-store-module {
    background: linear-gradient(135deg, rgba(255, 209, 102, 0.14), rgba(245, 158, 11, 0.22));
    border: 1.4px solid rgba(255, 209, 102, 0.45);
    padding: 8px 16px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-store-module:hover {
    background: linear-gradient(135deg, rgba(255, 209, 102, 0.25), rgba(245, 158, 11, 0.38));
    border-color: var(--primary-gold);
    transform: translateY(-2px);
    box-shadow: 0 4px 18px var(--primary-gold-glow);
}

.store-icon-wrap {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: rgba(255, 209, 102, 0.15);
    color: var(--primary-gold);
}

.store-badge-pulse {
    position: absolute;
    top: -6px;
    right: -8px;
    background: linear-gradient(135deg, #ef4444, #f43f5e);
    color: #fff;
    font-size: 0.52rem;
    font-weight: 900;
    padding: 1px 4px;
    border-radius: 4px;
    letter-spacing: 0.5px;
    box-shadow: 0 0 8px rgba(239, 68, 68, 0.8);
    animation: bounceBadge 1.5s infinite;
}

@keyframes bounceBadge {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-3px); }
}

.store-btn-text {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.store-main-label {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 900;
    color: #fff;
    letter-spacing: 0.5px;
}

.store-sub-label {
    font-size: 0.65rem;
    color: var(--primary-gold);
    font-weight: 600;
}

/* Game Over Store Action Button */
.btn-gameover-store {
    background: rgba(255, 209, 102, 0.12);
    border-color: rgba(255, 209, 102, 0.4);
    color: var(--primary-gold);
}

.btn-gameover-store:hover {
    background: var(--primary-gold);
    color: #000;
    box-shadow: 0 0 16px var(--primary-gold-glow);
}

/* ==========================================================================
   FULL-PAGE STORE CONTAINER & LAYOUT
   ========================================================================== */
.shop-fullscreen-page {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    width: 100%;
    height: 100vh;
    height: 100dvh;
    z-index: 100;
    background: radial-gradient(circle at 50% 10%, #1a140a 0%, #0c0a06 50%, #050403 100%);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    color: #f8fafc;
    touch-action: pan-y;
    animation: shopPageFadeIn 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes shopPageFadeIn {
    from {
        opacity: 0;
        transform: scale(0.98);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Shop Navigation Header */
.shop-nav-header {
    min-height: calc(68px + env(safe-area-inset-top, 0px));
    height: auto;
    padding-top: max(12px, env(safe-area-inset-top, 0px) + 6px);
    padding-right: max(24px, env(safe-area-inset-right, 0px));
    padding-bottom: 12px;
    padding-left: max(24px, env(safe-area-inset-left, 0px));
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(20, 16, 10, 0.85);
    border-bottom: 1px solid rgba(255, 209, 102, 0.18);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    flex-shrink: 0;
    z-index: 10;
}

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

.btn-shop-back-action {
    background: rgba(255, 255, 255, 0.06);
    border: 1.2px solid rgba(255, 255, 255, 0.15);
    color: #cbd5e1;
    padding: 8px 16px;
    border-radius: var(--radius-full);
    font-family: var(--font-heading);
    font-size: 0.82rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-shop-back-action:hover {
    background: var(--primary-gold-dim);
    border-color: var(--primary-gold);
    color: var(--primary-gold);
    transform: translateX(-2px);
}

.shop-svg-icon {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

.shop-brand-box {
    display: flex;
    flex-direction: column;
}

.shop-page-title {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 900;
    letter-spacing: 1px;
    background: linear-gradient(135deg, #fff, var(--primary-gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin: 0;
    line-height: 1.1;
}

.shop-page-subtitle {
    font-size: 0.7rem;
    color: #94a3b8;
    margin-top: 2px;
}

.shop-currency-badge {
    background: rgba(255, 209, 102, 0.14);
    border: 1.4px solid rgba(255, 209, 102, 0.45);
    padding: 6px 16px;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 0 16px var(--primary-gold-glow);
}

.gem-spinning-icon {
    font-size: 1.1rem;
    animation: gemFloat 2s ease-in-out infinite alternate;
}

@keyframes gemFloat {
    from { transform: translateY(-1px) rotate(0deg); }
    to { transform: translateY(1px) rotate(10deg); }
}

.shop-coins-value {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 900;
    color: #fff;
}

.shop-coins-label {
    font-family: var(--font-heading);
    font-size: 0.72rem;
    font-weight: 800;
    color: var(--primary-gold);
}

/* Category Tabs Bar */
.shop-tabs-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 10px 24px;
    background: rgba(10, 8, 5, 0.65);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    flex-shrink: 0;
}

.shop-tabs-bar::-webkit-scrollbar {
    display: none;
}

.shop-tab-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1.2px solid rgba(255, 255, 255, 0.12);
    color: #94a3b8;
    padding: 9px 26px;
    min-width: 140px;
    justify-content: center;
    border-radius: var(--radius-full);
    font-family: var(--font-heading);
    font-size: 0.82rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    white-space: nowrap;
    position: relative;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.shop-tab-btn:hover {
    background: rgba(255, 209, 102, 0.1);
    border-color: rgba(255, 209, 102, 0.3);
    color: #f1f5f9;
}

.shop-tab-btn.active {
    background: linear-gradient(135deg, rgba(255, 209, 102, 0.25), rgba(245, 158, 11, 0.35));
    border-color: var(--primary-gold);
    color: #fff;
    box-shadow: 0 0 16px var(--primary-gold-glow);
}

.tab-svg-icon {
    width: 18px;
    height: 18px;
    fill: currentColor;
    flex-shrink: 0;
    transition: transform 0.2s ease;
}

.shop-tab-btn:hover .tab-svg-icon {
    transform: scale(1.15);
}

.tab-name {
    font-family: var(--font-heading);
    font-size: 0.82rem;
    font-weight: 900;
    letter-spacing: 0.5px;
}

.tab-badge-new {
    background: #ef4444;
    color: #fff;
    font-size: 0.55rem;
    font-weight: 900;
    padding: 1px 5px;
    border-radius: 4px;
    letter-spacing: 0.5px;
}

.daily-alert-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #ef4444;
    box-shadow: 0 0 6px #ef4444;
}

/* Shop Main Scrollable Content Area - Smooth Touch Scrolling */
.shop-main-content {
    flex: 1;
    width: 100%;
    padding: 20px 24px;
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-y;
    overscroll-behavior-y: contain;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.shop-grid-container {
    width: 100%;
    max-width: 1100px;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(175px, 1fr));
    gap: 12px;
    padding-bottom: 40px;
}

/* ==========================================================================
   STREAMLINED SHOP CARDS (SKINS, BOOSTERS, TALENTS)
   ========================================================================== */
.shop-item-card {
    background: linear-gradient(165deg, rgba(24, 19, 13, 0.92) 0%, rgba(12, 10, 7, 0.96) 100%);
    border: 1.2px solid rgba(255, 209, 102, 0.16);
    border-radius: 18px;
    padding: 12px 10px 10px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 8px;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
}

.shop-item-card:hover {
    transform: translateY(-2px);
    border-color: rgba(255, 209, 102, 0.45);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.55), 0 0 16px rgba(255, 209, 102, 0.1);
}

.shop-item-card.equipped {
    border-color: var(--primary-gold);
    box-shadow: 0 0 18px var(--primary-gold-glow);
    background: linear-gradient(150deg, rgba(32, 25, 14, 0.92), rgba(18, 14, 8, 0.98));
}

/* Card Header Row */
.card-top-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    min-height: 20px;
}

.rarity-pill {
    font-family: var(--font-heading);
    font-size: 0.58rem;
    font-weight: 900;
    padding: 2px 7px;
    border-radius: var(--radius-full);
    letter-spacing: 0.8px;
    text-transform: uppercase;
}

.rarity-pill.common { background: rgba(148, 163, 184, 0.12); color: #94a3b8; border: 1px solid rgba(148, 163, 184, 0.25); }
.rarity-pill.rare { background: rgba(0, 240, 255, 0.12); color: #00f0ff; border: 1px solid rgba(0, 240, 255, 0.3); }
.rarity-pill.epic { background: rgba(217, 70, 239, 0.12); color: #d946ef; border: 1px solid rgba(217, 70, 239, 0.3); }
.rarity-pill.legendary { background: rgba(255, 209, 102, 0.16); color: var(--primary-gold); border: 1px solid rgba(255, 209, 102, 0.4); }
.rarity-pill.mythic { background: rgba(239, 68, 68, 0.16); color: #f87171; border: 1px solid rgba(239, 68, 68, 0.4); }

.status-badge-mini {
    font-family: var(--font-heading);
    font-size: 0.58rem;
    font-weight: 900;
    padding: 2px 7px;
    border-radius: var(--radius-full);
    letter-spacing: 0.6px;
    background: rgba(16, 185, 129, 0.15);
    border: 1px solid #10b981;
    color: #10b981;
}

.count-badge-mini {
    font-family: var(--font-heading);
    font-size: 0.64rem;
    font-weight: 800;
    padding: 2px 7px;
    border-radius: var(--radius-full);
    background: rgba(255, 209, 102, 0.1);
    border: 1px solid rgba(255, 209, 102, 0.25);
    color: var(--primary-gold);
}

/* Card Showcase Box */
.card-showcase-box {
    width: 100%;
    height: 78px;
    border-radius: 12px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.04) 0%, transparent 70%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.skin-jet-3d-svg {
    width: 48px;
    height: 48px;
    filter: drop-shadow(0 0 10px currentColor);
    transition: transform 0.25s ease;
}

.shop-item-card:hover .skin-jet-3d-svg {
    transform: scale(1.1) rotate(4deg);
}

.booster-vector-box {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 209, 102, 0.08);
    border: 1.2px solid rgba(255, 209, 102, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 14px rgba(255, 209, 102, 0.15);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.shop-item-card:hover .booster-vector-box {
    transform: scale(1.08);
    box-shadow: 0 0 20px var(--primary-gold-glow);
}

.booster-vector-box .svg-ico {
    width: 24px;
    height: 24px;
    fill: var(--primary-gold);
}

/* Card Info Block */
.card-info-block {
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.card-title {
    font-family: var(--font-heading);
    font-size: 0.86rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: 0.3px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.2;
}

/* Upgrade Level Pips */
.upgrade-level-tracker {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    margin: 2px 0;
}

.level-pip {
    flex: 1;
    max-width: 16px;
    height: 4px;
    border-radius: 2px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.level-pip.filled {
    background: linear-gradient(90deg, var(--primary-gold), var(--accent-amber));
    border-color: var(--primary-gold);
    box-shadow: 0 0 5px var(--primary-gold-glow);
}

/* Booster Toggle Row */
.booster-toggle-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(0, 0, 0, 0.35);
    padding: 4px 8px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.toggle-label-text {
    font-size: 0.64rem;
    font-weight: 800;
    color: #94a3b8;
    letter-spacing: 0.5px;
}

/* Action Buttons */
.btn-card-action {
    width: 100%;
    height: 36px;
    border-radius: var(--radius-full);
    font-family: var(--font-heading);
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.svg-ico {
    width: 14px;
    height: 14px;
    min-width: 14px;
    min-height: 14px;
    max-width: 14px;
    max-height: 14px;
    fill: currentColor;
    display: inline-block;
    vertical-align: middle;
    flex-shrink: 0;
}

.btn-card-action .svg-ico {
    width: 14px;
    height: 14px;
    min-width: 14px;
    min-height: 14px;
    max-width: 14px;
    max-height: 14px;
    flex-shrink: 0;
}

.btn-card-buy {
    background: linear-gradient(135deg, var(--primary-gold), var(--accent-amber));
    border: none;
    color: #1a1305;
    box-shadow: 0 3px 12px var(--primary-gold-glow);
}

.btn-card-buy .svg-ico {
    fill: #1a1305;
}

.btn-card-buy:hover {
    transform: translateY(-1px);
    box-shadow: 0 5px 16px var(--primary-gold-glow);
    filter: brightness(1.08);
}

.btn-card-equip {
    background: rgba(255, 255, 255, 0.08);
    border: 1.2px solid rgba(255, 255, 255, 0.2);
    color: #f1f5f9;
}

.btn-card-equip:hover {
    background: var(--primary-gold-dim);
    border-color: var(--primary-gold);
    color: var(--primary-gold);
}

.btn-card-equipped {
    background: rgba(16, 185, 129, 0.15);
    border: 1.2px solid #10b981;
    color: #10b981;
    cursor: default;
}

.btn-card-day7 {
    background: rgba(255, 215, 0, 0.12);
    border: 1.2px dashed #ffd700;
    color: #ffd700;
    cursor: pointer;
}

.btn-card-day7:hover {
    background: rgba(255, 215, 0, 0.25);
}

.btn-card-maxed {
    background: rgba(255, 209, 102, 0.12);
    border: 1.2px solid var(--primary-gold);
    color: var(--primary-gold);
    cursor: default;
}

/* ==========================================================================
   DAILY REWARD 7-DAY STREAK VIEW (ULTRA-COMPACT, ELEGANT DASHBOARD)
   ========================================================================== */
.daily-streak-view-container {
    grid-column: 1 / -1;
    width: 100%;
    max-width: 960px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 14px;
    animation: shopPageFadeIn 0.3s ease-out;
}

/* Top Hero Header Card */
.daily-header-card {
    width: 100%;
    background: linear-gradient(135deg, rgba(28, 22, 12, 0.9), rgba(16, 12, 7, 0.96));
    border: 1.4px solid rgba(255, 209, 102, 0.35);
    border-radius: 18px;
    padding: 14px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5), 0 0 20px rgba(255, 209, 102, 0.06);
}

.daily-streak-badge-big {
    display: flex;
    align-items: center;
    gap: 14px;
    flex: 1;
}

.streak-flame-box {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.2), rgba(255, 209, 102, 0.1));
    border: 1.4px solid var(--primary-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 16px var(--primary-gold-glow);
    flex-shrink: 0;
}

.streak-flame-box .svg-ico {
    width: 22px;
    height: 22px;
    fill: var(--primary-gold);
}

.streak-header-info {
    display: flex;
    flex-direction: column;
    gap: 3px;
    width: 100%;
    max-width: 400px;
}

.streak-header-top-tag {
    font-family: var(--font-heading);
    font-size: 0.62rem;
    font-weight: 900;
    color: var(--primary-gold);
    letter-spacing: 1px;
    text-transform: uppercase;
}

.streak-big-title {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 900;
    color: #fff;
    letter-spacing: 0.3px;
    line-height: 1.1;
}

.streak-progress-bar-wrap {
    width: 100%;
    height: 5px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 999px;
    overflow: hidden;
    margin-top: 2px;
}

.streak-progress-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--accent-amber), var(--primary-gold));
    border-radius: 999px;
    box-shadow: 0 0 8px var(--primary-gold-glow);
    transition: width 0.4s ease;
}

.btn-claim-tab-daily {
    min-width: 130px;
    height: 38px;
    padding: 0 16px;
    font-size: 0.78rem;
    border-radius: var(--radius-full);
}

.btn-claim-tab-daily.claimed-disabled {
    background: rgba(255, 255, 255, 0.06);
    border: 1.2px solid rgba(255, 255, 255, 0.1);
    color: #64748b;
    cursor: default;
}

/* 7-Day Matrix Grid */
.daily-7days-grid {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 8px;
}

.daily-day-card {
    background: linear-gradient(160deg, rgba(25, 20, 12, 0.65), rgba(12, 10, 6, 0.8));
    border: 1.2px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 8px 4px 6px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    text-align: center;
    transition: all 0.2s ease;
}

.daily-day-card:hover {
    transform: translateY(-2px);
    border-color: rgba(255, 209, 102, 0.35);
}

.daily-day-card .day-number-tag {
    font-family: var(--font-heading);
    font-size: 0.62rem;
    font-weight: 800;
    color: #94a3b8;
}

.daily-day-card .day-reward-icon-box {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.04);
    display: flex;
    align-items: center;
    justify-content: center;
}

.daily-day-card .day-reward-icon-box .svg-ico {
    width: 18px;
    height: 18px;
    fill: var(--primary-gold);
}

.daily-day-card .day-reward-value {
    font-family: var(--font-heading);
    font-size: 0.68rem;
    font-weight: 900;
    color: #fff;
}

.daily-day-card.claimed {
    background: rgba(16, 185, 129, 0.06);
    border-color: rgba(16, 185, 129, 0.25);
    opacity: 0.7;
}

.daily-day-card.today {
    background: linear-gradient(145deg, rgba(255, 209, 102, 0.16), rgba(245, 158, 11, 0.22));
    border-color: var(--primary-gold);
    box-shadow: 0 0 14px var(--primary-gold-glow);
}

.daily-day-card.today .day-number-tag {
    color: var(--primary-gold);
}

.daily-day-card.special-day {
    background: linear-gradient(145deg, rgba(255, 215, 0, 0.15), rgba(217, 70, 239, 0.15));
    border-color: #ffd700;
}

.daily-day-card.special-day .day-reward-value {
    color: #ffd700;
    font-size: 0.62rem;
}

/* Day 7 Spotlight Banner Showcase (Full-Width Card) */
.day7-flagship-spotlight-card {
    width: 100%;
    background: linear-gradient(135deg, rgba(28, 22, 10, 0.95), rgba(36, 26, 12, 0.95));
    border: 1.4px solid rgba(255, 215, 0, 0.6);
    border-radius: 18px;
    padding: 14px 22px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.6), 0 0 24px rgba(255, 215, 0, 0.15);
}

.flagship-spotlight-left {
    display: flex;
    align-items: center;
    gap: 14px;
}

.flagship-crown-icon-box {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.2), rgba(245, 158, 11, 0.3));
    border: 1.5px solid #ffd700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 0 16px rgba(255, 215, 0, 0.3);
}

.crown-huge-svg {
    width: 24px;
    height: 24px;
    fill: #ffd700;
    filter: drop-shadow(0 0 6px rgba(255, 215, 0, 0.7));
}

.spotlight-day-tag {
    font-family: var(--font-heading);
    font-size: 0.62rem;
    font-weight: 800;
    color: #ffd700;
    letter-spacing: 0.5px;
}

.spotlight-title {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 900;
    color: #fff;
    margin: 0;
}

.flagship-spotlight-right .btn-card-action {
    height: 38px;
    padding: 0 18px;
    font-size: 0.78rem;
}

/* ==========================================================================
   TAB 3: DEDICATED GIFTCODE VAULT (HIGH-TECH CYBER TERMINAL)
   ========================================================================== */
.giftcode-tab-container {
    grid-column: 1 / -1;
    width: 100%;
    max-width: 860px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
    animation: shopPageFadeIn 0.28s ease-out;
}

/* Cyber Terminal Input Card */
.giftcode-terminal-card {
    background: linear-gradient(145deg, rgba(28, 22, 12, 0.95), rgba(14, 11, 7, 0.98));
    border: 1.5px solid rgba(255, 209, 102, 0.35);
    border-radius: 20px;
    padding: 24px 28px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6), 0 0 25px rgba(255, 209, 102, 0.08);
}

.giftcode-hero-top {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

.giftcode-hero-icon-box {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(255, 209, 102, 0.2), rgba(245, 158, 11, 0.25));
    border: 1.5px solid var(--primary-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 20px var(--primary-gold-glow);
    margin-bottom: 2px;
}

.giftcode-vault-svg {
    width: 28px;
    height: 28px;
    fill: var(--primary-gold);
    filter: drop-shadow(0 0 8px var(--primary-gold-glow));
}

.giftcode-hero-title {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 900;
    color: #fff;
    letter-spacing: 0.8px;
    margin: 0;
}

.giftcode-hero-sub {
    font-size: 0.78rem;
    color: #94a3b8;
    margin: 0;
}

/* Input Form Row */
.giftcode-form-row {
    width: 100%;
    max-width: 540px;
    display: flex;
    gap: 10px;
}

.giftcode-input-wrapper {
    flex: 1;
    position: relative;
    display: flex;
    align-items: center;
}

.giftcode-key-icon {
    position: absolute;
    left: 14px;
    width: 18px;
    height: 18px;
    fill: var(--primary-gold);
    opacity: 0.8;
    pointer-events: none;
}

.giftcode-terminal-input {
    width: 100%;
    height: 44px;
    background: rgba(0, 0, 0, 0.45);
    border: 1.4px solid rgba(255, 209, 102, 0.3);
    border-radius: var(--radius-full);
    padding: 0 16px 0 42px;
    color: #fff;
    font-family: var(--font-heading);
    font-size: 0.88rem;
    font-weight: 800;
    letter-spacing: 1px;
    outline: none;
    transition: all 0.2s ease;
}

.giftcode-terminal-input:focus {
    border-color: var(--primary-gold);
    box-shadow: 0 0 14px var(--primary-gold-glow);
    background: rgba(0, 0, 0, 0.65);
}

.btn-vault-redeem {
    height: 44px;
    padding: 0 24px;
    background: linear-gradient(135deg, var(--primary-gold), var(--accent-amber));
    border: none;
    border-radius: var(--radius-full);
    color: #080705;
    font-family: var(--font-heading);
    font-size: 0.82rem;
    font-weight: 900;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    box-shadow: 0 4px 16px var(--primary-gold-glow);
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    flex-shrink: 0;
}

.btn-vault-redeem:hover {
    transform: translateY(-2px);
    filter: brightness(1.1);
    box-shadow: 0 6px 22px var(--primary-gold-glow);
}



/* Daily Celebrate Modal */
.daily-celebrate-card {
    max-width: 480px;
    width: 92%;
    padding: 28px 24px 22px;
    background: linear-gradient(165deg, rgba(24, 18, 10, 0.98), rgba(10, 8, 6, 0.99));
    border: 1.8px solid var(--primary-gold);
    border-radius: 20px;
    box-shadow: 0 0 50px var(--primary-gold-glow), 0 20px 60px rgba(0, 0, 0, 0.85);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    position: relative;
    backdrop-filter: blur(16px);
}

/* Modal Close Icon Button (Top Right) */
.modal-close-icon-btn {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    border: 1.2px solid rgba(255, 255, 255, 0.2);
    color: #cbd5e1;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 10;
}

.modal-close-icon-btn svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
    transition: transform 0.25s ease;
}

.modal-close-icon-btn:hover {
    background: rgba(255, 209, 102, 0.25);
    border-color: var(--primary-gold);
    color: var(--primary-gold);
    box-shadow: 0 0 16px var(--primary-gold-glow);
    transform: scale(1.08);
}

.modal-close-icon-btn:hover svg {
    transform: rotate(90deg);
}

.daily-reward-header-banner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.daily-gift-svg {
    width: 50px;
    height: 50px;
    fill: var(--primary-gold);
    filter: drop-shadow(0 0 16px var(--primary-gold-glow));
    animation: bounceBadge 2.2s infinite ease-in-out;
}

.daily-banner-title {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 900;
    letter-spacing: 0.8px;
    color: #fff;
}

.daily-banner-sub {
    font-size: 0.72rem;
    color: #94a3b8;
}

.daily-reward-gem-showcase {
    background: linear-gradient(135deg, rgba(255, 209, 102, 0.15), rgba(245, 158, 11, 0.2));
    border: 1.6px solid rgba(255, 209, 102, 0.5);
    border-radius: 14px;
    padding: 12px 28px;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 0 28px var(--primary-gold-glow);
    width: 100%;
}

.gem-huge-amount {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 900;
    background: linear-gradient(135deg, #fff, var(--primary-gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
}

.gem-type-name {
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 800;
    color: var(--primary-gold);
    margin-top: 4px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.gem-type-svg, .gem-spinning-svg {
    width: 16px;
    height: 16px;
    fill: var(--primary-gold);
}

.streak-flame-svg {
    width: 18px;
    height: 18px;
    fill: #f59e0b;
}

.daily-streak-status-row {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8rem;
    font-weight: 800;
    color: #cbd5e1;
}

.streak-value {
    color: var(--primary-gold);
    font-weight: 900;
}

.daily-7days-preview {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 6px;
    margin: 4px 0;
}

.daily-7days-preview .daily-day-card {
    padding: 8px 4px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    transition: all 0.2s ease;
}

.day-card-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
}

.day-status-pill {
    font-size: 0.52rem;
    font-weight: 900;
    padding: 1px 4px;
    border-radius: 4px;
    letter-spacing: 0.3px;
}

.day-status-pill.claimed {
    background: rgba(16, 185, 129, 0.2);
    color: #10b981;
    border: 1px solid rgba(16, 185, 129, 0.4);
}

.day-status-pill.active {
    background: rgba(255, 209, 102, 0.3);
    color: var(--primary-gold);
    border: 1px solid var(--primary-gold);
    animation: rewardPulse 1.5s infinite;
}

.day-status-pill.locked {
    background: rgba(255, 255, 255, 0.05);
    color: #64748b;
}

.daily-7days-preview .daily-day-card.claimed {
    opacity: 0.65;
    border-color: rgba(16, 185, 129, 0.3);
}

.daily-7days-preview .daily-day-card.today {
    background: rgba(255, 209, 102, 0.15);
    border: 1.4px solid var(--primary-gold);
    box-shadow: 0 0 14px var(--primary-gold-glow);
    transform: scale(1.04);
}

.daily-7days-preview .daily-day-card.special-day {
    background: linear-gradient(145deg, rgba(255, 215, 0, 0.18), rgba(245, 158, 11, 0.25));
    border: 1.4px solid #ffd700;
    box-shadow: 0 0 16px rgba(255, 215, 0, 0.4);
}

.daily-modal-actions-row {
    width: 100%;
    display: flex;
    gap: 10px;
    margin-top: 4px;
}

.btn-claim-huge-reward {
    width: 100%;
    height: 48px;
    background: linear-gradient(135deg, var(--primary-gold), var(--accent-amber));
    border: none;
    border-radius: var(--radius-full);
    color: #1a1204;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    box-shadow: 0 6px 24px var(--primary-gold-glow);
    transition: all 0.25s ease;
}

.btn-claim-huge-reward:hover {
    transform: scale(1.02);
    box-shadow: 0 8px 30px var(--primary-gold-glow);
    filter: brightness(1.1);
}

.claim-text-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.claim-main-text {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 900;
    letter-spacing: 0.8px;
}

.claim-sub-text {
    font-size: 0.62rem;
    font-weight: 800;
    opacity: 0.8;
}

/* ==========================================================================
   GIFTCODE PROMO SYSTEM & REDEEM MODAL (CYBERPUNK GLASS)
   ========================================================================== */
.btn-shop-redeem {
    background: linear-gradient(135deg, rgba(255, 209, 102, 0.15), rgba(245, 158, 11, 0.25));
    border: 1.4px solid rgba(255, 209, 102, 0.45);
    color: var(--primary-gold);
    font-family: var(--font-heading);
    font-size: 0.76rem;
    font-weight: 900;
    padding: 6px 14px;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(255, 209, 102, 0.15);
    transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-shop-redeem:hover {
    background: linear-gradient(135deg, rgba(255, 209, 102, 0.3), rgba(245, 158, 11, 0.45));
    border-color: var(--primary-gold);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px var(--primary-gold-glow);
}

.btn-shop-redeem .shop-svg-icon {
    width: 15px;
    height: 15px;
    fill: currentColor;
}

.redeem-modal-card {
    max-width: 440px;
    background: linear-gradient(160deg, rgba(26, 20, 10, 0.95), rgba(12, 10, 6, 0.98));
    border: 1.6px solid rgba(255, 209, 102, 0.4);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8), 0 0 35px var(--primary-gold-glow);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    padding: 26px 22px;
}

.redeem-modal-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 6px;
}

.redeem-gift-icon-box {
    width: 54px;
    height: 54px;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(255, 209, 102, 0.2), rgba(245, 158, 11, 0.3));
    border: 1.5px solid var(--primary-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 20px var(--primary-gold-glow);
    margin-bottom: 4px;
}

.redeem-gift-svg {
    width: 28px;
    height: 28px;
    fill: var(--primary-gold);
}

.redeem-modal-title {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 900;
    color: #fff;
    letter-spacing: 0.8px;
}

.redeem-modal-sub {
    font-size: 0.74rem;
    color: #94a3b8;
    max-width: 320px;
    line-height: 1.35;
}

.redeem-input-wrap {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.redeem-input-box {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(0, 0, 0, 0.45);
    border: 1.4px solid rgba(255, 209, 102, 0.3);
    border-radius: var(--radius-md);
    padding: 10px 14px;
    transition: all 0.2s ease;
}

.redeem-input-box:focus-within {
    border-color: var(--primary-gold);
    box-shadow: 0 0 16px var(--primary-gold-glow);
    background: rgba(0, 0, 0, 0.65);
}

.redeem-key-svg {
    width: 18px;
    height: 18px;
    fill: var(--primary-gold);
    flex-shrink: 0;
}

.redeem-text-input {
    width: 100%;
    background: transparent;
    border: none;
    outline: none;
    color: #fff;
    font-family: var(--font-heading);
    font-size: 0.92rem;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.redeem-text-input::placeholder {
    color: #64748b;
    font-size: 0.76rem;
    letter-spacing: 0.5px;
    text-transform: none;
}

.btn-submit-redeem {
    width: 100%;
    height: 44px;
    border-radius: var(--radius-full);
    background: linear-gradient(135deg, var(--primary-gold), var(--accent-amber));
    border: none;
    color: #150f04;
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 900;
    letter-spacing: 0.8px;
    cursor: pointer;
    box-shadow: 0 6px 20px var(--primary-gold-glow);
    transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-submit-redeem:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 26px var(--primary-gold-glow);
    filter: brightness(1.1);
}

.redeem-hint-banner {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px dashed rgba(255, 209, 102, 0.25);
    border-radius: 12px;
    padding: 8px 10px;
}

.hint-label {
    font-size: 0.65rem;
    font-weight: 900;
    color: #94a3b8;
    letter-spacing: 0.5px;
}

.hint-code-tag {
    background: rgba(255, 209, 102, 0.15);
    border: 1px solid rgba(255, 209, 102, 0.4);
    color: var(--primary-gold);
    font-family: var(--font-heading);
    font-size: 0.68rem;
    font-weight: 800;
    padding: 2px 8px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.hint-code-tag:hover {
    background: var(--primary-gold);
    color: #080705;
    transform: scale(1.04);
}

/* ==========================================================================
   GIFTCODE REDEEM SUCCESS CELEBRATION MODAL
   ========================================================================== */
.redeem-success-card {
    max-width: 440px;
    background: linear-gradient(160deg, rgba(28, 22, 12, 0.98), rgba(12, 10, 6, 0.99));
    border: 2px solid var(--primary-gold);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.9), 0 0 50px rgba(255, 209, 102, 0.45);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    padding: 28px 24px;
    position: relative;
    overflow: hidden;
    animation: redeemSuccessPop 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes redeemSuccessPop {
    0% {
        opacity: 0;
        transform: scale(0.85) translateY(20px);
    }
    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.redeem-success-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 8px;
    position: relative;
    width: 100%;
}

.redeem-sparkle-halo {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 160px;
    height: 160px;
    background: radial-gradient(circle, rgba(255, 209, 102, 0.35) 0%, rgba(245, 158, 11, 0.15) 50%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    animation: haloPulse 2s infinite ease-in-out;
}

.redeem-success-icon-box {
    width: 62px;
    height: 62px;
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.25), rgba(5, 150, 105, 0.35));
    border: 1.8px solid #10b981;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 25px rgba(16, 185, 129, 0.5);
    z-index: 1;
}

.redeem-success-svg {
    width: 32px;
    height: 32px;
    fill: #10b981;
}

.redeem-success-title {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 900;
    color: #fff;
    letter-spacing: 1px;
    text-shadow: 0 0 15px rgba(255, 209, 102, 0.4);
    z-index: 1;
}

.redeem-code-pill {
    background: rgba(255, 209, 102, 0.18);
    border: 1px solid var(--primary-gold);
    color: var(--primary-gold);
    font-family: var(--font-heading);
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.8px;
    padding: 4px 14px;
    border-radius: 20px;
    box-shadow: 0 0 12px rgba(255, 209, 102, 0.2);
    z-index: 1;
}

.redeem-reward-showcase {
    width: 100%;
    background: linear-gradient(135deg, rgba(255, 209, 102, 0.12), rgba(245, 158, 11, 0.06));
    border: 1.6px solid rgba(255, 209, 102, 0.4);
    border-radius: 20px;
    padding: 20px 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    position: relative;
    overflow: hidden;
    box-shadow: inset 0 0 25px rgba(255, 209, 102, 0.15);
}

.redeem-huge-amount {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--primary-gold);
    letter-spacing: 1.5px;
    text-shadow: 0 0 25px rgba(255, 209, 102, 0.7), 0 2px 4px rgba(0, 0, 0, 0.8);
    line-height: 1.1;
}

.redeem-success-desc {
    font-size: 0.82rem;
    color: #cbd5e1;
    text-align: center;
    line-height: 1.45;
    max-width: 320px;
}

.redeem-success-actions-row {
    width: 100%;
    display: flex;
    margin-top: 4px;
}

/* Embedded Giftcode Section in Daily 7D Tab (Minimalist) */
.daily-giftcode-card {
    width: 100%;
    background: linear-gradient(135deg, rgba(24, 18, 10, 0.92), rgba(16, 12, 6, 0.96));
    border: 1.6px solid rgba(255, 209, 102, 0.35);
    border-radius: 20px;
    padding: 16px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.6), 0 0 25px rgba(255, 209, 102, 0.08);
}

.giftcode-card-left {
    display: flex;
    align-items: center;
    gap: 16px;
}

.giftcode-icon-box {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(255, 209, 102, 0.2), rgba(245, 158, 11, 0.3));
    border: 1.5px solid var(--primary-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 0 18px var(--primary-gold-glow);
}

.giftcode-svg {
    width: 24px;
    height: 24px;
    fill: var(--primary-gold);
}

.giftcode-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.giftcode-badge-tag {
    font-family: var(--font-heading);
    font-size: 0.62rem;
    font-weight: 900;
    color: var(--primary-gold);
    letter-spacing: 1.2px;
    text-transform: uppercase;
}

.giftcode-title {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 900;
    color: #fff;
    letter-spacing: 0.5px;
}

.giftcode-card-right {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    min-width: 320px;
}

.giftcode-input-group {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 8px;
}

.giftcode-tab-input {
    flex: 1;
    height: 42px;
    background: rgba(0, 0, 0, 0.5);
    border: 1.4px solid rgba(255, 209, 102, 0.35);
    border-radius: var(--radius-full);
    padding: 0 16px;
    color: #fff;
    font-family: var(--font-heading);
    font-size: 0.88rem;
    font-weight: 800;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    outline: none;
    transition: all 0.2s ease;
}

.giftcode-tab-input:focus {
    border-color: var(--primary-gold);
    box-shadow: 0 0 16px var(--primary-gold-glow);
    background: rgba(0, 0, 0, 0.75);
}

.giftcode-tab-input::placeholder {
    color: #64748b;
    font-size: 0.76rem;
    letter-spacing: 0.4px;
    text-transform: none;
}

.btn-tab-redeem-submit {
    height: 42px;
    padding: 0 22px;
    border-radius: var(--radius-full);
    background: linear-gradient(135deg, var(--primary-gold), var(--accent-amber));
    border: none;
    color: #1a1204;
    font-family: var(--font-heading);
    font-size: 0.82rem;
    font-weight: 900;
    letter-spacing: 0.6px;
    cursor: pointer;
    box-shadow: 0 4px 16px var(--primary-gold-glow);
    transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
    white-space: nowrap;
}

.btn-tab-redeem-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 22px var(--primary-gold-glow);
    filter: brightness(1.1);
}

/* Responsive Styles */
@media (max-width: 768px) {
    #start-menu {
        padding-top: max(12px, env(safe-area-inset-top, 0px) + 8px);
        padding-right: max(14px, env(safe-area-inset-right, 0px));
        padding-bottom: max(16px, env(safe-area-inset-bottom, 0px) + 8px);
        padding-left: max(14px, env(safe-area-inset-left, 0px));
    }

    .landing-header-capsule {
        padding: 6px 14px;
        max-width: 100%;
    }

    .capsule-title {
        font-size: 0.92rem;
    }

    .landing-bottom-dock {
        flex-direction: row;
        padding: 6px 14px 6px 10px;
        gap: 12px;
        border-radius: var(--radius-full);
        max-width: 96%;
        margin-bottom: max(0px, env(safe-area-inset-bottom, 0px));
    }

    .btn-dock-store-hero {
        height: 42px;
        padding: 0 14px 0 4px;
        gap: 8px;
    }

    .store-hero-icon-box {
        width: 32px;
        height: 32px;
    }

    .store-hero-svg {
        width: 17px;
        height: 17px;
    }

    .store-main-title {
        font-size: 0.9rem;
    }

    .cam-btn {
        padding: 5px 9px;
        font-size: 0.66rem;
    }

    .dock-module-divider {
        height: 26px;
    }

    .btn-hero-play-launch {
        min-width: 200px;
        height: 56px;
        padding: 0 20px;
    }

    .play-launch-main-text {
        font-size: 1.05rem;
    }

    .modal-content {
        padding: 18px 14px;
        border-radius: var(--radius-md);
        max-width: 92vw;
        max-height: calc(90dvh - env(safe-area-inset-top, 0px) - env(safe-area-inset-bottom, 0px));
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        touch-action: pan-y;
    }

    .game-title {
        font-size: 1.45rem;
    }

    #hud {
        padding-top: max(8px, env(safe-area-inset-top, 0px) + 6px);
        padding-right: max(12px, env(safe-area-inset-right, 0px));
        padding-bottom: 8px;
        padding-left: max(12px, env(safe-area-inset-left, 0px));
    }

    .hud-score-value {
        font-size: 1.7rem;
    }

    #mobile-jump-btn {
        display: flex;
    }

    /* Full-Page Shop Mobile Optimization */
    .shop-fullscreen-page {
        height: 100vh;
        height: 100dvh;
        touch-action: pan-y;
    }

    .shop-nav-header {
        padding-top: max(8px, env(safe-area-inset-top, 0px) + 6px);
        padding-right: max(12px, env(safe-area-inset-right, 0px));
        padding-bottom: 8px;
        padding-left: max(12px, env(safe-area-inset-left, 0px));
        height: auto;
        min-height: calc(52px + env(safe-area-inset-top, 0px));
    }

    .btn-shop-back-action {
        padding: 6px 12px;
        font-size: 0.76rem;
    }

    .shop-page-title {
        font-size: 1.05rem;
    }

    .shop-page-subtitle {
        display: none;
    }

    .shop-currency-badge {
        padding: 4px 10px;
        gap: 6px;
    }

    .shop-coins-value {
        font-size: 0.95rem;
    }

    .shop-coins-label {
        font-size: 0.62rem;
    }

    .shop-tabs-bar {
        padding: 6px 8px;
        gap: 6px;
        justify-content: center;
    }

    .shop-tab-btn {
        flex: 1;
        max-width: 120px;
        min-width: unset;
        padding: 7px 6px;
        font-size: 0.72rem;
        gap: 5px;
    }

    .tab-svg-icon {
        width: 15px;
        height: 15px;
    }

    .shop-main-content {
        padding: 10px 10px 80px 10px;
        touch-action: pan-y;
        -webkit-overflow-scrolling: touch;
        overscroll-behavior-y: contain;
    }

    .shop-grid-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
        padding-bottom: 70px;
    }

    .shop-item-card {
        padding: 10px 10px 8px;
        border-radius: 14px;
        gap: 6px;
    }

    .card-showcase-box {
        height: 74px;
    }

    .skin-jet-3d-svg {
        width: 44px;
        height: 44px;
    }

    .booster-vector-box {
        width: 42px;
        height: 42px;
    }

    .booster-vector-box .svg-ico {
        width: 22px;
        height: 22px;
    }

    .card-title {
        font-size: 0.84rem;
    }

    .card-desc {
        font-size: 0.66rem;
        min-height: 26px;
        line-height: 1.28;
    }

    .btn-card-action {
        height: 34px;
        font-size: 0.76rem;
        padding: 0 8px;
    }

    .booster-toggle-row {
        gap: 4px;
        font-size: 0.68rem;
    }

    /* Daily Login View Mobile Layout */
    .daily-streak-view-container {
        padding-bottom: 60px;
        width: 100%;
    }

    .daily-header-card {
        flex-direction: column;
        align-items: flex-start;
        padding: 14px;
        gap: 12px;
    }

    .daily-header-action-wrap {
        width: 100%;
    }

    .btn-claim-tab-daily {
        width: 100%;
        height: 42px;
    }

    .daily-7days-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 6px;
    }

    .daily-day-card {
        padding: 8px 5px;
    }

    .day-number-tag {
        font-size: 0.58rem;
    }

    .day-reward-icon-box .svg-ico {
        width: 22px;
        height: 22px;
    }

    .day-reward-value {
        font-size: 0.66rem;
    }

    .day7-flagship-spotlight-card {
        flex-direction: column;
        align-items: flex-start;
        padding: 14px;
        gap: 14px;
    }

    .flagship-spotlight-right {
        width: 100%;
    }

    .flagship-spotlight-right .btn-card-action {
        width: 100%;
        height: 40px;
    }

    /* Giftcode Mobile Layout */
    .giftcode-tab-container {
        padding-bottom: 60px;
        width: 100%;
    }

    .giftcode-terminal-card {
        padding: 18px 14px;
        gap: 14px;
    }

    .giftcode-form-row {
        flex-direction: column;
        gap: 8px;
    }

    .btn-vault-redeem {
        width: 100%;
        height: 42px;
        justify-content: center;
    }

}

@media (max-width: 480px) {
    .landing-header-capsule {
        padding: 4px 10px;
    }

    .capsule-title {
        font-size: 0.85rem;
    }

    .landing-bottom-dock {
        gap: 8px;
        padding: 5px 10px;
    }

    .btn-dock-store-hero {
        height: 38px;
        padding: 0 10px 0 3px;
        gap: 6px;
    }

    .store-hero-icon-box {
        width: 28px;
        height: 28px;
    }

    .store-hero-svg {
        width: 15px;
        height: 15px;
    }

    .store-main-title {
        font-size: 0.82rem;
    }

    .cam-btn {
        padding: 4px 7px;
        font-size: 0.62rem;
    }

    .shop-grid-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
        padding-bottom: 80px;
    }

    .daily-7days-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 5px;
    }

    .daily-day-card.special-day {
        grid-column: span 2;
    }

    .giftcode-input-group {
        flex-direction: row;
        gap: 6px;
    }

    .btn-tab-redeem-submit {
        width: auto;
        padding: 0 14px;
    }

    /* Game Over Modal Mobile Tight Layout */
    .go-stats-ribbon {
        padding: 6px 8px;
        gap: 4px;
    }

    .go-stat-val {
        font-size: 0.95rem;
    }

    .go-actions-row {
        gap: 8px;
    }

    .btn-go-share, .btn-go-play {
        height: 44px;
        font-size: 0.82rem;
    }

    .btn-revive-glow {
        height: 42px;
        font-size: 0.82rem;
    }

    .go-footer-row .btn-go-text-link {
        height: 38px;
        font-size: 0.78rem;
        padding: 0 14px;
    }
}

/* iOS & Mobile Flight Certificate Photo Save Modal */
.photo-preview-card {
    max-width: 440px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.photo-preview-header {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.photo-preview-title {
    font-family: var(--font-heading);
    font-size: 0.88rem;
    font-weight: 900;
    color: var(--primary-gold);
    letter-spacing: 0.8px;
}

.photo-preview-img-box {
    width: 100%;
    max-height: 52vh;
    border-radius: 16px;
    overflow: hidden;
    background: #000;
    border: 1.5px solid rgba(255, 209, 102, 0.4);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
}

.photo-preview-img-box img {
    width: 100%;
    height: auto;
    max-height: 52vh;
    object-fit: contain;
    display: block;
    user-select: auto;
    -webkit-user-select: auto;
    -webkit-touch-callout: default;
}

.photo-preview-hint {
    font-size: 0.76rem;
    color: #94a3b8;
    line-height: 1.4;
    text-align: center;
    margin: 0;
}

.photo-preview-hint strong {
    color: var(--primary-gold);
}

.photo-preview-actions {
    width: 100%;
    margin-top: 4px;
}

.btn-photo-download {
    width: 100%;
    height: 44px;
    border-radius: var(--radius-full);
    background: linear-gradient(135deg, var(--primary-gold), var(--accent-amber));
    color: #080705;
    font-family: var(--font-heading);
    font-size: 0.88rem;
    font-weight: 900;
    letter-spacing: 0.8px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-decoration: none;
    cursor: pointer;
    box-shadow: 0 4px 18px var(--primary-gold-glow);
    transition: transform 0.2s ease;
}

.btn-photo-download svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

/* ==========================================================================
   MOBILE LANDSCAPE (XOAY NGANG ĐIỆN THOẠI) ULTRA-COMPACT RESPONSIVE STYLES
   ========================================================================== */
@media (orientation: landscape) and (max-height: 620px), (max-height: 520px) {
    /* Main Menu Landing in Landscape */
    #start-menu {
        padding: max(4px, env(safe-area-inset-top)) max(16px, env(safe-area-inset-right)) max(4px, env(safe-area-inset-bottom)) max(16px, env(safe-area-inset-left));
        justify-content: space-between;
    }

    .landing-header-capsule {
        padding: 3px 14px;
        margin-top: 2px;
        max-width: 95vw;
    }

    .capsule-title {
        font-size: 0.82rem;
    }

    .btn-settings-header {
        padding: 4px 10px;
        font-size: 0.7rem;
        gap: 5px;
    }

    .btn-settings-header .btn-svg-icon {
        width: 13px;
        height: 13px;
    }

    .landing-bottom-dock {
        padding: 3px 10px;
        gap: 8px;
        margin-bottom: 2px;
    }

    .btn-dock-store-hero {
        height: 34px;
        padding: 0 10px 0 2px;
    }

    .store-hero-icon-box {
        width: 24px;
        height: 24px;
    }

    .store-hero-svg {
        width: 13px;
        height: 13px;
    }

    .store-main-title {
        font-size: 0.75rem;
    }

    .cam-btn {
        padding: 3px 6px;
        font-size: 0.58rem;
    }

    .btn-hero-play-launch {
        min-width: 150px;
        height: 42px;
        padding: 0 14px;
    }

    .play-launch-main-text {
        font-size: 0.84rem;
    }

    /* HUD in Landscape */
    #hud {
        padding: max(4px, env(safe-area-inset-top)) max(14px, env(safe-area-inset-right)) max(4px, env(safe-area-inset-bottom)) max(14px, env(safe-area-inset-left));
    }

    .hud-left {
        gap: 6px;
    }

    .hud-panel {
        padding: 2px 8px;
        height: 30px;
    }

    .hud-stat-item {
        font-size: 0.78rem;
        gap: 4px;
    }

    .hud-score-value {
        font-size: 1.6rem;
    }

    .hud-right {
        gap: 6px;
    }

    .btn-icon {
        width: 30px;
        height: 30px;
    }

    /* Ergonomic Thumb Thruster Button in Landscape */
    #mobile-jump-btn {
        display: flex;
        position: absolute;
        bottom: max(10px, env(safe-area-inset-bottom));
        right: max(14px, env(safe-area-inset-right));
        width: 56px;
        height: 56px;
        font-size: 0.62rem;
        border-width: 2px;
        box-shadow: 0 4px 16px var(--primary-gold-glow);
    }

    #mobile-jump-btn svg {
        width: 18px;
        height: 18px;
    }

    /* Store Navigation Header in Landscape */
    .shop-nav-header {
        height: 42px;
        padding: max(4px, env(safe-area-inset-top)) max(14px, env(safe-area-inset-right)) 4px max(14px, env(safe-area-inset-left));
    }

    .shop-page-title {
        font-size: 0.92rem;
    }

    .btn-shop-back-action {
        padding: 4px 10px;
        font-size: 0.7rem;
    }

    .shop-currency-badge {
        padding: 3px 8px;
    }

    .shop-coins-value {
        font-size: 0.85rem;
    }

    /* Store Category Tabs in Landscape */
    .shop-tabs-bar {
        padding: 3px 10px;
        gap: 4px;
    }

    .shop-tab-btn {
        padding: 3px 8px;
        font-size: 0.68rem;
    }

    /* Store Scroll Area & Grid in Landscape */
    .shop-main-content {
        padding: 6px 12px 45px 12px;
    }

    .shop-grid-container {
        grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)) !important;
        gap: 8px;
        padding-bottom: 45px;
    }

    /* Aircraft FLEET cards in Landscape */
    .shop-skin-card {
        padding: 6px 6px 4px;
        gap: 3px;
    }

    .shop-skin-card .skin-showcase {
        height: 48px;
    }

    .shop-skin-card .skin-jet-3d-svg {
        width: 30px;
        height: 30px;
    }

    .shop-skin-card .skin-name {
        font-size: 0.72rem;
    }

    .shop-skin-card .btn-card-action {
        height: 26px;
        font-size: 0.68rem;
        padding: 0 6px;
    }

    /* Other Item Cards in Landscape */
    .shop-item-card {
        padding: 6px 8px;
        gap: 4px;
    }

    .card-showcase-box {
        height: 48px;
    }

    .booster-vector-box {
        width: 30px;
        height: 30px;
    }

    .booster-vector-box .svg-ico {
        width: 16px;
        height: 16px;
    }

    .card-title {
        font-size: 0.75rem;
    }

    .card-desc {
        font-size: 0.58rem;
        min-height: 18px;
    }

    .btn-card-action {
        height: 26px;
        font-size: 0.68rem;
    }

    /* Modals in Landscape - High-Efficiency Multi-Column */
    .modal-content {
        padding: 10px 14px;
        max-height: 94vh;
        max-height: 94dvh;
        max-width: 520px;
    }

    .settings-modal-card {
        max-width: 540px;
    }

    .settings-sections-list {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 8px;
    }

    .settings-section-module {
        padding: 8px 10px;
        gap: 6px;
    }

    /* Game Over Modal in Landscape - Ultra Compact Zero Cut-off */
    .game-over-clean-card {
        max-width: 440px;
        width: 95%;
        padding: 10px 16px 10px;
        gap: 8px;
        border-radius: 18px;
        max-height: 96vh;
        max-height: 96dvh;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        touch-action: pan-y;
    }

    .game-over-clean-card .go-header-banner {
        gap: 6px;
    }

    .game-over-clean-card .go-title-tag {
        font-size: 0.55rem;
    }

    .game-over-clean-card .go-main-title {
        font-size: 1.05rem;
    }

    .game-over-clean-card .go-record-badge {
        font-size: 0.65rem;
        padding: 3px 8px;
    }

    .game-over-clean-card .go-score-box {
        padding: 6px 10px 6px;
        gap: 2px;
        border-radius: 12px;
    }

    .game-over-clean-card .go-score-label {
        font-size: 0.58rem;
        letter-spacing: 1.5px;
    }

    .game-over-clean-card .go-score-num {
        font-size: 2.2rem;
        line-height: 0.95;
    }

    .game-over-clean-card .go-stats-grid {
        gap: 6px;
    }

    .game-over-clean-card .go-stat-card {
        padding: 6px 10px;
        border-radius: 10px;
        gap: 6px;
    }

    .game-over-clean-card .go-stat-icon-wrap {
        width: 26px;
        height: 26px;
        border-radius: 6px;
    }

    .game-over-clean-card .go-stat-svg {
        width: 14px;
        height: 14px;
    }

    .game-over-clean-card .go-stat-title {
        font-size: 0.55rem;
    }

    .game-over-clean-card .go-stat-val {
        font-size: 0.95rem;
    }

    .game-over-clean-card .btn-go-revive {
        height: 32px;
        font-size: 0.7rem;
        padding: 0 10px;
    }

    .game-over-clean-card .btn-go-primary-play {
        height: 38px;
        font-size: 0.8rem;
    }

    .game-over-clean-card .btn-go-primary-play .btn-svg-icon {
        width: 14px;
        height: 14px;
    }

    .game-over-clean-card .go-sub-actions {
        gap: 6px;
    }

    .game-over-clean-card .btn-go-secondary {
        height: 32px;
        font-size: 0.7rem;
    }

    .game-over-clean-card .btn-go-secondary .btn-svg-icon {
        width: 14px;
        height: 14px;
    }

    .photo-preview-card {
        padding: 10px 14px;
        max-width: 420px;
    }

    .photo-preview-img-box {
        max-height: 42vh;
    }
}

/* ==========================================================================
   iOS PWA & NOTCH (TAY THỎ / DYNAMIC ISLAND) COMPREHENSIVE SAFE AREA GUARDS
   ========================================================================== */
@supports (padding-top: env(safe-area-inset-top)) {
    #start-menu {
        padding-top: max(14px, env(safe-area-inset-top, 0px) + 8px);
        padding-right: max(16px, env(safe-area-inset-right, 0px));
        padding-bottom: max(16px, env(safe-area-inset-bottom, 0px) + 8px);
        padding-left: max(16px, env(safe-area-inset-left, 0px));
    }

    #hud {
        padding-top: max(12px, env(safe-area-inset-top, 0px) + 6px);
        padding-right: max(16px, env(safe-area-inset-right, 0px) + 4px);
        padding-bottom: max(10px, env(safe-area-inset-bottom, 0px));
        padding-left: max(16px, env(safe-area-inset-left, 0px) + 4px);
    }

    .shop-nav-header {
        min-height: calc(64px + env(safe-area-inset-top, 0px));
        padding-top: max(12px, env(safe-area-inset-top, 0px) + 8px);
        padding-right: max(16px, env(safe-area-inset-right, 0px));
        padding-left: max(16px, env(safe-area-inset-left, 0px));
    }

    .shop-main-content {
        padding-bottom: max(40px, env(safe-area-inset-bottom, 0px) + 30px);
    }

    #game-toast {
        top: max(75px, env(safe-area-inset-top, 0px) + 65px);
    }

    .modal-overlay {
        padding-top: max(16px, env(safe-area-inset-top, 0px) + 12px);
        padding-bottom: max(16px, env(safe-area-inset-bottom, 0px) + 12px);
        padding-left: max(12px, env(safe-area-inset-left, 0px));
        padding-right: max(12px, env(safe-area-inset-right, 0px));
    }

    .modal-content {
        max-height: calc(90dvh - env(safe-area-inset-top, 0px) - env(safe-area-inset-bottom, 0px));
    }

    .landing-bottom-dock {
        margin-bottom: max(0px, env(safe-area-inset-bottom, 0px));
    }

    #mobile-jump-btn {
        bottom: max(16px, env(safe-area-inset-bottom, 0px) + 10px);
        right: max(16px, env(safe-area-inset-right, 0px) + 6px);
    }
}

/* iOS Standalone PWA Mode (Added to Home Screen) */
@media all and (display-mode: standalone) {
    #start-menu {
        padding-top: max(20px, env(safe-area-inset-top, 0px) + 12px);
    }

    #hud {
        padding-top: max(16px, env(safe-area-inset-top, 0px) + 8px);
    }

    .shop-nav-header {
        padding-top: max(16px, env(safe-area-inset-top, 0px) + 10px);
    }

    #game-toast {
        top: max(85px, env(safe-area-inset-top, 0px) + 75px);
    }
}

