/* Bizzo Casino Norge — brand styles */
:root {
  --bg-deep: #12081f;
  --bg: #1a0f2e;
  --bg-elev: #24143a;
  --bg-soft: #2e1a48;
  --line: rgba(255, 200, 90, 0.16);
  --text: #f7f1ff;
  --muted: #c4b4d8;
  --gold: #f0c14b;
  --gold-hot: #e8a820;
  --amber: #cb7529;
  --violet: #7b3fd4;
  --violet-soft: #9b6aff;
  --green: #3dd68c;
  --danger: #ff6b7a;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
  --max: 1180px;
  --header-h: 76px;
  --font-display: "Sora", system-ui, sans-serif;
  --font-body: "Manrope", "Segoe UI", sans-serif;
  --ref: https://igamesfree.com/go-bizzo-casino-norway;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background:
    radial-gradient(1100px 520px at 8% -8%, rgba(203, 117, 41, 0.18), transparent 55%),
    radial-gradient(900px 480px at 92% 0%, rgba(123, 63, 212, 0.28), transparent 50%),
    linear-gradient(180deg, #1c1033 0%, var(--bg-deep) 42%, #0e0618 100%);
  min-height: 100vh;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--gold);
  text-decoration: none;
  transition: color 0.2s ease, opacity 0.2s ease;
}

a:hover {
  color: var(--gold-hot);
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 0.75rem;
  font-weight: 700;
}

h1 {
  font-size: clamp(2rem, 4.5vw, 3.35rem);
}

h2 {
  font-size: clamp(1.45rem, 3vw, 2.05rem);
}

h3 {
  font-size: clamp(1.1rem, 2vw, 1.35rem);
}

p {
  margin: 0 0 1rem;
  color: var(--muted);
}

ul,
ol {
  color: var(--muted);
  padding-left: 1.2rem;
}

.container {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(14px);
  background: rgba(18, 8, 31, 0.88);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--header-h);
}

.logo {
  display: inline-flex;
  align-items: center;
  line-height: 0;
  max-width: 140px;
}

.logo img {
  width: clamp(96px, 18vw, 128px);
  height: auto;
}

.nav {
  display: flex;
  align-items: center;
  gap: 0.35rem 1rem;
}

.nav a {
  color: var(--muted);
  font-weight: 600;
  font-size: 0.94rem;
  padding: 0.35rem 0.15rem;
}

.nav a:hover,
.nav a.is-active {
  color: var(--text);
}

.header-cta {
  display: flex;
  gap: 0.55rem;
  align-items: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.78rem 1.25rem;
  border-radius: 999px;
  font-weight: 700;
  font-family: var(--font-body);
  font-size: 0.95rem;
  border: 1px solid transparent;
  cursor: pointer;
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  text-decoration: none;
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--gold), var(--amber));
  color: #1a0c08;
  box-shadow: 0 10px 28px rgba(232, 168, 32, 0.32);
}

.btn-primary:hover {
  color: #1a0c08;
  box-shadow: 0 14px 34px rgba(232, 168, 32, 0.42);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--line);
  color: var(--text);
}

.btn-ghost:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(240, 193, 75, 0.35);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--bg-elev);
  padding: 10px;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  height: 2px;
  background: var(--text);
  margin: 5px 0;
  border-radius: 2px;
}

/* Hero — full bleed */
.hero {
  position: relative;
  min-height: clamp(420px, 62vw, 560px);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  isolation: isolate;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(12, 5, 22, 0.92) 0%, rgba(12, 5, 22, 0.55) 48%, rgba(12, 5, 22, 0.35) 100%),
    linear-gradient(180deg, transparent 35%, rgba(12, 5, 22, 0.95) 100%);
}

.hero-content {
  position: relative;
  padding: 4.5rem 0 3.2rem;
  max-width: 640px;
}

.brand-mark {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 0.85rem;
}

.hero h1 {
  margin-bottom: 1rem;
  text-shadow: 0 8px 30px rgba(0, 0, 0, 0.45);
}

.hero .lead {
  font-size: 1.1rem;
  max-width: 34rem;
  color: #ddd0ee;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 1.5rem 0 1rem;
}

.age-note {
  font-size: 0.82rem;
  color: #a894bc;
  margin: 0;
}

.page-hero {
  padding: 3.5rem 0 2rem;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(700px 280px at 80% 0%, rgba(123, 63, 212, 0.22), transparent 60%),
    linear-gradient(180deg, rgba(36, 20, 58, 0.6), transparent);
}

.page-hero .lead {
  max-width: 42rem;
  font-size: 1.08rem;
}

/* Sections */
.section {
  padding: 4.25rem 0;
}

.section.tight {
  padding-top: 2rem;
}

.section-head {
  max-width: 720px;
  margin-bottom: 2rem;
}

.section-head p {
  font-size: 1.05rem;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.1rem;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.1rem;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.feature {
  background: linear-gradient(160deg, rgba(46, 26, 72, 0.85), rgba(26, 15, 46, 0.9));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.35rem 1.25rem;
}

.feature h3 {
  margin-bottom: 0.45rem;
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 1.5rem;
}

.chip {
  display: inline-flex;
  align-items: center;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  font-size: 0.86rem;
  font-weight: 600;
}

/* Promo / category tiles */
.promo-rail {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.promo-tile {
  position: relative;
  display: block;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  transition: transform 0.25s ease;
  background: #160b28;
}

.promo-tile:hover {
  transform: translateY(-3px);
}

.promo-tile img {
  width: 100%;
  height: auto;
  aspect-ratio: 1665 / 430;
  object-fit: contain;
  object-position: center;
  display: block;
}

.promo-rail--photo .promo-tile img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.promo-tile .caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 1.1rem 1rem 0.9rem;
  background: linear-gradient(transparent, rgba(10, 4, 18, 0.92));
  color: var(--text);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
}

/* Promo banner slider — full image, no crop */
.promo-slider {
  position: relative;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: #160b28;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.promo-slider-viewport {
  overflow: hidden;
  width: 100%;
}

.promo-slider-track {
  display: flex;
  transition: transform 0.45s ease;
  will-change: transform;
}

.promo-slide {
  flex: 0 0 100%;
  min-width: 100%;
  display: block;
  line-height: 0;
}

.promo-slide img {
  width: 100%;
  height: auto;
  aspect-ratio: 1665 / 430;
  object-fit: contain;
  object-position: center;
  display: block;
  background: #160b28;
}

.promo-slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(240, 193, 75, 0.35);
  background: rgba(18, 8, 31, 0.82);
  color: var(--gold);
  cursor: pointer;
  display: grid;
  place-items: center;
  padding: 0;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.promo-slider-btn:hover {
  background: rgba(36, 20, 58, 0.95);
  border-color: var(--gold);
}

.promo-slider-btn.prev {
  left: 12px;
}

.promo-slider-btn.next {
  right: 12px;
}

.promo-slider-btn::before {
  content: "";
  width: 10px;
  height: 10px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
}

.promo-slider-btn.prev::before {
  transform: rotate(-135deg);
  margin-left: 3px;
}

.promo-slider-btn.next::before {
  transform: rotate(45deg);
  margin-right: 3px;
}

.promo-slider-dots {
  display: flex;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.85rem 0.75rem 1rem;
}

.promo-slider-dots button {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: 0;
  padding: 0;
  background: rgba(255, 255, 255, 0.28);
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease;
}

.promo-slider-dots button.is-active {
  background: var(--gold);
  transform: scale(1.2);
}

@media (max-width: 640px) {
  .promo-slider-btn {
    width: 38px;
    height: 38px;
  }

  .promo-slider-btn.prev {
    left: 6px;
  }

  .promo-slider-btn.next {
    right: 6px;
  }
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.category-card {
  position: relative;
  display: block;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  min-height: 180px;
}

.category-card img {
  width: 100%;
  height: 100%;
  min-height: 180px;
  object-fit: cover;
}

.category-card span {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 1rem;
  background: linear-gradient(transparent, rgba(10, 4, 18, 0.9));
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--text);
}

/* Games */
.game-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0.85rem;
}

.game-card {
  display: block;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--bg-elev);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.game-card:hover {
  transform: translateY(-3px);
  border-color: rgba(240, 193, 75, 0.4);
}

.game-card img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}

.game-card .name {
  padding: 0.55rem 0.6rem 0.7rem;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.3;
}

.game-card .provider {
  display: block;
  font-size: 0.68rem;
  font-weight: 500;
  color: var(--muted);
  margin-top: 0.15rem;
}

/* CTA band */
.cta-band {
  margin: 1rem 0 0;
  padding: 2rem;
  border-radius: var(--radius);
  border: 1px solid rgba(240, 193, 75, 0.28);
  background:
    radial-gradient(500px 180px at 90% 50%, rgba(123, 63, 212, 0.35), transparent 70%),
    linear-gradient(120deg, #2a1545, #1a0f2e);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}

.cta-band h2 {
  margin-bottom: 0.35rem;
}

.cta-band p {
  margin: 0;
  max-width: 36rem;
}

/* Steps */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  counter-reset: step;
}

.step {
  position: relative;
  padding: 1.4rem 1.2rem 1.2rem;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: rgba(36, 20, 58, 0.7);
  counter-increment: step;
}

.step::before {
  content: counter(step);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--amber));
  color: #1a0c08;
  font-weight: 800;
  font-family: var(--font-display);
  margin-bottom: 0.85rem;
}

/* Tables */
.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(26, 15, 46, 0.75);
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 560px;
}

.data-table th,
.data-table td {
  padding: 0.95rem 1.1rem;
  text-align: left;
  border-bottom: 1px solid var(--line);
}

.data-table th {
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold);
  background: rgba(46, 26, 72, 0.8);
}

.data-table td {
  color: var(--muted);
}

.data-table tr:last-child td {
  border-bottom: 0;
}

/* FAQ */
.faq details {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: rgba(36, 20, 58, 0.55);
  margin-bottom: 0.65rem;
  padding: 0 1rem;
}

.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 1rem 0;
  font-weight: 700;
  font-family: var(--font-display);
  color: var(--text);
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq details[open] summary {
  color: var(--gold);
}

.faq details p {
  padding-bottom: 1rem;
}

/* Prose legal */
.prose {
  max-width: 820px;
}

.prose h2 {
  margin-top: 2.2rem;
}

.prose h3 {
  margin-top: 1.4rem;
}

.prose p,
.prose li {
  font-size: 0.98rem;
}

.split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
  align-items: center;
}

.split-media {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.split-media img {
  width: 100%;
  height: auto;
  max-height: none;
  object-fit: contain;
  background: #160b28;
}

.split-media img[src*="kampanjer"] {
  aspect-ratio: 1665 / 430;
}

.banner-strip {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  margin-bottom: 1.5rem;
  background: #160b28;
}

.banner-strip img {
  width: 100%;
  height: auto;
  max-height: none;
  object-fit: contain;
  display: block;
}

/* Footer */
.site-footer {
  margin-top: 2rem;
  padding: 3.5rem 0 6.5rem;
  border-top: 1px solid var(--line);
  background: #0c0616;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2rem;
}

.footer-brand img {
  width: 120px;
  margin-bottom: 0.85rem;
}

.footer-brand p,
.site-footer a {
  color: #a894bc;
  font-size: 0.92rem;
}

.site-footer a:hover {
  color: var(--gold);
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.footer-col strong {
  color: var(--text);
  margin-bottom: 0.35rem;
  font-family: var(--font-display);
}

.footer-legal {
  margin-top: 2rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
  font-size: 0.8rem;
  color: #8a769e;
}

.footer-legal p {
  color: #8a769e;
  margin-bottom: 0.5rem;
}

/* Sticky CTA */
.sticky-cta {
  position: fixed;
  z-index: 90;
  left: 50%;
  bottom: 14px;
  transform: translateX(-50%);
  width: min(640px, calc(100% - 24px));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.7rem 0.75rem 0.7rem 1rem;
  border-radius: 999px;
  background: rgba(26, 15, 46, 0.94);
  border: 1px solid rgba(240, 193, 75, 0.35);
  backdrop-filter: blur(12px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
}

.sticky-cta span {
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #a894bc;
  display: block;
}

.sticky-cta strong {
  font-size: 0.95rem;
  color: var(--text);
}

.sticky-cta .btn {
  padding: 0.65rem 1.1rem;
  font-size: 0.88rem;
}

/* Reveal motion */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.reveal.is-in {
  opacity: 1;
  transform: none;
}

@media (max-width: 1100px) {
  .game-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .category-grid,
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 900px) {
  .nav {
    display: none;
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.75rem 1rem 1rem;
    background: rgba(18, 8, 31, 0.98);
    border-bottom: 1px solid var(--line);
  }

  .nav.is-open {
    display: flex;
  }

  .nav a {
    padding: 0.85rem 0.4rem;
    border-bottom: 1px solid var(--line);
  }

  .menu-toggle {
    display: block;
    order: 3;
  }

  .header-cta .btn-ghost {
    display: none;
  }

  .header-inner {
    position: relative;
  }

  .grid-3,
  .promo-rail,
  .steps,
  .split,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .grid-2 {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 480px;
  }

  .hero-overlay {
    background:
      linear-gradient(180deg, rgba(12, 5, 22, 0.35) 0%, rgba(12, 5, 22, 0.78) 45%, rgba(12, 5, 22, 0.96) 100%);
  }
}

@media (max-width: 640px) {
  .game-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .category-grid,
  .grid-4 {
    grid-template-columns: 1fr 1fr;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .sticky-cta {
    border-radius: 16px;
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }

  .sticky-cta .btn {
    width: 100%;
  }

  .cta-band {
    text-align: center;
    justify-content: center;
  }

  .data-table {
    min-width: 0;
  }

  .data-table thead {
    display: none;
  }

  .data-table tr {
    display: block;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--line);
  }

  .data-table td {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    border: 0;
    padding: 0.35rem 1rem;
  }

  .data-table td::before {
    content: attr(data-label);
    color: var(--gold);
    font-weight: 700;
    font-size: 0.78rem;
  }
}

/* Hero loading and mobile character composition */
.hero-mobile-right { display: none; }
/* Do not delay visible content behind JS-triggered reveal animations. */
.reveal { opacity: 1; transform: none; }
@media (max-width: 640px) {
  .hero { min-height: 0; display: block; background: #1a0a28; }
  .hero-media { inset: 0 0 auto; height: 225px; display: flex; overflow: hidden; }
  .hero-media img, .hero-media .hero-mobile-right {
    display: block; width: 50%; height: 100%; flex: 0 0 50%;
    object-fit: cover; object-position: 17% center;
  }
  .hero-media .hero-mobile-right { object-position: 83% center; }
  .hero-overlay {
    background: linear-gradient(180deg, rgba(12,5,22,.05) 0%, rgba(12,5,22,.15) 22%, #1a0a28 47%, #1a0a28 100%);
  }
  .hero-content { max-width: none; padding-top: 248px; padding-bottom: 2rem; }
}

/* 2026-10-20: display image content without scroll-triggered delays. */
.reveal, .reveal.is-in { opacity: 1 !important; transform: none !important; transition: none !important; }
.hero-media picture { display: block; width: 100%; height: 100%; }
.hero-media picture img { display: block; width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 640px) {
  .hero { display: block; min-height: 0; }
  .hero-media { position: relative; inset: auto; height: auto; width: 100%; display: block; overflow: hidden; }
  .hero-media picture { display: block; width: 100%; height: auto; }
  .hero-media picture img { width: 100%; height: auto; aspect-ratio: 720 / 460; object-fit: contain; object-position: center; }
  .hero-overlay { display: none; }
  .hero-content { padding-top: 1.5rem; padding-bottom: 2rem; }
}
