@font-face { font-family: "Bartle"; src: url("/assets/fonts/BBHBartle-Regular.ttf") format("truetype"); font-display: swap; }
@font-face { font-family: "Michroma"; src: url("/assets/fonts/Michroma-Regular.ttf") format("truetype"); font-display: swap; }

:root {
  --bg: #0d0203;
  --bg-2: #170405;
  --red: #a3070f;
  --red-deep: #5c0207;
  --red-glow: #e01b24;
  --ink: #f6f1f1;
  --muted: #c9b5b6;
  --line: rgba(255, 255, 255, 0.14);
  --card: rgba(20, 3, 5, 0.78);
  --radius: 18px;
  --display: "Bartle", "Arial Black", Impact, sans-serif;
  --tech: "Michroma", "Eurostile", "Segoe UI", sans-serif;
  --head: "Helvetica Neue", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  --body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: radial-gradient(120% 80% at 20% 0%, var(--red-deep) 0%, var(--bg) 55%) fixed, var(--bg);
  color: var(--ink);
  font: 16px/1.6 var(--body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
b { font-weight: 700; }

/* language switch: elements carry class .lt or .en */
html[data-lang="lt"] .en, html[data-lang="en"] .lt { display: none !important; }

/* film grain */
.grain {
  position: fixed; inset: -50%; z-index: 50; pointer-events: none; opacity: 0.07;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  animation: grain 1.2s steps(6) infinite;
}
@keyframes grain { 0%{transform:translate(0,0)} 25%{transform:translate(-3%,2%)} 50%{transform:translate(2%,-3%)} 75%{transform:translate(-2%,-2%)} 100%{transform:translate(0,0)} }
@media (prefers-reduced-motion: reduce) { .grain { animation: none; } html { scroll-behavior: auto; } }

/* top bar */
.topbar {
  position: absolute; top: 0; left: 0; right: 0; z-index: 10;
  display: flex; justify-content: space-between; align-items: center;
  padding: 18px clamp(18px, 4vw, 48px);
}
.brand img { width: 150px; height: auto; }
.lang-toggle {
  font: 12px/1 var(--tech); letter-spacing: 0.12em; color: var(--ink);
  background: rgba(0,0,0,0.35); border: 1px solid var(--line); border-radius: 999px;
  padding: 9px 14px; cursor: pointer;
}
.lang-toggle:hover { border-color: var(--ink); }

/* hero */
.hero {
  position: relative; min-height: 100svh;
  display: grid; grid-template-columns: 1fr; align-items: end; gap: 28px;
  padding: 96px clamp(18px, 4vw, 48px) 40px;
  isolation: isolate;
}
.hero-photo {
  position: absolute; inset: 0; z-index: -1;
  background: url("/assets/img/hero.jpg") center 20% / cover no-repeat;
  filter: saturate(1.1) contrast(1.05);
}
.hero-photo::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(13,2,3,0.15) 0%, rgba(13,2,3,0.35) 45%, var(--bg) 100%),
    radial-gradient(60% 50% at 50% 30%, transparent 0%, rgba(13,2,3,0.45) 100%);
}
.eyebrow {
  font: 11px/1.4 var(--tech); letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--muted); margin: 0 0 10px;
}
.title {
  font-family: var(--display); font-weight: 400; text-transform: uppercase;
  font-size: calc((100vw - 40px) / 11.5); line-height: 0.95; letter-spacing: 0.01em;
  margin: 0;
  text-shadow: 0 0 40px rgba(224, 27, 36, 0.35);
}
.title-blur { position: relative; display: inline-block; }
.headliner {
  font-family: var(--tech); text-transform: uppercase; letter-spacing: 0.06em;
  font-size: calc((100vw - 40px) / 17); line-height: 1.1; margin: 18px 0 0;
  color: var(--ink);
}
.headliner span { color: var(--red-glow); }
.meta { font: 12px/1.6 var(--tech); letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink); margin: 16px 0 0; }
.hook { font-size: clamp(18px, 2.2vw, 22px); margin: 18px 0 0; color: var(--ink); max-width: 30ch; }

/* card + form */
.card {
  background: var(--card); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px clamp(20px, 3vw, 32px); width: 100%; max-width: 460px;
  box-shadow: 0 30px 80px rgba(0,0,0,0.5), 0 0 0 1px rgba(224,27,36,0.08) inset;
  scroll-margin-top: 20px;
}
.card-title { font-family: var(--head); font-weight: 700; font-size: 26px; line-height: 1.15; letter-spacing: -0.01em; margin: 0 0 14px; }
.perks { list-style: none; padding: 0; margin: 0 0 20px; display: grid; gap: 8px; }
.perks li { position: relative; padding-left: 26px; color: var(--muted); font-size: 15px; }
.perks li b { color: var(--ink); }
.perks li::before { content: "♥"; position: absolute; left: 0; top: 0; color: var(--red-glow); }
.field { display: block; margin-bottom: 14px; }
.label { display: block; font: 10px/1.4 var(--tech); letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); margin-bottom: 7px; }
input[type="text"], input[type="email"] {
  width: 100%; font: 16px/1.3 var(--body); color: var(--ink);
  background: rgba(255,255,255,0.05); border: 1px solid var(--line); border-radius: 12px;
  padding: 14px 15px; outline: none; transition: border-color .15s, background .15s;
}
input::placeholder { color: rgba(246,241,241,0.38); }
input:focus { border-color: var(--red-glow); background: rgba(255,255,255,0.08); }
input[aria-invalid="true"] { border-color: #ff5a63; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: 13.5px; line-height: 1.5; color: var(--muted); margin: 6px 0 18px; cursor: pointer; }
.consent input { appearance: none; -webkit-appearance: none; flex: 0 0 22px; width: 22px; height: 22px; margin: 1px 0 0; border: 1px solid rgba(255,255,255,0.35); border-radius: 6px; background: rgba(255,255,255,0.04); display: grid; place-content: center; cursor: pointer; }
.consent input:checked { background: var(--red); border-color: var(--red-glow); }
.consent input:checked::after { content: "✓"; color: #fff; font-size: 14px; line-height: 1; }
.consent input:focus-visible { outline: 2px solid var(--red-glow); outline-offset: 2px; }

.cta {
  display: inline-flex; justify-content: center; align-items: center; width: 100%;
  font: 700 16px/1 var(--head); letter-spacing: 0.01em; text-decoration: none;
  color: #fff; background: linear-gradient(180deg, var(--red-glow), var(--red));
  border: 0; border-radius: 12px; padding: 18px 20px; cursor: pointer;
  box-shadow: 0 10px 30px rgba(224,27,36,0.35);
  transition: transform .12s ease, box-shadow .12s ease, filter .12s;
}
.cta:hover { transform: translateY(-1px); box-shadow: 0 14px 36px rgba(224,27,36,0.5); }
.cta:active { transform: translateY(0); }
.cta[disabled] { filter: grayscale(0.4) brightness(0.8); cursor: wait; }
.cta-ghost { background: transparent; border: 1px solid var(--ink); box-shadow: none; margin: 6px 0 10px; }
.fine { font-size: 12px; line-height: 1.5; color: rgba(246,241,241,0.55); margin: 14px 0 0; }
.fine a { color: var(--ink); }
.center { text-align: center; }
.error { display: block; color: #ff8a90; font-size: 13px; margin-top: 6px; min-height: 0; }
.form-error:empty, .error:empty { display: none; }
.success { text-align: left; }
.success-heart { font-size: 40px; margin: 0 0 6px; }
.success p { color: var(--muted); }

/* sections */
section { padding: clamp(48px, 8vw, 96px) clamp(18px, 4vw, 48px); }
.section-title { font-family: var(--head); font-weight: 700; font-size: clamp(32px, 5vw, 56px); line-height: 1.05; letter-spacing: -0.02em; margin: 0 0 20px; }
.section-title .accent { color: var(--red-glow); }

.countdown-wrap { text-align: center; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: linear-gradient(180deg, rgba(163,7,15,0.18), transparent); }
.countdown { display: flex; justify-content: center; gap: clamp(10px, 3vw, 28px); margin: 10px 0 4px; }
.countdown div { min-width: 70px; display: grid; gap: 4px; }
.countdown b { font: 300 clamp(40px, 8vw, 80px)/1 var(--head); letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.countdown span { font: 10px/1 var(--tech); letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); }

.story { max-width: 1100px; margin: 0 auto; display: grid; gap: clamp(36px, 6vw, 64px); }
.story-lead p { font-size: clamp(21px, 2.8vw, 30px); line-height: 1.45; margin: 0 0 14px; max-width: 34ch; font-weight: 300; }
.artist p { color: var(--muted); font-size: 18px; line-height: 1.7; max-width: 60ch; }
.artist p:first-of-type { color: var(--ink); }
.creds { list-style: none; padding: 0; margin: 26px 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.creds li { background: var(--bg-2); padding: 18px; display: grid; gap: 6px; }
.creds b { font: 10px/1.3 var(--tech); letter-spacing: 0.2em; text-transform: uppercase; color: var(--red-glow); }
.creds span { font-size: 16px; color: var(--ink); }
.manifesto { font-size: clamp(19px, 2.6vw, 26px) !important; color: var(--ink) !important; line-height: 1.4; border-left: 3px solid var(--red-glow); padding-left: 18px; }
.secret { text-align: center; padding: clamp(36px, 6vw, 60px) 20px; border: 1px dashed rgba(224,27,36,0.5); border-radius: var(--radius); background: rgba(163,7,15,0.08); }
.secret-line { font-family: var(--head); font-weight: 500; font-size: clamp(20px, 3vw, 30px); line-height: 1.3; margin: 0 auto; max-width: 24ch; }

.tiers { max-width: 1100px; margin: 0 auto; }
.tier-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.tier { display: grid; grid-template-columns: 1fr auto; gap: 4px 16px; padding: 20px 22px; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(255,255,255,0.02); }
.tier-name { font: 11px/1.4 var(--tech); letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); }
.tier-price { grid-row: span 2; align-self: center; font: 300 clamp(32px, 5vw, 46px)/1 var(--head); letter-spacing: -0.02em; }
.tier-when { font-size: 14px; color: var(--muted); }
.tier-on { border-color: var(--red-glow); background: linear-gradient(90deg, rgba(163,7,15,0.35), rgba(163,7,15,0.05)); }
.tier-on .tier-name { color: var(--ink); }

.info { max-width: 1100px; margin: 0 auto; display: grid; gap: 28px; }
.info p { margin: 0 0 4px; color: var(--muted); }
.info-big { font-family: var(--head); font-weight: 700; font-size: 22px; color: var(--ink) !important; }
.info b { color: var(--ink); }
.link { font: 12px/1 var(--tech); letter-spacing: 0.14em; text-transform: uppercase; color: var(--red-glow); text-decoration: none; display: inline-block; margin-top: 8px; }

.closing { text-align: center; max-width: 760px; margin: 0 auto; }
.closing p { font-size: clamp(20px, 3vw, 28px); line-height: 1.35; margin: 0 0 28px; }
.closing .cta { width: auto; min-width: 260px; }

.footer { border-top: 1px solid var(--line); padding: 28px clamp(18px, 4vw, 48px) 40px; text-align: center; font-size: 12px; color: rgba(246,241,241,0.5); }
.footer p { margin: 4px 0; }
.linklike { background: none; border: 0; color: inherit; font: inherit; text-decoration: underline; cursor: pointer; padding: 0; }

/* cookie banner */
.cookie {
  position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 60;
  max-width: 560px; margin: 0 auto; padding: 16px 18px;
  background: #1a0507; border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 20px 60px rgba(0,0,0,0.6);
  display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; font-size: 13.5px;
}
.cookie p { margin: 0; flex: 1 1 260px; color: var(--muted); }
.cookie-actions { display: flex; gap: 10px; }
.btn-cookie { font: 12px/1 var(--tech); letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink); background: transparent; border: 1px solid var(--ink); border-radius: 10px; padding: 12px 16px; cursor: pointer; }
.btn-cookie:hover { background: rgba(255,255,255,0.08); }

/* desktop */
@media (min-width: 900px) {
  .hero { grid-template-columns: 1.15fr 0.85fr; align-items: center; gap: 48px; padding-top: 110px; }
  .hero-photo { right: 28%; background-position: 50% 15%; -webkit-mask-image: linear-gradient(90deg, #000 45%, transparent 100%); mask-image: linear-gradient(90deg, #000 45%, transparent 100%); }
  .hero-photo::after { background: linear-gradient(90deg, rgba(13,2,3,0.05) 0%, rgba(13,2,3,0.3) 55%, var(--bg) 100%), linear-gradient(180deg, transparent 70%, var(--bg) 100%); }
  .hero .card { justify-self: end; }
  .title { font-size: min(5vw, 88px); }
  .headliner { font-size: min(2.4vw, 38px); }
  .creds { grid-template-columns: repeat(4, 1fr); }
  .tier-list { grid-template-columns: repeat(3, 1fr); }
  .tier { grid-template-columns: 1fr; }
  .tier-price { grid-row: auto; margin: 6px 0; }
  .info { grid-template-columns: repeat(3, 1fr); }
}
