/* =====================================================================
   Hit'n'Spin Casino — Österreich (de-AT)
   Design system: Brand colours purple / orange / gold, Norse theme
   ===================================================================== */

:root {
  /* Brand purples / accents (kept for gradients & banners) */
  --purple-900: #2a002f;
  --purple-800: #3a0042;
  --purple-700: #4d0054;
  --purple-600: #6a1278;
  --purple-500: #8a2a9c;
  --orange-600: #e53200;
  --orange-500: #ea5800;
  --orange-bright: #f26100;
  --orange-400: #ec7700;
  --gold-500:  #fec601;
  --gold-400:  #fcd900;
  --magenta:   #c42a6b;
  --pink:      #e5006d;
  --star:      #f0a500;        /* readable amber on white */

  /* Light brand theme surfaces / text */
  --bg:        #ffffff;
  --bg-alt:    #f5f2fa;
  --white:     #ffffff;
  --ink:       #211526;        /* main text */
  --muted:     #6c6480;        /* muted text on light */
  --muted-dark:#9a93a8;        /* faint separators / breadcrumb arrows */
  --line:      rgba(33,21,38,.12);
  --card:      #ffffff;
  --card-line: rgba(33,21,38,.10);
  --card-2:    #ffffff;        /* tables/review surfaces now white */

  --grad-cta: linear-gradient(135deg, var(--orange-bright), var(--orange-500));
  --hero-grad: linear-gradient(105deg, #2f0038 0%, #5a1268 40%, #9c1f74 74%, #c42a6b 100%);

  --radius: 14px;
  --radius-sm: 9px;
  --shadow: 0 10px 28px rgba(40,10,60,.10);
  --header-h: 68px;
  --maxw: 1160px;
  --font: "Segoe UI", Roboto, "Helvetica Neue", Arial, system-ui, sans-serif;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--orange-500); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { line-height: 1.2; margin: 0 0 .5em; font-weight: 800; hyphens: auto; color: var(--ink); }
h1 { font-size: clamp(1.7rem, 5vw, 2.8rem); }
h2 { font-size: clamp(1.4rem, 3.5vw, 2rem); }
h3 { font-size: clamp(1.15rem, 2.6vw, 1.4rem); }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.25em; }
li { margin-bottom: .4em; }
strong { color: inherit; font-weight: 700; }

/* Long German words must not break layout */
p, li, td, th, h1, h2, h3, h4, a, .card { overflow-wrap: anywhere; word-break: normal; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 18px; }
.section { padding: 46px 0; }
.section--tight { padding: 30px 0; }
.lead { font-size: 1.1rem; color: var(--muted); }
.muted { color: var(--muted); }
.center { text-align: center; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: var(--header-h);
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 2px 14px rgba(40,10,60,.06);
}
.site-header .container { height: 100%; display: flex; align-items: center; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; flex: 0 0 auto; }
.brand img { height: 38px; width: auto; }
.brand b { font-size: .8rem; color: var(--purple-700); letter-spacing: .04em; }
.main-nav { margin-left: auto; }
.main-nav ul { display: flex; gap: 6px; list-style: none; margin: 0; padding: 0; }
.main-nav a {
  color: var(--ink); font-weight: 600; font-size: .96rem;
  padding: 8px 12px; border-radius: 8px; display: block;
}
.main-nav a:hover, .main-nav a[aria-current="page"] { background: rgba(77,0,84,.08); text-decoration: none; }
.main-nav a[aria-current="page"] { color: var(--orange-500); }
.header-cta { flex: 0 0 auto; }
.nav-toggle {
  display: none; margin-left: auto;
  width: 44px; height: 40px; border: 1px solid var(--line);
  background: rgba(33,21,38,.04); border-radius: 9px; cursor: pointer;
  padding: 9px;
}
.nav-toggle span { display: block; height: 2px; background: var(--ink); margin: 5px 0; border-radius: 2px; transition: .25s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-weight: 800; font-size: 1rem; line-height: 1.1; text-align: center;
  padding: 13px 22px; border-radius: 999px; border: 0; cursor: pointer;
  transition: transform .12s ease, box-shadow .12s ease; text-decoration: none;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn--cta { background: var(--grad-cta); color: #fff; box-shadow: 0 8px 22px rgba(234,88,0,.32); }
.btn--ghost { background: rgba(255,255,255,.14); color: #fff; border: 1px solid rgba(255,255,255,.55); }
.btn--sm { padding: 9px 16px; font-size: .9rem; }
.btn--block { display: flex; width: 100%; }
.header-cta .btn { padding: 9px 18px; }

/* ---------- Hero (full-bleed banner) ---------- */
.hero {
  margin-top: var(--header-h);
  position: relative; overflow: hidden; isolation: isolate;
  background: var(--hero-grad);
  border-bottom: 1px solid var(--line);
  min-height: 480px; display: flex; align-items: center;
}
/* Hero sits on a dark gradient → all its text stays white */
.hero__text, .hero__text h1, .hero__badges span { color: #fff; }
.hero .muted { color: rgba(255,255,255,.82); }
/* Character art covers the whole banner; anchored right+top so it bleeds off the
   right edge and the BOTTOM crops on small screens (heads stay visible). */
.hero__bg {
  position: absolute; inset: 0; z-index: 0;
  width: 100%; height: 100%; object-fit: cover; object-position: right top;
}
/* Left-to-right scrim keeps the headline readable over the art. */
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(90deg,
    rgba(35,4,42,.97) 0%, rgba(35,4,42,.92) 30%, rgba(40,0,55,.55) 52%, rgba(40,0,55,.12) 70%, transparent 84%);
}
.hero .container { position: relative; z-index: 2; }
.hero--inner { margin-top: 0; min-height: 380px; }   /* sits under the breadcrumb on inner pages */
.hero__text { max-width: 560px; padding: 44px 0; }
.hero__text .eyebrow { color: var(--gold-400); font-weight: 700; letter-spacing: .06em; text-transform: uppercase; font-size: .82rem; }
.hero__text h1 { margin-top: 8px; }
.hero__text p { color: #f0e6f4; max-width: 42ch; }
.hero__badges { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0; }
.hero__badges span {
  background: rgba(0,0,0,.25); border: 1px solid rgba(255,255,255,.25);
  padding: 6px 12px; border-radius: 999px; font-size: .85rem; font-weight: 600;
}
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.age-pill { display: inline-flex; align-items: center; gap: 6px; font-weight: 800;
  background: var(--orange-600); color: #fff; padding: 4px 10px; border-radius: 8px; font-size: .8rem; }

/* ---------- Breadcrumbs ---------- */
.breadcrumb { margin-top: var(--header-h); padding: 12px 0 0; }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; padding: 0; margin: 0; font-size: .85rem; color: var(--muted); }
.breadcrumb li::after { content: "›"; margin-left: 6px; color: var(--muted-dark); }
.breadcrumb li:last-child::after { content: ""; }
.hero + .section, .breadcrumb + .section { padding-top: 30px; }

/* ---------- Cards / surfaces ---------- */
.card {
  background: var(--card);
  border: 1px solid var(--card-line); border-radius: var(--radius);
  padding: 22px; box-shadow: var(--shadow);
}
.grid { display: grid; gap: 18px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

/* Quick verdict */
.verdict { border-left: 4px solid var(--orange-500); }

/* Pros / cons */
.proscons { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.proscons h3 { display: flex; align-items: center; gap: 8px; }
.proscons ul { list-style: none; padding: 0; }
.proscons li { position: relative; padding-left: 28px; }
.pros li::before { content: "✔"; position: absolute; left: 0; color: #38d39f; font-weight: 800; }
.cons li::before { content: "✕"; position: absolute; left: 0; color: #ff7a7a; font-weight: 800; }
.pros { border-top: 3px solid #38d39f; }
.cons { border-top: 3px solid #ff7a7a; }

/* ---------- Tables ---------- */
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: var(--radius); border: 1px solid var(--line); }
table { width: 100%; border-collapse: collapse; min-width: 560px; background: #fff; }
caption { text-align: left; padding: 10px 14px; color: var(--muted); font-size: .85rem; }
th, td { padding: 11px 14px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; font-size: .94rem; }
thead th { background: var(--purple-700); color: var(--gold-400); font-size: .82rem; text-transform: uppercase; letter-spacing: .03em; position: sticky; top: 0; }
tbody tr:nth-child(even) td { background: rgba(33,21,38,.035); }
.keyfacts table { min-width: 0; }
.keyfacts th { width: 42%; white-space: nowrap; }
/* Small tables inside grid columns are narrow — never force a min-width,
   so they fit the column on desktop/laptop without horizontal scroll. */
.grid .table-wrap table { min-width: 0; }

/* ---------- Bonus banners (character cut-out) / cards ---------- */
.bonus-banner {
  position: relative; overflow: hidden; isolation: isolate; border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,.12);
  background: linear-gradient(95deg, #3a0042 0%, #6a1278 48%, #b51e74 100%);
  display: flex; align-items: center; min-height: 220px;
}
/* Banner sits on a dark gradient → its text stays white */
.bonus-banner__body, .bonus-banner__offer { color: #fff; }
/* Transparent character cut-out, right-anchored, fits the banner height.
   Because it is contained (not cover-cropped) the whole character stays
   visible at EVERY screen width; it sits in the safe right zone. */
.bonus-banner__bg {
  position: absolute; right: 3%; bottom: 0; z-index: 1;
  height: 94%; width: auto; max-width: 40%;
  object-fit: contain; object-position: bottom right;
  filter: drop-shadow(0 8px 18px rgba(0,0,0,.4));
}
.bonus-banner__body { position: relative; z-index: 2; padding: 22px 24px; max-width: 58%; }
.bonus-banner__label { color: var(--gold-400); font-weight: 800; text-transform: uppercase; letter-spacing: .05em; font-size: .8rem; }
.bonus-banner__offer { font-size: clamp(1.3rem, 3.2vw, 1.9rem); font-weight: 900; margin: 6px 0 14px; }

.bonus-card { display: flex; flex-direction: column; gap: 10px; }
.bonus-card .tag { align-self: flex-start; background: rgba(234,88,0,.12); color: var(--orange-600); font-weight: 700; padding: 3px 10px; border-radius: 999px; font-size: .78rem; }
.bonus-card .amount { font-size: 1.5rem; font-weight: 900; }
.bonus-card dl { display: grid; grid-template-columns: auto 1fr; gap: 4px 12px; margin: 0; font-size: .9rem; }
.bonus-card dt { color: var(--muted); }
.bonus-card dd { margin: 0; text-align: right; }

/* App download buttons */
.app-buttons { display: flex; flex-wrap: wrap; gap: 12px; }
.store-btn { display: inline-flex; align-items: center; gap: 10px; padding: 10px 18px; border-radius: 12px;
  background: #161019; border: 1px solid rgba(255,255,255,.1); color: #fff; font-weight: 700; }
.store-btn small { display: block; font-size: .68rem; color: rgba(255,255,255,.6); font-weight: 500; }
.store-btn span { line-height: 1.1; }

/* Steps */
.steps { counter-reset: step; list-style: none; padding: 0; }
.steps li { position: relative; padding: 4px 0 14px 48px; }
.steps li::before {
  counter-increment: step; content: counter(step);
  position: absolute; left: 0; top: 0; width: 34px; height: 34px;
  background: var(--grad-cta); color: #fff; font-weight: 900;
  border-radius: 50%; display: grid; place-items: center;
}

/* VIP table emphasis */
.vip-table thead th { background: var(--purple-800); }

/* Slot thumbnails */
.slot-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.slot-tile { border-radius: var(--radius-sm); overflow: hidden; border: 1px solid var(--line); background: #fff; }
.slot-tile img { aspect-ratio: 3/4; object-fit: cover; width: 100%;
  background: linear-gradient(160deg, var(--purple-600), var(--orange-500)); }
.slot-tile span { display: block; padding: 8px 10px; font-size: .82rem; font-weight: 600; }
.slot-tile small { display: block; padding: 0 10px 10px; color: var(--muted); font-size: .72rem; }

/* Provider chips */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips span { background: rgba(33,21,38,.04); border: 1px solid var(--line); padding: 6px 12px; border-radius: 999px; font-size: .85rem; }

/* Rating */
.stars { color: var(--star); letter-spacing: 2px; font-size: 1.1rem; }
.rating-score { font-size: 2.6rem; font-weight: 900; color: var(--orange-500); line-height: 1; }

/* Reviews */
.review { background: #fff; }
.review__head { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.review__avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--grad-cta); color: #fff; font-weight: 900; display: grid; place-items: center; }
.review__name { font-weight: 700; font-size: .95rem; }
.review__stars { color: var(--star); font-size: .85rem; }
.review p { font-size: .94rem; margin: 0; color: var(--ink); }

/* Expert summary */
.expert {
  border: 1px solid var(--card-line); border-radius: var(--radius);
  background: #fff; box-shadow: var(--shadow);
  padding: 24px; display: grid; grid-template-columns: auto 1fr; gap: 18px; align-items: start;
}
.expert__badge { width: 76px; height: 76px; border-radius: 50%; background: var(--grad-cta); color: #fff; display: grid; place-items: center; font-weight: 900; font-size: 1.6rem; }
.expert__meta { color: var(--muted); font-size: .85rem; border-top: 1px solid var(--line); margin-top: 12px; padding-top: 12px; }

/* ---------- FAQ accordion ---------- */
.faq { display: grid; gap: 10px; }
.faq__item { border: 1px solid var(--line); border-radius: var(--radius-sm); background: #fff; overflow: hidden; }
.faq__q { width: 100%; text-align: left; background: none; border: 0; color: var(--ink); font-weight: 700; font-size: 1.02rem;
  padding: 16px 48px 16px 18px; cursor: pointer; position: relative; }
.faq__q::after { content: "+"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%); font-size: 1.4rem; color: var(--orange-500); }
.faq__q[aria-expanded="true"]::after { content: "−"; }
.faq__a { padding: 0 18px; max-height: 0; overflow: hidden; transition: max-height .3s ease, padding .3s ease; color: var(--muted); }
.faq__a p { margin: 0 0 14px; }
.faq__item.open .faq__a { padding: 0 18px 4px; max-height: 420px; }

/* ---------- Disclaimer / notes ---------- */
.note { background: rgba(33,21,38,.035); border: 1px dashed var(--line); border-radius: var(--radius-sm); padding: 14px 16px; font-size: .9rem; color: var(--muted); }
.note--warn { border-color: rgba(234,88,0,.45); background: rgba(234,88,0,.08); color: #8a4a14; }

/* ---------- Footer ---------- */
.site-footer { background: var(--bg-alt); border-top: 1px solid var(--line); padding: 40px 0 24px; margin-top: 30px; color: var(--ink); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 28px; }
.site-footer h4, .site-footer .footer-h { color: var(--purple-700); font-size: .9rem; text-transform: uppercase; letter-spacing: .05em; }
.site-footer ul { list-style: none; padding: 0; }
.site-footer a { color: var(--muted); font-size: .92rem; }
.site-footer a:hover { color: var(--ink); }
.footer-brand p { font-size: .88rem; color: var(--muted); }
.footer-org { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin: 14px 0; }
.footer-org span { font-size: .8rem; color: var(--muted); border: 1px solid var(--line); border-radius: 8px; padding: 5px 10px; }
.footer-bottom { border-top: 1px solid var(--line); margin-top: 26px; padding-top: 18px; display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; font-size: .82rem; color: var(--muted); }
.footer-bottom .age-pill { font-size: .8rem; }

/* ---------- Cookie banner ---------- */
.cookie-banner {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 200;
  background: linear-gradient(90deg, var(--pink), var(--magenta)); border: 0; border-radius: var(--radius);
  box-shadow: 0 12px 30px rgba(197,42,107,.35); padding: 18px 20px; display: none;
  grid-template-columns: 1fr auto; gap: 16px; align-items: center; max-width: 920px; margin: 0 auto;
}
.cookie-banner.show { display: grid; }
.cookie-banner p { margin: 0; font-size: .9rem; color: #fff; }
.cookie-banner p a { color: #fff; text-decoration: underline; }
.cookie-banner .actions { display: flex; gap: 10px; flex-wrap: wrap; }

/* ---------- Decorative section background ----------
   Image + overlay are set INLINE on the section so the url() resolves relative
   to the HTML page (root), not to /css/ — e.g.:
   <section class="section section--feature"
     style="background-image:linear-gradient(rgba(26,3,34,.55),rgba(26,3,34,.72)),url(img/bg-feature-coins.webp)"> */
/* Light theme: override the inline dark decorative image with a soft brand tint
   (image files stay in place, they just aren't shown on these bands). */
.section--feature {
  background: var(--bg-alt) !important;
}

/* ---------- Legal pages ---------- */
.legal { max-width: 820px; }
.legal h2 { margin-top: 1.4em; }
.legal h3 { margin-top: 1.1em; color: var(--purple-700); }
.legal p, .legal li { color: var(--ink); font-size: .98rem; }

/* ---------- Section heading helper ---------- */
.sec-head { margin-bottom: 18px; }
.sec-head p { color: var(--muted); margin: 0; }

/* =====================================================================
   Responsive
   ===================================================================== */
@media (max-width: 980px) {
  .hero { min-height: 420px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .slot-grid { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 820px) {
  .main-nav {
    position: fixed; top: var(--header-h); left: 0; right: 0;
    background: #fff; border-bottom: 1px solid var(--line);
    box-shadow: 0 10px 24px rgba(40,10,60,.10);
    transform: translateY(-130%); transition: transform .28s ease; margin: 0;
    max-height: calc(100vh - var(--header-h)); overflow-y: auto;
  }
  .main-nav.open { transform: translateY(0); }
  .main-nav ul { flex-direction: column; gap: 0; padding: 8px 12px; }
  .main-nav a { padding: 13px 10px; border-radius: 0; border-bottom: 1px solid var(--line); }
  .nav-toggle { display: block; }
  .header-cta { display: none; }
  .brand { margin-right: auto; }
  .grid--3, .grid--4 { grid-template-columns: 1fr 1fr; }
  .expert { grid-template-columns: 1fr; }
}

@media (max-width: 680px) {
  body { font-size: 16px; }
  .section { padding: 34px 0; }
  /* Hero: character stays top-right, text drops to the bottom over a vertical scrim */
  .hero { min-height: 470px; align-items: flex-end; }
  .hero::after { background: linear-gradient(180deg, rgba(35,4,42,.12) 0%, rgba(35,4,42,.55) 42%, rgba(35,4,42,.93) 76%, rgba(35,4,42,.98) 100%); }
  .hero__text { max-width: none; padding: 18px 0 28px; }
  .hero__text p { max-width: none; }
  /* Bonus banner: keep character on the right (cut-out), text on the left */
  .bonus-banner { min-height: 190px; align-items: center; }
  .bonus-banner__bg { max-width: 36%; height: 92%; right: 2%; }
  .bonus-banner__body { max-width: 62%; padding: 18px; }
  .proscons { grid-template-columns: 1fr; }
  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
  .slot-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr; gap: 22px; }
  .cookie-banner { grid-template-columns: 1fr; }
}

@media (max-width: 400px) {
  .container { padding: 0 14px; }
  .slot-grid { grid-template-columns: repeat(2, 1fr); }
  .brand b { display: none; }
  h1 { font-size: 1.55rem; }
}

/* Reduce motion */
@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; transition: none !important; }
}

/* ---------- geo-links (cross-GEO footer block) ---------- */
.site-footer .geo-links { margin-top: 28px; padding: 18px 20px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); }
.site-footer .geo-links__title { margin: 0 0 12px; font-size: .8rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--purple-700); }
.site-footer .geo-links__list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.site-footer .geo-links__list li { margin: 0; }
.site-footer .geo-links__item { display: inline-flex; align-items: center; gap: 9px; padding: 8px 14px; border: 1px solid var(--line); border-radius: 10px; background: var(--bg-alt); color: var(--ink); font-size: .9rem; font-weight: 600; line-height: 1.2; text-decoration: none; transition: border-color .2s, color .2s, transform .2s; }
.site-footer a.geo-links__item:hover, .site-footer a.geo-links__item:focus-visible { border-color: var(--orange-500); color: var(--orange-500); transform: translateY(-1px); }
.site-footer .geo-links__item.is-current { border-color: var(--orange-500); }
.site-footer .geo-links__flag { width: 22px; height: 16px; flex: none; border-radius: 3px; box-shadow: 0 0 0 1px rgba(0, 0, 0, .14); }
@media (max-width: 520px) {
  .site-footer .geo-links__list li { flex: 1 1 calc(50% - 10px); }
  .site-footer .geo-links__item { display: flex; }
}

/* readable in-text links (WCAG AA 4.5:1) */
.card p a, .faq__a a, p.muted a { color: #b84300; text-decoration: underline; text-underline-offset: 2px; }
.age-pill { background: #c42a00; }
