@font-face { font-family: "Spray"; src: url("/fonts/RubikSprayPaint-Regular.ttf") format("truetype"); font-display: swap; }
@font-face { font-family: "Heebo"; src: url("/fonts/Heebo-ExtraBold.ttf") format("truetype"); font-weight: 800; font-display: swap; }
@font-face { font-family: "Heebo"; src: url("/fonts/Heebo-Black.ttf") format("truetype"); font-weight: 900; font-display: swap; }
@font-face { font-family: "RoadRage"; src: url("/fonts/RoadRage-Regular.ttf") format("truetype"); font-display: swap; }

:root {
  --bg: #0b0b0d; --panel: #15151a; --panel2: #1d1d24; --line: #2c2c35; --text: #f2f2f2; --dim: #a9a9b3;
  --gold: #ffd100; --gold2: #ff9f00; --red: #e4322b; --green: #2fbf5b; --radius: 16px;
}
* { box-sizing: border-box; }
html, body { margin: 0; background: var(--bg); color: var(--text); font-family: "Heebo", "Segoe UI", Arial, sans-serif; font-weight: 800; line-height: 1.55; }
a { color: var(--gold); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; display: block; }
.wrap { width: min(1120px, 100% - 32px); margin-inline: auto; }

/* header */
.top { position: sticky; top: 0; z-index: 10; background: rgba(11, 11, 13, .86); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); font-family: "Spray", "Heebo"; font-size: 24px; letter-spacing: .02em; }
.brand img { width: 40px; height: 40px; border-radius: 10px; }
.brand:hover { text-decoration: none; }
.nav { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 10px 20px; border-radius: 999px; border: 2px solid var(--gold); background: transparent; color: var(--gold); font: inherit; font-size: 16px; cursor: pointer; transition: transform .12s, background .12s, color .12s; text-align: center; }
.btn:hover { text-decoration: none; transform: translateY(-1px); background: rgba(255, 209, 0, .1); }
.btn:disabled { opacity: .5; cursor: default; transform: none; }
.btn.primary { background: linear-gradient(180deg, var(--gold), var(--gold2)); color: #1a1300; border-color: transparent; box-shadow: 0 6px 24px rgba(255, 170, 0, .25); }
.btn.primary:hover { background: linear-gradient(180deg, #ffe14d, var(--gold)); }
.btn.big { min-height: 56px; padding: 14px 30px; font-size: 20px; }
.btn.small { min-height: 34px; padding: 4px 12px; font-size: 14px; }
.btn.danger { border-color: var(--red); color: #ff8a84; }
.btn.ok { border-color: var(--green); color: #7be39b; }

/* hero */
.hero { position: relative; min-height: 78vh; display: grid; align-items: end; overflow: hidden; border-bottom: 1px solid var(--line); }
.hero::before { content: ""; position: absolute; inset: 0; background: url("/img/hero.jpg") center / cover no-repeat; transform: scale(1.03); }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, var(--bg) 4%, rgba(11, 11, 13, .72) 42%, rgba(11, 11, 13, .25) 100%); }
.hero .wrap { position: relative; z-index: 1; padding: 64px 0 56px; }
.hero h1 { margin: 0; font-family: "Spray", "Heebo"; font-weight: 400; font-size: clamp(48px, 9vw, 104px); line-height: 1; color: #fff; text-shadow: 0 4px 0 #000, 0 0 40px rgba(255, 209, 0, .25); }
.hero h1 span { color: var(--gold); }
.hero .tag { font-size: clamp(18px, 2.6vw, 26px); margin: 16px 0 26px; max-width: 760px; color: #fff; }
.hero .cta { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.price { display: inline-flex; align-items: baseline; gap: 8px; padding: 8px 16px; border-radius: 12px; background: rgba(0, 0, 0, .55); border: 1px solid var(--line); }
.price b { font-family: "RoadRage", "Heebo"; font-weight: 400; font-size: 34px; color: var(--gold); line-height: 1; }
.price small { color: var(--dim); }

/* sections */
section.block { padding: 64px 0; border-bottom: 1px solid var(--line); }
h2 { font-family: "Spray", "Heebo"; font-weight: 400; font-size: clamp(30px, 4.6vw, 46px); margin: 0 0 18px; color: #fff; }
.lead { color: var(--dim); font-size: 18px; margin: 0 0 28px; max-width: 760px; }
.grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.card { background: linear-gradient(180deg, var(--panel2), var(--panel)); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.card h3 { margin: 0 0 6px; font-size: 21px; color: var(--gold); }
.card p { margin: 0; color: var(--dim); font-size: 16px; }
.shots { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.shots figure { margin: 0; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: var(--panel); }
.shots figcaption { padding: 10px 14px; color: var(--dim); font-size: 15px; }
.steps { counter-reset: s; display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.steps .card { position: relative; padding-top: 52px; }
.steps .card::before { counter-increment: s; content: counter(s); position: absolute; top: 14px; right: 18px; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--gold); color: #1a1300; font-weight: 900; }
details { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 14px 18px; margin-bottom: 10px; }
summary { cursor: pointer; color: #fff; font-size: 18px; }
details p { color: var(--dim); margin: 10px 0 0; }

/* forms / panels */
.page { min-height: calc(100vh - 64px - 120px); display: grid; place-items: start center; padding: 48px 0; }
.panel { width: min(520px, 100% - 32px); background: linear-gradient(180deg, var(--panel2), var(--panel)); border: 1px solid var(--line); border-radius: 20px; padding: 28px; box-shadow: 0 20px 60px rgba(0, 0, 0, .45); }
.panel.wide { width: min(980px, 100% - 32px); }
.panel h1 { font-family: "Spray", "Heebo"; font-weight: 400; font-size: 38px; margin: 0 0 8px; }
.panel .sub { color: var(--dim); margin: 0 0 22px; }
label { display: block; margin: 14px 0 6px; color: #ddd; font-size: 15px; }
input[type=email], input[type=text], input[type=password], input[type=tel], input[type=search] {
  width: 100%; min-height: 48px; padding: 10px 14px; border-radius: 12px; border: 1px solid var(--line); background: #0f0f13; color: var(--text); font: inherit; font-size: 17px; outline: none; }
input:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(255, 209, 0, .18); }
input[dir=ltr] { text-align: left; }
.check { display: flex; gap: 10px; align-items: flex-start; margin-top: 16px; color: var(--dim); font-size: 15px; }
.check input { width: 20px; height: 20px; margin-top: 3px; accent-color: var(--gold); }
.actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 22px; align-items: center; }
.msg { margin-top: 16px; padding: 12px 14px; border-radius: 12px; display: none; font-size: 15px; }
.msg.show { display: block; }
.msg.err { background: rgba(228, 50, 43, .14); border: 1px solid rgba(228, 50, 43, .5); color: #ffb3ae; }
.msg.ok { background: rgba(47, 191, 91, .14); border: 1px solid rgba(47, 191, 91, .5); color: #a8f0bf; }
.muted { color: var(--dim); font-size: 15px; }

/* account */
.status { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: 14px; border: 1px solid var(--line); background: #101015; margin-bottom: 18px; }
.status .dot { width: 14px; height: 14px; border-radius: 50%; background: var(--red); box-shadow: 0 0 12px var(--red); flex: none; }
.status.paid .dot { background: var(--green); box-shadow: 0 0 12px var(--green); }
.status.wait .dot { background: var(--gold); box-shadow: 0 0 12px var(--gold); }
.method { border: 1px solid var(--line); border-radius: 14px; padding: 18px; margin-top: 14px; background: #101015; }
.method h3 { margin: 0 0 8px; font-size: 19px; color: #fff; }
.bitbox { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; padding: 12px 14px; border-radius: 12px; background: #0b0b0e; border: 1px dashed var(--line); margin: 10px 0; }
.bitbox b { font-size: 22px; color: var(--gold); direction: ltr; }
#paypal-buttons { margin-top: 10px; min-height: 48px; }
.hidden { display: none !important; }

/* admin */
table { width: 100%; border-collapse: collapse; font-size: 14px; }
th, td { padding: 9px 8px; border-bottom: 1px solid var(--line); text-align: right; vertical-align: middle; }
th { color: var(--dim); font-weight: 800; }
td .btn { margin: 2px; }
.kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; margin-bottom: 18px; }
.kpi { background: #101015; border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; }
.kpi b { display: block; font-size: 28px; color: var(--gold); }
.tablewrap { overflow-x: auto; }

footer { padding: 34px 0 44px; color: var(--dim); font-size: 14px; }
footer .wrap { display: flex; gap: 18px; flex-wrap: wrap; justify-content: space-between; }
footer nav { display: flex; gap: 16px; flex-wrap: wrap; }
.legal { max-width: 780px; color: var(--dim); }
.legal h2 { font-size: 28px; margin-top: 30px; }

@media (max-width: 640px) {
  .top .wrap { height: 58px; }
  .brand span { display: none; }
  .btn { padding: 8px 14px; font-size: 15px; }
  .hero { min-height: 70vh; }
  .panel { padding: 22px; }
}
