/* ==========================================================================
   EKSPLOR TANGGAMUS - Complete Design System & Stylesheet (Enhanced Animations)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=Poppins:wght@400;500;600;700;800&family=JetBrains+Mono:wght@400;600;700&display=swap');

:root {
    --primary: #0284c7;
    --primary-hover: #0369a1;
    --primary-light: #e0f2fe;
    --secondary: #10b981;
    --secondary-hover: #059669;
    --accent: #f59e0b;
    --danger: #ef4444;

    --bg-main: #f8fafc;
    --bg-card: #ffffff;
    --bg-glass: rgba(255, 255, 255, 0.85);
    --border-color: #e2e8f0;

    --text-main: #0f172a;
    --text-muted: #64748b;
    --text-white: #ffffff;

    --shadow-sm: 0 1px 3px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 12px -2px rgba(0,0,0,0.08), 0 2px 6px -1px rgba(0,0,0,0.04);
    --shadow-lg: 0 12px 24px -4px rgba(0,0,0,0.12), 0 4px 12px -2px rgba(0,0,0,0.06);
    --shadow-hover: 0 22px 35px -10px rgba(2, 132, 199, 0.28);

    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 24px;
    --radius-full: 9999px;

    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-spring: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

[data-theme="dark"] {
    --bg-main: #0f172a;
    --bg-card: #1e293b;
    --bg-glass: rgba(30, 41, 59, 0.85);
    --border-color: #334155;
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --primary-light: rgba(2, 132, 199, 0.2);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    background-color: var(--bg-main);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    transition: background-color 0.3s ease, color 0.3s ease;
}
:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }
h1, h2, h3, h4, h5, h6 { font-family: 'Poppins', sans-serif; font-weight: 700; line-height: 1.25; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
.container { max-width: 1240px; margin: 0 auto; padding: 0 24px; }

/* ==========================================================================
   Top Scroll Progress Bar
   ========================================================================== */
.scroll-progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    height: 3.5px;
    width: 0%;
    background: linear-gradient(90deg, #0284c7, #38bdf8, #34d399, #10b981);
    background-size: 300% 100%;
    animation: gradientShift 4s ease infinite;
    box-shadow: 0 0 10px rgba(56, 189, 248, 0.7), 0 0 20px rgba(52, 211, 153, 0.4);
    z-index: 9999999;
    transition: width 0.1s linear;
}

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

/* ==========================================================================
   Water Canvas & Custom Cursor
   ========================================================================== */
.water-canvas {
    position: fixed; top: 0; left: 0; width: 100vw; height: 100vh;
    pointer-events: none; z-index: 999990;
}
.cursor-dot {
    width: 8px; height: 8px; background-color: var(--primary); border-radius: 50%;
    position: fixed; top: 0; left: 0; pointer-events: none; z-index: 999999;
    transform: translate(-50%, -50%); transition: transform 0.08s ease, background-color 0.3s ease;
    box-shadow: 0 0 10px var(--primary);
}
.cursor-ring {
    width: 38px; height: 38px; border: 2px solid rgba(2, 132, 199, 0.6); border-radius: 50%;
    position: fixed; top: 0; left: 0; pointer-events: none; z-index: 999998;
    transform: translate(-50%, -50%); box-shadow: 0 0 15px rgba(2, 132, 199, 0.25);
    transition: width 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), 
                height 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), 
                border-color 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease;
}
body.cursor-hover .cursor-ring {
    width: 58px; height: 58px; border-color: var(--secondary);
    background-color: rgba(16, 185, 129, 0.12); box-shadow: 0 0 25px rgba(16, 185, 129, 0.4);
}
body.cursor-hover .cursor-dot { transform: translate(-50%, -50%) scale(1.6); background-color: var(--secondary); }
@media (pointer: coarse) { .cursor-dot, .cursor-ring, .water-canvas { display: none !important; } }

/* ==========================================================================
   Preloader (Loading Screen)
   ========================================================================== */
.preloader {
    position: fixed; top: 0; left: 0; right: 0; bottom: 0; z-index: 99999999;
    background: radial-gradient(circle at center, #1e293b 0%, #0f172a 100%);
    color: white; display: flex; align-items: center; justify-content: center; text-align: center;
    opacity: 1; visibility: visible;
    transition: opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.5s ease;
}
.preloader.preloader-hidden {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    z-index: -9999 !important;
}
.preloader-content { display: flex; flex-direction: column; align-items: center; padding: 30px; max-width: 420px; }
.preloader-icon-wrap {
    width: 88px; height: 88px; border-radius: 50%;
    background: rgba(255,255,255,0.08); backdrop-filter: blur(12px);
    border: 1px solid rgba(56, 189, 248, 0.3);
    box-shadow: 0 0 30px rgba(56, 189, 248, 0.3);
    display: flex; align-items: center; justify-content: center;
    font-size: 2.8rem; color: #38bdf8; margin-bottom: 22px;
    animation: iconPulse 2s ease-in-out infinite;
}
@keyframes iconPulse {
    0%, 100% { transform: scale(1); box-shadow: 0 0 25px rgba(56, 189, 248, 0.3); }
    50% { transform: scale(1.08); box-shadow: 0 0 45px rgba(56, 189, 248, 0.6); }
}
.preloader-title {
    font-size: 2rem; font-weight: 800; margin-bottom: 6px;
    background: linear-gradient(135deg, #ffffff, #38bdf8, #34d399);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.preloader-subtitle { font-size: 0.95rem; opacity: 0.88; margin-bottom: 26px; }
.preloader-bar { width: 220px; height: 5px; background: rgba(255,255,255,0.15); border-radius: var(--radius-full); overflow: hidden; }
.preloader-progress {
    width: 0%; height: 100%;
    background: linear-gradient(90deg, #38bdf8, #34d399);
    border-radius: var(--radius-full);
    animation: loadingProgress 1.4s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}
@keyframes loadingProgress { 0% { width: 0%; } 40% { width: 65%; } 100% { width: 100%; } }

/* ==========================================================================
   Navbar
   ========================================================================== */
.navbar {
    position: sticky; top: 0; z-index: 1000;
    background: var(--bg-glass); backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-color); transition: var(--transition);
}
.nav-container { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.nav-logo {
    display: flex; align-items: center; gap: 12px; font-size: 1.35rem; font-weight: 800; color: var(--primary);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.nav-logo:hover { transform: scale(1.04); }
.nav-logo i {
    font-size: 1.6rem;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    animation: compassSpin 8s linear infinite;
}
@keyframes compassSpin {
    0%, 100% { transform: rotate(0deg); }
    25% { transform: rotate(15deg); }
    75% { transform: rotate(-15deg); }
}
.nav-links { display: flex; align-items: center; gap: 28px; list-style: none; }
.nav-link {
    font-size: 0.95rem; font-weight: 600; color: var(--text-muted); transition: var(--transition);
    display: flex; align-items: center; gap: 6px; position: relative; padding: 6px 0;
}
.nav-link:hover, .nav-link.active { color: var(--primary); transform: translateY(-1px); }
.nav-link::after {
    content: ''; position: absolute; bottom: 0; left: 0; width: 0; height: 2.5px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    border-radius: var(--radius-full);
    transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.nav-link:hover::after, .nav-link.active::after { width: 100%; }
.nav-actions { display: flex; align-items: center; gap: 12px; position: relative; }
.btn-icon {
    width: 42px; height: 42px; border-radius: var(--radius-full);
    border: 1px solid var(--border-color); background: var(--bg-card); color: var(--text-main);
    display: flex; align-items: center; justify-content: center;
    cursor: pointer; transition: var(--transition-spring); font-size: 1.1rem; position: relative;
}
.btn-icon:hover {
    background: var(--primary-light); color: var(--primary); border-color: var(--primary);
    transform: translateY(-3px) scale(1.08); box-shadow: 0 8px 18px rgba(2, 132, 199, 0.25);
}
.badge-count {
    position: absolute; top: -4px; right: -4px;
    background: #ef4444; color: white; font-size: 0.7rem; font-weight: 700;
    width: 18px; height: 18px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
    box-shadow: 0 2px 6px rgba(239, 68, 68, 0.5);
    animation: badgePulse 2s ease-in-out infinite;
}
@keyframes badgePulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.15); }
}
.nav-toggle { display: none; background: none; border: none; font-size: 1.4rem; cursor: pointer; color: var(--text-main); }

/* Game Dropdown */
.btn-game-launcher { position: relative; }
.btn-game-launcher.active { background: var(--primary-light); color: var(--primary); border-color: var(--primary); }
.game-dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 12px);
    right: 90px;
    width: 300px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    z-index: 2000;
    overflow: hidden;
    animation: dropdownFadeIn 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.game-dropdown.show { display: block; }
@keyframes dropdownFadeIn {
    from { opacity: 0; transform: translateY(-12px) scale(0.95); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}
.game-dropdown-item {
    display: flex; align-items: center; gap: 14px;
    padding: 16px 18px; width: 100%; background: none; border: none;
    cursor: pointer; text-align: left; transition: var(--transition);
    border-bottom: 1px solid var(--border-color);
}
.game-dropdown-item:last-child { border-bottom: none; }
.game-dropdown-item:hover { background: var(--primary-light); transform: translateX(4px); }
.game-dropdown-item i { font-size: 1.6rem; color: var(--primary); width: 36px; text-align: center; transition: transform 0.3s ease; }
.game-dropdown-item:hover i { transform: scale(1.2) rotate(5deg); }
.game-dropdown-item strong { display: block; color: var(--text-main); font-size: 0.95rem; margin-bottom: 2px; }
.game-dropdown-item span { font-size: 0.8rem; color: var(--text-muted); }

/* ==========================================================================
   Hero Section & Atmospheric Animations
   ========================================================================== */
.hero {
    position: relative; padding: 110px 0 120px 0;
    background: linear-gradient(135deg, rgba(15,23,42,0.90), rgba(2,132,199,0.85)),
                url('Gambar/kiluan.jpg') center/cover no-repeat;
    color: var(--text-white); overflow: hidden;
}
.hero::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0;
    background: radial-gradient(circle at 80% 20%, rgba(16,185,129,0.3) 0%, transparent 60%),
                radial-gradient(circle at 20% 80%, rgba(56,189,248,0.25) 0%, transparent 60%);
    pointer-events: none;
}

/* Floating Ambient Orbs in Hero */
.hero-glow-orb {
    position: absolute; border-radius: 50%; pointer-events: none; filter: blur(70px); opacity: 0.6;
}
.hero-glow-orb-1 {
    width: 320px; height: 320px; background: rgba(56, 189, 248, 0.35);
    top: 10%; left: 5%; animation: orbFloat1 12s ease-in-out infinite alternate;
}
.hero-glow-orb-2 {
    width: 280px; height: 280px; background: rgba(16, 185, 129, 0.3);
    bottom: 20%; right: 5%; animation: orbFloat2 10s ease-in-out infinite alternate;
}
@keyframes orbFloat1 {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(60px, 40px) scale(1.2); }
}
@keyframes orbFloat2 {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(-50px, -30px) scale(1.15); }
}

.hero-content { max-width: 820px; margin: 0 auto; text-align: center; position: relative; z-index: 2; }

.hero-badge {
    display: inline-flex; align-items: center; gap: 8px; padding: 7px 18px;
    background: rgba(255,255,255,0.15); backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,0.35); border-radius: var(--radius-full);
    font-size: 0.88rem; font-weight: 600; margin-bottom: 24px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    transition: var(--transition-spring);
}
.hero-badge:hover {
    transform: translateY(-3px) scale(1.04);
    background: rgba(255,255,255,0.22);
    border-color: rgba(56, 189, 248, 0.6);
}
.hero-badge i { color: #f59e0b; animation: sparkleSpin 3s ease-in-out infinite; }
@keyframes sparkleSpin {
    0%, 100% { transform: scale(1) rotate(0deg); }
    50% { transform: scale(1.3) rotate(180deg); }
}

.hero-title {
    font-size: 3.4rem; font-weight: 800; letter-spacing: -1px; margin-bottom: 20px;
    text-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

.shimmer-text {
    background: linear-gradient(90deg, #38bdf8 0%, #34d399 25%, #ffffff 50%, #38bdf8 75%, #34d399 100%);
    background-size: 200% auto;
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    animation: textShimmerSweep 5s linear infinite;
    display: inline-block;
}
@keyframes textShimmerSweep {
    to { background-position: 200% center; }
}

.hero-subtitle {
    font-size: 1.22rem; opacity: 0.94; margin-bottom: 28px; line-height: 1.7;
    text-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

/* Hero Call-To-Action Buttons */
.hero-cta-group {
    display: flex; align-items: center; justify-content: center; gap: 16px;
    margin: 0 auto 36px auto; flex-wrap: wrap;
}
.btn-hero-primary {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 14px 28px; background: linear-gradient(135deg, var(--primary), #0284c7);
    color: white; font-weight: 700; font-size: 1.05rem;
    border-radius: var(--radius-full);
    box-shadow: 0 10px 25px rgba(2, 132, 199, 0.4);
    transition: var(--transition-spring);
    border: 1px solid rgba(255, 255, 255, 0.2);
}
.btn-hero-primary:hover {
    transform: translateY(-4px) scale(1.04);
    box-shadow: 0 16px 32px rgba(2, 132, 199, 0.55);
    background: linear-gradient(135deg, #0369a1, var(--primary));
    color: white;
}
.btn-hero-secondary {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 14px 28px; background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(12px); color: white;
    font-weight: 700; font-size: 1.05rem;
    border-radius: var(--radius-full);
    border: 1.5px solid rgba(255, 255, 255, 0.35);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    transition: var(--transition-spring);
}
.btn-hero-secondary:hover {
    transform: translateY(-4px) scale(1.04);
    background: rgba(255, 255, 255, 0.28);
    border-color: rgba(56, 189, 248, 0.6);
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.25);
    color: white;
}

/* Video Hero Play/Pause Control Button */
.btn-hero-video-toggle {
    position: absolute; bottom: 24px; right: 24px; z-index: 10;
    pointer-events: auto; display: inline-flex; align-items: center; gap: 8px;
    padding: 8px 18px; background: rgba(15, 23, 42, 0.78);
    backdrop-filter: blur(10px); border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: var(--radius-full); color: white;
    font-size: 0.85rem; font-weight: 600; cursor: pointer;
    transition: var(--transition-spring);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
}
.btn-hero-video-toggle:hover {
    background: rgba(15, 23, 42, 0.95); border-color: #38bdf8;
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 6px 20px rgba(56, 189, 248, 0.3);
}

.hero-stats {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
    max-width: 660px; margin: 40px auto 0 auto; padding: 22px;
    background: rgba(255,255,255,0.12); backdrop-filter: blur(16px);
    border: 1px solid rgba(255,255,255,0.25); border-radius: var(--radius-md);
    box-shadow: 0 12px 32px rgba(0,0,0,0.2);
    transition: var(--transition);
}
.hero-stats:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 40px rgba(0,0,0,0.3);
    border-color: rgba(56, 189, 248, 0.4);
}
.stat-item {
    transition: transform 0.3s ease;
}
.stat-item:hover { transform: scale(1.06); }
.stat-item h4 {
    font-size: 2rem; font-weight: 800; color: #38bdf8; margin-bottom: 2px;
    font-family: 'Poppins', sans-serif;
}
.stat-item p { font-size: 0.85rem; opacity: 0.9; font-weight: 500; }

/* Mini Weather Widget in Hero */
.hero-weather-mini {
    display: inline-flex; align-items: center; gap: 10px; margin-top: 24px;
    padding: 9px 22px; background: rgba(255,255,255,0.14); backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,0.3); border-radius: var(--radius-full);
    font-size: 0.92rem; font-weight: 600; color: white;
    box-shadow: 0 4px 18px rgba(0,0,0,0.18);
    transition: var(--transition-spring);
    cursor: default;
}
.hero-weather-mini:hover {
    transform: translateY(-3px) scale(1.03);
    background: rgba(255,255,255,0.2);
    border-color: rgba(56, 189, 248, 0.5);
}
.hwm-loading { opacity: 0.8; font-size: 0.85rem; }
.hero-weather-mini .hwm-icon { font-size: 1.35rem; filter: drop-shadow(0 2px 6px rgba(0,0,0,0.2)); }
.hero-weather-mini .hwm-temp { font-size: 1.15rem; font-weight: 800; color: #38bdf8; }
.hero-weather-mini .hwm-cond { opacity: 0.92; }
.hero-weather-mini .hwm-divider { width: 1px; height: 18px; background: rgba(255,255,255,0.35); }

/* Animated Ocean Wave Divider */
.hero-waves-divider {
    position: absolute; bottom: 0; left: 0; width: 100%; overflow: hidden; line-height: 0;
    transform: rotate(0deg); z-index: 3;
}
.waves { position: relative; width: 100%; height: 55px; margin-bottom: -1px; min-height: 45px; max-height: 70px; }
.parallax-waves > use {
    animation: moveForever 25s cubic-bezier(.55,.5,.45,.5) infinite;
}
.parallax-waves > use:nth-child(1) { animation-delay: -2s; animation-duration: 7s; }
.parallax-waves > use:nth-child(2) { animation-delay: -3s; animation-duration: 10s; }
.parallax-waves > use:nth-child(3) { animation-delay: -4s; animation-duration: 13s; }
.parallax-waves > use:nth-child(4) { animation-delay: -5s; animation-duration: 20s; }
@keyframes moveForever {
    0% { transform: translate3d(-90px,0,0); }
    100% { transform: translate3d(85px,0,0); }
}

/* ==========================================================================
   Scroll-Driven Reveal Animation System
   ========================================================================== */
.reveal-on-scroll {
    opacity: 0;
    transform: translateY(35px) scale(0.98);
    transition: opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1), transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}
.reveal-on-scroll.is-revealed {
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* ==========================================================================
   Controls, Search, Filter
   ========================================================================== */
.controls-wrapper { margin-top: 30px; position: relative; z-index: 10; margin-bottom: 40px; }
.controls-card {
    background: var(--bg-card); border: 1px solid var(--border-color);
    border-radius: var(--radius-md); padding: 24px; box-shadow: var(--shadow-lg);
    display: flex; flex-direction: column; gap: 20px;
    transition: var(--transition);
}
.controls-card:hover {
    box-shadow: 0 16px 36px -6px rgba(0,0,0,0.12);
}
.search-sort-bar { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }
.search-box { position: relative; flex: 2; min-width: 260px; }
.search-box i.search-icon-active {
    position: absolute; left: 18px; top: 50%; transform: translateY(-50%);
    color: var(--text-muted); font-size: 1.1rem; transition: color 0.3s ease, transform 0.3s ease;
}
.search-box:focus-within i.search-icon-active {
    color: var(--primary); transform: translateY(-50%) scale(1.1);
}
.search-input {
    width: 100%; padding: 13px 75px 13px 48px; border: 1.5px solid var(--border-color);
    border-radius: var(--radius-md); background: var(--bg-main); color: var(--text-main);
    font-size: 0.98rem; font-family: inherit; transition: var(--transition); outline: none;
}
.search-input:focus {
    border-color: var(--primary); box-shadow: 0 0 0 4px var(--primary-light); background: var(--bg-card);
}
.search-kbd-hint {
    position: absolute; right: 44px; top: 50%; transform: translateY(-50%);
    background: var(--bg-card); border: 1px solid var(--border-color); border-radius: 4px;
    padding: 2px 7px; font-size: 0.75rem; font-weight: 700; color: var(--text-muted); pointer-events: none;
    transition: transform 0.2s ease;
}
.search-clear {
    position: absolute; right: 14px; top: 50%; transform: translateY(-50%);
    background: none; border: none; color: var(--text-muted); cursor: pointer; display: none;
    font-size: 1rem; padding: 4px; transition: transform 0.2s ease, color 0.2s ease;
}
.search-clear:hover { color: #ef4444; transform: translateY(-50%) scale(1.2); }
.sort-box { display: flex; align-items: center; gap: 8px; flex: 1; min-width: 160px; }
.sort-box label { font-size: 0.9rem; font-weight: 600; color: var(--text-muted); white-space: nowrap; }
.select-custom {
    width: 100%; padding: 13px 16px; border: 1.5px solid var(--border-color);
    border-radius: var(--radius-md); background: var(--bg-main); color: var(--text-main);
    font-size: 0.95rem; font-weight: 500; font-family: inherit; outline: none; cursor: pointer;
    transition: var(--transition);
}
.select-custom:focus { border-color: var(--primary); box-shadow: 0 0 0 3px var(--primary-light); }
.filter-tabs-row {
    display: flex; align-items: center; justify-content: space-between; gap: 16px;
    flex-wrap: wrap; border-top: 1px dashed var(--border-color); padding-top: 16px;
}
.category-pills { display: flex; gap: 8px; flex-wrap: wrap; }
.btn-pill {
    padding: 8px 18px; border-radius: var(--radius-full); border: 1px solid var(--border-color);
    background: var(--bg-main); color: var(--text-muted); font-size: 0.88rem; font-weight: 600;
    cursor: pointer; transition: var(--transition-spring); display: flex; align-items: center; gap: 6px;
}
.btn-pill:hover {
    background: var(--primary-light); color: var(--primary); border-color: var(--primary-light);
    transform: translateY(-2px);
}
.btn-pill.active {
    background: var(--primary); color: var(--text-white); border-color: var(--primary);
    box-shadow: 0 6px 16px rgba(2,132,199,0.35); transform: translateY(-2px) scale(1.03);
}
.view-mode-toggles { display: flex; background: var(--bg-main); padding: 4px; border-radius: var(--radius-sm); border: 1px solid var(--border-color); }
.btn-view-toggle {
    padding: 6px 14px; border: none; background: none; color: var(--text-muted);
    border-radius: 6px; cursor: pointer; font-size: 0.85rem; font-weight: 600;
    transition: var(--transition); display: flex; align-items: center; gap: 6px;
}
.btn-view-toggle.active { background: var(--bg-card); color: var(--primary); box-shadow: var(--shadow-sm); }

/* ==========================================================================
   Cards Grid & 3D Tilt Magnetic Animations
   ========================================================================== */
.results-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 24px; }
.results-title { font-size: 1.4rem; color: var(--text-main); }
.results-count { font-size: 0.9rem; color: var(--text-muted); font-weight: 500; }
.grid-container { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 28px; margin-bottom: 60px; }

.card {
    background: var(--bg-card); border: 1px solid var(--border-color);
    border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-md);
    transition: transform 0.25s cubic-bezier(0.2, 0, 0, 1), box-shadow 0.3s ease, border-color 0.3s ease;
    display: flex; flex-direction: column; position: relative;
    transform-style: preserve-3d;
    perspective: 1000px;
    will-change: transform, box-shadow;
}
.card.card-enter {
    animation: cardEntrance 0.6s cubic-bezier(0.16, 1, 0.3, 1) both;
}
@keyframes cardEntrance {
    from { opacity: 0; transform: translateY(30px) scale(0.96); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

.card:hover {
    box-shadow: var(--shadow-hover); border-color: rgba(2,132,199,0.4);
}

/* Card Glare & Reflection overlay */
.card-glare {
    position: absolute; top: 0; left: 0; right: 0; bottom: 0;
    pointer-events: none; border-radius: var(--radius-md); opacity: 0;
    background: radial-gradient(circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(255,255,255,0.35) 0%, transparent 65%);
    transition: opacity 0.3s ease; mix-blend-mode: overlay; z-index: 4;
}
.card:hover .card-glare { opacity: 1; }

.card-image-wrap {
    position: relative; width: 100%; height: 220px; overflow: hidden; background: #1e293b; cursor: pointer;
}
.card-image-wrap img {
    width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.card:hover .card-image-wrap img { transform: scale(1.1); }

/* Sheen sweep on image */
.card-image-wrap::after {
    content: ''; position: absolute; top: -60%; left: -60%; width: 50%; height: 220%;
    background: linear-gradient(to right, transparent, rgba(255,255,255,0.25), transparent);
    transform: rotate(30deg); transition: transform 0.8s ease; pointer-events: none;
}
.card:hover .card-image-wrap::after { transform: rotate(30deg) translate(350%, 50%); }

.card-badges { position: absolute; top: 14px; left: 14px; display: flex; flex-direction: column; gap: 6px; z-index: 2; }
.badge-featured {
    background: linear-gradient(135deg, #f59e0b, #ef4444); color: white; padding: 4px 10px;
    border-radius: var(--radius-full); font-size: 0.75rem; font-weight: 700;
    display: flex; align-items: center; gap: 4px; box-shadow: 0 4px 10px rgba(239,68,68,0.3);
    animation: featuredPulse 2.5s ease-in-out infinite;
}
@keyframes featuredPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}
.badge-category {
    background: rgba(15,23,42,0.75); backdrop-filter: blur(8px); color: white;
    padding: 4px 12px; border-radius: var(--radius-full); font-size: 0.75rem; font-weight: 600; width: fit-content;
}

/* Favorite Button with Heart Burst */
.btn-fav {
    position: absolute; top: 14px; right: 14px; width: 40px; height: 40px; border-radius: 50%;
    background: rgba(255,255,255,0.92); backdrop-filter: blur(8px); border: none; color: #cbd5e1;
    font-size: 1.15rem; display: flex; align-items: center; justify-content: center;
    cursor: pointer; transition: var(--transition-spring); z-index: 3;
    box-shadow: 0 4px 12px rgba(0,0,0,0.12);
}
.btn-fav:hover { transform: scale(1.2); color: #ef4444; }
.btn-fav.active { color: #ef4444; }
.btn-fav.burst { animation: heartPop 0.55s cubic-bezier(0.175, 0.885, 0.32, 1.275); }
@keyframes heartPop {
    0% { transform: scale(1); }
    40% { transform: scale(1.45) rotate(-15deg); }
    70% { transform: scale(0.9) rotate(10deg); }
    100% { transform: scale(1) rotate(0deg); }
}

/* Floating Heart Sparkles Particles */
.heart-sparkle-particle {
    position: fixed; pointer-events: none; z-index: 999999;
    font-size: 1rem; color: #ef4444;
    animation: particleScatter 0.8s cubic-bezier(0.1, 0.8, 0.3, 1) forwards;
}
@keyframes particleScatter {
    0% { transform: translate(0, 0) scale(1.2); opacity: 1; }
    100% { transform: translate(var(--dx), var(--dy)) scale(0); opacity: 0; }
}

.card-content { padding: 22px; display: flex; flex-direction: column; flex-grow: 1; cursor: pointer; }
.card-meta { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; font-size: 0.85rem; color: var(--text-muted); }
.card-location { display: flex; align-items: center; gap: 4px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.card-rating { display: flex; align-items: center; gap: 4px; background: var(--primary-light); color: #d97706; font-weight: 700; padding: 2px 8px; border-radius: 6px; }
.card-title { font-size: 1.25rem; margin-bottom: 10px; color: var(--text-main); transition: color 0.2s ease, transform 0.2s ease; }
.card:hover .card-title { color: var(--primary); transform: translateX(2px); }
.card-desc { color: var(--text-muted); font-size: 0.92rem; line-height: 1.5; margin-bottom: 18px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card-facilities { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 18px; }
.facility-chip {
    font-size: 0.72rem; background: var(--bg-main); color: var(--text-muted);
    padding: 3px 8px; border-radius: 4px; border: 1px solid var(--border-color);
    transition: transform 0.2s ease, background 0.2s ease;
}
.card:hover .facility-chip { transform: translateY(-1px); }
.card-footer { margin-top: auto; padding-top: 14px; border-top: 1px dashed var(--border-color); display: flex; align-items: center; justify-content: space-between; }
.card-price-label { font-size: 0.75rem; color: var(--text-muted); display: block; }
.card-price-value { font-size: 1.15rem; font-weight: 800; color: var(--secondary); }
.btn-detail {
    padding: 8px 16px; border-radius: var(--radius-sm); background: var(--primary);
    color: white; font-size: 0.85rem; font-weight: 600; border: none; cursor: pointer;
    transition: var(--transition-spring); display: flex; align-items: center; gap: 6px;
}
.btn-detail:hover {
    background: var(--primary-hover); transform: translateX(3px);
    box-shadow: 0 4px 14px rgba(2, 132, 199, 0.35);
}

/* Skeleton */
.skeleton-card { background: var(--bg-card); border: 1px solid var(--border-color); border-radius: var(--radius-md); height: 380px; overflow: hidden; display: flex; flex-direction: column; padding: 16px; gap: 12px; }
.skeleton-box { background: linear-gradient(90deg, var(--border-color) 25%, var(--bg-main) 50%, var(--border-color) 75%); background-size: 200% 100%; animation: shimmer 1.5s infinite; border-radius: var(--radius-sm); }
.skeleton-img { height: 180px; width: 100%; } .skeleton-title { height: 24px; width: 70%; } .skeleton-text { height: 16px; width: 90%; } .skeleton-btn { height: 36px; width: 40%; margin-top: auto; }
@keyframes shimmer { 0% { background-position: -200% 0; } 100% { background-position: 200% 0; } }

/* Empty State */
.empty-state { grid-column: 1 / -1; text-align: center; padding: 60px 20px; background: var(--bg-card); border-radius: var(--radius-md); border: 1px dashed var(--border-color); color: var(--text-muted); }
.empty-icon-wrap { width: 80px; height: 80px; border-radius: 50%; background: var(--primary-light); color: var(--primary); display: flex; align-items: center; justify-content: center; font-size: 2.5rem; margin: 0 auto 20px auto; animation: floatBounce 3s ease-in-out infinite; }
@keyframes floatBounce { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
.empty-state h3 { font-size: 1.4rem; color: var(--text-main); margin-bottom: 8px; }
.empty-state p { font-size: 0.95rem; margin-bottom: 24px; max-width: 480px; margin-left: auto; margin-right: auto; }

/* ==========================================================================
   Modal Base & Zoom Animation
   ========================================================================== */
.modal {
    display: none; position: fixed; z-index: 2000; left: 0; top: 0; width: 100%; height: 100%;
    background-color: rgba(15,23,42,0.8); backdrop-filter: blur(10px); overflow-y: auto; padding: 30px 16px;
    animation: modalFadeIn 0.3s ease;
}
@keyframes modalFadeIn {
    from { opacity: 0; } to { opacity: 1; }
}
.modal-content {
    background-color: var(--bg-card); margin: 40px auto; max-width: 720px;
    border-radius: var(--radius-lg); position: relative; box-shadow: 0 25px 50px -12px rgba(0,0,0,0.45);
    overflow: hidden; border: 1px solid var(--border-color);
    animation: modalSpringUp 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
@keyframes modalSpringUp {
    from { opacity: 0; transform: translateY(40px) scale(0.92); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}
.modal-close-btn {
    position: absolute; top: 16px; right: 16px; width: 40px; height: 40px; border-radius: 50%;
    background: rgba(15,23,42,0.65); backdrop-filter: blur(8px); color: white; border: none;
    font-size: 1.2rem; cursor: pointer; display: flex; align-items: center; justify-content: center;
    z-index: 10; transition: var(--transition-spring);
}
.modal-close-btn:hover { background: rgba(239,68,68,0.95); transform: rotate(90deg) scale(1.1); }
.modal-hero-img { width: 100%; height: 320px; object-fit: cover; }
.modal-body { padding: 30px; }
.modal-header-meta { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.modal-title { font-size: 1.8rem; color: var(--text-main); margin-bottom: 8px; }
.modal-location-text { color: var(--text-muted); font-size: 0.95rem; display: flex; align-items: center; gap: 6px; margin-bottom: 24px; }
.modal-grid-info { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; background: var(--bg-main); padding: 16px; border-radius: var(--radius-md); margin-bottom: 24px; }
.info-box { display: flex; align-items: center; gap: 12px; }
.info-box i { font-size: 1.4rem; color: var(--primary); width: 40px; height: 40px; background: var(--bg-card); border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center; border: 1px solid var(--border-color); }
.info-box label { font-size: 0.78rem; color: var(--text-muted); display: block; }
.info-box span { font-size: 1rem; font-weight: 700; color: var(--text-main); }
.modal-section-title { font-size: 1.1rem; margin-bottom: 10px; color: var(--text-main); }
.modal-desc-text { color: var(--text-muted); line-height: 1.7; margin-bottom: 24px; }
.modal-facilities-list { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 28px; }
.modal-facility-badge { padding: 6px 14px; background: var(--primary-light); color: var(--primary); border-radius: var(--radius-full); font-size: 0.85rem; font-weight: 600; display: flex; align-items: center; gap: 6px; transition: transform 0.2s ease; }
.modal-facility-badge:hover { transform: translateY(-2px); }
.modal-actions { display: flex; gap: 12px; flex-wrap: wrap; padding-top: 20px; border-top: 1px solid var(--border-color); }
.btn-action-primary {
    flex: 1; min-width: 200px; padding: 14px 20px;
    background: linear-gradient(135deg, var(--primary), #0284c7); color: white;
    border: none; border-radius: var(--radius-md); font-weight: 700; font-size: 0.95rem;
    cursor: pointer; transition: var(--transition-spring); display: flex; align-items: center; justify-content: center; gap: 8px;
}
.btn-action-primary:hover { box-shadow: 0 10px 24px rgba(2,132,199,0.45); transform: translateY(-3px); }
.btn-action-secondary {
    padding: 14px 20px; background: var(--bg-main); color: var(--text-main);
    border: 1.5px solid var(--border-color); border-radius: var(--radius-md);
    font-weight: 600; font-size: 0.95rem; cursor: pointer; transition: var(--transition-spring);
    display: flex; align-items: center; gap: 8px;
}
.btn-action-secondary:hover { background: var(--bg-card); border-color: var(--primary); color: var(--primary); transform: translateY(-2px); }

/* ==========================================================================
   Toast Notification System
   ========================================================================== */
.toast-container {
    position: fixed; bottom: 28px; left: 50%; transform: translateX(-50%);
    z-index: 9999999; display: flex; flex-direction: column; gap: 10px;
    pointer-events: none; align-items: center;
}
.toast-item {
    padding: 12px 24px; background: rgba(15, 23, 42, 0.92); backdrop-filter: blur(16px);
    color: white; border: 1px solid rgba(56, 189, 248, 0.35); border-radius: var(--radius-full);
    box-shadow: 0 12px 32px rgba(0,0,0,0.4); font-size: 0.92rem; font-weight: 600;
    display: flex; align-items: center; gap: 10px; pointer-events: auto;
    animation: toastSlideIn 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275), toastFadeOut 0.35s ease forwards 2.6s;
}
[data-theme="dark"] .toast-item { background: rgba(30, 41, 59, 0.95); border-color: rgba(56,189,248,0.4); }
@keyframes toastSlideIn {
    from { opacity: 0; transform: translateY(20px) scale(0.9); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes toastFadeOut {
    to { opacity: 0; transform: translateY(-10px) scale(0.9); }
}

/* ==========================================================================
   Floating Back To Top Button
   ========================================================================== */
.btn-back-to-top {
    position: fixed; bottom: 28px; right: 28px; width: 48px; height: 48px; border-radius: 50%;
    background: var(--bg-card); color: var(--primary); border: 1px solid var(--border-color);
    box-shadow: var(--shadow-lg); cursor: pointer; z-index: 999; display: flex;
    align-items: center; justify-content: center; opacity: 0; visibility: hidden;
    transform: translateY(20px) scale(0.8);
    transition: opacity 0.35s ease, transform 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275), visibility 0.35s ease, background-color 0.3s, border-color 0.3s;
}
.btn-back-to-top.visible { opacity: 1; visibility: visible; transform: translateY(0) scale(1); }
.btn-back-to-top:hover {
    transform: translateY(-4px) scale(1.1); box-shadow: 0 12px 28px rgba(2,132,199,0.35);
    color: var(--primary); border-color: var(--primary);
}
.btn-back-to-top svg { position: absolute; top: 0px; left: 0px; transform: rotate(-90deg); pointer-events: none; }
.progress-ring-circle {
    stroke-dasharray: 125.66; stroke-dashoffset: 125.66; transition: stroke-dashoffset 0.1s linear;
}

/* ==========================================================================
   Game Modals & Animation
   ========================================================================== */
.game-modal-content { max-width: 760px !important; }
.game-wrapper { display: flex; flex-direction: column; }
.game-topbar {
    display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px;
    padding: 24px 28px 20px;
    background: linear-gradient(135deg, #0f172a, #1e293b);
    color: white;
}
.game-title-area { display: flex; align-items: center; gap: 14px; }
.game-icon-main { font-size: 2rem; color: #38bdf8; }
.game-title-area h3 { font-size: 1.2rem; color: #f8fafc; margin-bottom: 2px; }
.game-subtitle { font-size: 0.82rem; color: #94a3b8; }
.game-stats-bar { display: flex; gap: 12px; flex-wrap: wrap; }
.game-stat-box { background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.12); border-radius: var(--radius-sm); padding: 8px 14px; text-align: center; min-width: 64px; }
.stat-label { display: block; font-size: 0.7rem; color: #94a3b8; margin-bottom: 2px; }
.stat-val { display: block; font-size: 1.15rem; font-weight: 800; color: #38bdf8; font-family: 'JetBrains Mono', monospace; }

/* Common start/result screen */
.typing-start-screen {
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    text-align: center; padding: 40px 30px; min-height: 320px; gap: 16px;
}
.typing-start-icon { font-size: 4rem; line-height: 1; animation: floatBounce 3s ease-in-out infinite; }
.typing-start-screen h2 { font-size: 1.8rem; color: var(--text-main); }
.typing-start-screen p { color: var(--text-muted); max-width: 440px; font-size: 0.95rem; line-height: 1.6; }
.btn-game-start {
    margin-top: 8px; padding: 14px 32px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white; border: none; border-radius: var(--radius-full);
    font-size: 1rem; font-weight: 700; cursor: pointer; transition: var(--transition-spring);
    display: flex; align-items: center; gap: 10px; box-shadow: 0 6px 20px rgba(2,132,199,0.35);
}
.btn-game-start:hover { transform: translateY(-3px) scale(1.04); box-shadow: 0 12px 30px rgba(2,132,199,0.5); }

/* Game 1: Typing Practice */
.typing-area-wrap { padding: 24px 28px 28px; min-height: 320px; }
.typing-sentence-display {
    font-family: 'JetBrains Mono', monospace; font-size: 1.15rem; line-height: 1.8;
    letter-spacing: 0.3px; padding: 18px 20px; background: var(--bg-main);
    border: 2px solid var(--border-color); border-radius: var(--radius-md);
    margin-bottom: 16px; min-height: 80px; word-break: break-word; user-select: none;
}
.typing-sentence-display .char-correct {
    color: var(--secondary); font-weight: 600; display: inline-block;
}
.typing-sentence-display .char-wrong { color: var(--danger); background: rgba(239,68,68,0.12); border-radius: 2px; font-weight: 600; }
.typing-sentence-display .char-pending { color: var(--text-main); }
.typing-sentence-display .char-cursor {
    border-left: 2px solid var(--primary); animation: cursorBlink 0.8s step-end infinite;
}
@keyframes cursorBlink { 0%, 100% { border-color: var(--primary); } 50% { border-color: transparent; } }

.typing-input {
    width: 100%; min-height: 80px; padding: 16px 18px; border: 2px solid var(--border-color);
    border-radius: var(--radius-md); background: var(--bg-card); color: var(--text-main);
    font-family: 'JetBrains Mono', monospace; font-size: 1.05rem; line-height: 1.6;
    resize: none; outline: none; transition: var(--transition);
}
.typing-input:focus { border-color: var(--primary); box-shadow: 0 0 0 4px var(--primary-light); }
.typing-input.correct-input { border-color: var(--secondary); }
.typing-input.wrong-input { border-color: var(--danger); background: rgba(239,68,68,0.04); }

.typing-progress-bar { height: 6px; background: var(--border-color); border-radius: var(--radius-full); margin-top: 14px; overflow: hidden; }
.typing-progress-fill { height: 100%; background: linear-gradient(90deg, var(--primary), var(--secondary)); border-radius: var(--radius-full); transition: width 0.4s ease; width: 0%; }

/* Result Screen */
.typing-result { padding: 40px 30px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 20px; }
.typing-result h2 { font-size: 2rem; color: var(--text-main); }
.result-stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; width: 100%; max-width: 480px; margin: 8px 0; }
.result-stat { background: var(--bg-main); border: 1px solid var(--border-color); border-radius: var(--radius-md); padding: 20px 14px; text-align: center; transition: transform 0.3s ease; }
.result-stat:hover { transform: translateY(-3px); }
.result-stat-val { display: block; font-size: 2rem; font-weight: 800; color: var(--primary); font-family: 'JetBrains Mono', monospace; margin-bottom: 4px; }
.result-stat-label { font-size: 0.82rem; color: var(--text-muted); }

/* Game 2: Quiz / Tebak-Tebakan */
.quiz-area-wrap { padding: 20px 28px 28px; min-height: 320px; }
.quiz-timer-bar { height: 6px; background: var(--border-color); border-radius: var(--radius-full); margin-bottom: 20px; overflow: hidden; }
.quiz-timer-fill { height: 100%; background: linear-gradient(90deg, var(--secondary), var(--primary)); border-radius: var(--radius-full); transition: width 1s linear; width: 100%; }
.quiz-timer-fill.urgent { background: linear-gradient(90deg, #f59e0b, var(--danger)); }

.quiz-question-card { background: var(--bg-main); border: 1px solid var(--border-color); border-radius: var(--radius-md); padding: 22px 24px; margin-bottom: 20px; }
.quiz-category-tag { display: inline-block; padding: 3px 12px; background: var(--primary-light); color: var(--primary); border-radius: var(--radius-full); font-size: 0.78rem; font-weight: 700; margin-bottom: 12px; }
.quiz-question-text { font-size: 1.15rem; color: var(--text-main); line-height: 1.5; }

.quiz-options-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 14px; }
.quiz-option-btn {
    padding: 14px 18px; border: 2px solid var(--border-color);
    border-radius: var(--radius-md); background: var(--bg-card);
    color: var(--text-main); font-size: 0.95rem; font-weight: 600;
    text-align: left; cursor: pointer; transition: var(--transition-spring);
    line-height: 1.4;
}
.quiz-option-btn:hover:not(:disabled) {
    border-color: var(--primary); background: var(--primary-light); color: var(--primary); transform: translateY(-2px);
}
.quiz-option-btn.correct {
    border-color: var(--secondary); background: rgba(16,185,129,0.15); color: var(--secondary);
    animation: correctPop 0.35s ease;
}
@keyframes correctPop {
    0% { transform: scale(1); } 50% { transform: scale(1.04); } 100% { transform: scale(1); }
}
.quiz-option-btn.wrong {
    border-color: var(--danger); background: rgba(239,68,68,0.12); color: var(--danger);
    animation: shakeError 0.45s cubic-bezier(0.36, 0.07, 0.19, 0.97) both;
}
@keyframes shakeError {
    10%, 90% { transform: translate3d(-2px, 0, 0); }
    20%, 80% { transform: translate3d(3px, 0, 0); }
    30%, 50%, 70% { transform: translate3d(-5px, 0, 0); }
    40%, 60% { transform: translate3d(5px, 0, 0); }
}
.quiz-option-btn:disabled { cursor: not-allowed; }

.quiz-feedback { min-height: 48px; padding: 12px 16px; border-radius: var(--radius-md); font-size: 0.9rem; font-weight: 600; text-align: center; transition: var(--transition); }
.quiz-feedback.correct { background: rgba(16,185,129,0.12); color: var(--secondary); border: 1px solid rgba(16,185,129,0.3); }
.quiz-feedback.wrong { background: rgba(239,68,68,0.08); color: var(--danger); border: 1px solid rgba(239,68,68,0.25); }
.qfb-header { font-weight: 800; font-size: 0.95rem; margin-bottom: 4px; }
.qfb-fact {
    font-size: 0.84rem; line-height: 1.5; color: var(--text-main);
    background: rgba(255, 255, 255, 0.15); padding: 8px 12px;
    border-radius: var(--radius-sm); border-left: 3px solid var(--accent);
    margin-top: 6px; text-align: left;
}

.quiz-result-msg { font-size: 1rem; color: var(--text-muted); max-width: 400px; line-height: 1.6; }

/* ==========================================================================
   Game 3: Penjaga Laut Tanggamus (Tembak-Tembakan)
   ========================================================================== */
.shooter-modal-content { max-width: 820px !important; }
.shooter-area-wrap { padding: 18px 24px 24px; min-height: 360px; }

.shooter-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    max-width: 580px;
    margin: 12px 0 20px 0;
}
.legend-item {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: var(--bg-main);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-full);
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-main);
    transition: transform 0.2s ease;
}
.legend-item:hover { transform: translateY(-2px); }
.legend-emoji { font-size: 1.1rem; }
.legend-danger {
    background: rgba(239, 68, 68, 0.12);
    border-color: rgba(239, 68, 68, 0.35);
    color: var(--danger);
}

.shooter-play-container {
    position: relative;
    width: 100%;
    height: 420px;
    background: radial-gradient(circle at 50% 100%, #0369a1 0%, #0f172a 75%, #020617 100%);
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 2px solid var(--border-color);
    box-shadow: inset 0 0 30px rgba(0,0,0,0.5);
    cursor: crosshair;
    user-select: none;
    touch-action: none;
}

.shooter-canvas {
    width: 100%;
    height: 100%;
    display: block;
}

.shooter-hud-overlay {
    position: absolute;
    top: 14px;
    left: 14px;
    right: 14px;
    display: flex;
    justify-content: space-between;
    pointer-events: none;
    z-index: 10;
}
.shooter-combo-meter {
    background: linear-gradient(135deg, #f59e0b, #ef4444);
    color: white;
    font-weight: 800;
    padding: 6px 16px;
    border-radius: var(--radius-full);
    font-size: 0.9rem;
    box-shadow: 0 4px 14px rgba(239, 68, 68, 0.5);
    animation: comboPulse 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
@keyframes comboPulse {
    0% { transform: scale(0.8); }
    50% { transform: scale(1.15); }
    100% { transform: scale(1); }
}

/* ==========================================================================
   Map Section
   ========================================================================== */
.explore-map-section { padding: 60px 0; background: var(--bg-card); border-top: 1px solid var(--border-color); border-bottom: 1px solid var(--border-color); margin-bottom: 60px; }
.map-card {
    background: linear-gradient(135deg, #0f172a, #1e293b); border-radius: var(--radius-lg);
    padding: 40px; color: white; display: grid; grid-template-columns: 1fr 1fr; gap: 30px; align-items: center;
    box-shadow: var(--shadow-lg); transition: var(--transition);
}
.map-card:hover {
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}
.map-card-text h2 { font-size: 2.2rem; margin-bottom: 14px; }
.map-card-text p { opacity: 0.85; font-size: 1.05rem; margin-bottom: 24px; }
.map-iframe-container { height: 280px; border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-lg); border: 2px solid rgba(255,255,255,0.1); }

/* ==========================================================================
   Footer
   ========================================================================== */
.footer { background: #090d16; color: #94a3b8; padding: 70px 0 30px 0; border-top: 1px solid #1e293b; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; margin-bottom: 50px; }
.footer-brand h3 { color: white; font-size: 1.5rem; margin-bottom: 14px; display: flex; align-items: center; gap: 10px; }
.footer-brand p { font-size: 0.95rem; line-height: 1.7; max-width: 400px; }
.footer-title { color: white; font-size: 1.1rem; margin-bottom: 18px; }
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-links a { font-size: 0.9rem; transition: var(--transition-spring); display: inline-block; }
.footer-links a:hover { color: var(--primary); transform: translateX(6px); }
.social-links { display: flex; gap: 12px; margin-top: 16px; }
.social-icon {
    width: 38px; height: 38px; border-radius: 50%; background: #1e293b; color: white;
    display: flex; align-items: center; justify-content: center; transition: var(--transition-spring);
}
.social-icon:hover { background: var(--primary); transform: translateY(-4px) scale(1.15); box-shadow: 0 6px 16px rgba(2,132,199,0.4); }
.footer-bottom { padding-top: 24px; border-top: 1px solid #1e293b; text-align: center; font-size: 0.88rem; }

/* ==========================================================================
   Weather Section — Real-Time Cuaca Tanggamus
   ========================================================================== */
.weather-section { padding: 0 0 0 0; margin-top: 0; }
.weather-card {
    background: linear-gradient(145deg, #0f172a 0%, #1e3a5f 50%, #0f2d4a 100%);
    border-radius: 0;
    border-top: 1px solid rgba(56,189,248,0.2);
    border-bottom: 1px solid rgba(56,189,248,0.2);
    padding: 36px 0;
    color: white;
    position: relative;
    overflow: hidden;
    box-shadow: inset 0 0 50px rgba(0,0,0,0.2);
}
.weather-card::before {
    content: ''; position: absolute; top: -60px; right: -60px;
    width: 240px; height: 240px;
    background: radial-gradient(circle, rgba(56,189,248,0.18) 0%, transparent 70%);
    border-radius: 50%; pointer-events: none;
    animation: weatherOrbPulse 6s ease-in-out infinite alternate;
}
@keyframes weatherOrbPulse {
    0% { transform: scale(1); opacity: 0.5; }
    100% { transform: scale(1.3); opacity: 0.9; }
}

.weather-loading, .weather-error {
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    gap: 14px; padding: 40px; text-align: center; color: rgba(255,255,255,0.75); font-size: 0.95rem;
}
.weather-load-icon { font-size: 3rem; color: #38bdf8; }
.weather-error i { font-size: 2.5rem; color: #f59e0b; }

.weather-content {
    max-width: 1240px; margin: 0 auto; padding: 0 24px;
    display: grid; grid-template-columns: 280px 1fr; grid-template-rows: auto auto auto;
    gap: 0 32px;
}

/* Left — Main Weather */
.weather-main {
    grid-row: 1 / 3; display: flex; flex-direction: column; gap: 16px;
    padding-right: 32px; border-right: 1px solid rgba(255,255,255,0.1);
}
.weather-location {
    display: flex; align-items: center; gap: 8px; font-size: 0.88rem;
    color: #38bdf8; font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px;
}
.weather-district-select {
    background: rgba(15, 23, 42, 0.65); color: #38bdf8;
    border: 1px solid rgba(56, 189, 248, 0.4); border-radius: var(--radius-sm);
    padding: 5px 12px; font-size: 0.88rem; font-weight: 700;
    font-family: inherit; cursor: pointer; outline: none;
    transition: var(--transition-spring); box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}
.weather-district-select:hover, .weather-district-select:focus {
    background: rgba(15, 23, 42, 0.95); border-color: #38bdf8;
    box-shadow: 0 0 15px rgba(56, 189, 248, 0.35); transform: translateY(-1px);
}
.weather-district-select option {
    background: #0f172a; color: #f8fafc; font-weight: 600; padding: 8px;
}
.weather-primary { display: flex; align-items: center; gap: 18px; }
.weather-icon-big {
    font-size: 4.6rem; line-height: 1; filter: drop-shadow(0 6px 16px rgba(56,189,248,0.4));
    animation: weatherFloat 3.5s ease-in-out infinite;
}
@keyframes weatherFloat {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-8px) rotate(2deg); }
}

.weather-temp {
    font-size: 3.2rem; font-weight: 800; color: #ffffff; letter-spacing: -2px; line-height: 1;
    background: linear-gradient(135deg, #ffffff, #38bdf8);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.weather-condition { font-size: 1.05rem; color: #94a3b8; margin: 4px 0 2px; font-weight: 500; }
.weather-feels { font-size: 0.82rem; color: #64748b; }
.weather-update-time { display: flex; align-items: center; gap: 8px; font-size: 0.78rem; color: #475569; flex-wrap: wrap; }
.btn-refresh-weather {
    padding: 5px 12px; background: rgba(56,189,248,0.12); color: #38bdf8;
    border: 1px solid rgba(56,189,248,0.3); border-radius: var(--radius-full);
    font-size: 0.78rem; font-weight: 600; cursor: pointer; transition: var(--transition-spring);
    display: flex; align-items: center; gap: 5px;
}
.btn-refresh-weather:hover {
    background: rgba(56,189,248,0.28); border-color: #38bdf8; transform: scale(1.05);
}

/* Right — Detail Stats */
.weather-details {
    grid-row: 1 / 2; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; align-content: start;
}
.weather-detail-item {
    display: flex; align-items: center; gap: 12px; background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.08); border-radius: var(--radius-sm);
    padding: 12px 14px; transition: var(--transition-spring);
}
.weather-detail-item:hover {
    background: rgba(56,189,248,0.12); border-color: rgba(56,189,248,0.35);
    transform: translateY(-2px);
}
.weather-detail-item i { font-size: 1.2rem; color: #38bdf8; width: 24px; text-align: center; }
.wdetail-label { display: block; font-size: 0.72rem; color: #64748b; margin-bottom: 2px; text-transform: uppercase; letter-spacing: 0.3px; }
.wdetail-val { display: block; font-size: 1rem; font-weight: 700; color: #f8fafc; }

/* Wisata Recommendation Banner */
.weather-rekomendasi {
    grid-column: 2 / 3; display: flex; align-items: center; gap: 12px;
    padding: 14px 18px; border-radius: var(--radius-sm); font-size: 0.9rem; font-weight: 600;
    margin-top: 10px; border: 1px solid rgba(255,255,255,0.1); background: rgba(255,255,255,0.04);
    transition: background 0.4s ease, transform 0.3s ease;
}
.weather-rekomendasi:hover { transform: translateX(3px); }
.weather-rekomendasi.good { background: rgba(16,185,129,0.14); border-color: rgba(16,185,129,0.4); color: #34d399; }
.weather-rekomendasi.warn { background: rgba(245,158,11,0.14); border-color: rgba(245,158,11,0.4); color: #fbbf24; }
.weather-rekomendasi.bad  { background: rgba(239,68,68,0.12);  border-color: rgba(239,68,68,0.35); color: #f87171; }
.weather-rekomendasi i { font-size: 1.25rem; flex-shrink: 0; }

/* Forecast Strip */
.weather-forecast-strip {
    grid-column: 1 / -1; margin-top: 22px; padding-top: 22px;
    border-top: 1px solid rgba(255,255,255,0.08);
}
.forecast-title { font-size: 0.9rem; color: #94a3b8; margin-bottom: 14px; display: flex; align-items: center; gap: 8px; text-transform: uppercase; letter-spacing: 0.5px; }
.forecast-items {
    display: flex; gap: 12px; overflow-x: auto; padding-bottom: 4px;
    scrollbar-width: thin; scrollbar-color: rgba(56,189,248,0.3) transparent;
}
.forecast-item {
    flex-shrink: 0; min-width: 90px; background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.08); border-radius: var(--radius-sm);
    padding: 12px; text-align: center; transition: var(--transition-spring);
}
.forecast-item:hover {
    background: rgba(56,189,248,0.15); border-color: rgba(56,189,248,0.4); transform: translateY(-4px) scale(1.05);
}
.forecast-item .fc-time { font-size: 0.78rem; color: #64748b; margin-bottom: 6px; display: block; }
.forecast-item .fc-icon { font-size: 1.6rem; display: block; margin-bottom: 6px; }
.forecast-item .fc-temp { font-size: 0.95rem; font-weight: 700; color: #f8fafc; }
.forecast-item .fc-rain { font-size: 0.72rem; color: #38bdf8; margin-top: 4px; display: block; }

/* Spin animation */
@keyframes spinOnce { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
.spin-once { animation: spinOnce 0.6s ease; }

/* ==========================================================================
   Language Switcher Button
   ========================================================================== */
.btn-lang {
    display: flex; align-items: center; gap: 5px;
    padding: 6px 12px; border-radius: var(--radius-full);
    background: var(--bg-card); border: 1.5px solid var(--border-color);
    color: var(--text-main); font-weight: 700; font-size: 0.82rem;
    cursor: pointer; transition: var(--transition-spring);
    font-family: inherit;
}
.btn-lang:hover { border-color: var(--primary); color: var(--primary); transform: translateY(-2px) scale(1.05); }
#langFlag { font-size: 1.1rem; }

/* ==========================================================================
   Compare Nav Button & SOS Button
   ========================================================================== */
.btn-nav-tool { position: relative; }
.btn-sos {
    position: relative; color: #ef4444 !important;
}
.btn-sos:hover { background: rgba(239,68,68,0.12) !important; }
.sos-pulse-ring {
    position: absolute; top: -2px; right: -2px; width: 12px; height: 12px;
    border-radius: 50%; background: #ef4444;
    animation: sosPulse 1.5s ease-in-out infinite;
}
@keyframes sosPulse {
    0% { box-shadow: 0 0 0 0 rgba(239,68,68,0.6); }
    70% { box-shadow: 0 0 0 8px rgba(239,68,68,0); }
    100% { box-shadow: 0 0 0 0 rgba(239,68,68,0); }
}

/* ==========================================================================
   Section Headers (Shared)
   ========================================================================== */
.section-header-wrap {
    text-align: center; margin-bottom: 40px;
}
.section-tag {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 6px 18px; border-radius: var(--radius-full);
    background: var(--primary-light); color: var(--primary);
    font-size: 0.82rem; font-weight: 700; margin-bottom: 14px;
    text-transform: uppercase; letter-spacing: 0.5px;
}
.section-title {
    font-size: 2.4rem; color: var(--text-main); margin-bottom: 12px;
    font-family: 'Poppins', sans-serif;
}
.section-subtitle {
    color: var(--text-muted); font-size: 1.05rem; max-width: 600px; margin: 0 auto; line-height: 1.7;
}

/* ==========================================================================
   Culinary Section
   ========================================================================== */
.culinary-section {
    padding: 70px 0 60px; background: var(--bg-card);
    border-top: 1px solid var(--border-color);
}
.culinary-filter-pills {
    display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; margin-bottom: 32px;
}
.btn-pill-culinary {
    padding: 8px 18px; border-radius: var(--radius-full);
    border: 1.5px solid var(--border-color); background: var(--bg-main);
    color: var(--text-muted); font-size: 0.88rem; font-weight: 600;
    cursor: pointer; transition: var(--transition-spring); font-family: inherit;
    display: flex; align-items: center; gap: 6px;
}
.btn-pill-culinary:hover { border-color: var(--primary); color: var(--primary); transform: translateY(-2px); }
.btn-pill-culinary.active {
    background: var(--primary); color: white; border-color: var(--primary);
    box-shadow: 0 4px 14px rgba(2,132,199,0.35);
}
.culinary-grid {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 24px;
}
.culinary-card {
    background: var(--bg-main); border: 1px solid var(--border-color);
    border-radius: var(--radius-lg); overflow: hidden;
    transition: var(--transition-spring); cursor: default;
}
.culinary-card:hover {
    transform: translateY(-6px); box-shadow: var(--shadow-hover);
    border-color: var(--primary);
}
.culinary-card-img {
    position: relative; height: 200px; overflow: hidden;
}
.culinary-card-img img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform 0.6s ease;
}
.culinary-card:hover .culinary-card-img img { transform: scale(1.08); }
.culinary-badge {
    position: absolute; top: 12px; left: 12px;
    background: rgba(15,23,42,0.8); color: white;
    padding: 5px 12px; border-radius: var(--radius-full);
    font-size: 0.78rem; font-weight: 700; backdrop-filter: blur(6px);
}
.culinary-price-badge {
    position: absolute; bottom: 12px; right: 12px;
    background: rgba(2,132,199,0.9); color: white;
    padding: 5px 14px; border-radius: var(--radius-full);
    font-size: 0.8rem; font-weight: 700;
}
.culinary-card-body { padding: 18px 20px; }
.culinary-card-body h3 { font-size: 1.1rem; color: var(--text-main); margin-bottom: 6px; }
.culinary-card-body .cul-category {
    display: inline-block; padding: 2px 10px; border-radius: var(--radius-full);
    background: var(--primary-light); color: var(--primary);
    font-size: 0.72rem; font-weight: 700; margin-bottom: 8px;
}
.culinary-card-body p { font-size: 0.9rem; color: var(--text-muted); line-height: 1.6; margin-bottom: 10px; }
.culinary-card-body .cul-location {
    font-size: 0.82rem; color: var(--text-muted);
    display: flex; align-items: center; gap: 6px;
}
.culinary-card-body .cul-location i { color: var(--primary); }

.cul-location-badge {
    margin-top: 10px; padding: 8px 12px;
    background: rgba(245, 158, 11, 0.1); border: 1px dashed rgba(245, 158, 11, 0.4);
    border-radius: var(--radius-sm); font-size: 0.82rem; color: var(--text-main);
    display: flex; align-items: flex-start; gap: 8px; line-height: 1.4;
    transition: var(--transition);
}
.cul-location-badge strong { color: var(--accent); }
.culinary-card:hover .cul-location-badge {
    background: rgba(245, 158, 11, 0.18); border-color: var(--accent);
}
.btn-culinary-spot {
    margin-top: 14px; width: 100%; padding: 10px 14px;
    background: var(--primary-light); color: var(--primary);
    border: 1px solid rgba(2, 132, 199, 0.3); border-radius: var(--radius-md);
    font-size: 0.85rem; font-weight: 700; cursor: pointer;
    display: flex; align-items: center; justify-content: center; gap: 8px;
    transition: var(--transition-spring);
}
.btn-culinary-spot:hover {
    background: var(--primary); color: white; border-color: var(--primary);
    transform: translateY(-2px); box-shadow: 0 4px 14px rgba(2, 132, 199, 0.3);
}

/* Culinary Spot Highlight Card inside Modal */
.culinary-spot-highlight-card {
    display: flex; align-items: flex-start; gap: 16px;
    padding: 18px 20px; background: rgba(245, 158, 11, 0.12);
    border: 1.5px solid rgba(245, 158, 11, 0.4); border-radius: var(--radius-md);
    margin-bottom: 24px;
}
.cspot-icon {
    width: 44px; height: 44px; border-radius: 50%;
    background: #f59e0b; color: white; display: flex;
    align-items: center; justify-content: center; font-size: 1.25rem;
    flex-shrink: 0; box-shadow: 0 4px 12px rgba(245, 158, 11, 0.4);
}
.cspot-label { font-size: 0.75rem; font-weight: 800; color: #d97706; text-transform: uppercase; letter-spacing: 0.5px; }
.cspot-name { font-size: 1.15rem; font-weight: 800; color: var(--text-main); margin: 2px 0 6px; }
.cspot-tip { font-size: 0.85rem; color: var(--text-muted); line-height: 1.45; }

/* ==========================================================================
   Budget Planner Section
   ========================================================================== */
.budget-section {
    padding: 70px 0 60px; background: var(--bg-main);
    border-top: 1px solid var(--border-color);
}
.budget-planner-card {
    display: grid; grid-template-columns: 1fr 380px; gap: 32px;
    align-items: start;
}
.budget-inputs-col { display: flex; flex-direction: column; gap: 24px; }
.budget-group {}
.budget-label {
    display: flex; align-items: center; gap: 8px;
    font-weight: 700; font-size: 0.95rem; color: var(--text-main); margin-bottom: 12px;
}
.budget-label i { color: var(--primary); }

/* Destination Checkboxes */
.budget-dest-selector {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 8px;
}
.budget-dest-check {
    display: flex; align-items: center; gap: 10px;
    padding: 10px 14px; border: 1.5px solid var(--border-color);
    border-radius: var(--radius-md); cursor: pointer;
    transition: var(--transition-spring); font-size: 0.88rem;
    color: var(--text-main); background: var(--bg-card);
}
.budget-dest-check:hover { border-color: var(--primary); transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.budget-dest-check input[type="checkbox"] { accent-color: var(--primary); width: 18px; height: 18px; cursor: pointer; }
.budget-dest-check.checked { border-color: var(--primary); background: var(--primary-light); }
.bdest-info { display: flex; flex-direction: column; }
.bdest-title { font-weight: 700; color: var(--text-main); font-size: 0.86rem; line-height: 1.3; }
.bdest-sub { font-size: 0.75rem; color: var(--primary); font-weight: 600; margin-top: 2px; }

/* Counter inputs */
.budget-row-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.counter-input-wrap {
    display: flex; align-items: center; gap: 8px;
    background: var(--bg-card); border: 1.5px solid var(--border-color);
    border-radius: var(--radius-md); padding: 6px 10px;
}
.btn-counter {
    width: 36px; height: 36px; border-radius: 50%;
    background: var(--primary-light); color: var(--primary);
    border: none; font-size: 1.2rem; font-weight: 800;
    cursor: pointer; transition: var(--transition-spring);
    display: flex; align-items: center; justify-content: center;
    font-family: inherit;
}
.btn-counter:hover { background: var(--primary); color: white; transform: scale(1.1); }
.counter-input-wrap input {
    width: 50px; text-align: center; border: none; background: transparent;
    font-size: 1.2rem; font-weight: 800; color: var(--text-main);
    font-family: 'JetBrains Mono', monospace; outline: none;
}
.counter-unit { font-size: 0.82rem; color: var(--text-muted); font-weight: 600; }

/* Radio card options */
.budget-radio-cards {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 10px;
}
.budget-radio-card {
    position: relative; cursor: pointer;
}
.budget-radio-card input { position: absolute; opacity: 0; width: 0; height: 0; }
.radio-content {
    display: flex; align-items: center; gap: 12px;
    padding: 14px 16px; border: 1.5px solid var(--border-color);
    border-radius: var(--radius-md); background: var(--bg-card);
    transition: var(--transition-spring);
}
.radio-content i { font-size: 1.3rem; color: var(--text-muted); width: 28px; text-align: center; flex-shrink: 0; }
.radio-content strong { display: block; font-size: 0.88rem; color: var(--text-main); }
.radio-content span { display: block; font-size: 0.78rem; color: var(--text-muted); }
.budget-radio-card input:checked + .radio-content {
    border-color: var(--primary); background: var(--primary-light);
    box-shadow: 0 2px 10px rgba(2,132,199,0.15);
}
.budget-radio-card input:checked + .radio-content i { color: var(--primary); }
.budget-radio-card:hover .radio-content { border-color: var(--primary); transform: translateY(-2px); }

/* Receipt Card */
.budget-receipt-col { position: sticky; top: 100px; }
.receipt-card {
    background: var(--bg-card); border: 1.5px solid var(--border-color);
    border-radius: var(--radius-lg); overflow: hidden;
    box-shadow: var(--shadow-lg);
}
.receipt-header {
    background: linear-gradient(135deg, #0f172a, #1e293b);
    color: white; padding: 22px 24px; text-align: center;
}
.receipt-header i { font-size: 1.5rem; color: #38bdf8; margin-bottom: 8px; }
.receipt-header h3 { font-size: 1.1rem; margin-bottom: 4px; }
.receipt-subtitle { font-size: 0.78rem; color: #94a3b8; }
.receipt-breakdown { padding: 20px 24px; display: flex; flex-direction: column; gap: 14px; }
.receipt-row-dests { display: flex; flex-direction: column; gap: 6px; }
.receipt-dests-wrap {
    display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px;
}
.rdest-pill {
    font-size: 0.76rem; font-weight: 700; padding: 4px 10px;
    border-radius: var(--radius-full); background: var(--primary-light);
    color: var(--primary); display: inline-flex; align-items: center; gap: 5px;
    border: 1px solid rgba(2, 132, 199, 0.25);
}
.rdest-pill-empty {
    font-size: 0.78rem; color: var(--text-muted); font-style: italic;
}
.receipt-row {
    display: flex; justify-content: space-between; align-items: center;
    font-size: 0.92rem;
}
.r-label { display: flex; align-items: center; gap: 8px; color: var(--text-muted); }
.r-label i { color: var(--primary); width: 18px; text-align: center; }
.r-val { font-weight: 700; color: var(--text-main); font-family: 'JetBrains Mono', monospace; }
.receipt-divider {
    height: 2px; margin: 0 24px;
    background: repeating-linear-gradient(90deg, var(--border-color) 0, var(--border-color) 8px, transparent 8px, transparent 14px);
}
.receipt-total-box { padding: 20px 24px; text-align: center; }
.total-label { font-size: 0.78rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 1px; font-weight: 700; }
.total-price {
    font-size: 2.2rem; font-weight: 800; color: var(--primary);
    font-family: 'JetBrains Mono', monospace; margin: 4px 0;
}
.per-person-text { font-size: 0.85rem; color: var(--text-muted); }
.receipt-actions { padding: 16px 24px 24px; display: flex; flex-direction: column; gap: 10px; }
.btn-action-primary {
    padding: 13px 20px; border: none; border-radius: var(--radius-md);
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white; font-size: 0.92rem; font-weight: 700; cursor: pointer;
    transition: var(--transition-spring); display: flex; align-items: center;
    justify-content: center; gap: 8px; font-family: inherit;
    box-shadow: 0 4px 14px rgba(2,132,199,0.3);
}
.btn-action-primary:hover { transform: translateY(-3px); box-shadow: 0 8px 22px rgba(2,132,199,0.45); }
.btn-action-secondary {
    padding: 12px 20px; border: 1.5px solid var(--border-color);
    border-radius: var(--radius-md); background: var(--bg-main);
    color: var(--text-main); font-size: 0.92rem; font-weight: 700;
    cursor: pointer; transition: var(--transition-spring);
    display: flex; align-items: center; justify-content: center; gap: 8px;
    font-family: inherit;
}
.btn-action-secondary:hover { border-color: var(--primary); color: var(--primary); transform: translateY(-2px); }

/* ==========================================================================
   Transport Section
   ========================================================================== */
.transport-section {
    padding: 70px 0 60px; background: var(--bg-card);
    border-top: 1px solid var(--border-color);
}
.transport-grid {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 24px; margin-bottom: 32px;
}
.transport-card {
    background: var(--bg-main); border: 1.5px solid var(--border-color);
    border-radius: var(--radius-lg); padding: 28px 24px;
    transition: var(--transition-spring); position: relative; overflow: hidden;
}
.transport-card::before {
    content: ''; position: absolute; top: 0; left: 0; width: 4px; height: 100%;
    background: linear-gradient(180deg, var(--primary), var(--secondary));
    border-radius: 4px 0 0 4px;
}
.transport-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-hover); border-color: var(--primary); }
.transport-card-header { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.transport-card-header i { font-size: 2rem; color: var(--primary); }
.transport-card-header h3 { font-size: 1.1rem; color: var(--text-main); }
.transport-card-header .transport-distance {
    margin-left: auto; padding: 4px 12px;
    background: var(--primary-light); color: var(--primary);
    border-radius: var(--radius-full); font-size: 0.8rem; font-weight: 700;
}
.transport-meta { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 14px; }
.transport-meta-item {
    display: flex; align-items: center; gap: 6px;
    font-size: 0.85rem; color: var(--text-muted);
}
.transport-meta-item i { color: var(--primary); font-size: 0.9rem; }
.transport-route-detail {
    padding: 12px 16px; background: var(--bg-card);
    border: 1px solid var(--border-color); border-radius: var(--radius-md);
    font-size: 0.88rem; color: var(--text-main); line-height: 1.7; margin-bottom: 14px;
}
.transport-options { display: flex; flex-wrap: wrap; gap: 6px; }
.transport-option-chip {
    padding: 4px 12px; border-radius: var(--radius-full);
    background: var(--bg-card); border: 1px solid var(--border-color);
    font-size: 0.78rem; font-weight: 600; color: var(--text-muted);
}
.btn-transport-maps {
    margin-top: 16px; display: flex; align-items: center; justify-content: center; gap: 8px;
    padding: 11px 18px; background: linear-gradient(135deg, var(--primary), #0284c7);
    color: white; font-weight: 700; font-size: 0.88rem; border-radius: var(--radius-md);
    box-shadow: 0 4px 14px rgba(2, 132, 199, 0.3); transition: var(--transition-spring);
    text-decoration: none; border: 1px solid rgba(255, 255, 255, 0.2);
}
.btn-transport-maps:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 22px rgba(2, 132, 199, 0.45);
    background: linear-gradient(135deg, #0369a1, var(--primary));
    color: white;
}
.transport-cost {
    margin-top: 12px; font-size: 0.92rem; font-weight: 700; color: var(--primary);
    display: flex; align-items: center; gap: 6px;
}

/* Transport Tips */
.transport-tips-card {
    display: flex; gap: 20px; padding: 28px; background: var(--bg-main);
    border: 1.5px solid var(--border-color); border-radius: var(--radius-lg);
    align-items: flex-start;
}
.tips-icon {
    width: 52px; height: 52px; border-radius: 50%; flex-shrink: 0;
    background: linear-gradient(135deg, #f59e0b, #eab308);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.4rem; color: white;
}
.tips-content h4 { color: var(--text-main); font-size: 1.1rem; margin-bottom: 10px; }
.tips-list { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.tips-list li { font-size: 0.9rem; color: var(--text-muted); line-height: 1.6; padding-left: 16px; position: relative; }
.tips-list li::before { content: '•'; position: absolute; left: 0; color: var(--primary); font-weight: 800; }

/* ==========================================================================
   Compare Modal
   ========================================================================== */
.modal-compare-content { max-width: 860px !important; }
.compare-wrapper { padding: 28px; }
.compare-header { display: flex; align-items: center; gap: 16px; margin-bottom: 28px; }
.compare-header h2 { font-size: 1.4rem; color: var(--text-main); }
.compare-header p { font-size: 0.9rem; color: var(--text-muted); }
.compare-selectors-grid {
    display: grid; grid-template-columns: 1fr auto 1fr; gap: 16px;
    align-items: end; margin-bottom: 28px;
}
.compare-select-box label {
    display: block; font-size: 0.85rem; font-weight: 700;
    color: var(--text-muted); margin-bottom: 8px;
}
.compare-vs-badge {
    width: 48px; height: 48px; border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white; font-weight: 800; font-size: 1rem;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 4px 14px rgba(2,132,199,0.3);
}
.compare-table-wrap { overflow-x: auto; }
.compare-table {
    width: 100%; border-collapse: separate; border-spacing: 0;
    border: 1px solid var(--border-color); border-radius: var(--radius-md);
    overflow: hidden;
}
.compare-table th {
    background: linear-gradient(135deg, #0f172a, #1e293b); color: #f8fafc;
    padding: 14px 18px; font-size: 0.9rem; text-align: left;
}
.compare-table td {
    padding: 12px 18px; border-bottom: 1px solid var(--border-color);
    font-size: 0.9rem; color: var(--text-main); vertical-align: top;
}
.compare-table tr:nth-child(even) td { background: var(--bg-main); }
.compare-table tr:hover td { background: var(--primary-light); }
.compare-table .comp-label { font-weight: 700; color: var(--text-muted); white-space: nowrap; width: 140px; }
.compare-empty { text-align: center; padding: 40px; color: var(--text-muted); font-size: 0.95rem; }

/* ==========================================================================
   Emergency Modal
   ========================================================================== */
.modal-emergency-content { max-width: 680px !important; }
.emergency-wrapper { padding: 28px; }
.emergency-header { display: flex; align-items: center; gap: 16px; margin-bottom: 28px; }
.emergency-icon-pulse {
    width: 56px; height: 56px; border-radius: 50%;
    background: linear-gradient(135deg, #ef4444, #dc2626);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.5rem; color: white; flex-shrink: 0;
    animation: sosPulse 1.5s ease-in-out infinite;
}
.emergency-header h2 { font-size: 1.3rem; color: var(--text-main); }
.emergency-header p { font-size: 0.88rem; color: var(--text-muted); }
.emergency-grid { display: flex; flex-direction: column; gap: 12px; }
.emergency-item {
    display: flex; align-items: center; justify-content: space-between; gap: 16px;
    padding: 16px 20px; background: var(--bg-main);
    border: 1.5px solid var(--border-color); border-radius: var(--radius-md);
    transition: var(--transition-spring);
}
.emergency-item:hover { border-color: #ef4444; background: rgba(239,68,68,0.05); transform: translateX(4px); }
.emergency-item-info { flex: 1; }
.emergency-item-info h4 { font-size: 0.95rem; color: var(--text-main); margin-bottom: 2px; }
.emergency-item-info p { font-size: 0.8rem; color: var(--text-muted); }
.btn-call-emergency {
    padding: 10px 18px; border: none; border-radius: var(--radius-full);
    background: #ef4444; color: white; font-weight: 700; font-size: 0.88rem;
    cursor: pointer; transition: var(--transition-spring);
    display: flex; align-items: center; gap: 6px; white-space: nowrap;
    font-family: inherit;
}
.btn-call-emergency:hover { background: #dc2626; transform: scale(1.05); box-shadow: 0 4px 14px rgba(239,68,68,0.4); }
.emergency-footer-note {
    display: flex; align-items: center; gap: 10px;
    margin-top: 20px; padding: 14px 18px;
    background: rgba(239,68,68,0.06); border: 1px solid rgba(239,68,68,0.2);
    border-radius: var(--radius-md); font-size: 0.85rem; color: var(--text-muted);
    line-height: 1.6;
}
.emergency-footer-note i { color: #ef4444; font-size: 1.2rem; flex-shrink: 0; }

/* ==========================================================================
   Lightbox Modal
   ========================================================================== */
.lightbox-modal {
    display: none; position: fixed; inset: 0; z-index: 10000;
    background: rgba(0,0,0,0.92); backdrop-filter: blur(8px);
    align-items: center; justify-content: center;
}
.lightbox-modal.active { display: flex; }
.lightbox-close {
    position: absolute; top: 20px; right: 24px;
    width: 44px; height: 44px; border-radius: 50%;
    background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.2);
    color: white; font-size: 1.2rem; cursor: pointer;
    transition: var(--transition-spring); z-index: 10;
    display: flex; align-items: center; justify-content: center;
}
.lightbox-close:hover { background: rgba(255,255,255,0.25); transform: scale(1.15); }
.lightbox-nav {
    position: absolute; top: 50%; transform: translateY(-50%);
    width: 48px; height: 48px; border-radius: 50%;
    background: rgba(255,255,255,0.12); border: 1px solid rgba(255,255,255,0.2);
    color: white; font-size: 1.1rem; cursor: pointer;
    transition: var(--transition-spring); z-index: 10;
    display: flex; align-items: center; justify-content: center;
}
.lightbox-nav:hover { background: rgba(255,255,255,0.3); transform: translateY(-50%) scale(1.15); }
.lightbox-prev { left: 20px; }
.lightbox-next { right: 20px; }
.lightbox-img-wrap { text-align: center; max-width: 90vw; max-height: 85vh; }
.lightbox-img-wrap img {
    max-width: 100%; max-height: 80vh; border-radius: var(--radius-md);
    box-shadow: 0 8px 30px rgba(0,0,0,0.5);
    animation: lightboxFadeIn 0.3s ease;
}
@keyframes lightboxFadeIn { from { opacity: 0; transform: scale(0.95); } to { opacity: 1; transform: scale(1); } }
.lightbox-caption {
    color: rgba(255,255,255,0.8); font-size: 0.9rem; margin-top: 14px;
    font-weight: 500;
}

/* Lightbox Thumbnail Strip */
.lightbox-thumb-strip {
    display: flex; gap: 8px; align-items: center; justify-content: center;
    flex-wrap: nowrap; overflow-x: auto; padding: 12px 16px 4px;
    max-width: 90vw; margin-top: 10px;
    scrollbar-width: thin; scrollbar-color: rgba(255,255,255,0.2) transparent;
}
.lightbox-thumb-strip::-webkit-scrollbar { height: 4px; }
.lightbox-thumb-strip::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.2); border-radius: 2px; }

.lb-thumb {
    flex: 0 0 auto; width: 68px; height: 52px; border-radius: 8px; overflow: hidden;
    border: 2.5px solid rgba(255,255,255,0.18); cursor: pointer;
    position: relative; padding: 0; background: rgba(0,0,0,0.3);
    transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.lb-thumb img {
    width: 100%; height: 100%; object-fit: cover; display: block;
    animation: none; max-width: none; max-height: none; border-radius: 0;
    box-shadow: none;
}
.lb-thumb:hover {
    border-color: rgba(255,255,255,0.5); transform: scale(1.08);
    box-shadow: 0 0 12px rgba(255,255,255,0.15);
}
.lb-thumb.lb-thumb-active {
    border-color: var(--accent); transform: scale(1.1);
    box-shadow: 0 0 0 2px rgba(245,158,11,0.4), 0 4px 14px rgba(0,0,0,0.5);
}
.lb-thumb-num {
    position: absolute; bottom: 3px; right: 4px;
    background: rgba(0,0,0,0.65); color: rgba(255,255,255,0.9);
    font-size: 0.6rem; font-weight: 700; line-height: 1;
    padding: 2px 4px; border-radius: 3px; pointer-events: none;
}

/* Adjust modal layout to fit thumb strip */
.lightbox-modal.active {
    flex-direction: column;
    padding: 60px 0 16px;
}
.lightbox-modal.active .lightbox-nav {
    top: calc(50% - 40px);
}

/* ==========================================================================
   Enhanced Detail Modal
   ========================================================================== */
.modal-detail-enhanced { max-width: 780px !important; }

/* Gallery Thumbnails Row */
.detail-gallery-row {
    display: flex; gap: 8px; margin: 16px 0; overflow-x: auto;
    padding-bottom: 4px;
}
.detail-gallery-thumb {
    width: 80px; height: 60px; border-radius: var(--radius-sm);
    overflow: hidden; cursor: pointer; flex-shrink: 0;
    border: 2px solid transparent; transition: var(--transition);
    opacity: 0.7;
}
.detail-gallery-thumb:hover, .detail-gallery-thumb.active { border-color: var(--primary); opacity: 1; transform: scale(1.05); }
.detail-gallery-thumb img { width: 100%; height: 100%; object-fit: cover; }

/* Audio Tour Guide */
.audio-guide-bar {
    display: flex; align-items: center; gap: 12px;
    padding: 12px 18px; margin: 16px 0;
    background: linear-gradient(135deg, #0f172a, #1e293b);
    border-radius: var(--radius-md); color: white;
}
.btn-audio-play {
    width: 40px; height: 40px; border-radius: 50%; flex-shrink: 0;
    background: var(--primary); color: white; border: none;
    font-size: 1rem; cursor: pointer; transition: var(--transition-spring);
    display: flex; align-items: center; justify-content: center;
}
.btn-audio-play:hover { transform: scale(1.15); box-shadow: 0 4px 14px rgba(2,132,199,0.5); }
.btn-audio-play.playing { background: #ef4444; }
.audio-guide-info { flex: 1; }
.audio-guide-info span { display: block; font-size: 0.78rem; color: #94a3b8; }
.audio-guide-info strong { display: block; font-size: 0.9rem; color: #f8fafc; }
.audio-wave-bars {
    display: flex; align-items: center; gap: 3px; height: 24px; margin-left: auto;
}
.audio-wave-bar {
    width: 3px; background: #38bdf8; border-radius: 2px;
    animation: audioWave 1s ease-in-out infinite alternate;
    animation-play-state: paused;
}
.audio-wave-bars.playing .audio-wave-bar { animation-play-state: running; }
.audio-wave-bar:nth-child(1) { height: 8px; animation-delay: 0s; }
.audio-wave-bar:nth-child(2) { height: 16px; animation-delay: 0.15s; }
.audio-wave-bar:nth-child(3) { height: 10px; animation-delay: 0.3s; }
.audio-wave-bar:nth-child(4) { height: 20px; animation-delay: 0.45s; }
.audio-wave-bar:nth-child(5) { height: 12px; animation-delay: 0.6s; }
@keyframes audioWave {
    0% { height: 6px; }
    100% { height: 22px; }
}

/* Review Section in Detail */
.review-section-wrap { margin-top: 24px; border-top: 1px dashed var(--border-color); padding-top: 20px; }
.review-section-title {
    font-size: 1.05rem; font-weight: 700; color: var(--text-main);
    margin-bottom: 16px; display: flex; align-items: center; gap: 8px;
}
.review-form-mini { display: flex; flex-direction: column; gap: 12px; margin-bottom: 20px; }
.star-rating-input { display: flex; gap: 4px; }
.star-rating-input .star-btn {
    background: none; border: none; font-size: 1.4rem; cursor: pointer;
    color: var(--border-color); transition: color 0.15s ease, transform 0.2s ease;
}
.star-rating-input .star-btn:hover { transform: scale(1.2); }
.star-rating-input .star-btn.active { color: #f59e0b; }
.review-textarea {
    width: 100%; min-height: 70px; padding: 12px 14px;
    border: 1.5px solid var(--border-color); border-radius: var(--radius-md);
    background: var(--bg-main); color: var(--text-main);
    font-family: inherit; font-size: 0.9rem; resize: vertical; outline: none;
    transition: var(--transition);
}
.review-textarea:focus { border-color: var(--primary); box-shadow: 0 0 0 3px var(--primary-light); }
.review-name-input {
    width: 100%; padding: 10px 14px;
    border: 1.5px solid var(--border-color); border-radius: var(--radius-md);
    background: var(--bg-main); color: var(--text-main);
    font-family: inherit; font-size: 0.9rem; outline: none;
    transition: var(--transition);
}
.review-name-input:focus { border-color: var(--primary); box-shadow: 0 0 0 3px var(--primary-light); }
.btn-submit-review {
    align-self: flex-start; padding: 10px 22px; border: none;
    border-radius: var(--radius-full);
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white; font-weight: 700; font-size: 0.88rem;
    cursor: pointer; transition: var(--transition-spring);
    font-family: inherit;
}
.btn-submit-review:hover { transform: translateY(-2px); box-shadow: 0 4px 14px rgba(2,132,199,0.35); }
.review-list { display: flex; flex-direction: column; gap: 12px; }
.review-item {
    padding: 14px 16px; background: var(--bg-main);
    border: 1px solid var(--border-color); border-radius: var(--radius-md);
}
.review-item-header { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; }
.review-avatar {
    width: 32px; height: 32px; border-radius: 50%;
    background: var(--primary-light); color: var(--primary);
    display: flex; align-items: center; justify-content: center;
    font-weight: 700; font-size: 0.82rem;
}
.review-item-header strong { font-size: 0.9rem; color: var(--text-main); }
.review-item-header .review-date { font-size: 0.75rem; color: var(--text-muted); margin-left: auto; }
.review-stars { color: #f59e0b; font-size: 0.85rem; margin-bottom: 4px; }
.review-text { font-size: 0.88rem; color: var(--text-muted); line-height: 1.6; }
.review-empty { text-align: center; color: var(--text-muted); font-size: 0.9rem; padding: 20px; }

/* ==========================================================================
   Hero Live Background Video & Live TikTok Card
   ========================================================================== */
.hero {
    position: relative; overflow: hidden;
}
.hero-bg-video-wrap {
    position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none;
}
.hero-bg-iframe {
    position: absolute; top: 50%; left: 50%; width: 140vw; height: 140vh;
    transform: translate(-50%, -50%) scale(1.2); border: none;
    opacity: 0.28; filter: blur(2px) brightness(0.65) contrast(1.1);
}
.hero-bg-mp4 {
    position: absolute; top: 50%; left: 50%; width: 100%; height: 100%;
    min-width: 100%; min-height: 100%;
    transform: translate(-50%, -50%); object-fit: cover;
    opacity: 0.45; filter: brightness(0.7) contrast(1.05);
}
.hero-bg-video-overlay {
    position: absolute; inset: 0;
    background: radial-gradient(circle at center, rgba(15, 23, 42, 0.45) 0%, rgba(15, 23, 42, 0.82) 100%),
                linear-gradient(180deg, rgba(15, 23, 42, 0.3) 0%, rgba(15, 23, 42, 0.9) 100%);
    z-index: 1;
}

.hero-content-grid {
    display: grid; grid-template-columns: 1fr 370px; gap: 40px;
    align-items: center; position: relative; z-index: 2;
    padding-top: 40px; padding-bottom: 50px;
}
.hero-text-col { text-align: left; }
.hero-text-col .hero-subtitle { margin-left: 0; margin-right: 0; }

.hero-video-trigger-wrap {
    margin: 20px 0 24px; display: flex; justify-content: flex-start;
}
.btn-hero-video {
    position: relative; display: flex; align-items: center; gap: 14px;
    padding: 10px 22px 10px 12px; border-radius: var(--radius-full);
    background: rgba(15, 23, 42, 0.85); backdrop-filter: blur(12px);
    border: 1.5px solid rgba(255, 255, 255, 0.25); color: white;
    cursor: pointer; transition: var(--transition-spring);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
}
.btn-hero-video:hover {
    transform: translateY(-4px) scale(1.03);
    border-color: #38bdf8; box-shadow: 0 14px 38px rgba(2, 132, 199, 0.4);
    background: rgba(15, 23, 42, 0.95);
}
.video-play-icon {
    width: 40px; height: 40px; border-radius: 50%;
    background: linear-gradient(135deg, #0284c7, #10b981);
    display: flex; align-items: center; justify-content: center;
    font-size: 1rem; color: white; flex-shrink: 0;
    box-shadow: 0 4px 14px rgba(2, 132, 199, 0.4);
}
.video-play-ripple {
    position: absolute; left: 12px; top: 10px; width: 40px; height: 40px;
    border-radius: 50%; background: rgba(56, 189, 248, 0.5);
    animation: videoRipple 1.8s ease-out infinite; pointer-events: none;
}
@keyframes videoRipple {
    0% { transform: scale(1); opacity: 0.8; }
    100% { transform: scale(2.2); opacity: 0; }
}
.video-text-group { text-align: left; }
.video-text-group strong { display: block; font-size: 0.92rem; color: #f8fafc; }
.video-text-group small { display: block; font-size: 0.76rem; color: #94a3b8; }
.tiktok-badge {
    margin-left: 6px; padding: 3px 10px; border-radius: var(--radius-full);
    background: #000000; color: #ffffff; font-size: 0.75rem; font-weight: 700;
    border: 1px solid rgba(255, 255, 255, 0.2); display: flex; align-items: center; gap: 5px;
}

/* Direct Live TikTok Video Card in Hero */
.hero-video-col { width: 100%; }
.hero-live-video-card {
    background: rgba(15, 23, 42, 0.75); border: 1.5px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-lg); overflow: hidden;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4); backdrop-filter: blur(16px);
    padding: 14px; transition: var(--transition-spring);
}
.hero-live-video-card:hover {
    border-color: #38bdf8; transform: translateY(-6px);
    box-shadow: 0 22px 50px rgba(2, 132, 199, 0.35);
}
.hlv-header {
    display: flex; align-items: center; justify-content: space-between;
    margin-bottom: 10px; padding: 2px 4px;
}
.hlv-live-badge {
    display: inline-flex; align-items: center; gap: 6px;
    background: #ef4444; color: white; padding: 3px 10px;
    border-radius: var(--radius-full); font-size: 0.72rem; font-weight: 800;
    letter-spacing: 0.5px;
}
.live-dot {
    width: 6px; height: 6px; border-radius: 50%; background: white;
    animation: sosPulse 1.2s infinite;
}
.hlv-author { font-size: 0.82rem; font-weight: 700; color: #f8fafc; }
.hlv-iframe-wrap {
    width: 100%; height: 480px; border-radius: var(--radius-md); overflow: hidden;
    background: #000; border: 1px solid rgba(255, 255, 255, 0.1);
}
.hlv-iframe-wrap iframe {
    width: 100%; height: 100%; border: none;
}

/* TikTok Video Modal */
.modal-video-content {
    max-width: 480px !important; text-align: center; padding: 24px !important;
}
.modal-video-header { margin-bottom: 16px; }
.tiktok-badge-modal {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 4px 14px; border-radius: var(--radius-full);
    background: #000; color: white; font-size: 0.8rem; font-weight: 700;
    margin-bottom: 10px;
}
.modal-video-header h2 { font-size: 1.3rem; color: var(--text-main); margin-bottom: 4px; }
.modal-video-header p { font-size: 0.85rem; color: var(--text-muted); }
.tiktok-embed-container {
    width: 100%; height: 560px; border-radius: var(--radius-md); overflow: hidden;
    background: #000; border: 1px solid var(--border-color); margin-bottom: 16px;
}
.tiktok-embed-container iframe {
    width: 100%; height: 100%; border: none;
}
.modal-video-footer { display: flex; justify-content: center; }

/* ==========================================================================
   Responsive Breakpoints (Updated for all new sections)
   ========================================================================== */
@media (max-width: 992px) {
    .hero-content-grid { grid-template-columns: 1fr; gap: 30px; text-align: center; }
    .hero-text-col { text-align: center; }
    .hero-text-col .hero-subtitle { margin-left: auto; margin-right: auto; }
    .hero-video-trigger-wrap { justify-content: center; }
    .hero-title { font-size: 2.7rem; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .map-card { grid-template-columns: 1fr; }
    .budget-planner-card { grid-template-columns: 1fr; }
    .budget-receipt-col { position: static; }
    .compare-selectors-grid { grid-template-columns: 1fr; }
    .compare-vs-badge { margin: 0 auto; }
    .section-title { font-size: 2rem; }
}
@media (max-width: 768px) {
    .nav-links {
        display: none; position: absolute; top: 72px; left: 0; right: 0;
        background: var(--bg-card); flex-direction: column; padding: 20px;
        border-bottom: 1px solid var(--border-color); box-shadow: var(--shadow-lg);
        animation: navSlideDown 0.3s ease;
    }
    @keyframes navSlideDown { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: translateY(0); } }
    .nav-links.show { display: flex; }
    .nav-toggle { display: block; }
    .search-sort-bar { flex-direction: column; }
    .sort-box { width: 100%; }
    .hero-title { font-size: 2.1rem; }
    .hero-stats { grid-template-columns: 1fr; gap: 12px; }
    .footer-grid { grid-template-columns: 1fr; }
    .modal-grid-info { grid-template-columns: 1fr; }
    .quiz-options-grid { grid-template-columns: 1fr; }
    .result-stats-grid { grid-template-columns: 1fr; }
    .game-dropdown { right: 0; }
    .weather-content { grid-template-columns: 1fr; gap: 20px; }
    .weather-main { grid-row: 1; border-right: none; padding-right: 0; border-bottom: 1px solid rgba(255,255,255,0.1); padding-bottom: 20px; }
    .weather-details { grid-row: 2; grid-template-columns: repeat(2, 1fr); }
    .weather-rekomendasi { grid-column: 1; }
    .culinary-grid { grid-template-columns: 1fr; }
    .transport-grid { grid-template-columns: 1fr; }
    .budget-row-grid { grid-template-columns: 1fr; }
    .budget-radio-cards { grid-template-columns: 1fr; }
    .emergency-item { flex-direction: column; text-align: center; gap: 10px; }
    .btn-lang { padding: 4px 8px; font-size: 0.75rem; }
    .btn-sos .sos-pulse-ring { width: 8px; height: 8px; top: 0; right: 0; }
    .section-title { font-size: 1.7rem; }
    .transport-tips-card { flex-direction: column; }
}

/* ==========================================================================
   Nav Tools Overflow Dropdown (ultra-small screens < 380px)
   ========================================================================== */
.btn-nav-tools-overflow { display: none; }
.nav-tools-overflow-panel {
    display: none; position: absolute;
    top: calc(100% + 8px); right: 0;
    width: 220px; background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg); z-index: 3000;
    overflow: hidden;
    animation: dropdownFadeIn 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.nav-tools-overflow-panel.show { display: block; }
.ntop-item {
    display: flex; align-items: center; gap: 12px;
    padding: 12px 16px; cursor: pointer;
    border-bottom: 1px solid var(--border-color);
    transition: background 0.15s ease;
    font-size: 0.88rem; color: var(--text-main);
}
.ntop-item:last-child { border-bottom: none; }
.ntop-item:hover, .ntop-item:focus { background: var(--primary-light); color: var(--primary); outline: none; }
.ntop-icon {
    width: 28px; display: flex; align-items: center; justify-content: center;
    font-size: 1rem; flex-shrink: 0;
}
.ntop-label { font-weight: 500; }

@media (max-width: 380px) {
    .btn-nav-tools-overflow { display: flex !important; }
    /* Hide individual action buttons — keep nav-toggle & overflow btn only */
    .nav-actions > .btn-lang,
    .nav-actions > .btn-nav-tool,
    .nav-actions > .btn-sos,
    .nav-actions > .btn-game-launcher,
    .nav-actions > .game-dropdown,
    .nav-actions > #btnFavoritesTab,
    .nav-actions > #themeToggleBtn { display: none !important; }
    .nav-actions { gap: 6px; }
}

/* Mobile Devices Optimization (< 576px) */
@media (max-width: 576px) {
    .container { padding: 0 14px; }
    .hero-title { font-size: 1.8rem; line-height: 1.22; }
    .hero-subtitle { font-size: 0.92rem; }
    .hero-cta-group { flex-direction: column; width: 100%; gap: 10px; }
    .hero-cta-group .btn-action-primary,
    .hero-cta-group .btn-action-secondary { width: 100%; justify-content: center; }
    .hero-stats { grid-template-columns: 1fr; gap: 10px; }
    
    /* Interactive Map Mobile */
    #interactiveMap { height: 350px !important; }
    .map-filter-bar { gap: 6px; justify-content: center; }
    .map-filter-btn { padding: 5px 10px; font-size: 0.76rem; }
    
    /* Modal Optimizations */
    .modal-content { max-width: 95vw !important; padding: 14px !important; margin: 12px auto !important; max-height: 92vh; }
    .modal-hero-img { height: 210px !important; }
    .detail-gallery-thumb { width: 64px; height: 48px; }
    .modal-grid-info { grid-template-columns: 1fr; gap: 10px; }
    .modal-actions { flex-direction: column; width: 100%; }
    .modal-actions .btn-action-primary,
    .modal-actions .btn-action-secondary { width: 100%; justify-content: center; }
    
    /* Audio Bar Mobile */
    .audio-guide-bar { flex-wrap: wrap; gap: 8px; padding: 10px; }
    .audio-guide-info { font-size: 0.8rem; }
    .audio-settings-panel { flex-direction: column; align-items: flex-start; }
    
    /* Compare Table Mobile Scroll */
    .compare-table-wrap { overflow-x: auto; display: block; width: 100%; -webkit-overflow-scrolling: touch; }
    
    /* Game Canvas Mobile */
    .shooter-canvas-wrap { width: 100% !important; max-width: 100% !important; overflow: hidden; }
    #shooterCanvas { width: 100% !important; height: auto !important; max-height: 420px; }
    .shooter-modal-content { max-width: 96vw !important; padding: 12px !important; }

    /* Card Footer Mobile */
    .card-footer { flex-direction: column; align-items: stretch; gap: 10px; }
    .btn-detail { width: 100%; justify-content: center; }
    .search-sort-bar { gap: 10px; }
    .filter-container { flex-wrap: wrap; justify-content: center; }
}

@media (max-width: 400px) {
    .hero-title { font-size: 1.6rem; }
    .nav-logo span { font-size: 0.95rem; }
    .btn-icon { width: 38px; height: 38px; font-size: 1rem; }
    .receipt-actions { flex-direction: column; }
    .receipt-actions button { width: 100%; }
}


/* ==========================================================================
   Interactive Leaflet Map & Category Markers
   ========================================================================== */
.map-filter-bar {
    display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; margin-bottom: 14px;
}
.map-filter-btn {
    padding: 6px 14px; border-radius: var(--radius-full);
    border: 1px solid var(--border-color); background: var(--bg-card);
    color: var(--text-main); font-size: 0.82rem; font-weight: 600;
    cursor: pointer; transition: var(--transition);
    display: inline-flex; align-items: center; gap: 6px;
}
.map-filter-btn:hover { background: var(--primary-light); color: var(--primary); border-color: var(--primary); }
.map-filter-btn.active { background: var(--primary); color: white; border-color: var(--primary); }

.leaflet-popup-content-wrapper {
    background: var(--bg-card) !important; color: var(--text-main) !important;
    border-radius: var(--radius-md) !important; padding: 0 !important;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2) !important; overflow: hidden;
}
.leaflet-popup-content { margin: 0 !important; width: 240px !important; }
.map-popup-card { padding: 12px; font-family: inherit; }
.map-popup-img { width: 100%; height: 110px; object-fit: cover; border-radius: var(--radius-sm); margin-bottom: 8px; }
.map-popup-title { font-size: 0.92rem; font-weight: 700; color: var(--text-main); margin-bottom: 4px; line-height: 1.3; }
.map-popup-meta { display: flex; align-items: center; justify-content: space-between; font-size: 0.78rem; color: var(--text-muted); margin-bottom: 8px; }
.map-popup-badge { font-size: 0.72rem; padding: 2px 8px; border-radius: 12px; background: var(--primary-light); color: var(--primary); font-weight: 700; }
.map-popup-btn {
    width: 100%; padding: 6px; border: none; border-radius: var(--radius-sm);
    background: var(--primary); color: white; font-size: 0.8rem; font-weight: 600;
    cursor: pointer; transition: var(--transition); text-align: center;
}
.map-popup-btn:hover { background: var(--primary-hover); }

/* Custom Leaflet Marker Pins */
.custom-leaflet-marker {
    display: flex; align-items: center; justify-content: center;
    width: 36px; height: 36px; border-radius: 50%;
    color: white; font-size: 1rem; box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    border: 2px solid white; transition: transform 0.2s ease;
}
.custom-leaflet-marker:hover { transform: scale(1.2); z-index: 1000 !important; }
.marker-pantai { background: linear-gradient(135deg, #0284c7, #06b6d4); }
.marker-air-terjun { background: linear-gradient(135deg, #06b6d4, #3b82f6); }
.marker-alam { background: linear-gradient(135deg, #10b981, #059669); }
.marker-edukasi { background: linear-gradient(135deg, #8b5cf6, #6366f1); }
.marker-taman-kota { background: linear-gradient(135deg, #ec4899, #f43f5e); }
.marker-petualangan { background: linear-gradient(135deg, #f59e0b, #d97706); }
.marker-kuliner { background: linear-gradient(135deg, #ef4444, #f97316); }

/* ==========================================================================
   Review Photo Attachment & Audio Voice Settings
   ========================================================================== */
.btn-upload-photo {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 6px 12px; border-radius: var(--radius-sm);
    background: var(--primary-light); color: var(--primary);
    font-size: 0.82rem; font-weight: 600; cursor: pointer;
    border: 1px dashed var(--primary); transition: var(--transition);
    margin-bottom: 8px;
}
.btn-upload-photo:hover { background: rgba(2, 132, 199, 0.25); transform: translateY(-1px); }
.review-photo-preview { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 8px; }
.review-photo-item {
    position: relative; width: 60px; height: 60px; border-radius: var(--radius-sm);
    overflow: hidden; border: 1px solid var(--border-color);
}
.review-photo-item img { width: 100%; height: 100%; object-fit: cover; }
.review-photo-remove {
    position: absolute; top: 2px; right: 2px;
    width: 18px; height: 18px; border-radius: 50%;
    background: rgba(239, 68, 68, 0.85); color: white;
    border: none; font-size: 0.65rem; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
}
.review-card-photo {
    width: 80px; height: 65px; border-radius: var(--radius-sm);
    object-fit: cover; margin-top: 8px; cursor: pointer;
    border: 1px solid var(--border-color); transition: transform 0.2s ease;
}
.review-card-photo:hover { transform: scale(1.05); }

/* Audio Voice Customizer Panel */
.audio-settings-panel {
    display: none; gap: 10px; align-items: center; flex-wrap: wrap;
    background: rgba(255,255,255,0.08); padding: 8px 12px;
    border-radius: var(--radius-sm); margin-top: 8px; font-size: 0.8rem;
}
.audio-settings-panel.show { display: flex; }
.audio-select-mini {
    padding: 4px 8px; border-radius: var(--radius-sm);
    background: var(--bg-card); color: var(--text-main);
    border: 1px solid var(--border-color); font-size: 0.78rem;
}
.rate-btn-group { display: flex; gap: 4px; }
.rate-btn {
    padding: 2px 8px; border-radius: 4px; border: 1px solid var(--border-color);
    background: var(--bg-card); color: var(--text-main); font-size: 0.75rem;
    cursor: pointer; transition: var(--transition);
}
.rate-btn.active { background: var(--primary); color: white; border-color: var(--primary); }

/* ==========================================================================
   Print Stylesheet (@media print) for Printable PDF Travel Itinerary
   ========================================================================== */
@media print {
    body { background: white !important; color: black !important; font-family: 'Plus Jakarta Sans', sans-serif; }
    .navbar, .hero, .scroll-progress-bar, .water-canvas, .cursor-dot, .cursor-ring,
    .toast-container, .preloader, #btnBackToTop, footer, .explore-map-section,
    .search-sort-bar, .destinasi-section, .kuliner-section, .transportasi-section,
    .game-dropdown, .modal-close-btn, .receipt-actions, .budget-form-col {
        display: none !important;
    }
    .kalkulator-section { padding: 0 !important; margin: 0 !important; }
    .budget-card-container { box-shadow: none !important; border: none !important; padding: 0 !important; }
    .receipt-card { border: 2px solid #0284c7 !important; border-radius: 12px !important; padding: 24px !important; box-shadow: none !important; }
    .receipt-header h3 { color: #0284c7 !important; font-size: 1.6rem !important; }
    .receipt-total-box { background: #f0f9ff !important; border: 1px solid #0284c7 !important; border-radius: 8px !important; padding: 16px !important; }
    .total-price { color: #0284c7 !important; }
}

