:root {
  --choco-950: #0f0703;
  --choco-900: #140904;
  --choco-850: #1b0d06;
  --choco-800: #22110a;
  --choco-700: #3a1d0f;
  --choco-600: #5b2f17;
  --cream: #fff4e3;
  --cream-70: rgba(255, 244, 227, .72);
  --cream-50: rgba(255, 244, 227, .5);
  --line: rgba(255, 244, 227, .1);
  --card: linear-gradient(180deg, #2c160b, #201008);
  --orange: #ff8a00;
  --orange-hi: #ffc400;
  --green: #7ed321;
  --display: 'Lilita One', 'Poppins', sans-serif;
  --body: 'Poppins', system-ui, sans-serif;
  --radius: 24px;
  --shadow: 0 18px 40px rgba(0, 0, 0, .35);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--body); color: var(--cream); line-height: 1.5;
  background:
    radial-gradient(rgba(255, 244, 227, .035) 2px, transparent 2.5px) 0 0 / 36px 36px,
    var(--choco-900);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
[hidden] { display: none !important; }   /* keep inactive tricklist panels hidden despite display: grid */
a { color: inherit; }
.wrap { width: min(1120px, 100% - 32px); margin-inline: auto; }

/* ---------------- hero ---------------- */
.hero {
  position: relative; min-height: min(100svh, 980px); display: grid; place-items: center;
  padding: clamp(130px, 15vw, 170px) 0 clamp(120px, 12vw, 150px); overflow: hidden; isolation: isolate;
}
.hero-bg {
  position: absolute; inset: 0; z-index: -2;
  -webkit-mask-image: linear-gradient(180deg, #000 70%, transparent 100%);
          mask-image: linear-gradient(180deg, #000 70%, transparent 100%);
}
.hero-bg .photo {
  position: absolute; inset: 0;
  background: url(assets/ploiesti.webp) 66% 100% / cover no-repeat;
  filter: grayscale(1) contrast(1.25);
}
.hero-bg .tint {
  position: absolute; inset: 0; mix-blend-mode: multiply;
  background: linear-gradient(180deg, #f2a25a 0%, #c86f32 40%, #7a3a17 75%, #2a1006 100%);
}
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(55% 45% at 50% 48%, rgba(20, 9, 4, .6), transparent 75%),
    linear-gradient(180deg, rgba(20, 9, 4, .35), rgba(20, 9, 4, .12) 30%, rgba(20, 9, 4, .35) 60%, rgba(20, 9, 4, .92) 92%);
}
.drips { position: absolute; top: 0; left: 0; right: 0; z-index: 1; pointer-events: none; }
.drips svg { display: block; width: 100%; }

.ball {
  position: absolute; border-radius: 50%; z-index: 0;
  background: radial-gradient(circle at 32% 30%, #ffb3a8 0 8%, #ff4a3a 22%, #c4160c 70%, #7a0a04 100%);
  box-shadow: 0 18px 40px rgba(0, 0, 0, .45);
  animation: float 6s ease-in-out infinite;
}
.ball-lg { width: clamp(54px, 9vw, 120px); aspect-ratio: 1; right: 7%; top: 26%; }
.ball-md { width: clamp(30px, 4.5vw, 58px); aspect-ratio: 1; left: 8%; top: 42%; animation-delay: -2s; }
.ball-sm { width: clamp(16px, 2.4vw, 28px); aspect-ratio: 1; left: 17%; top: 25%; animation-delay: -4s; }
@keyframes float { 50% { transform: translateY(-14px); } }

.hero-inner { position: relative; z-index: 2; text-align: center; width: min(900px, 100% - 32px); }
.pill {
  display: inline-flex; align-items: center; gap: 12px; padding: 9px 22px; border-radius: 999px;
  background: #2e170c; border: 2px solid rgba(255, 244, 227, .18); box-shadow: 0 8px 24px rgba(0, 0, 0, .35);
  font-weight: 700; font-size: clamp(12px, 1.6vw, 16px); letter-spacing: .14em; text-transform: uppercase;
}
.pill i { width: 8px; height: 8px; border-radius: 50%; background: var(--orange); }

.title { width: min(820px, 100%); margin: 12px auto 8px; filter: drop-shadow(0 10px 18px rgba(0, 0, 0, .5)); }
.title svg { display: block; width: 100%; height: auto; overflow: visible; }
.title text { font-family: var(--display); text-anchor: middle; paint-order: stroke fill; stroke-linejoin: round; }

.hero-meta {
  display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 6px 14px;
  font-weight: 700; font-size: clamp(15px, 1.9vw, 19px); text-shadow: 0 2px 10px rgba(0, 0, 0, .7);
}
.hero-meta .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--orange-hi); }

.cta {
  display: inline-flex; align-items: center; justify-content: center; gap: 14px;
  font-family: var(--display); text-decoration: none; color: #1d0b03; letter-spacing: .02em;
  background: linear-gradient(180deg, #ffd84a, #ff8a00 60%, #ff6a00);
  border-radius: 999px; box-shadow: 0 8px 0 #8a2e00, 0 18px 40px rgba(255, 106, 0, .35);
  transition: transform .15s ease, box-shadow .15s ease;
}
.cta svg { width: 1em; height: 1em; transition: transform .15s ease; }
.cta:hover { transform: translateY(-3px); box-shadow: 0 11px 0 #8a2e00, 0 24px 50px rgba(255, 106, 0, .45); }
.cta:hover svg { transform: translateX(4px); }
.cta:active { transform: translateY(5px); box-shadow: 0 3px 0 #8a2e00, 0 10px 24px rgba(255, 106, 0, .3); }
.cta:focus-visible { outline: 4px solid var(--cream); outline-offset: 6px; }
.cta-xl { font-size: clamp(28px, 4.4vw, 44px); padding: .42em 1.2em .38em; margin-top: 26px; }
.hero .cta-xl { animation: pulse 2.4s ease-in-out infinite; }
@keyframes pulse { 50% { box-shadow: 0 8px 0 #8a2e00, 0 18px 60px rgba(255, 138, 0, .7); } }

.bonus {
  display: flex; align-items: center; justify-content: center; gap: 10px; width: fit-content; margin: 22px auto 0;
  padding: 9px 18px; border-radius: 14px;
  background: rgba(20, 9, 4, .6); border: 2px dashed rgba(126, 211, 33, .6); backdrop-filter: blur(6px);
  font-weight: 700; font-size: clamp(14px, 1.6vw, 16px); color: #d9ff7a;
}

.countdown { display: flex; justify-content: center; gap: clamp(8px, 1.6vw, 14px); margin-top: 26px; }
.countdown div {
  min-width: clamp(66px, 9vw, 86px); padding: 8px 6px 7px; border-radius: 16px;
  background: rgba(20, 9, 4, .7); border: 2px solid rgba(255, 196, 0, .22); backdrop-filter: blur(6px);
}
.countdown b { display: block; font-family: var(--display); font-weight: 400; font-size: clamp(26px, 3.6vw, 38px); line-height: 1.05; color: var(--orange-hi); font-variant-numeric: tabular-nums; }
.countdown span { font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--cream-50); }
.countdown.live { font-family: var(--display); font-size: clamp(24px, 4vw, 34px); color: var(--orange-hi); }

/* ---------------- sections ---------------- */
.section { padding: clamp(64px, 9vw, 110px) 0 0; }
.eyebrow {
  text-align: center; font-size: 13px; font-weight: 800; letter-spacing: .2em; text-transform: uppercase;
  color: var(--orange-hi); margin-bottom: 8px;
}
.h2 {
  font-family: var(--display); font-weight: 400; font-size: clamp(40px, 6vw, 60px); line-height: 1;
  text-align: center; margin-bottom: clamp(24px, 4vw, 36px); text-shadow: 0 4px 0 rgba(0, 0, 0, .35);
}

/* details: floats over the bottom edge of the hero */
#detalii { position: relative; z-index: 3; padding-top: 0; margin-top: clamp(-110px, -9vw, -80px); }
.info { display: grid; grid-template-columns: 1fr 1fr 1.25fr; gap: 14px; }
.info-card {
  display: flex; align-items: center; gap: 16px; padding: 20px 22px; border-radius: var(--radius); text-decoration: none;
  background: var(--card); border: 2px solid rgba(255, 196, 0, .2); box-shadow: var(--shadow);
}
.info-card.link { transition: border-color .15s ease, transform .15s ease; }
.info-card.link:hover { border-color: var(--orange-hi); transform: translateY(-2px); }
.info-card svg {
  flex: none; width: 52px; height: 52px; padding: 10px; border-radius: 16px; background: rgba(255, 196, 0, .12);
  fill: none; stroke: var(--orange-hi); stroke-width: 4; stroke-linecap: round; stroke-linejoin: round;
}
.info-card .k { display: block; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--cream-50); }
.info-card .v { display: block; font-family: var(--display); font-size: 28px; line-height: 1.1; }
.info-card .sub { display: block; font-size: 14px; font-weight: 600; color: var(--cream-70); }

/* categories */
.cats { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.cat { position: relative; overflow: hidden; padding: 30px 32px 32px; border-radius: 28px; color: #1d0b03; display: flex; flex-direction: column; }
.cat::after { content: ""; position: absolute; right: -40px; top: -40px; width: 170px; height: 170px; border-radius: 50%; background: rgba(255, 255, 255, .14); }
.cat.open { background: linear-gradient(135deg, #ff9d00, #ff5a00); box-shadow: 0 10px 0 #8a2e00, var(--shadow); }
.cat.gok { background: linear-gradient(135deg, #8fe33a, #3fa214); box-shadow: 0 10px 0 #1f5a07, var(--shadow); }
.cat .lbl { font-size: 12px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; color: rgba(20, 9, 4, .6); }
.cat h3 { font-family: var(--display); font-weight: 400; font-size: clamp(42px, 5.5vw, 62px); line-height: 1; color: #fff; text-shadow: 0 4px 0 rgba(0, 0, 0, .22); margin: 6px 0 12px; text-transform: uppercase; }
.cat p { font-size: 17px; font-weight: 600; max-width: 36ch; }
.cat .levels { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.cat .levels span { padding: 5px 14px; border-radius: 999px; background: rgba(20, 9, 4, .85); color: #fff; font-weight: 700; font-size: 14px; }
.cat.open .levels span:nth-child(1) { color: #b6ff5c; }
.cat.open .levels span:nth-child(2) { color: #ffc400; }
.cat.open .levels span:nth-child(3) { color: #ff7a6e; }
.cat-link { align-self: flex-start; margin-top: auto; padding-top: 20px; font-weight: 800; text-decoration: none; position: relative; z-index: 1; }
.cat-link:hover { text-decoration: underline; text-underline-offset: 4px; }

/* tricklist */
.tabs {
  display: flex; justify-content: center; gap: 6px; width: fit-content; margin: 0 auto 22px; padding: 6px;
  border-radius: 999px; background: rgba(255, 244, 227, .05); border: 2px solid var(--line);
}
.tab {
  font: inherit; font-family: var(--display); font-size: 21px; cursor: pointer; color: var(--cream-70);
  padding: 8px 22px; border-radius: 999px; background: none; border: 0; transition: background .15s ease, color .15s ease;
}
.tab:hover { color: var(--cream); }
.tab:focus-visible { outline: 3px solid var(--cream); outline-offset: 2px; }
.tab[data-lvl="1"][aria-selected="true"] { background: linear-gradient(180deg, #c7ff5e, #7ed321); color: #140904; }
.tab[data-lvl="2"][aria-selected="true"] { background: linear-gradient(180deg, #ffd84a, #ff9d00); color: #140904; }
.tab[data-lvl="3"][aria-selected="true"] { background: linear-gradient(180deg, #ff9a8a, #ff4a3a); color: #140904; }

.tricks { list-style: none; counter-reset: t; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 14px; max-width: 980px; margin-inline: auto; }
.tricks.lvl-1 { --lvl: #7ed321; --lvl-hi: #c7ff5e; }
.tricks.lvl-2 { --lvl: #ff9d00; --lvl-hi: #ffd84a; }
.tricks.lvl-3 { --lvl: #ff4a3a; --lvl-hi: #ff9a8a; }
.tricks li {
  counter-increment: t; display: flex; align-items: center; gap: 16px; min-height: 60px; padding: 8px 18px 8px 8px; border-radius: 18px;
  font-family: var(--display); font-size: 23px; line-height: 1.15;
  background: var(--card); border: 2px solid var(--line);
  animation: rise .35s ease both;
}
.tricks li::before {
  content: counter(t); flex: none; width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center;
  font-size: 22px; color: var(--choco-900); background: linear-gradient(180deg, var(--lvl-hi), var(--lvl)); box-shadow: 0 4px 0 rgba(0, 0, 0, .35);
}
/* list fills column by column: 1-5 left, 6-10 right */
@media (min-width: 721px) { .tricks { grid-auto-flow: column; grid-template-rows: repeat(5, auto); } }
@keyframes rise { from { opacity: 0; transform: translateY(8px); } }

/* prizes */
.prize-card {
  display: grid; grid-template-columns: 1fr 1.4fr; align-items: center; gap: 32px; padding: clamp(28px, 4vw, 44px);
  border-radius: 32px; box-shadow: var(--shadow);
  background:
    radial-gradient(70% 100% at 100% 50%, rgba(255, 138, 0, .18), transparent 70%),
    var(--card);
  border: 2px solid rgba(255, 196, 0, .22);
}
.prize-copy .eyebrow, .prize-copy .h2 { text-align: left; }
.prize-copy .h2 { margin-bottom: 10px; font-size: clamp(36px, 4.6vw, 52px); }
.prize-copy > p:last-child { font-weight: 600; color: var(--cream-70); font-size: 17px; }
.prize-logos { display: flex; align-items: center; justify-content: center; gap: clamp(12px, 3vw, 28px); }
.prize-logos figure { display: flex; flex-direction: column; align-items: center; gap: 12px; flex: 1; }
/* both logos share one height so the captions line up */
.prize-logos figure > img { height: clamp(96px, 13vw, 140px); width: auto; object-fit: contain; filter: drop-shadow(0 8px 16px rgba(0, 0, 0, .45)); }
.prize-logos .cs-logo { width: clamp(96px, 13vw, 140px); }
.prize-logos figcaption { font-weight: 700; letter-spacing: .12em; text-transform: uppercase; font-size: 12px; color: var(--cream-50); }
.amp { font-family: var(--display); font-size: 44px; color: var(--orange-hi); }
.cs-logo { width: 150px; aspect-ratio: 1; border-radius: 50%; overflow: hidden; border: 4px solid #e9c99a; box-shadow: 0 10px 26px rgba(0, 0, 0, .5); flex: none; }
.cs-logo img { width: 104%; height: 104%; max-width: none; margin: -2%; }

/* guest + team */
.guest {
  display: grid; grid-template-columns: auto 1fr; align-items: center; gap: clamp(24px, 4vw, 48px);
  padding: clamp(22px, 3vw, 32px); border-radius: 32px; margin-bottom: 16px; box-shadow: var(--shadow);
  background:
    radial-gradient(60% 120% at 0% 50%, rgba(255, 196, 0, .16), transparent 70%),
    var(--card);
  border: 2px solid rgba(255, 196, 0, .25);
}
/* whole photo, uncropped, in a rounded frame */
.guest-photo {
  width: clamp(200px, 24vw, 280px); aspect-ratio: 1; object-fit: contain; background: #fff;
  border-radius: 22px; border: 5px solid #e9c99a; box-shadow: 0 14px 30px rgba(0, 0, 0, .5);
  transform: rotate(-2deg);
}
.guest .role { font-size: 13px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; color: var(--orange-hi); }
.guest h3 { font-family: var(--display); font-weight: 400; font-size: clamp(40px, 5.5vw, 60px); line-height: 1; margin: 6px 0 4px; }
.guest .handle { font-weight: 700; color: var(--cream-50); }
.guest p { margin-top: 14px; max-width: 42ch; font-size: 17px; font-weight: 500; color: var(--cream-70); }

.team { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.member {
  display: flex; align-items: center; gap: 20px; padding: 20px 24px; border-radius: var(--radius);
  background: var(--card); border: 2px solid var(--line);
}
.member .cs-logo { width: 92px; border-width: 3px; }
.member .ajk { width: 104px; height: 92px; object-fit: contain; flex: none; filter: drop-shadow(0 6px 14px rgba(0, 0, 0, .5)); }
.member > div:last-child { display: flex; flex-direction: column; min-width: 0; }
.member .role { font-size: 12px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--orange-hi); }
/* Poppins here: names contain ț/ă, which Lilita One renders from a fallback font */
.member b { font-weight: 800; font-size: 19px; line-height: 1.25; }
.member .handle { font-size: 14px; font-weight: 600; color: var(--cream-50); }

/* final CTA */
.final { padding-bottom: clamp(56px, 8vw, 96px); }
.final-card {
  position: relative; overflow: hidden; text-align: center; padding: clamp(40px, 6vw, 64px) 24px; border-radius: 32px;
  background:
    radial-gradient(80% 120% at 50% 0%, rgba(255, 138, 0, .3), transparent 70%),
    linear-gradient(180deg, var(--choco-700), var(--choco-800));
  border: 2px solid rgba(255, 196, 0, .3); box-shadow: var(--shadow);
}
.final-card h2 { font-family: var(--display); font-weight: 400; font-size: clamp(36px, 6vw, 60px); line-height: 1.05; }
.final-card > p:not(.bonus) { color: var(--cream-70); font-weight: 600; margin-top: 10px; }
.final-card .cta-xl { margin-top: 28px; }
.final-card .bonus { background: rgba(126, 211, 33, .1); }

.footer { border-top: 2px solid var(--line); padding: 28px 0 32px; text-align: center; color: var(--cream-70); font-weight: 600; font-size: 14px; background: var(--choco-950); }
.footer .small { font-size: 13px; color: var(--cream-50); margin-top: 6px; }

/* sticky CTA on phones, shown once the hero CTA scrolls away */
.sticky-cta {
  position: fixed; left: 16px; right: 16px; bottom: max(16px, env(safe-area-inset-bottom)); z-index: 50; display: none;
  text-align: center; text-decoration: none; font-family: var(--display); font-size: 22px; color: #1d0b03;
  padding: 13px 20px 11px; border-radius: 999px; background: linear-gradient(180deg, #ffd84a, #ff8a00);
  box-shadow: 0 6px 0 #8a2e00, 0 14px 30px rgba(0, 0, 0, .5);
  transform: translateY(160%); transition: transform .25s ease;
}
.sticky-cta.show { transform: none; }

.cat .note { margin-top: auto; padding-top: 18px; font-size: 13px; font-weight: 700; color: rgba(20, 9, 4, .72); }

/* desktop-only top navigation, slides in once the hero is scrolled past */
.topnav { display: none; }

/* consent note under the sign-up buttons */
.terms { margin-top: 14px; font-size: 13px; font-weight: 600; color: var(--cream-70); text-shadow: 0 2px 8px rgba(0, 0, 0, .6); }
.terms a { color: var(--orange-hi); }
.footer a { color: var(--cream-70); }
.footer a:hover { color: var(--cream); }

/* ---------------- regulament page ---------------- */
.legal-head {
  padding: 48px 0 40px; border-bottom: 2px solid var(--line);
  background: radial-gradient(70% 140% at 50% 0%, rgba(255, 138, 0, .2), transparent 70%), var(--choco-800);
}
.legal-head .back { display: inline-block; margin-bottom: 26px; font-weight: 700; text-decoration: none; color: var(--cream-70); }
.legal-head .back:hover { color: var(--cream); }
.legal-head .eyebrow { text-align: left; }
.legal-head h1 { font-family: var(--display); font-weight: 400; font-size: clamp(40px, 6vw, 64px); line-height: 1; }
.legal-lead { max-width: 70ch; margin-top: 16px; font-size: 17px; font-weight: 500; color: var(--cream-70); }

.legal { display: grid; grid-template-columns: 260px 1fr; gap: 48px; align-items: start; padding: 48px 0 80px; }
.toc {
  position: sticky; top: 24px; padding: 20px 22px; border-radius: 20px;
  background: var(--card); border: 2px solid var(--line); font-size: 14px;
}
.toc b { display: block; margin-bottom: 10px; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--orange-hi); }
.toc ol { padding-left: 20px; display: grid; gap: 6px; }
.toc a { color: var(--cream-70); text-decoration: none; font-weight: 600; }
.toc a:hover { color: var(--cream); }

.legal-body { max-width: 760px; }
.legal-body section { padding: 28px 0; border-bottom: 1px solid var(--line); scroll-margin-top: 20px; }
.legal-body section:first-child { padding-top: 0; }
/* Poppins: article titles are full of ș/ț, which Lilita One lacks */
.legal-body h2 { font-weight: 800; font-size: 25px; line-height: 1.2; margin-bottom: 14px; }
.legal-body h2 span { display: block; font-family: var(--body); font-size: 12px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; color: var(--orange-hi); margin-bottom: 4px; }
.legal-body p, .legal-body li { font-size: 16px; color: rgba(255, 244, 227, .86); }
.legal-body p + p, .legal-body ul + p, .legal-body p + ul { margin-top: 10px; }
.legal-body ul, .legal-body ol { padding-left: 22px; display: grid; gap: 6px; }
.legal-body b { color: var(--cream); }
.legal-body a { color: var(--orange-hi); }
/* details still to be filled in by the organiser */
.legal-body mark { background: rgba(255, 196, 0, .2); color: var(--orange-hi); padding: 0 4px; border-radius: 4px; font-weight: 700; }
.legal-body .highlight { margin: 8px -24px; padding: 28px 24px; border: 2px solid rgba(126, 211, 33, .45); border-radius: 22px; background: rgba(126, 211, 33, .06); }
.legal-body .muted { color: var(--cream-50); font-size: 14px; }
.updated { margin-top: 24px; font-size: 13px; color: var(--cream-50); }

@media (max-width: 860px) {
  .legal { grid-template-columns: 1fr; gap: 28px; padding-top: 28px; }
  .toc { position: static; }
  .legal-body .highlight { margin-inline: 0; padding: 22px 18px; }
}

/* ---------------- desktop only (phones are untouched) ---------------- */
@media (min-width: 961px) {
  .topnav {
    display: block; position: fixed; inset: 0 0 auto; z-index: 60;
    background: rgba(20, 9, 4, .82); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--line); box-shadow: 0 10px 30px rgba(0, 0, 0, .35);
    transform: translateY(-110%); transition: transform .3s ease;
  }
  .topnav.show { transform: none; }
  .topnav .wrap { display: flex; align-items: center; gap: 28px; height: 68px; }
  .topnav .brand { font-family: var(--display); font-size: 24px; text-decoration: none; color: var(--orange-hi); margin-right: auto; }
  .topnav .brand span { color: var(--cream); }
  .topnav ul { list-style: none; display: flex; gap: 22px; }
  .topnav ul a { text-decoration: none; font-weight: 700; font-size: 14px; color: var(--cream-70); }
  .topnav ul a:hover { color: var(--cream); }
  .topnav .cta { font-size: 19px; padding: 8px 20px 6px; box-shadow: 0 4px 0 #8a2e00; }
  .section, .hero { scroll-margin-top: 80px; }

  /* hero: bonus note and countdown side by side, so the whole hero fits above the fold */
  .hero-inner { width: min(1000px, 100% - 64px); display: grid; grid-template-columns: auto auto; justify-content: center; column-gap: 24px; }
  .hero-inner > * { grid-column: 1 / -1; justify-self: center; }
  .hero-inner > .title { width: 820px; }
  .hero-inner > .bonus { grid-column: 1; align-self: center; margin: 24px 0 0; white-space: nowrap; }
  .hero-inner > .countdown { grid-column: 2; align-self: center; margin-top: 24px; order: 1; }
  .hero-inner > .terms { order: 2; }

  /* team: guest card and the two partner cards side by side */
  #echipa .wrap { display: grid; grid-template-columns: 1.8fr 1fr; gap: 16px; }
  .guest { gap: 40px; }
  .guest-photo { width: 230px; }
  .guest h3 { font-size: 48px; }
  #echipa .eyebrow, #echipa .h2 { grid-column: 1 / -1; }
  #echipa .h2 { margin-bottom: 20px; }
  .guest { margin-bottom: 0; }
  .team { grid-template-columns: 1fr; grid-template-rows: 1fr 1fr; }

  /* final CTA: a little wider and roomier */
  .final-card { padding: 64px 40px; }
}

/* ---------------- tablet ---------------- */
@media (max-width: 960px) {
  .info { grid-template-columns: 1fr 1fr; }
  .info-card.link { grid-column: 1 / -1; }
  .prize-card { grid-template-columns: 1fr; text-align: center; }
  .prize-copy .eyebrow, .prize-copy .h2 { text-align: center; }
}

/* ---------------- phone ---------------- */
@media (max-width: 720px) {
  .hero { min-height: auto; }
  .hero-meta .dot:nth-of-type(4) { display: none; }   /* location wraps to its own line */
  .hero-meta span:last-child { flex-basis: 100%; }
  .bonus { text-align: left; }

  .info { grid-template-columns: 1fr; gap: 10px; }
  .info-card { padding: 14px 16px; gap: 14px; }
  .info-card svg { width: 44px; height: 44px; padding: 8px; border-radius: 13px; }
  .info-card .v { font-size: 24px; }

  .cats { grid-template-columns: 1fr; gap: 26px; }
  .cat { padding: 24px 22px 26px; }

  .tabs { width: 100%; }
  .tab { flex: 1; font-size: 17px; padding: 8px 6px; }
  .tricks { grid-template-columns: 1fr; gap: 8px; }
  .tricks li { font-size: 20px; min-height: 54px; gap: 14px; }
  .tricks li::before { width: 38px; height: 38px; font-size: 20px; }

  .prize-card { gap: 22px; padding: 26px 18px; }
  .amp { font-size: 32px; }

  .guest { grid-template-columns: 1fr; justify-items: center; text-align: center; padding: 26px 20px 28px; }
  .guest-photo { width: min(240px, 72vw); }
  .guest p { margin-inline: auto; }

  .team { grid-template-columns: 1fr; gap: 10px; }
  .member { padding: 16px 18px; gap: 16px; }
  .member .cs-logo { width: 72px; }
  .member .ajk { width: 80px; height: 72px; }
  .member b { font-size: 17px; }

  .final-card h2 { font-size: 30px; }
  .final-card > p:not(.bonus) { font-size: 14px; }

  .sticky-cta { display: block; }
  .footer { padding-bottom: 100px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
