@import url('https://fonts.googleapis.com/css2?family=Jost:wght@500;600;700&family=Mulish:wght@400;500;600;700&display=swap');

/* ------------------------------------------------------------------ 2. reset */
*, *::before, *::after { box-sizing: border-box; }
html, body, h1, h2, h3, h4, p, ul, ol, li, figure, figcaption, blockquote, dl, dd, table, th, td { margin: 0; padding: 0; }
ul, ol { list-style: none; }
img, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
table { border-collapse: collapse; width: 100%; }

/* ------------------------------------------------------------------ 3. root */
:root {
  --bg-base: #131a24;
  --bg-card: #1d2632;
  --accent: #dfa746;
  --highlight: #4ea87a;
  --text: #eef2f7;
  --muted: #94a3b3;
  --border: #2b3644;

  --ff-d: 'Jost', 'Avenir Next', 'Segoe UI', system-ui, sans-serif;
  --ff-b: 'Mulish', 'Helvetica Neue', Arial, sans-serif;
  --fs-h1: clamp(1.85rem, 6.2vw, 3.15rem);
  --fs-h2: clamp(1.35rem, 4.1vw, 1.95rem);
  --fs-h3: clamp(1.06rem, 3vw, 1.24rem);
  --fs-b: 1.02rem;
  --lh: 1.72;

  --r-s: 6px;
  --r-m: 12px;
  --r-l: 20px;
  --pad: 18px;
  --gap: 20px;
  --tr: 180ms ease;
  --shadow: 0 14px 34px rgba(0, 0, 0, .38);
}

/* ------------------------------------------------------------------ 4. html/body */
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg-base);
  color: var(--text);
  font-family: var(--ff-b);
  font-size: var(--fs-b);
  line-height: var(--lh);
  overflow-x: hidden;
}
body::before {
  content: "";
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(46rem 26rem at 82% -8%, rgba(223, 167, 70, .16), transparent 62%),
    radial-gradient(38rem 24rem at 4% 22%, rgba(78, 168, 122, .10), transparent 60%);
}
::selection { background: var(--accent); color: #10151d; }
::-webkit-scrollbar { width: 11px; height: 11px; }
::-webkit-scrollbar-track { background: var(--bg-base); }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 9px; border: 3px solid var(--bg-base); }
::-webkit-scrollbar-thumb:hover { background: var(--accent); }

/* ------------------------------------------------------------------ 5. type scale */
h1, h2, h3, h4 { font-family: var(--ff-d); font-weight: 600; line-height: 1.18; letter-spacing: .004em; }
h1 { font-size: var(--fs-h1); letter-spacing: -.012em; }
h2 { font-size: var(--fs-h2); margin: 2.1rem 0 .85rem; }
h3 { font-size: var(--fs-h3); margin: 1.5rem 0 .55rem; }
p { margin: 0 0 1.02rem; }
p:last-child { margin-bottom: 0; }
strong { color: #fff; font-weight: 700; }
em { color: var(--accent); font-style: normal; font-weight: 600; }
small { font-size: .845rem; color: var(--muted); }
.h3d_lede { font-size: 1.1rem; color: #dbe3ec; }
.h3d_muted { color: var(--muted); }
.h3d_list { margin: 0 0 1.05rem; }
.h3d_list li { position: relative; padding-left: 1.35rem; margin-bottom: .5rem; }
.h3d_list li::before {
  content: ""; position: absolute; left: 0; top: .68em;
  width: 7px; height: 7px; border-radius: 2px; background: var(--accent); transform: rotate(45deg);
}
.h3d_list--tick li::before { background: var(--highlight); }
.h3d_steps { counter-reset: h3dstep; margin: 0 0 1.1rem; }
.h3d_steps li { counter-increment: h3dstep; position: relative; padding-left: 2.7rem; margin-bottom: .95rem; }
.h3d_steps li::before {
  content: counter(h3dstep);
  position: absolute; left: 0; top: .06em;
  width: 1.95rem; height: 1.95rem; border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--ff-d); font-weight: 600; font-size: .92rem;
  color: var(--accent); background: rgba(223, 167, 70, .12); border: 1px solid var(--border);
}

/* ------------------------------------------------------------------ 6. container */
.h3d_wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 16px; }

/* ------------------------------------------------------------------ 7. buttons */
.h3d_btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 46px; padding: 11px 20px;
  font-family: var(--ff-d); font-weight: 600; font-size: .98rem; letter-spacing: .012em;
  border-radius: 999px; border: 1px solid transparent;
  transition: transform var(--tr), box-shadow var(--tr), background var(--tr), color var(--tr);
  text-align: center;
}
.h3d_btn:hover { transform: translateY(-2px); }
.h3d_btn:focus-visible { outline: 2px solid var(--highlight); outline-offset: 3px; }
.h3d_btn--gold { background: var(--accent); color: #14181f; box-shadow: 0 8px 22px rgba(223, 167, 70, .26); }
.h3d_btn--gold:hover { box-shadow: 0 12px 28px rgba(223, 167, 70, .38); }
.h3d_btn--green { background: var(--highlight); color: #0d1a14; }
.h3d_btn--ghost { border-color: var(--border); color: var(--text); background: rgba(255, 255, 255, .03); }
.h3d_btn--ghost:hover { border-color: var(--accent); color: var(--accent); }
.h3d_btn--lg { min-height: 54px; padding: 15px 30px; font-size: 1.06rem; }
.h3d_btn--sm { min-height: 40px; padding: 8px 15px; font-size: .9rem; }
.h3d_btn--full { display: flex; width: 100%; }

/* ------------------------------------------------------------------ 8. nav */
.h3d_top {
  position: sticky; top: 0; z-index: 40;
  background: rgba(19, 26, 36, .93);
  backdrop-filter: blur(11px);
  border-bottom: 1px solid var(--border);
}
.h3d_topbar { display: flex; align-items: center; gap: 12px; min-height: 62px; }
.h3d_brand { display: flex; align-items: center; gap: 10px; margin-right: auto; }
.h3d_brand img { width: 152px; height: 40px; object-fit: contain; }
.h3d_nav { display: none; }
.h3d_nav a {
  font-family: var(--ff-d); font-weight: 500; font-size: .94rem; color: var(--muted);
  padding: 6px 2px; border-bottom: 2px solid transparent; transition: color var(--tr), border-color var(--tr);
}
.h3d_nav a:hover, .h3d_nav a[aria-current="page"] { color: var(--text); border-bottom-color: var(--accent); }
.h3d_burger {
  width: 46px; height: 46px; display: grid; place-items: center;
  border: 1px solid var(--border); border-radius: var(--r-s); color: var(--text);
}
.h3d_burger span { display: block; width: 20px; height: 2px; background: currentColor; box-shadow: 0 -6px 0 currentColor, 0 6px 0 currentColor; }
.h3d_mnav { display: none; padding: 6px 0 16px; border-top: 1px solid var(--border); }
.h3d_mnav.open { display: block; }
.h3d_mnav a {
  display: block; padding: 12px 4px; min-height: 44px;
  font-family: var(--ff-d); color: var(--muted); border-bottom: 1px solid var(--border);
}
.h3d_mnav a:hover { color: var(--accent); }
.h3d_crumbs { font-size: .85rem; color: var(--muted); padding: 14px 0 0; }
.h3d_crumbs a:hover { color: var(--accent); }

/* ------------------------------------------------------------------ 9. ticker */
.h3d_tick {
  border-bottom: 1px solid var(--border);
  background: linear-gradient(90deg, rgba(223, 167, 70, .10), rgba(78, 168, 122, .07));
  overflow: hidden;
}
.h3d_tick p {
  margin: 0; padding: 8px 0; font-size: .87rem; color: #d7dfe9;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.h3d_tick em { color: var(--accent); }

/* ------------------------------------------------------------------ 10. hero (LAYOUT C — sidebar-first) */
.h3d_hero { padding: 26px 0 8px; }
.h3d_hero-in { display: grid; gap: 22px; grid-template-columns: 1fr; }
.h3d_hero h1 { margin: 0 0 .7rem; }
.h3d_hero .h3d_lede { margin-bottom: 1.2rem; }
.h3d_hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 1.2rem 0 .6rem; }

/* the offer banner — rebuilt in brand colours, never a blank gradient */
.h3d_offer {
  position: relative; overflow: hidden;
  border: 1px solid var(--border); border-radius: var(--r-l);
  background:
    radial-gradient(20rem 12rem at 84% -14%, rgba(223, 167, 70, .3), transparent 66%),
    linear-gradient(168deg, #212c3a 0%, #172029 68%, #141b24 100%);
  box-shadow: var(--shadow);
  padding: 22px 20px 20px;
}
.h3d_offer::after {
  content: ""; position: absolute; right: -34px; bottom: -46px;
  width: 168px; height: 168px; border-radius: 50%;
  background: radial-gradient(circle at 34% 30%, rgba(223, 167, 70, .3), transparent 68%);
}
.h3d_offer-kick {
  font-family: var(--ff-d); font-size: .77rem; font-weight: 600;
  letter-spacing: .19em; text-transform: uppercase; color: var(--accent); margin-bottom: .6rem;
}
.h3d_offer-fig {
  font-family: var(--ff-d); font-weight: 700; line-height: 1.03;
  font-size: clamp(2.15rem, 8.4vw, 2.95rem); color: #fff; margin: 0 0 .1rem;
}
.h3d_offer-fig span { color: var(--accent); }
.h3d_offer-sub { font-size: 1.02rem; color: #cfd8e3; margin: .35rem 0 1rem; }
.h3d_offer-rows { border-top: 1px solid var(--border); margin: 0 0 1rem; }
.h3d_offer-rows li {
  display: flex; justify-content: space-between; gap: 12px;
  padding: 9px 0; border-bottom: 1px solid var(--border); font-size: .93rem;
}
.h3d_offer-rows b { font-family: var(--ff-d); color: var(--accent); font-weight: 600; white-space: nowrap; }
.h3d_offer small { display: block; margin-top: .7rem; line-height: 1.55; }

/* ------------------------------------------------------------------ 11. trust bar */
.h3d_trust { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 18px 0 4px; }
.h3d_trust div {
  border: 1px solid var(--border); border-radius: var(--r-m); padding: 12px 13px;
  background: rgba(29, 38, 50, .6);
}
.h3d_trust b { display: block; font-family: var(--ff-d); font-size: 1.02rem; color: var(--accent); font-weight: 600; }
.h3d_trust span { font-size: .82rem; color: var(--muted); }

/* ------------------------------------------------------------------ 12. content sections */
.h3d_sec { padding: 20px 0; }
.h3d_sec > h2:first-child { margin-top: .4rem; }
.h3d_card {
  border: 1px solid var(--border); border-radius: var(--r-m);
  background: var(--bg-card); padding: var(--pad);
}
.h3d_grid { display: grid; gap: var(--gap); grid-template-columns: 1fr; }
.h3d_note {
  border-left: 3px solid var(--accent); border-radius: 0 var(--r-m) var(--r-m) 0;
  background: rgba(223, 167, 70, .07); padding: 14px 16px; margin: 1.2rem 0; font-size: .97rem;
}
.h3d_note--ok { border-left-color: var(--highlight); background: rgba(78, 168, 122, .08); }
.h3d_note--warn { border-left-color: #d3705a; background: rgba(211, 112, 90, .09); }
.h3d_note p + p { margin-top: .7rem; }

.h3d_tblwrap { overflow-x: auto; margin: 1.15rem 0 1.35rem; border: 1px solid var(--border); border-radius: var(--r-m); }
.h3d_tbl { min-width: 520px; font-size: .93rem; }
.h3d_tbl th, .h3d_tbl td { padding: 11px 13px; text-align: left; border-bottom: 1px solid var(--border); vertical-align: top; }
.h3d_tbl thead th {
  font-family: var(--ff-d); font-size: .8rem; font-weight: 600; letter-spacing: .085em;
  text-transform: uppercase; color: var(--accent); background: rgba(223, 167, 70, .07); white-space: nowrap;
}
.h3d_tbl tbody tr:last-child td { border-bottom: 0; }
.h3d_tbl tbody tr:nth-child(even) { background: rgba(255, 255, 255, .017); }
.h3d_tbl caption { caption-side: bottom; padding: 10px 13px; font-size: .82rem; color: var(--muted); text-align: left; }

/* screenshots */
.h3d_shot { margin: 1.3rem 0; border: 1px solid var(--border); border-radius: var(--r-m); overflow: hidden; background: var(--bg-card); }
.h3d_shot img { width: 100%; height: auto; }
.h3d_shot figcaption { padding: 10px 14px; font-size: .84rem; color: var(--muted); border-top: 1px solid var(--border); }

/* chips: providers + payments */
.h3d_chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 1rem 0 1.3rem; }
.h3d_chip {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 7px 13px; border-radius: 999px; border: 1px solid var(--border);
  background: rgba(255, 255, 255, .028); font-size: .87rem; color: #d5dde7;
  font-family: var(--ff-d); font-weight: 500;
}
.h3d_chip svg { width: 15px; height: 15px; flex: none; }
.h3d_chip--gold { border-color: rgba(223, 167, 70, .42); color: var(--accent); }
.h3d_chip--green { border-color: rgba(78, 168, 122, .42); color: var(--highlight); }

/* pokie tiles */
.h3d_tiles { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin: 1.1rem 0 1.35rem; }
.h3d_tile {
  position: relative; overflow: hidden;
  border: 1px solid var(--border); border-radius: var(--r-m);
  background: linear-gradient(158deg, #24303f, #171f29);
  padding: 15px 13px 13px; min-height: 108px;
  display: flex; flex-direction: column; justify-content: flex-end;
}
.h3d_tile::before {
  content: ""; position: absolute; top: -22px; right: -22px;
  width: 74px; height: 74px; border-radius: 50%;
  background: radial-gradient(circle at 40% 40%, rgba(223, 167, 70, .26), transparent 70%);
}
.h3d_tile:nth-child(3n)::before { background: radial-gradient(circle at 40% 40%, rgba(78, 168, 122, .26), transparent 70%); }
.h3d_tile b { font-family: var(--ff-d); font-size: .95rem; font-weight: 600; line-height: 1.28; color: #fff; }
.h3d_tile span { font-size: .78rem; color: var(--muted); margin-top: 3px; }

/* ------------------------------------------------------------------ 13. FAQ accordion */
.h3d_faq { border: 1px solid var(--border); border-radius: var(--r-m); overflow: hidden; margin: 1.2rem 0; }
.h3d_faq-item { border-bottom: 1px solid var(--border); }
.h3d_faq-item:last-child { border-bottom: 0; }
.h3d_faq-btn {
  display: flex; align-items: center; gap: 12px; width: 100%;
  padding: 15px 16px; min-height: 52px; text-align: left;
  font-family: var(--ff-d); font-weight: 500; font-size: 1rem; color: var(--text);
  transition: color var(--tr), background var(--tr);
}
.h3d_faq-btn:hover { color: var(--accent); background: rgba(255, 255, 255, .02); }
.h3d_faq-btn::after {
  content: ""; margin-left: auto; flex: none;
  width: 9px; height: 9px; border-right: 2px solid var(--accent); border-bottom: 2px solid var(--accent);
  transform: rotate(45deg) translateY(-2px); transition: transform var(--tr);
}
.h3d_faq-item.open .h3d_faq-btn::after { transform: rotate(-135deg) translateY(-2px); }
.h3d_faq-a { display: none; padding: 0 16px 16px; font-size: .96rem; color: #cdd6e0; }
.h3d_faq-item.open .h3d_faq-a { display: block; }

/* ------------------------------------------------------------------ 14. CTA band */
.h3d_band {
  margin: 26px 0 8px; padding: 26px 20px; border-radius: var(--r-l);
  border: 1px solid rgba(223, 167, 70, .3);
  background: linear-gradient(140deg, rgba(223, 167, 70, .15), rgba(78, 168, 122, .09) 62%, rgba(29, 38, 50, .5));
  text-align: center;
}
.h3d_band h2 { margin: 0 0 .55rem; }
.h3d_band p { color: #d9e1ea; max-width: 56ch; margin: 0 auto 1.15rem; }

/* ------------------------------------------------------------------ 15. footer */
.h3d_foot { margin-top: 34px; border-top: 1px solid var(--border); background: rgba(16, 21, 29, .72); padding: 26px 0 96px; }
.h3d_foot-grid { display: grid; gap: 22px; grid-template-columns: 1fr; }
.h3d_foot h3 { font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); margin: 0 0 .7rem; }
.h3d_foot li { margin-bottom: .45rem; }
.h3d_foot a { color: var(--muted); font-size: .93rem; }
.h3d_foot a:hover { color: var(--accent); }
.h3d_badges { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 14px; }
.h3d_badge {
  display: inline-flex; align-items: center; gap: 6px;
  border: 1px solid var(--border); border-radius: var(--r-s);
  padding: 6px 11px; font-size: .8rem; color: var(--muted);
  font-family: var(--ff-d); font-weight: 500; transition: border-color var(--tr), color var(--tr);
}
.h3d_badge:hover { border-color: var(--accent); color: var(--accent); }
.h3d_badge--18 { border-color: rgba(211, 112, 90, .55); color: #e3907c; }
.h3d_disc { border-top: 1px solid var(--border); margin-top: 20px; padding-top: 16px; font-size: .855rem; color: var(--muted); }
.h3d_disc p + p { margin-top: .55rem; }
.h3d_stamp { font-family: var(--ff-d); color: #b9c4d0; }

/* ------------------------------------------------------------------ 16. sticky mobile CTA */
.h3d_sticky {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
  display: flex; align-items: center; gap: 11px;
  padding: 9px 14px calc(9px + env(safe-area-inset-bottom));
  background: rgba(19, 26, 36, .96); border-top: 1px solid var(--border);
  backdrop-filter: blur(10px);
}
.h3d_sticky p { margin: 0; font-size: .8rem; line-height: 1.3; color: var(--muted); }
.h3d_sticky p b { display: block; color: var(--text); font-family: var(--ff-d); font-size: .93rem; }
.h3d_sticky .h3d_btn { margin-left: auto; flex: none; }

/* ------------------------------------------------------------------ 17. animations */
@keyframes h3dRise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.h3d_offer, .h3d_band { animation: h3dRise .5s ease both; }
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* ------------------------------------------------------------------ 18. responsive */
@media (min-width: 480px) {
  .h3d_tiles { grid-template-columns: repeat(3, 1fr); }
  .h3d_trust { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 768px) {
  :root { --pad: 24px; --gap: 24px; }
  .h3d_wrap { padding: 0 24px; }
  .h3d_sec { padding: 26px 0; }
  .h3d_burger, .h3d_mnav, .h3d_sticky { display: none; }
  .h3d_nav { display: flex; gap: 20px; align-items: center; }
  .h3d_foot { padding-bottom: 30px; }
  .h3d_foot-grid { grid-template-columns: 1.5fr 1fr 1fr; }
  .h3d_grid { grid-template-columns: repeat(2, 1fr); }
  .h3d_trust { grid-template-columns: repeat(4, 1fr); }
  .h3d_tiles { grid-template-columns: repeat(4, 1fr); }
  .h3d_offer { padding: 28px 26px 24px; }
  .h3d_band { padding: 34px 30px; }
}
@media (min-width: 1024px) {
  .h3d_hero { padding: 40px 0 10px; }
  .h3d_hero-in { grid-template-columns: 360px 1fr; align-items: start; gap: 34px; }
  .h3d_hero-in > .h3d_offer { position: sticky; top: 86px; }
  .h3d_grid--3 { grid-template-columns: repeat(3, 1fr); }
  .h3d_tiles { grid-template-columns: repeat(5, 1fr); }
  .h3d_tbl { min-width: 0; }
}
