:root {
    --nav-height: 80px;
    --font-primary: 'Outfit', sans-serif;
    --font-secondary: 'Inter', sans-serif;
    --transition-speed: 0.3s;
}

/* ==========================================
   THEME 1: PORTAL GATEWAY (index.html)
   ========================================== */
body.theme-portal {
    --bg-color: #050806; /* deep space green */
    --card-bg: rgba(16, 24, 18, 0.75);
    --border-color: rgba(76, 175, 80, 0.12);
    --accent: #10b981; /* vibrant emerald */
    --accent-secondary: #f97316; /* sunset orange */
    --accent-gold: #f59e0b;
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --glow-color: rgba(16, 185, 129, 0.05);
    --nav-bg: rgba(5, 8, 6, 0.85);
    --gradient-hero: radial-gradient(circle at 50% -20%, rgba(16, 185, 129, 0.18) 0%, transparent 60%);
}

/* ==========================================
   THEME 2: ADULTS APP (adults.html)
   ========================================== */
body.theme-adults {
    --bg-color: #080c09; /* deep forest charcoal */
    --card-bg: rgba(17, 26, 20, 0.8);
    --border-color: rgba(16, 185, 129, 0.15);
    --accent: #10b981; /* rich emerald green */
    --accent-secondary: #3b82f6; /* sky blue (technical) */
    --accent-gold: #f59e0b;
    --text-main: #f1f5f9;
    --text-muted: #94a3b8;
    --glow-color: rgba(16, 185, 129, 0.08);
    --nav-bg: rgba(8, 12, 9, 0.85);
    --gradient-hero: radial-gradient(circle at 80% 20%, rgba(16, 185, 129, 0.1) 0%, transparent 50%),
                     radial-gradient(circle at 20% 80%, rgba(59, 130, 246, 0.03) 0%, transparent 50%);
}

/* ==========================================
   THEME 3: KIDS APP (kids.html)
   ========================================== */
body.theme-kids {
    --bg-color: #f7fee7; /* light meadow green */
    --card-bg: rgba(255, 255, 255, 0.96);
    --border-color: rgba(132, 204, 22, 0.22);
    --accent: #84cc16; /* lime green */
    --accent-secondary: #f97316; /* sunset orange */
    --accent-gold: #f59e0b;
    --text-main: #1e2d0a; /* dark olive */
    --text-muted: #4d7c0f; /* medium olive */
    --glow-color: rgba(132, 204, 22, 0.08);
    --nav-bg: rgba(247, 254, 231, 0.85);
    --gradient-hero: radial-gradient(circle at 80% 20%, rgba(132, 204, 22, 0.12) 0%, transparent 50%),
                     radial-gradient(circle at 20% 80%, rgba(249, 115, 22, 0.06) 0%, transparent 50%);
}

/* ==========================================
   THEME 4: FAMILY PASS (family.html)
   ========================================== */
body.theme-family {
    --bg-color: #fffdf5; /* warm cream/amber */
    --card-bg: rgba(255, 255, 255, 0.95);
    --border-color: rgba(245, 158, 11, 0.18);
    --accent: #f97316; /* warm amber/orange */
    --accent-secondary: #10b981; /* emerald green */
    --accent-gold: #f59e0b;
    --text-main: #3a2205; /* rich brown */
    --text-muted: #78350f; /* warm brown */
    --glow-color: rgba(249, 115, 22, 0.08);
    --nav-bg: rgba(255, 253, 245, 0.85);
    --gradient-hero: radial-gradient(circle at 80% 20%, rgba(249, 115, 22, 0.12) 0%, transparent 50%),
                     radial-gradient(circle at 20% 80%, rgba(16, 185, 129, 0.06) 0%, transparent 50%);
}

/* ==========================================
   GLOBAL RESET & STYLING
   ========================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    overflow-x: hidden;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    background-color: var(--bg-color);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    width: 100%;
    transition: background-color 0.5s ease, color 0.5s ease;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Glass Navigation Bar */
.glass-nav {
    position: fixed;
    top: 0;
    width: 100%;
    height: var(--nav-height);
    background: var(--nav-bg);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    z-index: 1000;
    display: flex;
    align-items: center;
    border-bottom: 1px solid var(--border-color);
    transition: background 0.5s ease, border-bottom 0.5s ease;
}

.container-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo {
    font-size: 1.8rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.magic-text {
    background: linear-gradient(45deg, var(--accent), var(--accent-secondary));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 20px rgba(16, 185, 129, 0.15);
    transition: background 0.5s ease;
}

.nav-links {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
}

.nav-links a {
    color: var(--text-main);
    text-decoration: none;
    margin-left: 1.5rem;
    font-weight: 500;
    font-size: 0.9rem;
    white-space: nowrap;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--accent);
}

.nav-links a.active-page {
    color: var(--accent);
    font-weight: 700;
    border-bottom: 2px solid var(--accent);
    padding-bottom: 4px;
}

.hamburger {
    display: none;
}

/* ==========================================
   HERO SECTIONS
   ========================================== */
.hero {
    padding: 160px 0 80px;
    background: var(--gradient-hero);
    transition: background 0.5s ease;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 4rem;
    align-items: center;
}

h1 {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.accent-text {
    color: var(--accent);
    display: inline-block;
    transition: color 0.5s ease;
}

.subtitle {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 550px;
    transition: color 0.5s ease;
}

.hero-trust-badges {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.trust-badge {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    padding: 0.4rem 0.9rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-main);
}

body.theme-kids .trust-badge, body.theme-family .trust-badge {
    background: #ffffff;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.hero-beta {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    padding: 1.5rem;
    border-radius: 20px;
    max-width: 600px;
}

body.theme-kids .hero-beta, body.theme-family .hero-beta {
    background: rgba(255, 255, 255, 0.7);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
}

.hero-beta-badge {
    font-weight: 800;
    font-size: 0.95rem;
    margin-bottom: 0.75rem;
    color: var(--accent-secondary);
}

.beta-android-note {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 1rem;
}

/* Hero Image Wrapper */
.hero-image-wrapper {
    position: relative;
    display: flex;
    justify-content: center;
}

.hero-main-img {
    width: 100%;
    height: 100%;
    max-height: 600px;
    object-fit: cover;
    max-width: 480px;
    border-radius: 30px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
    z-index: 2;
    border: 2px solid var(--border-color);
    transition: border 0.5s ease;
}

.glow-effect {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 110%;
    height: 110%;
    background: radial-gradient(circle, var(--glow-color) 0%, transparent 70%);
    opacity: 0.5;
    z-index: 1;
    filter: blur(40px);
    transition: background 0.5s ease;
}

/* ==========================================
   PORTAL GRID SYSTEM (index.html)
   ========================================== */
.portal-intro {
    text-align: center;
    padding: 4rem 0 1rem;
    max-width: 800px;
    margin: 0 auto;
}

.portal-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    max-width: 900px;
    margin: 0 auto;
    gap: 2.5rem;
    padding: 3rem 0 6rem;
}

.portal-card {
    background: var(--card-bg);
    border: 2px solid var(--border-color);
    border-radius: 28px;
    padding: 3rem 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform var(--transition-speed) ease, border-color var(--transition-speed) ease, box-shadow var(--transition-speed) ease;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    position: relative;
    overflow: hidden;
}

.portal-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background: linear-gradient(90deg, var(--accent), var(--accent-secondary));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.portal-card:hover {
    transform: translateY(-8px);
    border-color: var(--accent);
    box-shadow: 0 15px 40px var(--glow-color);
}

.portal-card:hover::before {
    opacity: 1;
}

.portal-card-header {
    margin-bottom: 2rem;
}

.portal-card-badge {
    display: inline-block;
    padding: 0.35rem 0.85rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1.25rem;
}

.badge-adults {
    background: rgba(16, 185, 129, 0.15);
    color: #10b981;
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.badge-kids {
    background: rgba(132, 204, 22, 0.15);
    color: #84cc16;
    border: 1px solid rgba(132, 204, 22, 0.3);
}

.badge-family {
    background: rgba(249, 115, 22, 0.15);
    color: #f97316;
    border: 1px solid rgba(249, 115, 22, 0.3);
}

.portal-card-title {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: var(--text-main);
}

.portal-card-desc {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.portal-card-bullets {
    list-style: none;
    margin-bottom: 2.5rem;
}

.portal-card-bullets li {
    padding-left: 1.5rem;
    position: relative;
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
    color: var(--text-main);
}

.portal-card-bullets li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: 700;
}

/* ==========================================
   FEATURES SECTION
   ========================================== */
.features {
    padding: 80px 0;
}

.section-title {
    font-size: 3rem;
    text-align: center;
    margin-bottom: 1rem;
    font-weight: 800;
}

.showcase-subtitle {
    text-align: center;
    color: var(--text-muted);
    font-size: 1.25rem;
    margin-bottom: 4rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
}

.glass {
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 2.5rem;
    transition: transform var(--transition-speed) ease, border-color var(--transition-speed) ease, box-shadow var(--transition-speed) ease;
}

body.theme-kids .glass, body.theme-family .glass {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
}

.feature-card:hover {
    transform: translateY(-8px);
    border-color: var(--accent);
    box-shadow: 0 15px 35px var(--glow-color);
}

.feat-icon {
    font-size: 2.75rem;
    margin-bottom: 1.25rem;
    display: inline-block;
}

h3 {
    font-size: 1.6rem;
    margin-bottom: 1rem;
    color: var(--text-main);
}

.glass p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* ==========================================
   SCREENSHOTS SLIDER CAROUSEL
   ========================================== */
.showcase-section {
    padding: 80px 0;
    overflow: hidden;
}

.slider-wrapper {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 60px;
}

.slider-track {
    display: flex;
    justify-content: center;
    gap: 2rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    padding: 1rem 0 2rem;
    scrollbar-width: none;
}

.slider-track::-webkit-scrollbar {
    display: none;
}

.slider-card {
    flex: 0 0 280px;
    scroll-snap-align: center;
    border-radius: 28px;
    overflow: hidden;
    background: var(--card-bg);
    border: 2px solid var(--border-color);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

body.theme-kids .slider-card, body.theme-family .slider-card {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.slider-card:hover {
    transform: translateY(-8px) scale(1.02);
    border-color: var(--accent);
    box-shadow: 0 15px 40px var(--glow-color);
}

.slider-card img {
    width: 100%;
    height: auto;
    display: block;
    border-bottom: 1px solid var(--border-color);
}

.slider-caption {
    padding: 1rem 1.25rem;
    font-size: 0.85rem;
    color: var(--text-muted);
    text-align: center;
    line-height: 1.4;
    font-weight: 500;
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 52px;
    height: 52px;
    border-radius: 50%;
    border: 1.5px solid var(--border-color);
    background: var(--bg-color);
    color: var(--text-main);
    font-size: 1.8rem;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.25s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.slider-btn:hover {
    background: var(--accent);
    color: #ffffff;
    border-color: var(--accent);
    transform: translateY(-50%) scale(1.1);
}

.slider-btn--left { left: 4px; }
.slider-btn--right { right: 4px; }

.slider-dots {
    display: flex;
    justify-content: center;
    gap: 0.6rem;
    margin-top: 1rem;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: none;
    background: rgba(128, 128, 128, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.slider-dot.active {
    background: var(--accent);
    transform: scale(1.3);
}

/* ==========================================
   SAFETY & COMPLIANCE DETAIL BOX
   ========================================== */
.safety {
    padding: 80px 0;
}

.safety-box {
    background: var(--card-bg);
    border: 2px solid var(--border-color);
    border-radius: 28px;
    padding: 4rem;
}

.safety-list {
    list-style: none;
    margin-top: 3rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
}

.safety-list li {
    padding-left: 2rem;
    position: relative;
    color: var(--text-main);
    font-size: 1.05rem;
}

.safety-list li::before {
    content: '🛡️';
    position: absolute;
    left: 0;
}

/* ==========================================
   SCAVENGER HUNTS (Kids and Family)
   ========================================== */
.hunts-section {
    padding: 80px 0;
}

.hunts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
}

.hunt-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 2.5rem;
    text-align: center;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.hunt-card:hover {
    transform: scale(1.03);
    border-color: var(--accent);
    box-shadow: 0 10px 30px var(--glow-color);
}

.hunt-biome {
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    color: var(--accent-secondary);
    margin-bottom: 0.75rem;
    letter-spacing: 0.05em;
}

.hunt-items-list {
    margin: 1.25rem 0 0;
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* ==========================================
   PRICING TABLES
   ========================================== */
.pricing-section {
    padding: 80px 0;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    max-width: 1100px;
    margin: 0 auto;
    align-items: stretch;
}

.pricing-card {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: var(--card-bg);
    border: 1.5px solid var(--border-color);
    border-radius: 28px;
    padding: 3.5rem 2.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.pricing-card--featured {
    border: 2.5px solid var(--accent);
    box-shadow: 0 15px 40px var(--glow-color);
}

.plan-badge {
    position: absolute;
    top: -15px;
    right: 30px;
    background: var(--accent);
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 800;
    padding: 0.35rem 1.1rem;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

body.theme-portal .plan-badge, body.theme-adults .plan-badge {
    color: #0b0f0c;
}

.plan-icon { font-size: 2.5rem; margin-bottom: 1rem; }
.plan-name { font-size: 1.8rem; font-weight: 800; margin-bottom: 0.5rem; }
.plan-desc { font-size: 0.9rem; color: var(--text-muted); margin-bottom: 1.5rem; }
.plan-price { font-size: 3rem; font-weight: 800; color: var(--accent); }
.plan-price span { font-size: 1.2rem; font-weight: 500; color: var(--text-main); }
.plan-price-alt { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 2rem; }

.plan-features {
    list-style: none;
    margin-bottom: 2.5rem;
}

.plan-features li {
    margin-bottom: 0.85rem;
    font-size: 0.95rem;
    padding-left: 1.75rem;
    position: relative;
    color: var(--text-main);
}

.plan-features li.feat-yes::before {
    content: '✓';
    color: var(--accent);
    position: absolute;
    left: 0;
    font-weight: bold;
    font-size: 1.1rem;
}

.plan-features li.feat-no::before {
    content: '×';
    color: #ef4444;
    position: absolute;
    left: 0;
    font-size: 1.3rem;
    line-height: 1;
}

/* ==========================================
   FAQ ACCORDIONS
   ========================================== */
.faq-section {
    padding: 80px 0;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    padding: 2rem !important;
    cursor: pointer;
}

.faq-question {
    font-weight: 700;
    font-size: 1.15rem;
    list-style: none;
    outline: none;
    position: relative;
}

.faq-question::-webkit-details-marker {
    display: none;
}

.faq-answer {
    margin-top: 1.25rem;
    font-size: 0.95rem;
    color: var(--text-muted);
    border-top: 1px solid var(--border-color);
    padding-top: 1.25rem;
    line-height: 1.7;
}

/* ==========================================
   LEGAL TERMS & PRIVACY SYSTEM
   ========================================== */
.legal {
    padding: 80px 0;
}

.legal-box {
    max-width: 900px;
    margin: 0 auto;
}

.legal-text {
    max-height: 400px;
    overflow-y: auto;
    background: var(--bg-color);
    padding: 2.5rem;
    border-radius: 16px;
    border: 1px solid var(--border-color);
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.8;
}

.legal-text h3 {
    margin-top: 1.5rem;
    font-size: 1.2rem;
    color: var(--text-main);
}

.legal-text ul {
    padding-left: 1.5rem;
    margin-top: 0.5rem;
}

.legal-text li {
    margin-bottom: 0.5rem;
}

/* ==========================================
   FOOTER
   ========================================== */
.footer {
    padding: 60px 0;
    border-top: 1px solid var(--border-color);
    background: rgba(0, 0, 0, 0.05);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--accent);
}

/* ==========================================
   BUTTONS
   ========================================== */
.btn {
    padding: 0.9rem 2.2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: none;
    font-family: var(--font-primary);
    cursor: pointer;
    font-size: 0.95rem;
}

.btn-primary {
    background: var(--accent);
    color: #ffffff;
}

body.theme-portal .btn-primary, body.theme-adults .btn-primary {
    color: #0c120e;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px var(--glow-color);
}

.btn-secondary {
    border: 1.5px solid var(--accent);
    color: var(--accent);
    background: transparent;
}

.btn-secondary:hover {
    background: var(--accent);
    color: #ffffff;
}

body.theme-portal .btn-secondary:hover, body.theme-adults .btn-secondary:hover {
    color: #0c120e;
}

/* Animations */
@keyframes reveal {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.reveal { animation: reveal 1s ease forwards; }
.reveal-delay-1 { animation: reveal 1s ease 0.3s forwards; opacity: 0; }
.reveal-delay-2 { animation: reveal 1s ease 0.6s forwards; opacity: 0; }

/* ==========================================
   HAMBURGER / MOBILE MENU LAYOUT
   ========================================== */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    width: 44px;
    height: 44px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 6px;
    border-radius: 10px;
    transition: background 0.2s;
    z-index: 1100;
}

.hamburger:hover {
    background: rgba(128, 128, 128, 0.1);
}

.hamburger span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--text-main);
    border-radius: 2px;
    transition: transform 0.35s ease, opacity 0.25s ease;
}

.hamburger.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

.mobile-nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.65);
    z-index: 999;
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
}

.mobile-nav-overlay.active {
    display: block;
}

/* ==========================================
   RESPONSIVE DESIGN BREAKPOINTS
   ========================================== */
@media (max-width: 1024px) {
    .hamburger {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: min(80vw, 300px);
        height: 100dvh;
        background: var(--bg-color);
        border-left: 1px solid var(--border-color);
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        padding: calc(var(--nav-height) + 1.5rem) 2rem 2rem;
        gap: 0.5rem;
        z-index: 1050;
        transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1);
        display: flex;
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
    }

    .nav-links.open {
        right: 0;
    }

    .nav-links a {
        margin-left: 0;
        padding: 0.85rem 1rem;
        width: 100%;
        border-radius: 12px;
        font-size: 1.1rem;
    }

    .nav-links a:hover {
        background: rgba(128, 128, 128, 0.08);
    }
}

@media (max-width: 992px) {
    .hero { padding: 120px 0 60px; }
    .hero-grid { grid-template-columns: 1fr; text-align: center; }
    .hero-image-wrapper { margin-top: 2rem; }
    .subtitle { margin: 0 auto 2.5rem; }
    .hero-trust-badges { justify-content: center; }
    
    .portal-grid { grid-template-columns: 1fr; gap: 2rem; padding: 2rem 0; }
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .hunts-grid { grid-template-columns: repeat(2, 1fr); }
    .safety-list { grid-template-columns: 1fr; gap: 1.5rem; }

    .pricing-grid {
        display: flex;
        gap: 1.5rem;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        max-width: 100%;
        padding: 0 1rem 1rem;
    }

    .pricing-grid::-webkit-scrollbar {
        display: none;
    }

    .pricing-card {
        flex: 0 0 85vw;
        max-width: 380px;
        scroll-snap-align: center;
    }
}

@media (max-width: 768px) {
    h1 { font-size: 3rem; }
    .section-title { font-size: 2.5rem; }
    .features-grid { grid-template-columns: 1fr; }
    .hunts-grid { grid-template-columns: 1fr; }
    .safety-box { padding: 2.5rem; }
}

@media (max-width: 600px) {
    .showcase-subtitle { font-size: 1.05rem; }
    .slider-wrapper { padding: 0 40px; }
    .slider-card { flex: 0 0 220px; }
    .slider-btn { width: 40px; height: 40px; font-size: 1.3rem; }
    .slider-btn--left { left: 2px; }
    .slider-btn--right { right: 2px; }
}

@media (max-width: 480px) {
    .hero { padding: 100px 0 40px; }
    h1 { font-size: 2.4rem; }
    .section-title { font-size: 2rem; }
    .pricing-card { padding: 2.5rem 1.5rem; }
    .safety-box { padding: 1.5rem; }
}
