:root{color-scheme:dark;--gold:#ffce73;--ink:#f6f1e5;--muted:#d0daee;--panel:#14244a;--line:#3c5890}
*{box-sizing:border-box}
[hidden]{display:none!important}
body{margin:0;background:radial-gradient(ellipse at top right,#233a76,#090f27 58%);color:var(--ink);font:16px/1.55 system-ui,sans-serif}
main{max-width:1120px;margin:auto;padding:20px clamp(14px,4vw,36px) 56px}
header{display:flex;justify-content:space-between;gap:12px;align-items:center;padding:4px 0 22px}
a{color:var(--gold)}
header a:first-child{font-weight:800;text-decoration:none}
.hero{display:grid;grid-template-columns:1fr 1.18fr;align-items:center;gap:22px;background:#112249;border:1px solid var(--line);border-radius:22px;padding:clamp(18px,4vw,38px);overflow:hidden}
.hero img{width:100%;height:auto;border-radius:15px}
h1{font-size:clamp(32px,5vw,64px);line-height:1.05;margin:12px 0}
h2{font-size:22px;margin:0 0 6px;color:var(--gold)}
p{color:var(--muted);margin:10px 0 16px}
.label{color:var(--gold);font-weight:800}
.price{display:flex;align-items:center;gap:18px;margin-bottom:0}
.price del{color:#c5d2ed;font-size:24px}
.price strong{color:var(--gold);font-size:clamp(38px,6vw,62px)}
button,.button{display:inline-block;padding:11px 16px;border-radius:10px;background:#ffcc6d;color:#231803;border:1px solid #efae38;font:inherit;font-weight:750;cursor:pointer;text-decoration:none;margin:4px 6px 4px 0}
button:disabled{opacity:.55;cursor:wait}
:focus-visible{outline:3px solid #91dcff;outline-offset:3px}
.features{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin:18px 0}
.features article,#purchase{background:var(--panel);border:1px solid var(--line);border-radius:16px;padding:20px}
#purchase{scroll-margin-top:12px;max-width:700px;margin:20px auto 0}
input:not([type=checkbox]){display:block;width:min(100%,440px);margin:6px 0 10px;padding:11px;border:1px solid #6680ad;border-radius:8px;background:#0d1935;color:white;font:inherit}
.consent{display:flex;align-items:baseline;gap:8px;margin-bottom:8px}
#timer{color:#ff838a;font-weight:800}
#status{min-height:1.55em}
#captchaImage{display:block;margin:10px 0;max-width:100%}
@media(max-width:720px){.hero,.features{grid-template-columns:1fr}.hero img{grid-row:1}}

.features article{padding:0 0 14px;overflow:hidden}
.features img{display:block;width:100%;aspect-ratio:16/9;object-fit:cover}
.features h2,.features p{margin:12px 15px 0}
.bundle-details{margin:0 auto 18px;color:var(--muted);max-width:700px}
.bundle-details summary{color:var(--gold);cursor:pointer}

.market-video { margin: 24px 0; }
.market-video video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; border-radius: 16px; background: #0b1225; }

.market-video-toggle:not([hidden]) { display: block; margin: 12px auto 0; min-height: 44px; }

.market-video-surface { position: relative; }
.market-video-surface:has(+ .market-video-toggle:not([hidden])) video { pointer-events: none; }
.market-video-surface:has(+ .market-video-toggle:not([hidden]))::after {
  content: "";
  position: absolute;
  inset: 0;
}

.market-video video.market-video-source { display: none; }
.market-video-frame:not([hidden]) {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 16px;
  background: #0b1225 url("fox.webp") center / cover;
}

#payment-success { margin-top: 16px; padding: 16px; border: 1px solid #69cfa6; border-radius: 14px; }
#payment-success strong { color: #90e8bb; }
#payment-success img { display: block; width: min(100%, 300px); height: auto; }

.install-help { margin: 12px 0 18px; border: 1px solid var(--line); border-radius: 12px; background: #0d1935; }
.install-help summary { padding: 10px 14px; min-height: 44px; color: var(--gold); font-weight: 750; cursor: pointer; }
.install-help ol { margin: 0; padding: 0 16px 14px 36px; }
.install-help li { padding-top: 10px; }
.install-help li::marker { color: var(--gold); font-weight: 750; }
.install-help h3 { font-size: 1rem; margin: 0; }
.install-help p { margin: 6px 0 10px; overflow-wrap: anywhere; }

.hero-carousel { min-width: 0; }
.hero-carousel-slides { aspect-ratio: 16 / 9; border-radius: 15px; overflow: hidden; background: #0b1225; }
.hero-carousel-slides img { display: block; width: 100%; height: 100%; object-fit: contain; }
@media (max-width: 720px) { .hero-carousel { grid-row: 1; } }

body {
    background: #060e21 url('/downloads/new-year-game-background.webp') center / cover no-repeat fixed;
}
@media (max-width: 720px) {
    body {
        background-size: auto max(100svh, 520px);
        background-position: center top;
        background-attachment: scroll;
    }
}

header { align-items: center; }
.market-header-logo { display: inline-flex; flex: 0 0 auto; border-radius: 14px; }
.market-header-logo img { display: block; width: clamp(64px, 8vw, 88px); height: auto; border-radius: inherit; box-shadow: 0 0 0 1px #4c689c, 0 6px 24px #020a1b9c; }


.itpti-fox-logo{position:relative;isolation:isolate;overflow:visible}
.itpti-fox-logo>img{position:relative;z-index:1}
.itpti-fox-stage{position:absolute;z-index:0;pointer-events:none;width:clamp(74px,11vw,94px);height:auto;left:50%;bottom:0;transform:translate(-50%,0);max-width:none}
@media(prefers-reduced-motion:no-preference){header.top:has(.itpti-fox-logo){padding-top:44px}header:has(>.brand.itpti-fox-logo){padding-top:24px}}
@media(prefers-reduced-motion:reduce){.itpti-fox-stage{display:none}}
