/* ============================================================
   Valhally Casino (valhally.site) - site overrides
   Palette from the supplied Valhally screenshots: cold near black
   (#0B0D12) ground, slate panels and the steel blue (#4F72AD) of the
   Register and Next Step buttons, with frost silver as second tone.
   Cinzel headings echo the serif wordmark; Inter is the UI font.
   ============================================================ */
:root {
  --font-display: "Cinzel", Georgia, "Times New Roman", serif;
  --font-body: "Inter", "Segoe UI", Arial, sans-serif;
  --vh-steel: #4f72ad;
  --vh-steel-lt: #7f9fd6;
  --vh-steel-soft: rgba(79, 114, 173, 0.14);
  --vh-frost: #c9d4e6;
  --vh-panel: #121621;
  --vh-panel-2: #171c29;
  --vh-line: #232a3a;
  --vh-line-2: #2f3850;
}

body {
  font-family: var(--font-body);
  font-size: 1.02rem;
  line-height: 1.72;
  background: var(--color-bg);
  font-synthesis: none;
}

/* ---------- Header ---------- */
.site-header { border-bottom: 1px solid var(--vh-line); box-shadow: none; }
.site-header .site-logo img { height: 34px; width: auto; }
.nav-main--desktop a {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.95rem;
  border-radius: 6px;
  color: var(--vh-frost);
}
.nav-main--desktop a:hover { color: #fff; background: var(--vh-steel-soft); }
.btn { font-family: var(--font-body); font-weight: 600; border-radius: 6px; letter-spacing: 0.01em; }
.btn--primary { background: var(--vh-steel); color: #fff; border: 1px solid var(--vh-steel); box-shadow: none; }
.btn--primary:hover { background: #5d82c2; border-color: #5d82c2; color: #fff; }
.btn--outline { background: transparent; color: var(--vh-frost); border: 1px solid var(--vh-line-2); }
.btn--outline:hover { background: var(--vh-panel-2); color: #fff; border-color: var(--vh-steel-lt); }
.btn--mobile-cta { color: #fff !important; }

/* ---------- Hero: centred title, wide reward strip ---------- */
.hero {
  padding: 96px 0 70px;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(700px 380px at 50% -40px, rgba(79, 114, 173, 0.28), transparent 70%),
    linear-gradient(180deg, #0f131c 0%, var(--color-bg) 100%);
  border-bottom: 1px solid var(--vh-line);
}
.hero::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--vh-steel), transparent);
}
.hero__content {
  display: flex; flex-direction: column; align-items: center;
  text-align: center; max-width: 900px; margin: 0 auto; gap: 18px;
  position: relative; z-index: 1;
}
.hero__badge {
  color: var(--vh-frost);
  font-family: var(--font-body); font-weight: 600; font-size: 0.82rem;
  letter-spacing: 0.14em; text-transform: uppercase !important;
  border: 0; background: transparent; padding: 0;
}
.hero__badge::before { display: none; }
.hero h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.8rem, 6vw, 4.8rem);
  line-height: 1.04;
  letter-spacing: 0.02em;
  color: #fff;
  margin: 0;
  text-transform: none;
}
.hero h1 .vh-steel { color: var(--vh-steel-lt); }
.hero__subtitle { margin: 0; color: var(--color-text-muted); }
.hero__subtitle p { margin: 0 auto; max-width: 66ch; }
.hero__bonus-box {
  order: 5;
  width: 100%;
  margin: 10px 0 0;
  padding: 20px 26px;
  display: grid;
  grid-template-columns: auto minmax(0, 1.2fr) minmax(240px, 1fr);
  align-items: center;
  column-gap: 22px;
  text-align: left;
  background: var(--vh-panel);
  border: 1px solid var(--vh-line-2);
  border-left: 4px solid var(--vh-steel);
  border-radius: 8px;
}
.hero__bonus-box .hero__bonus-label {
  font-family: var(--font-body); font-size: 0.78rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase !important;
  color: var(--vh-steel-lt); background: none; padding: 0; margin: 0;
}
.hero__bonus-box .hero__bonus-value {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(1.3rem, 2vw, 1.6rem); line-height: 1.2; color: #fff; margin: 0;
}
.hero__bonus-box .hero__bonus-extra { color: var(--color-text-muted); font-size: 0.93rem; line-height: 1.5; }
.hero__ctas { order: 4; justify-content: center; margin-top: 6px; }
@media (max-width: 860px) {
  .hero { padding: 58px 0 48px; }
  .hero__bonus-box { grid-template-columns: 1fr; row-gap: 8px; text-align: center; border-left-width: 1px; border-top: 4px solid var(--vh-steel); }
}

/* ---------- Stats band ---------- */
.stats-bar { background: var(--color-bg-2); border-bottom: 1px solid var(--vh-line); padding: 0; }
.stats-bar__inner { display: grid; grid-template-columns: repeat(6, 1fr); gap: 0; }
.stats-bar__inner .stat {
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: 4px;
  padding: 24px 10px; border-right: 1px solid var(--vh-line); background: transparent; border-radius: 0;
}
.stats-bar__inner .stat:last-child { border-right: 0; }
.stats-bar__inner .stat__value { font-family: var(--font-display); font-size: 1.75rem; font-weight: 700; line-height: 1.05; color: #fff; }
.stats-bar__inner .stat:nth-child(3n+2) .stat__value { color: var(--vh-steel-lt); }
.stats-bar__inner .stat__label { font-size: 0.78rem; line-height: 1.4; color: var(--color-text-faint); }
@media (max-width: 1100px) {
  .stats-bar__inner { grid-template-columns: repeat(3, 1fr); }
  .stats-bar__inner .stat { border-bottom: 1px solid var(--vh-line); }
  .stats-bar__inner .stat:nth-child(3n) { border-right: 0; }
}
@media (max-width: 600px) {
  .stats-bar__inner { grid-template-columns: repeat(2, 1fr); }
  .stats-bar__inner .stat { padding: 16px 8px; border-right: 1px solid var(--vh-line) !important; }
  .stats-bar__inner .stat:nth-child(2n) { border-right: 0 !important; }
  .stats-bar__inner .stat__value { font-size: 1.4rem; }
}

/* ---------- Sections and headings ---------- */
.content-section { padding: 84px 0; }
.content-section--alt { background: #0e1119; border-top: 1px solid var(--vh-line); border-bottom: 1px solid var(--vh-line); }
.content-section h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  line-height: 1.15;
  letter-spacing: 0.01em;
  color: #fff;
  padding: 0;
  margin: 0 0 34px;
  border: 0;
  display: flex; align-items: center; gap: 18px;
  max-width: none;
  text-transform: none;
}
.content-section h2::before { display: none !important; }
.content-section h2::after {
  content: ""; flex: 1 1 auto; height: 1px; min-width: 40px;
  background: linear-gradient(90deg, var(--vh-steel), transparent);
  position: static; width: auto; box-shadow: none;
}
.content-section h3 {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1.24rem;
  line-height: 1.3;
  color: var(--vh-frost);
  margin: 40px 0 14px;
  padding: 0 0 0 14px;
  border: 0;
  border-left: 3px solid var(--vh-steel);
  text-transform: none;
  letter-spacing: 0;
  clear: none;
}
.content-section h3::before { display: none; }
.content-section p { margin-bottom: 1.05rem; color: var(--color-text-muted); }
.content-section p strong, .content-section li strong { color: #fff; }
.content-section li { margin-bottom: 0.45rem; color: var(--color-text-muted); }
.content-section li::marker { color: var(--vh-steel-lt); }
.content-section a:not(.btn) { color: var(--vh-steel-lt); }
.content-section p, .content-section li { max-width: calc(74ch + 330px); }
.content-section h3, .content-section ul, .content-section ol { display: flow-root; }
.content-section ul, .content-section ol { padding-left: 1.2rem; margin: 0 0 1.2rem 0; }
@media (max-width: 900px) {
  .content-section { padding: 56px 0; }
  .content-section p, .content-section li { max-width: 74ch; }
}

/* ---------- Supplied artwork beside the text ---------- */
.content-section .section-illus--transparent {
  max-width: 300px; width: 300px; height: auto;
  background: transparent; box-shadow: none; border-radius: 0;
  filter: drop-shadow(0 0 34px rgba(79, 114, 173, 0.22));
}
.content-section .section-illus--right { float: right; margin: 0 0 22px 36px; }
.content-section .section-illus--left { float: left; margin: 0 36px 22px 0; }
.content-section h3 + .section-illus { clear: both; }
.vh-clear { clear: both; }
@media (max-width: 900px) {
  .content-section .section-illus--transparent,
  .content-section .section-illus--right,
  .content-section .section-illus--left {
    float: none; display: block; width: 260px; max-width: 260px; margin: 12px auto 22px;
  }
}

/* ---------- Fact tables ---------- */
.vh-table-wrap { clear: both; margin: 28px 0 30px; border: 1px solid var(--vh-line-2); border-radius: 8px; overflow: hidden; background: var(--vh-panel); }
.vh-table-wrap .vh-table-title {
  font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; color: #fff;
  padding: 14px 20px; margin: 0; max-width: none;
  border-bottom: 1px solid var(--vh-line-2); background: var(--vh-panel-2);
}
.vh-table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.content-section .vh-table-wrap table { width: 100%; min-width: 600px; border-collapse: collapse; margin: 0; border: 0; display: table; font-size: 0.95rem; }
.content-section .vh-table-wrap th,
.content-section .vh-table-wrap td { padding: 12px 18px; text-align: left; vertical-align: top; border: 0; border-bottom: 1px solid var(--vh-line); white-space: normal; }
.content-section .vh-table-wrap thead th { font-size: 0.8rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--vh-steel-lt); background: #0f131c; }
.content-section .vh-table-wrap tbody tr:nth-child(even) td { background: rgba(255, 255, 255, 0.015); }
.content-section .vh-table-wrap tbody tr:last-child td { border-bottom: 0; }
.content-section .vh-table-wrap td:first-child { color: #fff; font-weight: 600; }
@media (max-width: 600px) {
  .content-section .vh-table-wrap table { min-width: 520px; font-size: 0.9rem; }
  .content-section .vh-table-wrap th, .content-section .vh-table-wrap td { padding: 10px 12px; }
}

/* ---------- Game grid with real thumbnails ---------- */
.vh-grid { clear: both; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; margin: 26px 0 34px; }
.vh-tile {
  display: block; border-radius: 10px; overflow: hidden; text-decoration: none;
  background: var(--vh-panel); border: 1px solid var(--vh-line);
  transition: transform 0.18s ease, border-color 0.18s ease;
}
.vh-tile img { display: block; width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: cover; }
.vh-tile__info { display: block; padding: 10px 12px 12px; }
.vh-tile__name { display: block; color: #fff; font-weight: 600; font-size: 0.87rem; line-height: 1.3; white-space: normal; overflow-wrap: anywhere; }
.vh-tile__provider { display: block; color: var(--vh-steel-lt); font-size: 0.75rem; line-height: 1.3; margin-top: 3px; }
.content-section a.vh-tile { color: inherit; }
.vh-tile:hover { transform: translateY(-3px); border-color: var(--vh-steel); }
@media (max-width: 1100px) { .vh-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 720px) { .vh-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; } }
@media (max-width: 460px) { .vh-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- Callout ---------- */
.money-note { clear: both; border: 1px solid var(--vh-line-2); border-top: 3px solid var(--vh-steel); background: var(--vh-panel); padding: 18px 22px; margin: 28px 0; border-radius: 8px; }
.money-note p { margin-bottom: 0.6rem; }
.money-note p:last-child { margin-bottom: 0; }

/* ---------- Numbered steps ---------- */
.vh-steps { display: flow-root; counter-reset: vhstep; list-style: none; margin: 18px 0 26px !important; padding: 0 !important; }
.vh-steps li { counter-increment: vhstep; position: relative; padding: 5px 0 5px 52px; margin-bottom: 14px; }
.vh-steps li::before {
  content: counter(vhstep);
  position: absolute; left: 0; top: 0; width: 34px; height: 34px;
  display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 700; font-size: 1rem; color: #fff;
  border: 1px solid var(--vh-steel); background: var(--vh-steel-soft); border-radius: 4px;
}

/* ---------- FAQ accordion ---------- */
.vh-faq { clear: both; margin: 18px 0 8px; border-top: 1px solid var(--vh-line-2); }
.vh-faq details { border-bottom: 1px solid var(--vh-line-2); background: transparent; }
.vh-faq summary { cursor: pointer; list-style: none; padding: 18px 48px 18px 0; position: relative; font-weight: 600; font-size: 1.02rem; color: #fff; }
.vh-faq summary::-webkit-details-marker { display: none; }
.vh-faq summary::after {
  content: ""; position: absolute; right: 8px; top: 50%; width: 10px; height: 10px;
  border-right: 2px solid var(--vh-steel-lt); border-bottom: 2px solid var(--vh-steel-lt);
  transform: translateY(-70%) rotate(45deg); transition: transform 0.2s ease;
}
.vh-faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.vh-faq details p { padding: 0 0 18px; margin: 0; }

/* ---------- CTA banner, footer, sticky ---------- */
.cta-banner { background: radial-gradient(600px 260px at 50% 0%, rgba(79, 114, 173, 0.2), transparent 70%), var(--color-bg-2); border-top: 1px solid var(--vh-line); text-align: center; }
.cta-banner h2 { justify-content: center; }
.cta-banner h2::after { display: none; }
.cta-banner p { margin-left: auto; margin-right: auto; max-width: 760px; }
.site-footer { border-top: 1px solid var(--vh-line); background: #08090d; }
.site-footer h5 { font-family: var(--font-display); font-weight: 700; color: #fff; }
.site-footer .site-logo img { height: 30px; width: auto; }
.footer-badge { border-radius: 4px; border-color: var(--vh-line-2); }
.sticky-cta { border-top: 1px solid var(--vh-line-2); }
.sticky-cta__text span:first-child { font-family: var(--font-display); font-weight: 700; }
.sticky-cta__bonus { color: var(--vh-steel-lt); font-weight: 700; }

/* ---------- Anchor offset, mobile header ---------- */
.content-section[id] { scroll-margin-top: 76px; }
@media (max-width: 640px) {
  .site-header .container { gap: 8px; padding-left: 16px; padding-right: 16px; }
  .site-header .site-logo img { height: 26px; }
  .site-header .site-logo { flex-shrink: 0; margin-right: 6px; }
  .nav-toggle { flex-shrink: 0; margin-left: 6px; }
  .btn--mobile-cta { margin-left: auto; font-size: 0.74rem !important; padding: 0.5rem 0.8rem !important; min-width: 0; max-width: 46vw; flex-shrink: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .sticky-cta__text span:first-child { display: none; }
  .sticky-cta__bonus { font-size: 0.9rem; line-height: 1.3; }
  .sticky-cta .btn { white-space: nowrap; }
  .content-section h2 { gap: 12px; }
}
@media (max-width: 380px) { .btn--mobile-cta { font-size: 0.66rem !important; padding: 0.45rem 0.55rem !important; } }

/* ---------- Hamburger menu up to 1199px ---------- */
@media (max-width: 1199px) {
  .btn--mobile-cta { display: inline-flex; }
  .nav-toggle { display: flex; }
  .nav-main--desktop { display: none; }
  .nav-actions { display: none; }
}
@media (min-width: 769px) and (max-width: 1199px) { .nav-mobile.open { display: flex !important; } }

.hero__bonus-label, .sticky-cta__bonus, .stat__label, .footer-badge, .site-footer h5, .lang-switcher__code, .nav-mobile a, .btn { letter-spacing: 0.01em; }
.sticky-cta__bonus, .stat__label, .footer-badge, .site-footer h5, .nav-mobile a, .btn { text-transform: none !important; }
