:root {
  --bg: #0c0f0d; --bg2: #121714; --card: #171d19; --line: #26302a; --text: #eef3ef; --mute: #9aa8a0;
  --green: #06c167; --green2: #05a458; --amber: #ffb020; --red: #ff5a52; --radius: 18px;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.6 "Poppins", system-ui, sans-serif; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: var(--green); text-decoration: none; }
a:hover { text-decoration: underline; }
.wrap { width: min(1160px, 100% - 32px); margin: 0 auto; }
h1, h2, h3 { line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.2rem, 5.5vw, 4rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.5rem); font-weight: 750; }
h3 { font-size: 1.15rem; font-weight: 650; }
p { margin: 0 0 1em; }
.mute { color: var(--mute); }
.small { font-size: .875rem; }

/* nav */
.nav { position: sticky; top: 0; z-index: 20; background: rgba(12, 15, 13, .82); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.nav .wrap { display: flex; align-items: center; gap: 20px; height: 66px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); font-weight: 750; font-size: 1.1rem; }
.brand:hover { text-decoration: none; }
.brand img { width: 34px; height: 34px; border-radius: 9px; }
.nav .links { display: flex; gap: 22px; margin-left: auto; }
.nav .links a { color: var(--mute); font-size: .95rem; }
.nav .links a:hover { color: var(--text); text-decoration: none; }
.nav .auth { display: flex; gap: 10px; }
@media (max-width: 760px) { .nav .links { display: none; } .nav .auth { margin-left: auto; } }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; border-radius: 999px; padding: 12px 22px; font: 600 .95rem/1 inherit; font-family: inherit; cursor: pointer; transition: transform .12s, background .15s, opacity .15s; color: #04130b; background: var(--green); }
.btn:hover { background: #18d27a; text-decoration: none; }
.btn:active { transform: translateY(1px); }
.btn.ghost { background: transparent; color: var(--text); box-shadow: inset 0 0 0 1px var(--line); }
.btn.ghost:hover { background: #1b221e; }
.btn.amber { background: var(--amber); color: #201400; }
.btn.danger { background: transparent; color: var(--red); box-shadow: inset 0 0 0 1px #5a2522; }
.btn.big { padding: 16px 28px; font-size: 1.05rem; }
.btn.sm { padding: 9px 16px; font-size: .88rem; }
.btn[disabled] { opacity: .45; cursor: not-allowed; }

/* hero */
.hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--line); }
.hero .bg { position: absolute; inset: 0; background: url(img/hero.jpg) center/cover; opacity: .38; filter: saturate(1.1); }
.hero .bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(12,15,13,.2) 0%, rgba(12,15,13,.55) 55%, var(--bg) 100%), linear-gradient(90deg, rgba(12,15,13,.85), rgba(12,15,13,0) 70%); }
.hero .wrap { position: relative; padding: clamp(70px, 12vw, 150px) 0 clamp(60px, 9vw, 110px); }
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px; font-size: .82rem; font-weight: 600; background: rgba(255, 176, 32, .14); color: var(--amber); box-shadow: inset 0 0 0 1px rgba(255,176,32,.35); margin-bottom: 18px; }
.pill .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--amber); animation: pulse 1.6s infinite; }
@keyframes pulse { 50% { opacity: .3; } }
.hero h1 span { color: var(--green); }
.hero .lead { font-size: clamp(1.05rem, 2vw, 1.25rem); color: #d3ddd6; max-width: 620px; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.facts { display: flex; flex-wrap: wrap; gap: 26px; margin-top: 34px; color: var(--mute); font-size: .9rem; }
.facts b { display: block; color: var(--text); font-size: 1.15rem; }

section { padding: clamp(60px, 9vw, 100px) 0; }
.head { max-width: 720px; margin-bottom: 36px; }

/* features */
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 900px) { .grid3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .grid3 { grid-template-columns: 1fr; } }
.feat { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.feat img { aspect-ratio: 16/10; object-fit: cover; width: 100%; }
.feat .t { padding: 18px 20px 20px; }
.feat p { color: var(--mute); margin: 0; font-size: .94rem; }

/* gallery */
.gallery { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-auto-rows: 200px; gap: 12px; }
.gallery img { width: 100%; height: 100%; object-fit: cover; border-radius: 14px; cursor: zoom-in; border: 1px solid var(--line); }
.gallery img:first-child { grid-row: span 2; }
@media (max-width: 700px) { .gallery { grid-template-columns: 1fr 1fr; grid-auto-rows: 140px; } .gallery img:first-child { grid-column: span 2; grid-row: span 1; } }
.lightbox { position: fixed; inset: 0; background: rgba(0,0,0,.9); display: none; align-items: center; justify-content: center; z-index: 50; padding: 16px; cursor: zoom-out; }
.lightbox.on { display: flex; }
.lightbox img { max-height: 92vh; border-radius: 12px; }

/* buy */
.buy { display: grid; grid-template-columns: 1.05fr .95fr; gap: 22px; align-items: stretch; }
@media (max-width: 860px) { .buy { grid-template-columns: 1fr; } }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(22px, 3vw, 32px); }
.price-card { position: relative; background: radial-gradient(120% 90% at 100% 0%, rgba(6,193,103,.18), transparent 60%), var(--card); border-color: #1f4a33; }
.price { font-size: 3.2rem; font-weight: 800; letter-spacing: -.02em; line-height: 1; margin: 10px 0 4px; }
.price small { font-size: 1.1rem; font-weight: 600; color: var(--mute); }
.tag { display: inline-block; font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--green); }
.ticks { list-style: none; padding: 0; margin: 18px 0 24px; }
.ticks li { padding-left: 28px; position: relative; margin: 8px 0; color: #d3ddd6; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .45em; width: 16px; height: 9px; border-left: 2.5px solid var(--green); border-bottom: 2.5px solid var(--green); transform: rotate(-45deg); }
.pay-logos { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.pay-logos span { font-size: .78rem; font-weight: 700; padding: 6px 10px; border-radius: 8px; background: #0f1411; border: 1px solid var(--line); color: #cfd8d2; }
.wish-card { border-color: #4a3a12; background: radial-gradient(120% 90% at 100% 0%, rgba(255,176,32,.13), transparent 60%), var(--card); }
.wish-form { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 14px; }
.wish-form input { flex: 1 1 220px; }

/* forms */
label { display: block; font-size: .88rem; font-weight: 600; margin: 14px 0 6px; }
input[type=email], input[type=password], input[type=text] { width: 100%; padding: 13px 15px; border-radius: 12px; border: 1px solid var(--line); background: #0e1310; color: var(--text); font: inherit; outline: none; transition: border-color .15s, box-shadow .15s; }
input:focus { border-color: var(--green); box-shadow: 0 0 0 3px rgba(6,193,103,.2); }
.check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; font-size: .88rem; color: #cfd8d2; margin: 12px 0; cursor: pointer; }
.check input { margin-top: 4px; accent-color: var(--green); width: 17px; height: 17px; flex: none; }
.msg { margin-top: 14px; padding: 12px 14px; border-radius: 12px; font-size: .92rem; display: none; }
.msg.on { display: block; }
.msg.err { background: rgba(255,90,82,.1); color: #ffb3ae; box-shadow: inset 0 0 0 1px rgba(255,90,82,.3); }
.msg.ok { background: rgba(6,193,103,.1); color: #9cf0c4; box-shadow: inset 0 0 0 1px rgba(6,193,103,.3); }

/* faq */
details { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 4px 20px; margin: 10px 0; }
summary { cursor: pointer; padding: 14px 0; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
summary::after { content: "+"; color: var(--green); font-size: 1.3rem; line-height: 1; }
details[open] summary::after { content: "–"; }
details p { color: var(--mute); }

footer { border-top: 1px solid var(--line); padding: 34px 0 44px; color: var(--mute); font-size: .88rem; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 18px 30px; justify-content: space-between; align-items: center; }
footer nav { display: flex; gap: 20px; flex-wrap: wrap; }
footer a { color: var(--mute); }

/* account page */
.acct { padding: 50px 0 80px; }
.auth-box { max-width: 460px; margin: 0 auto; }
.tabs { display: flex; background: #0e1310; border: 1px solid var(--line); border-radius: 999px; padding: 4px; margin-bottom: 22px; }
.tabs button { flex: 1; border: 0; background: transparent; color: var(--mute); font: 600 .95rem inherit; font-family: inherit; padding: 11px; border-radius: 999px; cursor: pointer; }
.tabs button.on { background: var(--green); color: #04130b; }
.dash { display: grid; grid-template-columns: 1.2fr .8fr; gap: 22px; }
@media (max-width: 900px) { .dash { grid-template-columns: 1fr; } }
.dash h2 { font-size: 1.6rem; }
.status { display: inline-flex; align-items: center; gap: 8px; font-size: .85rem; font-weight: 600; padding: 6px 12px; border-radius: 999px; }
.status.ok { background: rgba(6,193,103,.14); color: var(--green); }
.status.no { background: rgba(255,176,32,.12); color: var(--amber); }
.paybox { margin-top: 18px; }
.method { border: 1px solid var(--line); border-radius: 14px; padding: 14px; margin: 10px 0; background: #0f1411; }
.method .row { display: flex; align-items: center; gap: 10px; cursor: pointer; font-weight: 600; }
.method .row input { accent-color: var(--green); }
.method .body { margin-top: 12px; display: none; }
.method.on { border-color: #1f4a33; }
.method.on .body { display: block; }
.sep { border: 0; border-top: 1px solid var(--line); margin: 26px 0; }
.kv { display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; font-size: .92rem; }
.kv dt { color: var(--mute); }
.kv dd { margin: 0; }
.notice { background: rgba(255,176,32,.08); border: 1px solid rgba(255,176,32,.3); border-radius: 14px; padding: 14px 16px; color: #ffd98a; font-size: .9rem; margin: 14px 0; }
.legal { max-width: 820px; padding: 50px 0 80px; }
.legal h2 { font-size: 1.3rem; margin-top: 1.8em; }
.legal li { margin: 6px 0; }
.fill { background: rgba(255,176,32,.16); color: var(--amber); padding: 0 4px; border-radius: 4px; }
.spinner { width: 18px; height: 18px; border: 2.5px solid rgba(255,255,255,.25); border-top-color: currentColor; border-radius: 50%; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.brand { white-space: nowrap; }
.nav .auth .btn { white-space: nowrap; }
@media (max-width: 520px) { .nav .auth .btn:not(:first-child) { display: none; } .nav .wrap { gap: 10px; } .brand { font-size: 1rem; } .brand img { width: 30px; height: 30px; } }
