/* ============================================================
   Bunnico Casino (bunnico1.casino) - site overrides
   Look taken from the Bunnico screenshots: deep purple quilted
   ground, neon pink headings (#FF7BFF) with a magenta glow (#FF01CC),
   cyan buttons (#66EDFF) with dark text and thin gold frames around
   tiles and panels. Fredoka headings over Nunito Sans body text.
   ============================================================ */
:root {
  --font-display: "Fredoka", "Trebuchet MS", Arial, sans-serif;
  --font-body: "Nunito Sans", "Segoe UI", Arial, sans-serif;
  --bn-pink: #ff7bff;
  --bn-magenta: #ff01cc;
  --bn-cyan: #66edff;
  --bn-cyan-hover: #9af3ff;
  --bn-gold: #c9a063;
  --bn-gold-soft: rgba(201, 160, 99, 0.45);
  --bn-ink: #12061f;
  --bn-glow: 0 0 6px rgba(255, 1, 204, 0.55), 0 0 18px rgba(255, 1, 204, 0.35);
  --bn-quilt:
    repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.022) 0 1px, transparent 1px 46px),
    repeating-linear-gradient(-45deg, rgba(0, 0, 0, 0.22) 0 1px, transparent 1px 46px);
}

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

/* ---------- Header ---------- */
.site-header { border-bottom: 1px solid var(--bn-gold-soft); box-shadow: 0 6px 26px rgba(0, 0, 0, 0.45); }
.site-header .site-logo img { height: 42px; width: auto; }
.nav-main--desktop a {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.02rem;
  color: var(--bn-pink);
  border-radius: 999px;
}
.nav-main--desktop a:hover { color: #fff; background: rgba(255, 123, 255, 0.12); }
.btn {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0.01em;
  border-radius: 999px;
}
.btn--primary, .btn--primary:hover { background: var(--bn-cyan); color: var(--bn-ink); border: 0; box-shadow: 0 6px 20px rgba(102, 237, 255, 0.25); }
.btn--primary:hover { background: var(--bn-cyan-hover); }
.btn--mobile-cta { color: var(--bn-ink) !important; }
.btn--outline { border: 1px solid rgba(255, 255, 255, 0.16); color: #fff; background: rgba(255, 255, 255, 0.08); }
.btn--outline:hover { background: rgba(255, 255, 255, 0.14); color: #fff; border-color: var(--bn-pink); }

/* ---------- Hero: two columns, offer card at the side ---------- */
.hero {
  padding: 88px 0 76px;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(520px 320px at 18% 12%, rgba(255, 1, 204, 0.16), transparent 70%),
    radial-gradient(420px 300px at 88% 80%, rgba(102, 237, 255, 0.08), transparent 70%),
    var(--bn-quilt),
    linear-gradient(180deg, var(--color-hero-gradient-start), var(--color-hero-gradient-end));
  border-bottom: 1px solid var(--bn-gold-soft);
}
.hero__content {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  grid-template-areas: "badge box" "title box" "sub box" "ctas box";
  column-gap: 56px; row-gap: 18px;
  align-items: start; text-align: left; max-width: none; margin: 0;
  position: relative; z-index: 1;
}
.hero__badge {
  grid-area: badge; justify-self: start;
  color: var(--bn-cyan);
  font-family: var(--font-body); font-weight: 800; font-size: 0.8rem;
  letter-spacing: 0.08em;
  border: 1px solid rgba(102, 237, 255, 0.4);
  background: rgba(102, 237, 255, 0.07);
  border-radius: 999px;
  padding: 0.38rem 1rem; display: inline-flex; align-items: center; gap: 0.5rem;
}
.hero__badge::before { background: var(--bn-cyan); box-shadow: 0 0 10px rgba(102, 237, 255, 0.8); }
.hero h1 {
  grid-area: title;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(3rem, 6.4vw, 5.4rem);
  line-height: 1;
  letter-spacing: 0;
  color: var(--bn-pink);
  text-shadow: var(--bn-glow);
  margin: 0;
  text-transform: none;
}
.hero h1 .bn-pink { color: #fff; text-shadow: 0 0 14px rgba(255, 123, 255, 0.45); }
.hero__subtitle { grid-area: sub; margin: 0; max-width: 62ch; color: var(--color-text-muted); }
.hero__subtitle p { margin: 0; max-width: 62ch; }
.hero__ctas { grid-area: ctas; justify-content: flex-start; margin-top: 6px; }
.hero__bonus-box {
  grid-area: box; align-self: center;
  display: flex; flex-direction: column; gap: 10px;
  width: 100%; margin: 0;
  padding: 30px 30px 28px;
  text-align: left;
  background: linear-gradient(160deg, rgba(56, 22, 82, 0.95) 0%, rgba(28, 11, 45, 0.95) 100%);
  border: 1px solid var(--bn-gold);
  border-radius: 22px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55), 0 0 0 4px rgba(201, 160, 99, 0.1);
}
.hero__bonus-box .hero__bonus-label {
  align-self: flex-start;
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-body); font-weight: 800; font-size: 0.78rem;
  color: var(--bn-ink); background: var(--bn-gold);
  padding: 4px 12px; border-radius: 999px;
}
.hero__bonus-box .hero__bonus-value {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(1.9rem, 3vw, 2.6rem); line-height: 1.08; color: var(--bn-pink); text-shadow: var(--bn-glow);
}
.hero__bonus-box .hero__bonus-extra { color: var(--color-text-muted); font-size: 0.96rem; line-height: 1.6; border-top: 1px solid rgba(201, 160, 99, 0.35); padding-top: 14px; }
@media (max-width: 900px) {
  .hero { padding: 56px 0 48px; }
  .hero__content { grid-template-columns: 1fr; grid-template-areas: "badge" "title" "sub" "box" "ctas"; text-align: center; }
  .hero__badge { justify-self: center; }
  .hero__subtitle p { margin: 0 auto; }
  .hero__ctas { justify-content: center; }
  .hero__bonus-box { text-align: center; padding: 22px; }
  .hero__bonus-box .hero__bonus-label { align-self: center; }
}

/* ---------- Stats band ---------- */
.stats-bar { background: #160a26; border-bottom: 1px solid var(--bn-gold-soft); padding: 26px 0; }
.stats-bar__inner { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.stats-bar__inner .stat {
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: 0.3rem;
  padding: 16px 10px; border: 1px solid var(--bn-gold-soft);
  border-radius: 16px; background: linear-gradient(180deg, #2a1040 0%, #1d0b30 100%);
}
.stats-bar__inner .stat__value { font-family: var(--font-display); font-size: 1.7rem; font-weight: 600; line-height: 1.05; color: var(--bn-pink); }
.stats-bar__inner .stat:nth-child(even) .stat__value { color: var(--bn-cyan); }
.stats-bar__inner .stat__label { font-size: 0.8rem; line-height: 1.4; color: var(--color-text-muted); }
@media (max-width: 1100px) { .stats-bar__inner { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 600px) {
  .stats-bar__inner { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .stats-bar__inner .stat { padding: 12px; }
  .stats-bar__inner .stat__value { font-size: 1.4rem; }
}

/* ---------- Sections and headings ---------- */
.content-section { padding: 82px 0; }
.content-section--alt { background: var(--bn-quilt), #1a0b2b; border-top: 1px solid var(--bn-gold-soft); border-bottom: 1px solid var(--bn-gold-soft); }
.content-section h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.95rem, 3.1vw, 2.75rem);
  line-height: 1.12;
  color: var(--bn-pink);
  text-shadow: var(--bn-glow);
  padding: 0;
  margin: 0 0 30px;
  border: 0;
  max-width: none;
  text-transform: none;
}
.content-section h2::before, .content-section h2::after { display: none !important; }
.content-section h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.4rem;
  line-height: 1.25;
  color: #fff;
  margin: 40px 0 14px;
  padding: 0;
  border: 0;
  text-transform: none;
  letter-spacing: 0;
  clear: none;
}
.content-section h3::before {
  content: ""; display: inline-block; width: 10px; height: 10px; margin: 0 12px 0 0;
  border-radius: 50%; background: var(--bn-cyan); box-shadow: 0 0 10px rgba(102, 237, 255, 0.8); vertical-align: 0.15em;
}
.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(--bn-pink); }
.content-section a:not(.btn) { color: var(--bn-cyan); }
.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 28px rgba(255, 1, 204, 0.16));
}
.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; }
.bn-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 ---------- */
.bn-table-wrap {
  clear: both;
  margin: 28px 0 30px;
  border: 1px solid var(--bn-gold);
  border-radius: 16px;
  overflow: hidden;
  background: #1c0b2f;
}
.bn-table-wrap .bn-table-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.12rem;
  color: var(--bn-pink);
  padding: 14px 20px;
  border-bottom: 1px solid var(--bn-gold-soft);
  background: #2a1142;
  margin: 0;
  max-width: none;
}
.bn-table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.content-section .bn-table-wrap table {
  width: 100%; min-width: 600px; border-collapse: collapse; margin: 0; border: 0; display: table; font-size: 0.96rem;
}
.content-section .bn-table-wrap th,
.content-section .bn-table-wrap td {
  padding: 12px 18px; text-align: left; vertical-align: top; border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07); white-space: normal;
}
.content-section .bn-table-wrap thead th { font-family: var(--font-body); font-size: 0.85rem; font-weight: 800; color: var(--bn-cyan); background: rgba(102, 237, 255, 0.06); }
.content-section .bn-table-wrap tbody tr:nth-child(even) td { background: rgba(255, 255, 255, 0.02); }
.content-section .bn-table-wrap tbody tr:last-child td { border-bottom: 0; }
.content-section .bn-table-wrap td:first-child { color: #fff; font-weight: 700; }
@media (max-width: 600px) {
  .content-section .bn-table-wrap table { min-width: 520px; font-size: 0.92rem; }
  .content-section .bn-table-wrap th, .content-section .bn-table-wrap td { padding: 10px 12px; }
}

/* ---------- Game grid with real thumbnails, gold frames ---------- */
.bn-grid {
  clear: both; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 18px; margin: 26px 0 34px;
}
.bn-tile {
  position: relative; display: block; border-radius: 16px; overflow: hidden;
  background: #241035; border: 2px solid var(--bn-gold); text-decoration: none;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}
.bn-tile img { display: block; width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: cover; }
.bn-tile__info { display: block; padding: 9px 11px 12px; text-align: center; }
.bn-tile__name { display: block; color: #fff; font-weight: 700; font-size: 0.86rem; line-height: 1.3; }
.bn-tile__provider { display: flex; justify-content: center; align-items: center; gap: 6px; color: var(--color-text-faint); font-size: 0.76rem; line-height: 1.3; margin-top: 3px; }
.bn-tile__provider::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #3ddc84; flex: 0 0 auto; }
.content-section a.bn-tile { color: inherit; }
.bn-tile:hover { transform: translateY(-3px); border-color: var(--bn-pink); box-shadow: 0 0 0 1px var(--bn-pink), 0 12px 30px rgba(255, 1, 204, 0.28); }
.bn-tile:hover .bn-tile__name { color: var(--bn-pink); }
@media (max-width: 1100px) { .bn-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 720px) { .bn-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; } }
@media (max-width: 460px) { .bn-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- Callout ---------- */
.money-note {
  clear: both; border: 1px solid rgba(102, 237, 255, 0.35); background: rgba(102, 237, 255, 0.06);
  padding: 18px 22px; margin: 28px 0; border-radius: 16px;
}
.money-note p { margin-bottom: 0.6rem; }
.money-note p:last-child { margin-bottom: 0; }

/* ---------- Numbered steps ---------- */
.bn-steps { display: flow-root; counter-reset: bnstep; list-style: none; margin: 18px 0 26px !important; padding: 0 !important; }
.bn-steps li { counter-increment: bnstep; position: relative; padding: 4px 0 4px 54px; margin-bottom: 16px; }
.bn-steps li::before {
  content: counter(bnstep);
  position: absolute; left: 0; top: 0; width: 36px; height: 36px; display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 600; font-size: 1.05rem;
  color: var(--bn-ink); background: var(--bn-cyan); border-radius: 50%;
}

/* ---------- FAQ accordion ---------- */
.bn-faq { clear: both; margin: 18px 0 8px; }
.bn-faq details { border: 1px solid var(--bn-gold-soft); border-radius: 16px; background: #1f0c33; margin-bottom: 10px; overflow: hidden; }
.bn-faq summary { cursor: pointer; list-style: none; padding: 16px 56px 16px 20px; position: relative; font-weight: 800; font-size: 1.02rem; color: #fff; }
.bn-faq summary::-webkit-details-marker { display: none; }
.bn-faq summary::after {
  content: "+"; position: absolute; right: 16px; top: 50%; transform: translateY(-50%);
  width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center;
  font-size: 1.2rem; line-height: 1; color: var(--bn-ink); background: var(--bn-pink);
}
.bn-faq details[open] summary::after { content: "\2212"; }
.bn-faq details[open] { border-color: var(--bn-gold); }
.bn-faq details[open] summary { border-bottom: 1px solid rgba(255, 255, 255, 0.07); }
.bn-faq details p { padding: 14px 20px 16px; margin: 0; }

/* ---------- CTA banner, footer, sticky ---------- */
.cta-banner {
  background: radial-gradient(520px 240px at 50% 0%, rgba(255, 1, 204, 0.18), transparent 70%), var(--bn-quilt), #170a27;
  border-top: 1px solid var(--bn-gold-soft); text-align: center;
}
.cta-banner h2 { color: var(--bn-pink); text-shadow: var(--bn-glow); }
.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(--bn-gold-soft); background: var(--color-bg-2); }
.site-footer h5 { font-family: var(--font-display); font-weight: 600; color: var(--bn-pink); }
.site-footer .site-logo img { height: 40px; width: auto; }
.footer-badge { border-radius: 999px; border-color: var(--bn-gold-soft); }
.sticky-cta { border-top: 1px solid var(--bn-gold-soft); }
.sticky-cta__text span:first-child { font-family: var(--font-display); font-weight: 600; color: var(--bn-pink); }
.sticky-cta__bonus { color: var(--bn-cyan); 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: 32px; }
  .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; }
  .hero__badge::before { display: none; }
  .hero__badge { font-size: 0.72rem; letter-spacing: 0.04em; padding: 0.38rem 0.85rem; max-width: 100%; white-space: normal; text-align: center; }
  .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; }
}
@media (max-width: 380px) {
  .btn--mobile-cta { font-size: 0.66rem !important; padding: 0.45rem 0.55rem !important; }
}

/* ---------- Tablet and small laptop: 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; }
}

/* ---------- Sentence case everywhere ---------- */
.hero__badge, .hero__bonus-label, .hero__bonus-box .hero__bonus-label, .sticky-cta__bonus, .stat__label,
.footer-badge, .site-footer h5, .lang-switcher__code, .nav-mobile a, .btn { text-transform: none !important; }
