/* ==========================================================================
   Verde Casino — Dark Premium redesign
   Tokens
   ========================================================================== */
:root {
  --bg: #0b0f0d;
  --bg-soft: #0e130f;
  --surface: #12160f;
  --surface-2: #1a221a;
  --surface-3: #202b1f;
  --border: #232c20;
  --border-soft: #1b2318;
  --text: #edf3ef;
  --text-muted: #a4b3a8;
  --text-faint: #71806f;
  --accent: #2cc57c;
  --accent-strong: #1b8e56;
  --accent-ink: #06150c;
  --accent-soft: rgba(44, 197, 124, 0.14);
  --gold: #d4af6a;
  --gold-soft: rgba(212, 175, 106, 0.16);

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --shadow-card: 0 24px 48px -28px rgba(0, 0, 0, 0.65);
  --shadow-glow: 0 0 0 1px rgba(44, 197, 124, 0.35), 0 8px 24px -6px rgba(44, 197, 124, 0.35);

  --content-width: 1180px;
  --text-width: 74ch;
  --header-height: 76px;
}

/* ==========================================================================
   Reset & base
   ========================================================================== */
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

ul, ol {
  margin: 0 0 20px;
  padding-left: 22px;
}

li {
  margin-bottom: 8px;
}

p {
  margin: 0 0 20px;
}

h1, h2, h3 {
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 600;
  color: #f6f8f4;
  text-wrap: balance;
  line-height: 1.18;
  margin: 0 0 14px;
}

h2 { font-size: clamp(22px, 2.6vw, 28px); margin-top: 42px; }
h3 { font-size: 19px; margin-top: 30px; }

b, strong { color: #f6f8f4; }

code {
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  background: var(--surface-2);
  border: 1px solid var(--border);
  color: var(--gold);
  padding: 2px 8px;
  border-radius: 6px;
  font-size: 90%;
}

::selection {
  background: var(--accent-soft);
  color: #fff;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.container {
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: "Manrope", sans-serif;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.01em;
  padding: 14px 26px;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}

.btn-primary {
  background: linear-gradient(180deg, #35d68a, var(--accent-strong));
  color: var(--accent-ink);
  box-shadow: 0 10px 24px -10px rgba(44, 197, 124, 0.55);
}

.btn-primary:hover, .btn-primary:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 14px 30px -10px rgba(44, 197, 124, 0.7);
}

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

.btn-ghost:hover, .btn-ghost:focus-visible {
  border-color: rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.06);
}

.btn-sm { padding: 10px 18px; font-size: 12px; }
.btn-block { width: 100%; }

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  height: var(--header-height);
  display: flex;
  align-items: center;
  background: rgba(11, 15, 13, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-soft);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: 100%;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: none;
}

.brand img {
  width: 32px;
  height: 32px;
}

.brand span {
  font-family: "Playfair Display", serif;
  font-weight: 600;
  font-size: 19px;
  color: #f6f8f4;
  letter-spacing: -0.01em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  flex: 1;
  justify-content: center;
  min-width: 0;
}

.nav-links a {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  position: relative;
  padding: 6px 0;
}

.nav-links a:hover { color: var(--text); }

.nav-links a.active { color: var(--text); }

.nav-links a.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--accent), var(--gold));
}

.header-cta {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: none;
}

.burger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 18px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  flex: none;
}

.burger span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.2s ease;
}

.burger.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

.mobile-menu {
  position: fixed;
  top: var(--header-height);
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--bg-soft);
  border-top: 1px solid var(--border-soft);
  z-index: 49;
  display: flex;
  flex-direction: column;
  padding: 28px 24px;
  gap: 22px;
  transform: translateX(100%);
  transition: transform 0.28s ease;
}

.mobile-menu.open { transform: translateX(0); }

.mobile-menu a {
  font-size: 20px;
  font-weight: 600;
  color: var(--text);
}

.mobile-menu a.active { color: var(--accent); }

.mobile-menu .header-cta {
  margin-top: 12px;
  flex-direction: column;
  align-items: stretch;
}

@media (max-width: 1240px) {
  .nav-links { display: none; }
  .site-header .header-cta .btn-ghost { display: none; }
  .site-header .header-cta { margin-left: auto; }
  .burger { display: flex; }
}

@media (max-width: 560px) {
  :root { --header-height: 64px; }
  .brand span { font-size: 16px; }
  .brand img { width: 26px; height: 26px; }
  .header-cta .btn { padding: 10px 16px; font-size: 12px; }
}

/* ==========================================================================
   Hero / page banner
   ========================================================================== */
.hero {
  position: relative;
  margin-top: var(--header-height);
  padding: 96px 0 64px;
  overflow: hidden;
  background-image:
    radial-gradient(120% 160% at 82% -10%, rgba(212, 175, 106, 0.14), transparent 55%),
    linear-gradient(180deg, rgba(6, 9, 7, 0.34) 0%, rgba(6, 9, 7, 0.22) 32%, rgba(7, 10, 8, 0.72) 78%, var(--bg) 100%),
    var(--hero-image);
  background-size: cover;
  background-position: center;
}

.hero--small {
  padding: 64px 0 48px;
}

.hero .container {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 32px;
}

.hero--small .container {
  grid-template-columns: 1fr;
  text-align: left;
}

.hero--no-figure .container {
  grid-template-columns: 1fr;
}

.hero-copy .eyebrow { margin-bottom: 16px; text-shadow: 0 2px 12px rgba(0, 0, 0, 0.6); }

.hero h1 {
  font-size: clamp(32px, 5vw, 54px);
  margin-bottom: 14px;
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.65);
}

.hero--small h1 {
  font-size: clamp(26px, 4vw, 38px);
}

.hero-offer {
  font-size: clamp(17px, 2vw, 21px);
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 28px;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.6);
}

.hero-figure {
  position: relative;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  height: 100%;
  min-height: 220px;
}

.hero-figure img {
  width: 100%;
  max-width: 380px;
  height: auto;
  filter: drop-shadow(0 24px 40px rgba(0, 0, 0, 0.55));
}

@media (max-width: 860px) {
  .hero { padding-top: 28px; }
  .hero .container { grid-template-columns: 1fr; text-align: center; }
  .hero-copy { display: flex; flex-direction: column; align-items: center; }
  .hero-figure { justify-content: center; margin-top: 0; order: -1; }
  .hero-figure img { max-width: 260px; }
}

/* ==========================================================================
   Main content shell
   ========================================================================== */
main {
  padding: 56px 0 80px;
}

.section-heading {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin: 0 0 18px;
}

/* ==========================================================================
   Game grid
   ========================================================================== */
.games-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
  list-style: none;
  margin: 0 0 32px;
  padding: 0;
}

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

.game-card {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: var(--shadow-card);
}

.game-thumb {
  position: relative;
  aspect-ratio: 1 / 1;
  background: var(--surface-2);
}

.game-thumb img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.game-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: rgba(6, 9, 7, 0.72);
  opacity: 0;
  transition: opacity 0.18s ease;
}

.game-card:hover .game-overlay,
.game-card:focus-within .game-overlay {
  opacity: 1;
}

.game-overlay .btn { padding: 9px 18px; font-size: 12px; }

.game-title {
  padding: 10px 12px;
  font-size: 12.5px;
  font-weight: 700;
  text-align: center;
  color: var(--text);
  background: var(--surface-2);
  border-top: 1px solid var(--border);
}

.games-cta {
  display: flex;
  justify-content: center;
  margin: 8px 0 48px;
}

@media (max-width: 1080px) {
  .games-grid { grid-template-columns: repeat(4, 1fr); }
  .games-grid.games-grid--wide { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 669px) {
  .games-grid { grid-template-columns: repeat(2, 1fr); }
  .games-grid.games-grid--wide { grid-template-columns: repeat(2, 1fr); }
  .games-grid .game-card:nth-last-child(-n+2) { display: none; }
  .game-title { font-size: 11.5px; }
}

/* ==========================================================================
   Long-form text block (SEO content)
   ========================================================================== */
.text-block {
  max-width: var(--text-width);
  margin: 0 auto;
}

.text-block p, .text-block ul, .text-block ol {
  color: #d7e0da;
}

.text-block a:not(.btn) {
  color: var(--accent);
  text-decoration: underline;
  text-decoration-color: rgba(44, 197, 124, 0.4);
  text-underline-offset: 3px;
}

.text-block a:not(.btn):hover { text-decoration-color: var(--accent); }

.table-wrap {
  overflow-x: auto;
  margin-bottom: 22px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  font-variant-numeric: tabular-nums;
  min-width: 480px;
}

table.table-compact { min-width: 320px; }

thead th {
  background: var(--surface-2);
  color: var(--gold);
  font-weight: 700;
  text-align: left;
  padding: 12px 18px;
  white-space: nowrap;
  border-bottom: 1px solid var(--border);
}

tbody td {
  padding: 12px 18px;
  border-top: 1px solid var(--border-soft);
  color: #d7e0da;
}

tbody tr:nth-child(odd) { background: rgba(255, 255, 255, 0.015); }

/* Promo image card (bright existing marketing creative, framed for the dark theme) */
.promo-card {
  display: block;
  max-width: 640px;
  margin: 8px 0 32px;
  padding: 10px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  transition: border-color 0.15s ease, transform 0.15s ease;
}

.promo-card:hover { border-color: var(--accent); transform: translateY(-2px); }

.promo-card img {
  border-radius: var(--radius-md);
  width: 100%;
}

.figure-card {
  max-width: 720px;
  margin: 8px 0 32px;
  padding: 8px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}

.figure-card img { border-radius: var(--radius-md); width: 100%; }

/* ==========================================================================
   FAQ accordion
   ========================================================================== */
.faq-list {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  max-width: 760px;
}

.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  margin-bottom: 12px;
  overflow: hidden;
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  padding: 18px 20px;
  font-family: "Manrope", sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
  cursor: pointer;
}

.faq-question svg {
  flex: none;
  width: 14px;
  height: 14px;
  fill: var(--text-muted);
  transition: transform 0.2s ease;
}

.faq-item.open .faq-question svg { transform: rotate(180deg); fill: var(--accent); }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease;
}

.faq-answer p {
  margin: 0;
  padding: 0 20px 20px;
  color: var(--text-muted);
  font-size: 14.5px;
}

/* ==========================================================================
   Info card grid (used for "casino info" style key/value blocks)
   ========================================================================== */
.info-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 28px;
  max-width: 760px;
}

.info-grid .info-cell {
  background: var(--surface);
  padding: 14px 18px;
}

.info-grid dt {
  font-size: 12px;
  color: var(--text-faint);
  margin-bottom: 4px;
}

.info-grid dd {
  margin: 0;
  font-weight: 700;
  font-size: 14.5px;
}

@media (max-width: 560px) {
  .info-grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: var(--bg-soft);
  border-top: 1px solid var(--border-soft);
  padding: 48px 0 32px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
}

.footer-brand img { width: 28px; height: 28px; }
.footer-brand span { font-family: "Playfair Display", serif; font-weight: 600; font-size: 17px; }

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 28px;
  margin-bottom: 24px;
  padding: 0;
  list-style: none;
}

.footer-links a {
  font-size: 13.5px;
  color: var(--text-muted);
}

.footer-links a:hover { color: var(--text); }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding-top: 20px;
  border-top: 1px solid var(--border-soft);
  font-size: 12.5px;
  color: var(--text-faint);
}

@media (max-width: 510px) {
  .container { padding: 0 16px; }
  main { padding: 40px 0 60px; }
}
