/* Base Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

body {
    /* Changed to a much deeper, almost pure black with a tiny hint of warmth */
    background-color: #030100; 
    color: #ffffff;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden; 
}

/* Background Effects Container */
.bg-effects {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
    /* Dark vignette frame so the flares read as beams inside black, not a wash of color */
    box-shadow: inset 0 0 22vw 8vw rgba(0, 0, 0, 0.92);
}

/* Updated Dramatic Lighting - narrower, higher-contrast beams that fade back to black */
.light-flare {
    position: absolute;
    top: -32%;
    width: 42vw;
    height: 115vh;
    border-radius: 50%;
    filter: blur(105px);
    opacity: 1;
}

.left-flare {
    left: -14%;
    /* Layered gradient: Bright gold core -> burnt orange -> dark red -> transparent */
    background: radial-gradient(ellipse at center, rgba(255, 175, 45, 0.9) 0%, rgba(230, 80, 0, 0.6) 26%, rgba(90, 18, 0, 0.22) 52%, transparent 74%);
    transform: rotate(35deg);
}

.right-flare {
    right: -14%;
    background: radial-gradient(ellipse at center, rgba(255, 175, 45, 0.9) 0%, rgba(230, 80, 0, 0.6) 26%, rgba(90, 18, 0, 0.22) 52%, transparent 74%);
    transform: rotate(-35deg);
}

/* Header & Navigation */
header {
    position: sticky;
    top: 0;
    z-index: 26;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px 5vw;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.logo {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}

.logo img {
    display: block;
    height: 44px;
    width: auto;
}

.primary-nav {
    display: flex;
    gap: 32px;
}

nav a {
    color: #d1d1d1;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    transition: color 0.2s ease;
}

nav a:hover {
    color: #ffffff;
}

/* Buttons */
.nav-btn, .cta-btn {
    background: transparent;
    color: #fff;
    border-radius: 30px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
}

.nav-btn {
    padding: 10px 24px;
    font-size: 14px;
    /* Added a subtle warm tint to the border to match the image */
    border: 1px solid rgba(255, 140, 0, 0.3);
}

.nav-btn:hover {
    background: rgba(255, 140, 0, 0.1);
}

/* Hamburger toggle - hidden on desktop */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    background: transparent;
    border: 1px solid rgba(255, 140, 0, 0.3);
    border-radius: 10px;
    cursor: pointer;
    z-index: 30;
}

.hamburger span {
    display: block;
    width: 20px;
    height: 2px;
    background: #ffffff;
    border-radius: 2px;
    transition: transform 0.28s ease, opacity 0.28s ease;
}

.hamburger[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.hamburger[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
}

.hamburger[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Mobile menu panel */
.mobile-menu-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    z-index: 15;
}

.mobile-menu {
    position: fixed;
    top: 0;
    right: 0;
    height: 100%;
    width: min(78vw, 320px);
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 100px 32px 40px;
    background: #0a0503;
    border-left: 1px solid rgba(255, 140, 0, 0.15);
    transform: translateX(100%);
    transition: transform 0.32s ease;
    z-index: 25;
}

.mobile-menu a {
    color: #e6e6e6;
    text-decoration: none;
    font-size: 18px;
    font-weight: 500;
    padding: 14px 4px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.mobile-nav-btn {
    margin-top: 24px;
    width: 100%;
    padding: 14px 24px;
}

.mobile-menu a.mobile-nav-btn {
    display: flex;
    justify-content: center;
    color: #fff;
    font-size: 14px;
    padding: 14px 24px;
    border-bottom: none;
}

body.menu-open .mobile-menu {
    transform: translateX(0);
}

body.menu-open .mobile-menu-backdrop {
    opacity: 1;
    pointer-events: auto;
}

body.menu-open {
    overflow: hidden;
}

/* Mobile sticky Access CTA */
.mobile-sticky-cta {
    display: none;
}

@media (max-width: 860px) {
    body {
        padding-bottom: 100px;
    }

    .mobile-sticky-cta {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        position: fixed;
        left: 16px;
        right: 16px;
        bottom: calc(16px + env(safe-area-inset-bottom));
        z-index: 20;
        height: 56px;
        border-radius: 999px;
        background: linear-gradient(135deg, #ffb347 0%, #ff781f 55%, #dd4e08 100%);
        border: 1px solid rgba(255, 255, 255, 0.28);
        color: #1a0900;
        font-weight: 700;
        font-size: 16px;
        letter-spacing: -0.2px;
        text-decoration: none;
        box-shadow: 0 10px 28px rgba(255, 120, 31, 0.45), 0 2px 10px rgba(0, 0, 0, 0.45);
        animation: cta-glow 2.6s ease-in-out infinite;
        transition: transform 0.15s ease;
    }

    .mobile-sticky-cta svg {
        width: 18px;
        height: 18px;
        stroke: currentColor;
        stroke-width: 2.4;
        flex: none;
    }

    .mobile-sticky-cta:active {
        transform: scale(0.97);
        animation-play-state: paused;
        box-shadow: 0 4px 16px rgba(255, 120, 31, 0.4);
    }

    body.menu-open .mobile-sticky-cta {
        display: none;
    }
}

@keyframes cta-glow {
    0%, 100% {
        box-shadow: 0 10px 28px rgba(255, 120, 31, 0.45), 0 2px 10px rgba(0, 0, 0, 0.45);
    }
    50% {
        box-shadow: 0 10px 34px rgba(255, 120, 31, 0.75), 0 2px 10px rgba(0, 0, 0, 0.45);
    }
}

@media (prefers-reduced-motion: reduce) {
    .mobile-sticky-cta {
        animation: none;
    }
}

.cta-btn {
    padding: 16px 40px;
    font-size: 16px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.cta-btn:hover {
    background: #ffffff;
    color: #000000;
}

/* Hero WhatsApp / Telegram CTA pair */
.hero-cta-row {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    justify-content: center;
}

.hero-cta-row .cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.hero-cta-row svg {
    width: 20px;
    height: 20px;
    stroke: currentColor;
    stroke-width: 1.6;
}

.btn-whatsapp {
    border-color: rgba(37, 211, 102, 0.35);
    color: #25d366;
}

.btn-whatsapp:hover {
    background: rgba(37, 211, 102, 0.12);
    color: #25d366;
}

.btn-telegram {
    border-color: rgba(34, 158, 217, 0.35);
    color: #229ed9;
}

.btn-telegram:hover {
    background: rgba(34, 158, 217, 0.12);
    color: #229ed9;
}

/* Main Content */
main {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 40px 20px;
}

.hero-image-container {
    perspective: 1200px;
    margin-bottom: 24px;
}

.hero-card {
    width: 100%;
    max-width: 710px;
    height: auto;
    border-radius: 16px;
    transition: transform 0.15s ease-out; 
    transform-style: preserve-3d;
}

.headline {
    font-size: clamp(26px, 5vw, 40px); 
    font-weight: 600;
    letter-spacing: -1.5px;
    margin-bottom: 16px;
}

.highlight {
    color: #ff781f; /* Aetheris signature orange */
}

.subheadline {
    color: #a3a3a3;
    font-size: clamp(15px, 1.5vw, 18px);
    line-height: 1.6;
    max-width: 921px;
    margin-bottom: 40px;
}

/* Footer */
.site-footer {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    padding: 28px 5vw;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-copy {
    color: #7a7a7a;
    font-size: 13px;
}

.footer-links {
    display: flex;
    gap: 24px;
}

.footer-links a {
    color: #a3a3a3;
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: #ff781f;
}

/* Legal pages (terms.html / privacy.html) */
.legal-main {
    flex: 1;
    display: block;
    text-align: left;
    max-width: 900px;
    width: 100%;
    margin: 0 auto;
    padding: 24px 5vw 80px;
}

.legal-main .back-link {
    display: inline-block;
    color: #a3a3a3;
    text-decoration: none;
    font-size: 14px;
    margin-bottom: 32px;
    transition: color 0.2s ease;
}

.legal-main .back-link:hover {
    color: #ffffff;
}

.legal-main h1 {
    font-size: clamp(32px, 4vw, 44px);
    font-weight: 600;
    letter-spacing: -1px;
    margin-bottom: 12px;
}

.legal-main .updated {
    color: #7a7a7a;
    font-size: 14px;
    margin-bottom: 40px;
}

.legal-main h2 {
    font-size: 20px;
    font-weight: 600;
    margin: 36px 0 12px;
}

.legal-main p,
.legal-main li {
    color: #b8b8b8;
    font-size: 15px;
    line-height: 1.7;
}

.legal-main ul {
    margin: 0 0 12px 20px;
}

.legal-main li {
    margin-bottom: 6px;
}

/* ============ Content Sections (SEO body) ============ */

.content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
}

.section {
    padding: 64px 5vw;
    max-width: 1120px;
    width: 100%;
    margin: 0 auto;
}

.section-alt {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.section-head {
    max-width: 680px;
    margin: 0 auto 40px;
    text-align: center;
}

.section-eyebrow {
    display: inline-block;
    color: #ff781f;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.section-title {
    font-size: clamp(28px, 3.4vw, 40px);
    font-weight: 600;
    letter-spacing: -1px;
    margin-bottom: 14px;
}

.section-lede {
    color: #a3a3a3;
    font-size: 16px;
    line-height: 1.7;
}

.section-lede + .section-lede {
    margin-top: 12px;
}

/* Icon */
.icon {
    width: 22px;
    height: 22px;
    stroke: #ff781f;
    fill: none;
    stroke-width: 1.6;
    flex-shrink: 0;
}

/* Action cards (Download / Games / Login) */
.action-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.action-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding: 28px 24px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    transition: border-color 0.25s ease, background 0.25s ease, transform 0.25s ease;
}

.action-card:hover {
    border-color: rgba(255, 140, 0, 0.35);
    background: rgba(255, 140, 0, 0.05);
    transform: translateY(-3px);
}

.icon-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: rgba(255, 140, 0, 0.1);
    border: 1px solid rgba(255, 140, 0, 0.25);
}

.action-card h3 {
    font-size: 19px;
    font-weight: 600;
    letter-spacing: -0.2px;
}

.action-card p {
    color: #a3a3a3;
    font-size: 14.5px;
    line-height: 1.6;
    flex: 1;
}

.link-arrow {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #ffffff;
    text-decoration: none;
    font-size: 14.5px;
    font-weight: 600;
    padding-top: 4px;
    border-bottom: 1px solid transparent;
    transition: gap 0.2s ease, border-color 0.2s ease;
}

.link-arrow:hover {
    gap: 10px;
    border-color: rgba(255, 255, 255, 0.3);
}

.link-arrow svg {
    width: 16px;
    height: 16px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
}

/* Device cards (Android / iPhone) */
.device-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

.device-card {
    padding: 28px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
}

.device-card-head {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
}

.device-card h3 {
    font-size: 19px;
    font-weight: 600;
}

.device-card p {
    color: #a3a3a3;
    font-size: 14.5px;
    line-height: 1.7;
    margin-bottom: 18px;
}

/* App info table */
.info-table {
    width: 100%;
    border-collapse: collapse;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    overflow: hidden;
}

.info-table tr {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.info-table tr:first-child {
    border-top: none;
}

.info-table th,
.info-table td {
    text-align: left;
    padding: 16px 20px;
    font-size: 14.5px;
}

.info-table th {
    color: #a3a3a3;
    font-weight: 500;
    width: 40%;
    background: rgba(255, 255, 255, 0.02);
}

.info-table td {
    color: #ffffff;
    font-weight: 500;
}

.info-table td a {
    color: #ff781f;
    text-decoration: none;
}

.info-table td a:hover {
    text-decoration: underline;
}

.table-note {
    color: #7a7a7a;
    font-size: 13.5px;
    margin-top: 14px;
    line-height: 1.6;
}

/* Games tags */
.game-types {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    list-style: none;
    margin: 28px 0 32px;
    padding: 0;
}

.game-type-card {
    padding: 20px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
}

.game-type-card strong {
    display: block;
    font-size: 15.5px;
    margin-bottom: 6px;
}

.game-type-card span {
    color: #a3a3a3;
    font-size: 14px;
    line-height: 1.55;
}

/* Journey steps */
.journey {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin: 32px 0;
    padding: 24px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
}

.journey-step {
    padding: 10px 16px;
    border-radius: 999px;
    border: 1px solid rgba(255, 140, 0, 0.25);
    background: rgba(255, 140, 0, 0.06);
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
}

.journey-arrow {
    color: #7a7a7a;
    font-size: 15px;
}

/* Help checklist */
.help-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px 24px;
    margin: 28px 0 24px;
}

.help-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: #d1d1d1;
    font-size: 14.5px;
    line-height: 1.5;
    list-style: none;
}

.help-list svg {
    width: 18px;
    height: 18px;
    stroke: #ff781f;
    fill: none;
    stroke-width: 2;
    margin-top: 2px;
    flex-shrink: 0;
}

/* Responsible play callout */
.callout {
    padding: 28px 32px;
    border: 1px solid rgba(255, 140, 0, 0.25);
    border-left: 3px solid #ff781f;
    border-radius: 14px;
    background: rgba(255, 140, 0, 0.04);
}

.callout p {
    color: #d1d1d1;
    font-size: 15px;
    line-height: 1.7;
}

.callout p + p {
    margin-top: 12px;
}

/* FAQ */
.faq-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.faq-item {
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    padding: 6px 22px;
    background: rgba(255, 255, 255, 0.02);
}

.faq-item summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 16px 0;
    font-size: 15.5px;
    font-weight: 600;
    cursor: pointer;
    list-style: none;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary svg {
    width: 18px;
    height: 18px;
    stroke: #a3a3a3;
    fill: none;
    stroke-width: 2;
    flex-shrink: 0;
    transition: transform 0.25s ease;
}

.faq-item[open] summary svg {
    transform: rotate(180deg);
    stroke: #ff781f;
}

.faq-item p {
    color: #a3a3a3;
    font-size: 14.5px;
    line-height: 1.65;
    padding-bottom: 18px;
}

/* Lobby screenshot */
.lobby-shot {
    max-width: 900px;
    margin: 32px auto 0;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 24px 60px -24px rgba(0, 0, 0, 0.65);
}

.lobby-shot img {
    display: block;
    width: 100%;
    height: auto;
}

/* Numbered step list */
.step-list {
    display: flex;
    flex-direction: column;
}

.step-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    padding: 24px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.step-item:first-child {
    border-top: none;
    padding-top: 0;
}

.step-num {
    flex: none;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: rgba(255, 140, 0, 0.08);
    border: 1px solid rgba(255, 140, 0, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 15px;
    color: #ff781f;
}

.step-body h3 {
    font-size: 16.5px;
    font-weight: 600;
    margin-bottom: 6px;
}

.step-body p {
    color: #a3a3a3;
    font-size: 14.5px;
    line-height: 1.65;
}

.step-body p + p {
    margin-top: 8px;
}

/* Inline warning note */
.warn-note {
    display: flex;
    gap: 8px;
    align-items: flex-start;
    margin-top: 12px;
    padding: 10px 14px;
    border-radius: 10px;
    background: rgba(217, 119, 6, 0.08);
    border: 1px solid rgba(251, 191, 36, 0.25);
    color: #fbbf24;
    font-size: 13.5px;
    line-height: 1.55;
}

.warn-note svg {
    width: 16px;
    height: 16px;
    flex: none;
    margin-top: 2px;
    stroke: #fbbf24;
    fill: none;
    stroke-width: 2;
}

/* Comparison table (Test ID vs Real account) */
.compare-table-wrap {
    overflow-x: auto;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.compare-table {
    width: 100%;
    min-width: 520px;
    border-collapse: collapse;
}

.compare-table th,
.compare-table td {
    text-align: left;
    padding: 14px 20px;
    font-size: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    white-space: normal;
}

.compare-table thead th {
    border-top: none;
    background: rgba(255, 255, 255, 0.03);
    color: #ffffff;
    font-weight: 600;
    font-size: 13.5px;
}

.compare-table tbody th {
    color: #a3a3a3;
    font-weight: 500;
    white-space: nowrap;
}

.compare-table td {
    color: #d1d1d1;
}

/* Support message template */
.msg-template-wrap {
    position: relative;
    max-width: 520px;
    margin: 20px auto 0;
}

.msg-template {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    padding: 24px 20px 20px;
    font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
    font-size: 13.5px;
    line-height: 1.8;
    color: #d1d1d1;
    white-space: pre-wrap;
    text-align: left;
}

.msg-template-copy {
    position: absolute;
    top: 12px;
    right: 12px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.03);
    color: #a3a3a3;
    font-size: 12.5px;
    font-weight: 600;
    cursor: pointer;
    transition: border-color 0.2s ease, color 0.2s ease;
}

.msg-template-copy:hover {
    border-color: rgba(255, 140, 0, 0.35);
    color: #ffffff;
}

.msg-template-copy svg {
    width: 14px;
    height: 14px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
}

.msg-template-copy.copied {
    color: #34d399;
    border-color: rgba(52, 211, 153, 0.35);
}

/* Device install guides (collapsed, revealed on click) */
.guide-panel {
    padding-top: 8px;
}

.guide-body {
    max-width: 760px;
    margin: 0 auto;
    text-align: left;
}

.guide-body h3 {
    font-size: 19px;
    font-weight: 600;
    margin: 36px 0 12px;
}

.guide-body h3:first-child {
    margin-top: 0;
}

.guide-body h4 {
    font-size: 15.5px;
    font-weight: 600;
    margin: 22px 0 8px;
}

.guide-body p {
    color: #b8b8b8;
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 12px;
}

.guide-body .info-table {
    margin-bottom: 8px;
}

.guide-body .step-list,
.guide-body .faq-list {
    margin-top: 12px;
}

.settings-path {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
    padding: 10px 16px;
    margin: 10px 0 14px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
    font-size: 13.5px;
    color: #d1d1d1;
}

.settings-path .sep {
    color: #ff781f;
}

.guide-close-row {
    text-align: center;
    margin-top: 32px;
}

.guide-close-row button {
    background: none;
    border: none;
    color: #a3a3a3;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: color 0.2s ease;
}

.guide-close-row button:hover {
    color: #ffffff;
}

.guide-close-row svg {
    width: 15px;
    height: 15px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
}

/* ============ Responsive ============ */

/* Tablet and below: swap desktop nav for the hamburger */
@media (max-width: 860px) {
    .primary-nav,
    header .nav-btn {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    header {
        padding: 24px 6vw;
    }

    .action-grid,
    .device-grid,
    .game-types {
        grid-template-columns: 1fr;
    }

    .help-list {
        grid-template-columns: 1fr;
    }
}

/* Tablet: tighten hero spacing */
@media (max-width: 860px) and (min-width: 481px) {
    main {
        padding: 24px 24px 48px;
    }

    .hero-card {
        max-width: 560px;
    }
}

/* Mobile phones */
@media (max-width: 480px) {
    .logo img {
        height: 36px;
    }

    header {
        padding: 20px 5vw;
    }

    main {
        padding: 16px 20px 40px;
    }

    .hero-image-container {
        margin-bottom: 16px;
    }

    .hero-card {
        max-width: 100%;
        border-radius: 12px;
    }

    .headline {
        font-size: clamp(32px, 9vw, 40px);
        letter-spacing: -1px;
        margin-bottom: 12px;
    }

    .subheadline {
        font-size: 14px;
        margin-bottom: 28px;
        padding: 0 4px;
    }

    .cta-btn {
        width: 100%;
        max-width: 320px;
        padding: 15px 32px;
    }

    .hero-cta-row {
        flex-direction: column;
        align-items: center;
        width: 100%;
    }

    .mobile-menu {
        width: 100vw;
    }

    .site-footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
        padding: 24px 6vw 32px;
    }

    .footer-links {
        gap: 20px;
    }

    .section {
        padding: 48px 6vw;
    }

    .lobby-shot {
        border-radius: 14px;
        margin-top: 24px;
    }

    .section-title {
        font-size: 26px;
    }

    .action-card,
    .device-card {
        padding: 22px 20px;
    }

    .info-table th,
    .info-table td {
        display: block;
        width: 100%;
        padding: 12px 16px 0;
    }

    .info-table td {
        padding-bottom: 14px;
    }

    .info-table tr {
        display: block;
    }

    .journey {
        justify-content: flex-start;
    }

    .light-flare {
        width: 70vw;
        height: 90vh;
        filter: blur(80px);
    }

    .bg-effects {
        box-shadow: inset 0 0 26vw 10vw rgba(0, 0, 0, 0.92);
    }
}

/* Small phones */
@media (max-width: 360px) {
    .headline {
        font-size: 30px;
    }
}

/* Landscape phones: shrink vertical rhythm since height is tight */
@media (max-height: 480px) and (orientation: landscape) {
    main {
        padding: 16px 20px;
    }

    .hero-card {
        max-width: 320px;
    }

    .hero-image-container {
        margin-bottom: 12px;
    }

    .headline {
        margin-bottom: 8px;
    }

    .subheadline {
        margin-bottom: 16px;
    }
}

/* Touch devices: no hover-dependent tilt, ensure comfortable tap targets */
@media (hover: none) {
    .hero-card {
        transition: none;
    }
}