/* Velvet Ace: one-offer casino landing template.
   One stylesheet for every ad-concept URL (casino.html, casino-vampir/-gems/-sevens.html, casino-mx.html).
   A page picks its skin with a body class; the skin only swaps the art (in the HTML) and the offer accent. */

:root {
  --ink: #0e0a14;          /* page ground: night violet, close to the art's shadows */
  --ink-2: #150f1e;        /* steps band */
  --ink-3: #1d1629;        /* tiles */
  --ink-4: #090610;        /* footer */
  --line: rgba(255, 255, 255, .1);
  --text: #f7f3fb;
  --text-2: #d3cae0;
  --text-3: #ada3be;
  --velvet: #e8285a;       /* brand: the ace tile and step numerals */
  --cta: #ffd23f;          /* brand: the one action, constant across skins */
  --cta-hi: #ffdf6b;
  --cta-ink: #1c1303;
  --accent: #ffd23f;       /* the offer number; skins override */
  --f-cond: "Barlow Condensed", "Roboto Condensed", "Arial Narrow", sans-serif;
  --f-body: "Barlow", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --wrap: 1180px;
  --gut: 32px;
  --hd: 64px;
  color-scheme: dark;
}
.skin-blood, .skin-vampir { --art-y: 84%; }   /* wide screens crop the art vertically: keep the character and the logo */
.skin-gems { --accent: #b9ff3a; --art-y: 26%; }
.skin-sevens { --accent: #ff4f9b; --art-y: 30%; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scrollbar-color: #3a2f4a var(--ink-4); }
body { margin: 0; background: var(--ink); color: var(--text); font: 400 16px/1.5 var(--f-body); overflow-x: clip; }
img { display: block; max-width: 100%; }
a { color: inherit; text-underline-offset: .2em; text-decoration-thickness: 1px; }
::selection { background: var(--cta); color: var(--cta-ink); }
:focus-visible { outline: 3px solid var(--cta); outline-offset: 3px; border-radius: 4px; }
::-webkit-scrollbar { width: 10px; background: var(--ink-4); }
::-webkit-scrollbar-thumb { background: #3a2f4a; border-radius: 10px; border: 2px solid var(--ink-4); }
.vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.wrap { width: min(var(--wrap), 100% - var(--gut) * 2); margin-inline: auto; }

/* ---------------------------------------------------------------- header: logo, log in, register */
.hd { position: sticky; top: 0; z-index: 30; height: var(--hd); background: var(--ink); border-bottom: 1px solid var(--line); }
.hd-in { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.logo { display: inline-flex; align-items: center; gap: 9px; text-decoration: none; color: var(--text); }
.logo svg { width: 30px; height: 36px; flex: none; }
.logo span { font: italic 800 27px/1 var(--f-cond); letter-spacing: .015em; text-transform: uppercase; white-space: nowrap; }
.logo b { color: var(--velvet); font-weight: 800; margin-left: .18em; }
.acct { display: flex; align-items: center; gap: 10px; }
.btn-ghost, .btn-solid { display: inline-flex; align-items: center; justify-content: center; height: 40px; padding: 0 18px; border-radius: 6px; font: 700 15px/1 var(--f-body); text-decoration: none; white-space: nowrap; transition: background-color .15s, border-color .15s, color .15s; }
.btn-ghost { border: 1.5px solid rgba(255, 255, 255, .42); color: var(--text); }
.btn-ghost:hover { border-color: var(--text); background: rgba(255, 255, 255, .06); }
.btn-solid { background: var(--cta); color: var(--cta-ink); }
.btn-solid:hover { background: var(--cta-hi); }

/* ---------------------------------------------------------------- hero: the game's key art, the offer, one button */
.hero { position: relative; isolation: isolate; display: flex; align-items: center; min-height: clamp(540px, 54.7vw, 860px); overflow: hidden; background: var(--ink); }
.hero-art, .hero-art img { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; }
.hero-art img { object-fit: cover; object-position: 66% var(--art-y, 50%); }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(14, 10, 20, .95) 0%, rgba(14, 10, 20, .86) 22%, rgba(14, 10, 20, .45) 40%, rgba(14, 10, 20, 0) 56%),
    linear-gradient(0deg, var(--ink) 0%, rgba(14, 10, 20, 0) 16%); }
.hero-in { padding: 48px 0 72px; }
.offer { max-width: 520px; }

/* the offer stack: heavy condensed oblique caps, the number alone in the accent */
.stack { margin: 0; font-family: var(--f-cond); font-weight: 800; font-style: italic; text-transform: uppercase; color: #fff; line-height: .9; letter-spacing: 0; text-shadow: 0 2px 22px rgba(0, 0, 0, .45); }
.stack > span { display: block; padding-right: .08em; }
.stack .l1 { font-size: 32px; letter-spacing: .015em; margin-bottom: 12px; }
.stack .l2 { display: flex; align-items: baseline; flex-wrap: wrap; column-gap: .1em; font-size: clamp(88px, 8.8vw, 118px); line-height: .86; letter-spacing: -.01em; }
.stack .u { font-size: clamp(39px, 3.87vw, 52px); letter-spacing: .01em; }
.stack .cur { font-size: clamp(44px, 4.4vw, 59px); margin-right: .06em; }
.stack .num { color: var(--accent); font-variant-numeric: lining-nums; }
.stack .l2:has(.unit) { align-items: flex-end; column-gap: .14em; }
.stack .unit { display: inline-block; font-size: clamp(35px, 3.52vw, 47px); line-height: .88; letter-spacing: .01em; padding-bottom: .09em; }
.stack .l3 { font-size: 46px; margin-top: 6px; }
.stack .l3 small { display: block; font-size: clamp(26px, 2.5vw, 34px); margin-top: 4px; }

.cta { position: relative; display: inline-flex; align-items: center; justify-content: center; min-width: 264px; height: 64px; padding: 0 40px; margin-top: 28px; border-radius: 8px; background: var(--cta); color: var(--cta-ink); font: italic 800 30px/1 var(--f-cond); text-transform: uppercase; letter-spacing: .02em; text-decoration: none; box-shadow: 0 12px 26px -10px rgba(0, 0, 0, .75), inset 0 -3px 0 rgba(0, 0, 0, .16); transition: background-color .15s, transform .15s; }
.cta:hover { background: var(--cta-hi); transform: translateY(-1px); }
.cta:active { transform: translateY(1px); }
.hero .cta::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; animation: ring 2.8s cubic-bezier(.16, 1, .3, 1) 1.2s infinite; }
@keyframes ring { 0% { box-shadow: 0 0 0 0 rgba(255, 210, 63, .55); } 70%, 100% { box-shadow: 0 0 0 16px rgba(255, 210, 63, 0); } }
.key { margin: 12px 0 0; max-width: min(400px, 34vw); font: 400 12px/16px var(--f-body); color: rgba(255, 255, 255, .84); }
.key a { color: #fff; font-weight: 600; }

/* ---------------------------------------------------------------- three steps; step 3 restates the reward */
.steps { background: var(--ink-2); border-block: 1px solid var(--line); }
.steps ol { list-style: none; margin: 0 auto; padding: 34px 12px; display: grid; grid-template-columns: repeat(3, 1fr); }
.steps li { position: relative; display: flex; align-items: center; gap: 16px; padding: 0 28px; }
.steps li + li::before { content: ""; position: absolute; left: -10px; top: 50%; width: 22px; height: 22px; border-top: 2px solid rgba(255, 255, 255, .5); border-right: 2px solid rgba(255, 255, 255, .5); transform: translateY(-50%) rotate(45deg) skewX(-6deg); }
.steps .n { flex: none; font: 800 96px/.8 var(--f-cond); color: var(--velvet); width: .56em; text-align: center; }
.steps h3 { margin: 0; font: italic 800 26px/1 var(--f-cond); text-transform: uppercase; letter-spacing: .01em; color: #fff; }
.steps p { margin: 6px 0 0; font-size: 15px; line-height: 1.35; color: var(--text-2); max-width: 26ch; }
.steps li:last-child h3 em { font-style: inherit; color: var(--accent); }

/* ---------------------------------------------------------------- full terms: one accordion */
.tc { padding: 26px 0 30px; text-align: center; scroll-margin-top: calc(var(--hd) + 8px); }
.tc details { text-align: left; max-width: 820px; margin-inline: auto; }
.tc summary { display: flex; align-items: center; justify-content: center; gap: 8px; width: max-content; margin-inline: auto; padding: 10px 14px; cursor: pointer; list-style: none; font: 600 17px/1.35 var(--f-body); color: var(--text); text-decoration: underline; text-underline-offset: .25em; text-decoration-color: rgba(255, 255, 255, .4); border-radius: 6px; }
.tc summary::-webkit-details-marker { display: none; }
.tc summary:hover { text-decoration-color: var(--text); }
.tc summary svg { width: 18px; height: 18px; transition: transform .2s; }
.tc details[open] summary svg { transform: rotate(45deg); }
.tc ol { margin: 16px 0 0; padding: 22px 26px 22px 46px; background: var(--ink-2); border: 1px solid var(--line); border-radius: 12px; font-size: 14px; line-height: 1.55; color: var(--text-2); }
.tc li + li { margin-top: 8px; }
.tc .note { margin: 14px 0 0; font-size: 13px; color: var(--text-3); text-align: center; }

/* ---------------------------------------------------------------- trust: payments, licence status, game provider */
.trust { border-top: 1px solid var(--line); padding: 36px 0 40px; }
.trust h2 { margin: 0 0 18px; text-align: center; font: italic 800 26px/1 var(--f-cond); text-transform: uppercase; letter-spacing: .02em; }
.pay { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.pay li { display: inline-flex; align-items: center; gap: 8px; height: 46px; padding: 0 16px 0 13px; border-radius: 8px; background: #f3eff8; color: #1b1424; font: italic 800 19px/1 var(--f-cond); letter-spacing: .01em; white-space: nowrap; }
.pay svg { width: 22px; height: 22px; flex: none; color: #6b5a82; }
.status { margin-top: 30px; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px 28px; }
.age { display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; border: 2.5px solid var(--text); font: 800 17px/1 var(--f-body); letter-spacing: -.02em; flex: none; }
.lic { display: flex; align-items: center; gap: 12px; padding: 10px 16px 10px 12px; border: 1px solid rgba(255, 255, 255, .22); border-radius: 10px; }
.lic svg { width: 30px; height: 30px; flex: none; color: var(--text-2); }
.lic p { margin: 0; font-size: 13px; line-height: 1.35; color: var(--text-2); }
.lic b { display: block; font-size: 14px; line-height: 19px; color: var(--text); font-weight: 700; }
.rgrow { display: flex; align-items: center; gap: 12px; }
.rg { margin: 0; font: 700 14px/19px var(--f-body); color: var(--text); text-transform: uppercase; letter-spacing: .04em; }
.prov { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; color: var(--text-2); text-decoration: none; }
.prov img { width: 30px; height: 30px; }
.prov b { color: var(--text); font-size: 15px; }
.prov:hover b { text-decoration: underline; }

/* ---------------------------------------------------------------- footer */
.ft { background: var(--ink-4); border-top: 1px solid var(--line); padding: 30px 0 36px; font-size: 13px; line-height: 1.55; color: var(--text-3); }
.ft-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 22px; margin-bottom: 16px; }
.ft-links a { color: var(--text-2); font-weight: 600; text-decoration: none; }
.ft-links a:hover { color: var(--text); text-decoration: underline; }
.ft p { margin: 0 auto 8px; max-width: 60ch; text-align: center; }
.ft p a { color: var(--text-2); }

/* ---------------------------------------------------------------- disclosure: a pill in the header (desktop), under the terms (phone) */
.demo { margin: 0; padding: 6px 12px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .2); background: rgba(255, 255, 255, .04); font: 600 12px/16px var(--f-body); color: var(--text-2); white-space: nowrap; }
.demo a { color: var(--text); }
.demo-m { display: none; }

/* ---------------------------------------------------------------- mobile sticky CTA */
.sticky { display: none; }

/* ---------------------------------------------------------------- "join" dialog: the brand is fictional, the game is not */
.dlg { width: min(440px, 100% - 32px); padding: 0; border: 1px solid rgba(255, 255, 255, .16); border-radius: 14px; background: var(--ink-2); color: var(--text); box-shadow: 0 30px 80px rgba(0, 0, 0, .6); }
.dlg::backdrop { background: rgba(5, 3, 9, .72); }
.dlg-in { position: relative; padding: 28px 26px 24px; }
.dlg h2 { margin: 0 34px 10px 0; font: italic 800 30px/1 var(--f-cond); text-transform: uppercase; letter-spacing: .01em; }
.dlg p { margin: 0 0 12px; font-size: 15px; line-height: 1.5; color: var(--text-2); }
.dlg .cta { width: 100%; min-width: 0; height: 56px; margin-top: 8px; font-size: 26px; }
.dlg .x { position: absolute; top: 14px; right: 14px; width: 40px; height: 40px; display: grid; place-items: center; border: 0; border-radius: 8px; background: transparent; color: var(--text-2); cursor: pointer; }
.dlg .x:hover { background: rgba(255, 255, 255, .08); color: var(--text); }
.dlg .x svg { width: 20px; height: 20px; }
.dlg small { display: block; margin-top: 14px; font-size: 13px; color: var(--text-3); text-align: center; }
.dlg small a { color: var(--text-2); }

/* ---------------------------------------------------------------- narrower desktops: the disclosure moves from the header into the hero */
@media (max-width: 899px) {
  .hd .demo { display: none; }
  .demo-m { display: block; width: max-content; max-width: 100%; margin: 12px 0 0; font-size: 12px; line-height: 16px; padding: 5px 12px; white-space: normal; }
}

/* ---------------------------------------------------------------- tablet: the art as a band, the offer under it */
@media (min-width: 600px) and (max-width: 1023px) {
  .hero { display: block; min-height: 0; }
  .hero-art { position: relative; display: block; height: auto; }
  .hero-art img { position: relative; height: auto; aspect-ratio: 1920 / 1050; }
  .hero::before { bottom: auto; height: 54.7vw; background: linear-gradient(0deg, var(--ink) 0%, rgba(14, 10, 20, 0) 26%); }
  .hero-in { margin-top: 6px; padding: 0 0 40px; text-align: center; }
  .offer { max-width: 640px; margin-inline: auto; }
  .stack .l1 { font-size: 28px; }
  .stack .l2 { justify-content: center; font-size: 100px; }
  .stack .u { font-size: 44px; }
  .stack .cur { font-size: 50px; }
  .stack .unit { font-size: 40px; }
  .stack .l3 { font-size: 40px; }
  .stack .l3 small { font-size: 30px; }
  .key { margin-inline: auto; max-width: 560px; }
  .demo-m { margin-inline: auto; }
  .steps li { padding: 0 16px; gap: 12px; }
  .steps .n { font-size: 72px; }
  .steps h3 { font-size: 22px; }
}

/* ---------------------------------------------------------------- phone: its own 1080x1920 art at natural aspect, offer on the sky,
   the button where the art fades into the page */
@media (max-width: 599px) {
  :root { --gut: 16px; --hd: 56px; }
  .hd { position: relative; }
  .logo svg { width: 25px; height: 30px; }
  .logo span { font-size: 23px; }
  .acct { gap: 8px; }
  .btn-ghost, .btn-solid { height: 36px; padding: 0 12px; font-size: 14px; }

  .hero { display: block; min-height: calc(177.78vw + 64px); }
  .hero-art img { inset: 0 0 auto; height: auto; aspect-ratio: 1080 / 1920; object-fit: cover; object-position: 50% 0; }
  .hero::before { background:
      linear-gradient(180deg, rgba(14, 10, 20, .5) 0, rgba(14, 10, 20, 0) 180px),
      linear-gradient(0deg, var(--ink) 0, var(--ink) 60px, rgba(14, 10, 20, .86) 140px, rgba(14, 10, 20, 0) 250px); }
  .hero-in { position: absolute; inset: 0; width: auto; margin: 0 var(--gut); display: flex; flex-direction: column; justify-content: space-between; padding: 20px 0 16px; text-align: center; }
  .offer { max-width: none; display: contents; }
  .stack .l1 { font-size: 21px; margin-bottom: 10px; }
  .stack .l2 { justify-content: center; font-size: clamp(56px, 19.6vw, 76px); line-height: .92; }
  .stack .u { font-size: clamp(25px, 8.6vw, 33px); }
  .stack .cur { font-size: clamp(28px, 9.8vw, 38px); }
  .stack .unit { font-size: clamp(23px, 7.9vw, 30px); }
  .stack .l3 { font-size: clamp(24px, 7.6vw, 30px); margin-top: 4px; }
  .stack .l3 small { font-size: clamp(18px, 5.6vw, 22px); margin-top: 2px; }
  .act { display: block; }
  .cta { display: flex; width: 100%; min-width: 0; height: 60px; margin-top: 0; font-size: 28px; }
  .key { max-width: none; margin-top: 10px; font-size: 12px; line-height: 16px; }
  .demo-m { margin: 10px auto 0; }

  .steps ol { grid-template-columns: 1fr; padding: 8px 4px; }
  .steps li { padding: 14px 4px; gap: 14px; }
  .steps li + li { border-top: 1px solid var(--line); }
  .steps li + li::before { display: none; }
  .steps .n { font-size: 66px; }
  .steps h3 { font-size: 23px; }
  .steps p { max-width: none; font-size: 14px; }

  .tc { padding: 18px 0 22px; }
  .tc ol { padding: 18px 16px 18px 34px; font-size: 13px; }
  .trust { padding: 28px 0 30px; }
  .trust h2 { font-size: 23px; }
  .pay { gap: 8px; }
  .pay li { height: 42px; padding: 0 12px 0 10px; font-size: 17px; }
  .pay svg { width: 19px; height: 19px; }
  .status { flex-direction: column; gap: 14px; }
  .lic { width: 100%; }
  .ft { padding-bottom: 110px; }
  .ft-links { gap: 6px 16px; }

  .sticky { display: flex; flex-direction: column; gap: 5px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 35; padding: 10px 16px calc(8px + env(safe-area-inset-bottom)); background: rgba(14, 10, 20, .97); border-top: 1px solid rgba(255, 255, 255, .14); transform: translateY(105%); visibility: hidden; transition: transform .28s cubic-bezier(.16, 1, .3, 1), visibility 0s linear .28s; }
  .sticky .cta { height: 52px; font-size: 25px; }
  .sticky small { font-size: 12px; line-height: 16px; color: var(--text-2); text-align: center; }
  .sticky small a { color: var(--text); }
  .sticky-on .sticky { transform: none; visibility: visible; transition: transform .28s cubic-bezier(.16, 1, .3, 1), visibility 0s; }
}

@media (prefers-reduced-motion: reduce) {
  .hero .cta::after { animation: none; }
  .sticky, .sticky-on .sticky, .tc summary svg, .cta { transition: none; }
}
