:root {
    color-scheme: dark;
    --bg: #0d0f12;
    --bg-soft: #13161b;
    --panel: #181c22;
    --panel-2: #20252d;
    --line: #303742;
    --line-soft: #252b34;
    --text: #f1f3f5;
    --muted: #a8b0bb;
    --accent: #d5ff40;
    --accent-strong: #b8e800;
    --danger: #ff7070;
    --success: #50d890;
    --shadow: 0 18px 60px rgba(0, 0, 0, .35);
    --radius: 18px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    min-width: 300px;
    background:
        radial-gradient(circle at 15% 0%, rgba(213, 255, 64, .055), transparent 28rem),
        linear-gradient(180deg, #111419 0%, var(--bg) 32rem);
    color: var(--text);
    font: 16px/1.55 Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
code { padding: .12rem .35rem; border: 1px solid var(--line); border-radius: 6px; background: #101318; overflow-wrap: anywhere; }
.no-scroll { overflow: hidden; }
.skip-link { position: fixed; left: 1rem; top: -5rem; z-index: 100; padding: .7rem 1rem; background: var(--accent); color: #111; }
.skip-link:focus { top: 1rem; }

.site-header {
    width: min(1180px, calc(100% - 32px));
    min-height: 250px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 25px;
    border-bottom: 1px solid var(--line-soft);
}
.brand { width: 200px; height: auto; display: grid; place-items: center; overflow: hidden; flex: 0 0 auto; }
.brand img { width: 245px; height: auto; filter: drop-shadow(0 10px 22px rgba(0,0,0,.45)); }
.brand-copy { min-width: 0; display: grid; gap: .18rem; }
.brand-copy strong { font-size: clamp(1.45rem, 3vw, 3.4rem); line-height: 1.05; letter-spacing: -.04em; overflow-wrap: anywhere; }
.brand-copy > span:last-child { color: var(--muted); }
.eyebrow, .step-label { color: var(--accent); text-transform: uppercase; letter-spacing: .12em; font-size: 1rem; font-weight: 800; }

.page-shell { width: min(1180px, calc(100% - 32px)); margin: 32px auto 80px; }
.panel, .product-card {
    border: 1px solid var(--line);
    background: linear-gradient(145deg, rgba(32, 37, 45, .96), rgba(21, 24, 29, .98));
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}
.hero { padding: clamp(24px, 4vw, 40px); display: grid; }
.hero h1 { max-width: 760px; margin: .35rem 0 1rem; font-size: clamp(2.25rem, 7vw, 5rem); line-height: .98; letter-spacing: -.065em; }
.hero p { color: var(--muted); margin: .6rem 0; }
.hero-points { display: grid; gap: 10px; }
.hero-points span { padding: 13px 16px; border: 1px solid var(--line); border-radius: 12px; background: rgba(8,10,13,.42); font-weight: 700; }
.hero-points span::before { content: "✓"; color: var(--accent); margin-right: .65rem; }
.intro-brand { display: flex; align-items: center; justify-content: center; gap: 12px; margin-bottom: .75rem; }
.intro-brand .eyebrow { max-width: 210px; }
.intro-brand img { width: 130px; height: auto; }
.section-divider { height: 25px; margin-bottom: 25px; border-bottom: 1px solid var(--line-soft); }

.hardware-base { display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, .82fr); gap: clamp(22px, 4vw, 54px); align-items: center; }
.hardware-copy { min-width: 0; }
.hardware-title { display: grid; place-items: center; text-align: center; }
.hardware-title img { width: min(250px, 80%); height: auto; margin: 0 auto; }
.hardware-picture { min-width: 0; }
.hardware-picture img { width: 100%; height: auto; max-height: 700px; object-fit: contain; filter: drop-shadow(0 20px 30px rgba(0,0,0,.25)); }
.note { margin-top: 1rem; padding: 14px 16px; border-left: 3px solid var(--accent); background: rgba(213,255,64,.045); color: var(--muted); border-radius: 8px; }

.products { display: grid; gap: 34px; margin-top: 34px; }
.product-card {
    overflow: hidden;
    display: grid;
    grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr);
    align-items: start;
}
.gallery { min-width: 0; align-self: start; background: #090b0e; border-right: 1px solid var(--line-soft); }
.gallery-stage { min-width: 0; }
.gallery-slide { margin: 0; }
.gallery-slide[hidden] { display: none; }
.image-button {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3;
    height: auto;
    min-height: 0;
    padding: 0;
    border: 0;
    cursor: zoom-in;
    background: #080a0d;
    overflow: hidden;
}
.image-button img { width: 100%; height: 100%; object-fit: contain; transition: transform .45s ease; }
.image-button:hover img { transform: scale(1.018); }
.zoom-hint { position: absolute; right: 14px; top: 14px; padding: .4rem .65rem; border: 1px solid rgba(255,255,255,.22); border-radius: 999px; background: rgba(4,5,7,.72); color: #fff; font-size: .75rem; backdrop-filter: blur(8px); }
.gallery-slide figcaption { min-height: 45px; padding: 12px 16px; color: var(--muted); border-top: 1px solid var(--line-soft); font-size: .88rem; }
.gallery-controls { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 10px 12px; border-top: 1px solid var(--line-soft); }
.gallery-controls > button { width: 40px; height: 36px; flex: 0 0 auto; border: 1px solid var(--line); border-radius: 9px; background: var(--panel-2); color: var(--text); cursor: pointer; }
.gallery-controls > button:hover { border-color: var(--accent); }
.gallery-dots { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.gallery-dots button { width: 10px; height: 10px; padding: 0; border: 0; border-radius: 50%; background: #5b6470; cursor: pointer; }
.gallery-dots button.is-active { background: var(--accent); box-shadow: 0 0 0 4px rgba(213,255,64,.12); }

.product-content { min-width: 0; padding: clamp(24px, 4.5vw, 24px); }
.product-heading { display: flex; justify-content: space-between; gap: 20px; }
.product-heading h2 { margin: .4rem 0 0; font-size: clamp(2rem, 4vw, 3.4rem); line-height: 1; letter-spacing: -.055em; overflow-wrap: anywhere; }
.version { margin: .5rem 0; color: var(--muted); font-family: ui-monospace, monospace; overflow-wrap: anywhere; }
.availability { display: inline-flex; align-items: center; gap: .45rem; color: #c8d0da; font-size: .78rem; font-weight: 700; }
.availability i { width: 8px; height: 8px; flex: 0 0 auto; border-radius: 50%; background: var(--success); box-shadow: 0 0 0 5px rgba(80,216,144,.12); }
.lead { margin: .5em 0; color: #d8dde3; font-size: 1.08rem; }
.product-description { margin: 1.5rem 0; padding: 20px; border: 1px solid var(--line-soft); border-radius: 13px; background: rgba(6,8,10,.26); }
.product-description h3, .price-options h3 { margin: 0 0 .75rem; }
.product-description ul { padding-left: 1.25rem; }
.product-description li + li { margin-top: .28rem; }
.muted { color: var(--muted); }
.price-options { margin: 1.7rem 0; display: grid; gap: 10px; }
.price-option { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 15px; border: 1px solid var(--line); border-radius: 12px; background: #111419; }
.price-option > div:first-child { display: grid; gap: .2rem; }
.price-option small { color: var(--muted); max-width: 490px; }
.price-action { flex: 0 0 auto; display: grid; justify-items: end; gap: .5rem; }
.price-action > span { font-size: 1.12rem; font-weight: 850; white-space: nowrap; }

.product-wide-content { grid-column: 1 / -1; min-width: 0; padding: 0 clamp(18px, 3.2vw, 40px) clamp(20px, 3.2vw, 38px); }
.gamelist { margin: 0; border: 1px solid var(--line); border-radius: 13px; background: rgba(6,8,10,.36); overflow: clip; }
.gamelist summary { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 17px 20px; cursor: pointer; color: var(--text); font-weight: 800; list-style: none; user-select: none; }
.gamelist summary::-webkit-details-marker { display: none; }
.gamelist summary::after { content: "+"; width: 30px; height: 30px; display: grid; place-items: center; flex: 0 0 auto; border: 1px solid var(--line); border-radius: 50%; color: var(--accent); font-size: 1.3rem; line-height: 1; }
.gamelist[open] summary { border-bottom: 1px solid var(--line-soft); }
.gamelist[open] summary::after { content: "−"; }
.gamelist summary:hover, .gamelist summary:focus-visible { background: rgba(213,255,64,.045); outline: none; }
.gamelist > ul { margin: 0; padding: 20px 22px 22px 42px; columns: 3 220px; column-gap: 38px; color: #d8dde3; }
.gamelist li { break-inside: avoid; margin: 0 0 .38rem; }

.button { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: .72rem 1rem; border: 1px solid transparent; border-radius: 11px; text-decoration: none; font-weight: 820; cursor: pointer; transition: transform .15s ease, border-color .15s ease, background .15s ease; }
.button:hover { transform: translateY(-1px); }
.button-primary { background: var(--accent); color: #11150a; }
.button-primary:hover { background: var(--accent-strong); }
.button-secondary { border-color: var(--line); background: #252b33; color: var(--text); }
.button-whatsapp { background: #28c76f; color: #071c10; }
.button-wide { width: 100%; }

.breadcrumbs { display: flex; align-items: center; gap: .6rem; color: var(--muted); margin-bottom: 20px; }
.breadcrumbs a { color: var(--text); }
.checkout-layout { display: grid; grid-template-columns: minmax(260px, .75fr) minmax(0, 1.25fr); gap: 24px; align-items: start; }
.order-summary, .form-panel, .order-saved, .payment-panel { padding: clamp(22px, 4vw, 38px); }
.order-summary { position: sticky; top: 18px; }
.order-summary img { margin: 1rem 0 1.4rem; border-radius: 12px; aspect-ratio: 4/3; object-fit: contain; background: #080a0d; }
.order-summary h1 { margin: 0; font-size: 2rem; }
.order-summary > p { color: var(--muted); }
.summary-prices { display: grid; gap: 8px; margin: 1.25rem 0; }
.summary-prices span { display: grid; padding: 11px 12px; border: 1px solid var(--line); border-radius: 10px; }
.summary-prices span.is-preferred { border-color: rgba(213,255,64,.55); background: rgba(213,255,64,.06); }
.form-panel h2, .payment-panel h2, .order-saved h1 { margin: .35rem 0 .6rem; font-size: clamp(1.8rem, 4vw, 3rem); line-height: 1; letter-spacing: -.04em; }
form { margin-top: 1.5rem; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.address-grid { grid-template-columns: 150px minmax(0, 1fr) 110px; }
.state-grid { grid-template-columns: minmax(0, 1fr) 110px; }
.field { display: grid; gap: 7px; margin-bottom: 16px; }
.field label { color: #d9dee5; font-weight: 750; font-size: .9rem; }
.field label span { color: var(--muted); font-weight: 500; }
.field input, .field textarea { width: 100%; border: 1px solid #3a424e; border-radius: 10px; background: #0f1216; color: var(--text); padding: .78rem .85rem; outline: none; }
.field input:focus, .field textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(213,255,64,.1); }
.field.has-error input, .field.has-error textarea { border-color: var(--danger); }
.field small, .has-error small { color: var(--danger); }
.honeypot { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
.message { padding: 14px 16px; border-radius: 11px; }
.message-error { border: 1px solid rgba(255,112,112,.5); background: rgba(255,112,112,.08); color: #ffd0d0; }
.checkout-complete { display: grid; gap: 24px; max-width: 900px; margin: 0 auto; }
.compact-details { display: grid; gap: 8px; margin: 1.4rem 0 0; }
.compact-details div { display: grid; grid-template-columns: 110px 1fr; gap: 16px; padding-top: 8px; border-top: 1px solid var(--line-soft); }
.compact-details dt { color: var(--muted); }
.compact-details dd { margin: 0; }
.payment-options { display: grid; gap: 12px; }
.payment-choice { display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: center; padding: 18px; border: 1px solid var(--line); border-radius: 13px; background: #111419; cursor: pointer; }
.payment-choice:has(input:checked), .payment-choice.is-preferred { border-color: var(--accent); background: rgba(213,255,64,.055); }
.payment-choice input { accent-color: var(--accent); width: 18px; height: 18px; }
.payment-choice span { display: grid; gap: .25rem; }
.payment-choice small { color: var(--muted); }
.payment-choice > b { white-space: nowrap; font-size: 1.1rem; }
.payment-total { font-size: clamp(2rem, 5vw, 3.6rem); font-weight: 900; margin: 1rem 0 1.5rem; letter-spacing: -.05em; }
.qr-code { width: min(290px, 100%); aspect-ratio: 1; object-fit: contain; padding: 14px; margin: 0 auto 20px; background: white; border-radius: 14px; }
.confirmation-box { margin-top: 26px; padding-top: 24px; border-top: 1px solid var(--line); }
.confirmation-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.empty-state { padding: 34px; margin-top: 30px; }

.site-footer { width: min(1180px, calc(100% - 32px)); margin: 0 auto; padding: 34px 0 44px; border-top: 1px solid var(--line-soft); display: flex; justify-content: space-between; align-items: center; gap: 24px; color: var(--muted); }
.site-footer strong { color: var(--text); }
.site-footer p { margin: .3rem 0; }
.site-footer img { width: 112px; height: auto; opacity: .84; }

.lightbox[hidden] { display: none; }
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 90;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    grid-template-rows: minmax(0, 1fr);
    align-items: center;
    gap: 12px;
    padding: 58px max(12px, env(safe-area-inset-right)) max(14px, env(safe-area-inset-bottom)) max(12px, env(safe-area-inset-left));
    background: rgba(2,3,4,.96);
    backdrop-filter: blur(10px);
    overscroll-behavior: contain;
    touch-action: pan-y pinch-zoom;
}
.lightbox-stage { width: 100%; height: 100%; min-width: 0; min-height: 0; display: grid; grid-template-rows: minmax(0, 1fr) auto auto; place-items: center; gap: 8px; }
.lightbox-image-frame { width: 100%; height: 100%; min-height: 0; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.lightbox img { display: block; width: auto; height: auto; max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 10px; user-select: none; -webkit-user-drag: none; }
.lightbox p { max-width: min(900px, 90vw); margin: 0; color: #d8dde4; text-align: center; }
.lightbox-counter { color: var(--muted); font-size: .82rem; }
.lightbox-close { position: fixed; top: max(12px, env(safe-area-inset-top)); right: max(12px, env(safe-area-inset-right)); z-index: 2; width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 50%; background: #20252c; color: white; font-size: 1.7rem; line-height: 1; cursor: pointer; }
.lightbox-nav { width: 44px; height: 54px; padding: 0; border: 1px solid var(--line); border-radius: 12px; background: rgba(32,37,44,.9); color: white; font-size: 1.7rem; cursor: pointer; }
.lightbox-nav:hover, .lightbox-nav:focus-visible, .lightbox-close:hover, .lightbox-close:focus-visible { border-color: var(--accent); outline: none; }
.lightbox-nav[hidden] { display: none; }

@media (max-width: 880px) {
    .hero, .product-card, .checkout-layout { grid-template-columns: 1fr; }
    .order-summary { position: static; }
    .gallery { border-right: 0; border-bottom: 1px solid var(--line-soft); }
    .product-wide-content { grid-column: 1; }
    .hardware-base { grid-template-columns: 1fr; }
    .hardware-picture { order: -1; }
    .hardware-picture img { width: min(560px, 100%); margin: 0 auto; max-height: 560px; }
    .price-option { align-items: flex-start; }
}

@media (max-width: 620px) {
    .site-header { min-height: 220px; gap: 10px; }
    .brand { width: 118px; }
    .brand img { width: 150px; }
    .brand-copy > span:last-child { display: none; }
    .brand-copy .eyebrow { font-size: .72rem; }
    .page-shell { width: min(100% - 20px, 1180px); margin-top: 18px; }
    .hero { padding: 24px 18px; }
    .hero h1 { font-size: 2.55rem; }
    .intro-brand { justify-content: space-between; }
    .intro-brand img { width: 76px; }
    .hardware-title img { width: min(220px, 85%); }
    .product-content { padding: 24px 18px; }
    .product-wide-content { padding: 0 14px 18px; }
    .zoom-hint { font-size: .7rem; }
    .gamelist summary { padding: 15px 16px; }
    .gamelist > ul { columns: 1; padding: 18px 18px 20px 38px; }
    .price-option, .price-action { display: grid; width: 100%; justify-items: stretch; }
    .price-option { grid-template-columns: 1fr; }
    .price-action { text-align: left; }
    .form-grid, .address-grid, .state-grid { grid-template-columns: 1fr; gap: 0; }
    .payment-choice { grid-template-columns: auto 1fr; }
    .payment-choice > b { grid-column: 2; }
    .confirmation-actions { display: grid; }
    .site-footer { width: calc(100% - 24px); }
    .site-footer img { width: 86px; }
    .lightbox { grid-template-columns: 1fr; padding: 58px 10px max(12px, env(safe-area-inset-bottom)); }
    .lightbox-stage { grid-column: 1; grid-row: 1; }
    .lightbox-nav { position: fixed; top: 50%; z-index: 2; width: 40px; height: 54px; transform: translateY(-50%); background: rgba(20,24,29,.82); }
    .lightbox-prev { left: 8px; }
    .lightbox-next { right: 8px; }
    .lightbox p { max-width: calc(100vw - 28px); font-size: .9rem; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
