/* ============================================================
   HoneyMoney Casino — Stylesheet
   Palette: burgundy / gold
   ============================================================ */

/* ----------------------------------------------------------
   Custom properties
   ---------------------------------------------------------- */
:root {
  --base:    #3B1220;
  --deep:    #250A14;
  --accent:  #E3B44B;
  --accent2: #C4566E;
  --surface: #F8F3F1;
  --ink:     #22121A;
  --muted:   #75606A;

  --radius: 4px;
  --container: 1200px;

  --font-head: Tahoma, 'Segoe UI', Verdana, sans-serif;
  --font-body: Georgia, 'Times New Roman', serif;
}

/* ----------------------------------------------------------
   Reset / base
   ---------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 17px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--ink);
  background: var(--surface);
  line-height: 1.7;
}

/* ----------------------------------------------------------
   Container
   ---------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 1rem;
}

/* ----------------------------------------------------------
   Typography
   ---------------------------------------------------------- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-head);
  color: var(--base);
  line-height: 1.25;
  margin-bottom: 0.6em;
}

h1 { font-size: 2.25rem; }
h2 { font-size: 1.55rem; margin-top: 2rem; }
h3 { font-size: 1.2rem;  margin-top: 1.5rem; color: var(--deep); }
h4 { font-size: 1rem;    color: var(--accent); font-family: var(--font-head); }

p { margin-bottom: 1rem; }

a {
  color: var(--accent2);
  text-decoration: underline;
  transition: color 0.2s;
}
a:hover  { color: var(--accent); }
a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: var(--radius);
}

/* intro paragraph */
.intro {
  font-size: 1.05rem;
  color: var(--muted);
  border-left: 3px solid var(--accent);
  padding-left: 1rem;
  margin-bottom: 1.5rem;
}

/* checklist */
.checklist {
  list-style: none;
  padding: 0;
  margin-bottom: 1.5rem;
}
.checklist li {
  padding: 0.35rem 0 0.35rem 2rem;
  position: relative;
  border-bottom: 1px solid color-mix(in srgb, var(--muted) 25%, transparent);
}
.checklist li::before {
  content: '';
  position: absolute;
  left: 0.3rem;
  top: 0.65rem;
  width: 1rem;
  height: 0.6rem;
  border-left: 3px solid var(--accent);
  border-bottom: 3px solid var(--accent);
  transform: rotate(-45deg);
}

/* ----------------------------------------------------------
   HEADER
   ---------------------------------------------------------- */
header {
  background: var(--base);
  text-align: center;
}

/* Wordmark / logo */
.site-logo {
  display: inline-block;
  padding: 1rem 1.5rem 0.75rem;
  font-family: var(--font-head);
  font-size: 1.75rem;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: 0.02em;
  color: #fff;
  transition: opacity 0.2s;
}
.site-logo span {
  color: var(--accent);
}
.site-logo:hover  { opacity: 0.85; color: #fff; }
.site-logo:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: var(--radius);
}

/* Nav bar */
nav {
  background: var(--deep);
  border-top: 2px solid var(--accent);
}
nav ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0;
}
nav ul li a {
  display: block;
  padding: 0.65rem 0.85rem;
  font-family: var(--font-head);
  font-size: 0.82rem;
  font-weight: 600;
  text-decoration: none;
  color: rgba(255,255,255,0.82);
  letter-spacing: 0.03em;
  transition: background 0.2s, color 0.2s;
  border-radius: 0;
}
nav ul li a:hover {
  background: var(--base);
  color: var(--accent);
}
nav ul li a.active {
  color: var(--accent);
  background: var(--base);
}
nav ul li a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: -2px;
}

/* ----------------------------------------------------------
   BONUS BANNER (full-bleed strip)
   ---------------------------------------------------------- */
.bonus-banner {
  background: var(--deep);
  border-bottom: 3px solid var(--accent);
  padding: 0.85rem 0;
}
.bonus-banner .container {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  align-items: flex-start;
}
.bonus-banner-text {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.bonus-banner-text strong {
  font-family: var(--font-head);
  font-size: 1rem;
  color: var(--accent);
  line-height: 1.3;
}
.bonus-banner-text span {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.72);
  font-family: var(--font-body);
}

/* ----------------------------------------------------------
   BUTTONS
   ---------------------------------------------------------- */
.btn {
  display: inline-block;
  padding: 0.65rem 1.5rem;
  font-family: var(--font-head);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--deep);
  background: linear-gradient(
    to bottom,
    color-mix(in srgb, var(--accent) 80%, #fff 20%) 0%,
    var(--accent) 45%,
    color-mix(in srgb, var(--accent) 80%, var(--deep) 20%) 100%
  );
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.45),
    0 2px 6px rgba(0,0,0,0.35);
  border: 1px solid color-mix(in srgb, var(--accent) 70%, var(--deep) 30%);
  border-radius: var(--radius);
  cursor: pointer;
  white-space: nowrap;
  transition: filter 0.2s, transform 0.1s, box-shadow 0.2s;
}
.btn:hover {
  filter: brightness(1.08);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.55),
    0 4px 12px rgba(0,0,0,0.4);
  color: var(--deep);
}
.btn:active {
  transform: translateY(1px);
  filter: brightness(0.97);
}
.btn:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}

/* ----------------------------------------------------------
   MAIN CONTENT AREA
   ---------------------------------------------------------- */
main {
  padding: 2rem 0 3rem;
}
main > .container > h1:first-of-type {
  margin-top: 0.5rem;
}

/* ----------------------------------------------------------
   TABLES
   ---------------------------------------------------------- */
.table-wrap {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin-bottom: 1.5rem;
  border-radius: var(--radius);
  border: 1px solid color-mix(in srgb, var(--muted) 30%, transparent);
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 480px;
  font-size: 0.9rem;
  font-family: var(--font-body);
  background: #fff;
}
thead tr {
  border-bottom: 2px solid var(--accent);
}
thead th {
  padding: 0.7rem 1rem;
  text-align: left;
  font-family: var(--font-head);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--accent);
  background: var(--deep);
  white-space: nowrap;
}
tbody tr {
  border-bottom: 1px solid color-mix(in srgb, var(--muted) 22%, transparent);
}
tbody tr:last-child {
  border-bottom: none;
}
tbody td {
  padding: 0.65rem 1rem;
  color: var(--ink);
  vertical-align: top;
}

/* ----------------------------------------------------------
   MID-PAGE BANNER
   ---------------------------------------------------------- */
.banner-mid {
  background: var(--base);
  border-top: 3px solid var(--accent);
  border-bottom: 3px solid var(--accent);
  padding: 1rem 0;
  margin: 2rem 0;
  border-radius: var(--radius);
}
.banner-mid .container {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  align-items: flex-start;
}
.banner-mid-text {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}
.banner-mid-text strong {
  font-family: var(--font-head);
  font-size: 1rem;
  color: var(--accent);
  line-height: 1.3;
}
.banner-mid-text span {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.75);
}

/* ----------------------------------------------------------
   CARDS  (outlined, accent left border)
   ---------------------------------------------------------- */
.card-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  margin-bottom: 2rem;
}
.card {
  background: #fff;
  border: 1px solid color-mix(in srgb, var(--muted) 35%, transparent);
  border-left: 4px solid var(--accent);
  border-radius: var(--radius);
  padding: 1.35rem 1.5rem;
  transition: box-shadow 0.2s;
}
.card:hover {
  box-shadow: 0 4px 16px rgba(59,18,32,0.12);
}
.card h3 {
  font-size: 1.05rem;
  color: var(--base);
  margin-top: 0;
  margin-bottom: 0.5rem;
}
.card p {
  font-size: 0.9rem;
  color: var(--ink);
  margin-bottom: 0;
}

/* ----------------------------------------------------------
   FAQ ACCORDION  (CSS-only hidden-checkbox technique)
   ---------------------------------------------------------- */
.faq {
  margin-bottom: 2rem;
}
.faq-item {
  border-bottom: 1px solid color-mix(in srgb, var(--muted) 30%, transparent);
}
.faq-item:first-child {
  border-top: 1px solid color-mix(in srgb, var(--muted) 30%, transparent);
}

/* hide the checkbox */
.faq-item input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
  pointer-events: none;
}

/* label = the clickable question row */
.faq-item label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 0.95rem 0.5rem;
  font-family: var(--font-head);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--base);
  cursor: pointer;
  user-select: none;
  transition: color 0.2s;
}
.faq-item label:hover {
  color: var(--accent2);
}
.faq-item label:focus-within {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* plus / minus drawn in CSS */
.faq-item label::after {
  content: '';
  flex-shrink: 0;
  display: block;
  width: 1.1rem;
  height: 1.1rem;
  position: relative;
  background:
    /* horizontal bar — always present */
    linear-gradient(var(--accent), var(--accent)) center/100% 2px no-repeat,
    /* vertical bar — present when closed */
    linear-gradient(var(--accent), var(--accent)) center/2px 100% no-repeat;
  transition: opacity 0.2s, transform 0.25s;
}

/* when checkbox is checked, remove vertical bar (show minus) */
.faq-item input[type="checkbox"]:checked + label::after {
  background:
    linear-gradient(var(--accent), var(--accent)) center/100% 2px no-repeat;
  transform: rotate(0deg);
}

/* the answer body */
.faq-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}
.faq-body p {
  padding: 0 0.5rem 1rem;
  font-size: 0.9rem;
  color: var(--ink);
  margin: 0;
}

/* open state */
.faq-item input[type="checkbox"]:checked ~ .faq-body {
  max-height: 800px;
}

/* ----------------------------------------------------------
   FOOTER
   ---------------------------------------------------------- */
footer {
  background: var(--deep);
  color: rgba(255,255,255,0.75);
  padding: 2.5rem 0 0;
  font-size: 0.88rem;
}
footer .container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
.footer-brand {
  font-family: var(--font-head);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 0.5rem;
}
.footer-col p {
  color: rgba(255,255,255,0.65);
  margin-bottom: 0;
  font-size: 0.85rem;
}
.footer-col h4 {
  color: var(--accent);
  font-family: var(--font-head);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}
.footer-col ul {
  list-style: none;
  padding: 0;
}
.footer-col ul li {
  margin-bottom: 0.35rem;
}
.footer-col ul li a {
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  font-size: 0.88rem;
  transition: color 0.2s;
}
.footer-col ul li a:hover {
  color: var(--accent);
}
.footer-col ul li a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: var(--radius);
}

.footer-bottom {
  margin-top: 2rem;
  border-top: 1px solid color-mix(in srgb, var(--muted) 30%, transparent);
  padding: 1rem 0;
  text-align: center;
}
.footer-bottom p {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.45);
  margin: 0;
}

/* ----------------------------------------------------------
   640 px BREAKPOINT
   ---------------------------------------------------------- */
@media (min-width: 640px) {
  .container {
    padding-inline: 1.5rem;
  }

  /* bonus banner */
  .bonus-banner .container {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
  .bonus-banner-text strong { font-size: 1.05rem; }

  /* mid banner */
  .banner-mid .container {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  /* cards */
  .card-grid {
    grid-template-columns: 1fr 1fr;
  }

  /* footer */
  footer .container {
    grid-template-columns: 1fr 1fr;
  }

  h1 { font-size: 2.5rem; }
  h2 { font-size: 1.7rem; }
}

/* ----------------------------------------------------------
   1024 px BREAKPOINT
   ---------------------------------------------------------- */
@media (min-width: 1024px) {
  .container {
    padding-inline: 2rem;
  }

  nav ul li a {
    padding: 0.75rem 1.1rem;
    font-size: 0.88rem;
  }

  /* cards */
  .card-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  /* footer */
  footer .container {
    grid-template-columns: 2fr 1fr 1fr;
  }

  h1 { font-size: 2.75rem; }
  h2 { font-size: 1.85rem; }

  /* bonus banner bigger text */
  .bonus-banner-text strong { font-size: 1.15rem; }
  .banner-mid-text strong   { font-size: 1.1rem;  }
}