/* =========================================================
   Lucky Flare Hub — base engine stylesheet plus WordPress skin
   ========================================================= */

/* ---------- 1. Tokens ---------- */
:root {
  --emerald: #1a4d3a;
  --emerald-light: #246b51;
  --gold: #d4a843;
  --gold-light: #ecc66a;
  --cream: #faf6ed;
  --dark: #0d2218;
  --dark-2: #112d20;
  --error: #c0392b;
  --success: #27ae60;

  --font-heading: "Playfair Display", Georgia, serif;
  --font-body:
    "Source Sans Pro", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --r-sm: 4px;
  --r-md: 8px;
  --r-lg: 14px;

  --t: 0.3s ease;

  --shadow-gold: 0 0 22px rgba(212, 168, 67, 0.45);
  --shadow-soft: 0 8px 28px rgba(0, 0, 0, 0.35);
}

/* ---------- 2. Reset ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

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

button {
  font: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
}

a {
  color: var(--gold);
  text-decoration: none;
  transition: color var(--t);
}
a:hover {
  color: var(--gold-light);
}

ul {
  padding-left: 1.2rem;
}

/* ---------- 3. Base / background ---------- */
body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--cream);
  background-color: var(--dark);
  /* Subtle Art Deco diamond pattern in gold, low opacity */
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='60' height='60' viewBox='0 0 60 60'><g fill='none' stroke='%23d4a843' stroke-width='1' opacity='0.08'><path d='M30 0 L60 30 L30 60 L0 30 Z'/><path d='M30 14 L46 30 L30 46 L14 30 Z'/></g></svg>");
  background-size: 60px 60px;
  background-attachment: fixed;
  min-height: 100vh;
}

/* Decorative divider */
.divider {
  width: 80px;
  height: 2px;
  margin: 1rem auto;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

/* ---------- 4. Typography ---------- */
h1,
h2,
h3,
h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  margin: 0 0 0.5em;
  color: var(--cream);
  letter-spacing: 0.5px;
}

h1 {
  font-size: clamp(2rem, 5vw, 3.4rem);
  line-height: 1.15;
}
h2 {
  font-size: clamp(1.5rem, 3.5vw, 2.2rem);
}
h3 {
  font-size: 1.25rem;
}

.gold {
  color: var(--gold);
}
.text-center {
  text-align: center;
}
.muted {
  color: rgba(250, 246, 237, 0.7);
}

/* ---------- 5. Layout primitives ---------- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.section {
  padding: 3rem 0;
}

@media (min-width: 768px) {
  .section {
    padding: 4.5rem 0;
  }
}

/* ---------- 6. Buttons ---------- */
.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.5px;
  border-radius: var(--r-md);
  transition:
    transform var(--t),
    box-shadow var(--t),
    background var(--t),
    color var(--t);
  text-align: center;
  border: 2px solid transparent;
}

.btn-primary {
  background: linear-gradient(180deg, var(--gold-light), var(--gold));
  color: var(--dark);
  box-shadow: 0 4px 16px rgba(212, 168, 67, 0.35);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-gold);
  color: var(--dark);
}

.btn-outline {
  border: 2px solid var(--gold);
  color: var(--gold);
  background: transparent;
}
.btn-outline:hover {
  background: var(--gold);
  color: var(--dark);
}

.btn-block {
  display: block;
  width: 100%;
}

/* ---------- 7. Header / nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(13, 34, 24, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(212, 168, 67, 0.25);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
  padding-top: 0.9rem;
  padding-bottom: 0.9rem;
}

.logo {
  font-family: var(--font-heading);
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 1px;
}
.logo:hover {
  color: var(--gold-light);
}

.main-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  align-items: center;
}

.main-nav a {
  color: var(--cream);
  font-weight: 600;
  position: relative;
  padding-bottom: 2px;
}
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width var(--t);
}
.main-nav a:hover {
  color: var(--gold);
}
.main-nav a:hover::after {
  width: 100%;
}

.nav-cta {
  padding: 0.5rem 1.1rem;
}

@media (max-width: 600px) {
  .main-nav {
    gap: 0.85rem;
    font-size: 0.95rem;
    width: 100%;
    justify-content: center;
  }
}

/* ---------- 8. Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  text-align: center;
  padding: 5rem 1rem 4rem;
  background:
    radial-gradient(
      ellipse at 50% 0%,
      rgba(212, 168, 67, 0.25),
      transparent 60%
    ),
    linear-gradient(180deg, var(--dark-2), var(--dark));
  border-bottom: 1px solid rgba(212, 168, 67, 0.25);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    115deg,
    transparent 30%,
    rgba(212, 168, 67, 0.12) 45%,
    rgba(212, 168, 67, 0.25) 50%,
    rgba(212, 168, 67, 0.12) 55%,
    transparent 70%
  );
  background-size: 250% 250%;
  animation: shimmer 6s linear infinite;
  pointer-events: none;
}

@keyframes shimmer {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}

.hero .container {
  position: relative;
  z-index: 1;
}
.hero p {
  font-size: 1.15rem;
  max-width: 640px;
  margin: 0 auto 2rem;
  color: rgba(250, 246, 237, 0.85);
}

.hero h1 span {
  color: var(--gold);
}

/* ---------- 9. Promo strip ---------- */
.promo-strip {
  background: linear-gradient(
    90deg,
    var(--gold),
    var(--gold-light),
    var(--gold)
  );
  color: var(--dark);
  text-align: center;
  font-weight: 700;
  letter-spacing: 0.5px;
  padding: 0.85rem 1rem;
  font-size: 1.05rem;
}

/* ---------- 10. Games grid ---------- */
.games-section h2 {
  text-align: center;
}
.games-section .lead {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 2.5rem;
  color: rgba(250, 246, 237, 0.8);
}

.games-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 480px) {
  .games-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 768px) {
  .games-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (min-width: 1280px) {
  .games-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.game-card {
  position: relative;
  background: var(--dark-2);
  border: 2px solid var(--gold);
  border-radius: var(--r-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition:
    transform var(--t),
    box-shadow var(--t),
    border-color var(--t);
}

.game-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    115deg,
    transparent 35%,
    rgba(255, 255, 255, 0.18) 50%,
    transparent 65%
  );
  transform: translateX(-100%);
  transition: transform 0.7s ease;
  pointer-events: none;
  z-index: 2;
}

.game-card:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: var(--shadow-gold);
  border-color: var(--gold-light);
}
.game-card:hover::before {
  transform: translateX(100%);
}

.game-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
  border-bottom: 1px solid rgba(212, 168, 67, 0.4);
}

.game-card-body {
  padding: 1rem 1.1rem 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  flex: 1;
}

.game-card h3 {
  margin: 0;
  font-size: 1.2rem;
  color: var(--cream);
}

.badge {
  display: inline-block;
  align-self: flex-start;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  background: rgba(212, 168, 67, 0.15);
  color: var(--gold);
  border: 1px solid rgba(212, 168, 67, 0.45);
}

.game-card .btn {
  margin-top: auto;
}

/* ---------- 11. Footer ---------- */
.site-footer {
  background: var(--dark-2);
  border-top: 1px solid rgba(212, 168, 67, 0.3);
  margin-top: 3rem;
  padding: 2.5rem 0 1.5rem;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem 1.5rem;
  margin-bottom: 1.5rem;
}

.footer-nav a {
  color: var(--cream);
  font-weight: 600;
}
.footer-nav a:hover {
  color: var(--gold);
}

.legal-disclaimer {
  font-size: 0.85rem;
  color: rgba(250, 246, 237, 0.65);
  max-width: 820px;
  margin: 0 auto 1.25rem;
  text-align: center;
  line-height: 1.55;
}

.copyright {
  font-size: 0.85rem;
  color: rgba(250, 246, 237, 0.55);
  text-align: center;
}

.footer-center {
  text-align: center;
}

/* ---------- 12. Age-gate overlay ---------- */
.overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: rgba(13, 34, 24, 0.96);
  backdrop-filter: blur(10px);
  animation: fadeIn 0.4s ease;
}

.overlay[hidden] {
  display: none;
}

.overlay-card {
  width: 100%;
  max-width: 480px;
  background: linear-gradient(180deg, var(--dark-2), var(--dark));
  border: 2px solid var(--gold);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-gold);
  padding: 2rem 1.5rem;
  text-align: center;
  animation: popIn 0.4s cubic-bezier(0.18, 0.89, 0.32, 1.28);
}

.overlay-card .logo {
  display: block;
  font-size: 2rem;
  margin-bottom: 0.75rem;
}

.overlay-card h2 {
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
}

.overlay-card p {
  margin: 0 0 1.5rem;
  color: rgba(250, 246, 237, 0.8);
}

.overlay-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  justify-content: center;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes popIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* ---------- 13. Cookie banner ---------- */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 900;
  background: var(--dark-2);
  border-top: 2px solid var(--gold);
  padding: 1rem;
  box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.4);
  animation: slideUp 0.4s ease;
}

.cookie-banner[hidden] {
  display: none;
}

.cookie-banner .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.cookie-banner p {
  margin: 0;
  font-size: 0.95rem;
  flex: 1 1 280px;
  color: rgba(250, 246, 237, 0.85);
}

.cookie-banner .actions {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.cookie-banner .btn {
  padding: 0.5rem 1rem;
  font-size: 0.95rem;
}

@keyframes slideUp {
  from {
    transform: translateY(100%);
  }
  to {
    transform: translateY(0);
  }
}

/* ---------- 14. Sign-to-Play modal ---------- */
.modal {
  position: fixed;
  inset: 0;
  z-index: 950;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: rgba(13, 34, 24, 0.85);
  backdrop-filter: blur(8px);
  animation: fadeIn 0.3s ease;
  overflow-y: auto;
}

.modal[hidden] {
  display: none;
}

.modal-card {
  position: relative;
  width: 100%;
  max-width: 480px;
  background: var(--cream);
  color: var(--dark);
  border: 2px solid var(--gold);
  border-radius: var(--r-lg);
  padding: 1.75rem 1.5rem 1.5rem;
  box-shadow: var(--shadow-gold);
  animation: slideIn 0.35s cubic-bezier(0.18, 0.89, 0.32, 1.28);
  margin: auto;
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(20px) scale(0.97);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.modal-card h2 {
  margin: 0 0 0.25rem;
  color: var(--emerald);
  font-size: 1.6rem;
  text-align: center;
}

.modal-card .lead {
  text-align: center;
  color: rgba(13, 34, 24, 0.75);
  margin: 0 0 1.25rem;
  font-size: 0.95rem;
}

.modal-close {
  position: absolute;
  top: 0.6rem;
  right: 0.8rem;
  font-size: 1.5rem;
  line-height: 1;
  color: var(--emerald);
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--t);
}
.modal-close:hover {
  background: rgba(26, 77, 58, 0.1);
}

/* ---------- 15. Forms ---------- */
.form-field {
  margin-bottom: 0.9rem;
}

.form-field label {
  display: block;
  font-weight: 600;
  font-size: 0.92rem;
  margin-bottom: 0.3rem;
  color: var(--emerald);
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 0.6rem 0.75rem;
  font: inherit;
  color: var(--dark);
  background: #fff;
  border: 1.5px solid rgba(26, 77, 58, 0.3);
  border-radius: var(--r-sm);
  transition:
    border-color var(--t),
    box-shadow var(--t);
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(212, 168, 67, 0.25);
}

.form-field textarea {
  resize: vertical;
  min-height: 110px;
}

.form-field.error input,
.form-field.error select,
.form-field.error textarea {
  border-color: var(--error);
}

.checkbox-field {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  margin-bottom: 0.65rem;
  font-size: 0.92rem;
  line-height: 1.45;
  color: var(--dark);
}
.checkbox-field input {
  margin-top: 0.25rem;
  width: 1rem;
  height: 1rem;
  accent-color: var(--emerald);
  flex-shrink: 0;
}
.checkbox-field a {
  color: var(--emerald);
  font-weight: 600;
  text-decoration: underline;
}

.error-msg {
  display: none;
  color: var(--error);
  font-size: 0.85rem;
  margin-top: 0.25rem;
}
.form-field.error .error-msg,
.checkbox-field.error .error-msg {
  display: block;
}

.success-message {
  display: none;
  margin: 1rem 0 0;
  padding: 0.85rem 1rem;
  background: rgba(39, 174, 96, 0.12);
  border: 1px solid var(--success);
  border-radius: var(--r-md);
  color: var(--success);
  font-weight: 600;
  text-align: center;
}
.success-message.is-visible {
  display: block;
}

.modal-card .btn-primary {
  margin-top: 0.5rem;
}

/* ---------- 16. Content pages (legal etc.) ---------- */
.page-header {
  padding: 4rem 1rem 2rem;
  text-align: center;
  background: linear-gradient(180deg, var(--dark-2), var(--dark));
  border-bottom: 1px solid rgba(212, 168, 67, 0.25);
}

.page-header h1 {
  color: var(--gold);
}
.page-header p {
  color: rgba(250, 246, 237, 0.8);
  margin: 0;
}

.content {
  max-width: 820px;
  margin: 0 auto;
  padding: 3rem 1rem;
}

.content h2 {
  color: var(--gold);
  margin-top: 2rem;
  border-bottom: 1px solid rgba(212, 168, 67, 0.25);
  padding-bottom: 0.4rem;
}

.content h3 {
  color: var(--gold-light);
  margin-top: 1.5rem;
}

.content p,
.content li {
  color: rgba(250, 246, 237, 0.88);
}

.content ul,
.content ol {
  margin: 0.5rem 0 1rem;
}

.content a {
  color: var(--gold);
  text-decoration: underline;
}

.last-updated {
  font-size: 0.9rem;
  color: rgba(250, 246, 237, 0.6);
  font-style: italic;
}

/* Resource cards on responsible-gaming page */
.resource-card {
  background: var(--dark-2);
  border: 1px solid rgba(212, 168, 67, 0.4);
  border-radius: var(--r-md);
  padding: 1.1rem 1.2rem;
  margin-bottom: 1rem;
}
.resource-card h3 {
  margin-top: 0;
}
.resource-card .phone {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  color: var(--gold);
}

/* Contact page two-column layout */
.contact-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr;
}
@media (min-width: 768px) {
  .contact-grid {
    grid-template-columns: 2fr 1fr;
  }
}

.contact-info {
  background: var(--dark-2);
  border: 1px solid rgba(212, 168, 67, 0.35);
  border-radius: var(--r-md);
  padding: 1.5rem;
}
.contact-info h3 {
  color: var(--gold);
  margin-top: 0;
}
.contact-info p {
  margin: 0.4rem 0;
}

.contact-form {
  background: var(--dark-2);
  border: 1px solid rgba(212, 168, 67, 0.35);
  border-radius: var(--r-md);
  padding: 1.5rem;
}
.contact-form .form-field label {
  color: var(--gold);
}
.contact-form .form-field input,
.contact-form .form-field select,
.contact-form .form-field textarea {
  background: var(--dark);
  color: var(--cream);
  border-color: rgba(212, 168, 67, 0.3);
}
.contact-form .form-field input:focus,
.contact-form .form-field select:focus,
.contact-form .form-field textarea:focus {
  border-color: var(--gold);
}

/* ---------- 17. Utility ---------- */
[hidden] {
  display: none !important;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* =========================================================
   18. Game pages — coin chip, slots, table cards, video poker
   ========================================================= */

.game-page-header {
  background: linear-gradient(180deg, var(--dark-2), var(--dark));
  border-bottom: 1px solid rgba(212, 168, 67, 0.25);
  padding: 2rem 1rem 1.5rem;
}
.game-page-header .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.game-page-header h1 {
  margin: 0;
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  color: var(--gold);
}
.game-page-header .badge {
  font-size: 0.78rem;
}
.game-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.coin-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 1.1rem;
  background: linear-gradient(180deg, var(--gold-light), var(--gold));
  color: var(--dark);
  border-radius: 999px;
  font-weight: 700;
  letter-spacing: 0.5px;
  font-size: 1.05rem;
  box-shadow: 0 4px 14px rgba(212, 168, 67, 0.3);
}
.coin-chip .coin-icon {
  display: inline-block;
  width: 14px;
  height: 14px;
  background: radial-gradient(circle at 38% 35%, #ffe566 0%, #c8860a 100%);
  border-radius: 50%;
  border: 1.5px solid rgba(255, 210, 60, 0.55);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3);
  vertical-align: middle;
  margin-right: 3px;
  flex-shrink: 0;
}

.lobby-link {
  font-weight: 600;
  color: var(--cream);
}
.lobby-link:hover {
  color: var(--gold);
}

.game-stage {
  position: relative;
  max-width: 900px;
  margin: 2rem auto;
  padding: 2rem 1.25rem;
  background: var(--dark-2);
  border: 1px solid rgba(212, 168, 67, 0.35);
  border-radius: var(--r-lg);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
}

.game-status {
  text-align: center;
  font-size: 1.1rem;
  font-weight: 600;
  margin: 1.5rem 0 1rem;
  min-height: 1.5em;
  color: var(--cream);
}
.game-status.win {
  color: var(--gold);
  text-shadow: 0 0 12px rgba(212, 168, 67, 0.5);
}
.game-status.win-small {
  color: var(--gold-light);
}
.game-status.loss {
  color: rgba(250, 246, 237, 0.65);
}

.bet-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1rem;
}
.bet-controls label {
  font-weight: 600;
  color: var(--gold);
  margin-right: 0.25rem;
}
.bet-controls select {
  padding: 0.55rem 0.75rem;
  background: var(--dark);
  color: var(--cream);
  border: 1.5px solid rgba(212, 168, 67, 0.4);
  border-radius: var(--r-sm);
  font: inherit;
}
.bet-controls select:focus {
  outline: none;
  border-color: var(--gold);
}
.bet-controls .btn {
  padding: 0.55rem 1.2rem;
}
.btn-bet {
  background: var(--emerald);
  color: var(--cream);
  border: 2px solid var(--gold);
}
.btn-bet:hover:not(:disabled) {
  background: var(--emerald-light);
  box-shadow: var(--shadow-gold);
}
.btn-red {
  background: #8b1d22;
  border-color: #c0392b;
}
.btn-black {
  background: #111;
  border-color: #444;
}
.btn-green {
  background: #15663f;
  border-color: var(--gold);
}
.btn:disabled,
.btn-bet:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* ---------- Locked overlay (when not registered) ---------- */
.locked-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: rgba(13, 34, 24, 0.92);
  backdrop-filter: blur(6px);
  border-radius: var(--r-lg);
  z-index: 10;
}
.locked-card {
  text-align: center;
  max-width: 340px;
  padding: 2rem 1.5rem;
  background: var(--dark);
  border: 2px solid var(--gold);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-gold);
}
.locked-card h3 {
  color: var(--gold);
  font-size: 1.4rem;
  margin: 0 0 0.5rem;
}
.locked-card p {
  margin: 0 0 1.25rem;
  color: rgba(250, 246, 237, 0.85);
}

/* ---------- Slots ---------- */
.slot-machine {
  position: relative;
  background: linear-gradient(180deg, #15402f, #0d2218);
  border: 3px solid var(--gold);
  border-radius: var(--r-lg);
  padding: 1.5rem 1rem;
  box-shadow: inset 0 0 30px rgba(0, 0, 0, 0.4);
}
.reels {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
}
.reel {
  background: #fff8e7;
  border: 2px solid var(--gold);
  border-radius: var(--r-md);
  padding: 0.5rem 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.15);
}
.reel .symbol {
  font-size: clamp(2rem, 7vw, 3.6rem);
  line-height: 1.4;
  width: 100%;
  text-align: center;
  user-select: none;
  transition: transform 0.1s ease;
}
.reel .symbol.payline {
  background: rgba(212, 168, 67, 0.18);
  border-top: 1px dashed var(--gold);
  border-bottom: 1px dashed var(--gold);
}
.reel .symbol.flash {
  animation: flash 0.4s ease-in-out 3;
}
@keyframes flash {
  0%,
  100% {
    background: rgba(212, 168, 67, 0.18);
    transform: scale(1);
  }
  50% {
    background: rgba(212, 168, 67, 0.6);
    transform: scale(1.08);
  }
}
.payline-marker {
  position: absolute;
  left: -8px;
  right: -8px;
  top: 50%;
  height: 4px;
  pointer-events: none;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  transform: translateY(-50%);
  opacity: 0.6;
}

.paytable {
  margin: 1.5rem auto 0;
  max-width: 380px;
  padding: 1rem 1.25rem;
  background: var(--dark);
  border: 1px solid rgba(212, 168, 67, 0.3);
  border-radius: var(--r-md);
}
.paytable h4 {
  margin: 0 0 0.6rem;
  color: var(--gold);
  text-align: center;
  font-size: 1rem;
}
.paytable ul {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 0.95rem;
}
.paytable li {
  display: flex;
  justify-content: space-between;
  padding: 0.3rem 0;
  border-bottom: 1px dashed rgba(212, 168, 67, 0.18);
}
.paytable li:last-child {
  border-bottom: none;
}
.paytable strong {
  color: var(--gold);
}

/* ---------- Table games (cards) ---------- */
.table-game {
  display: grid;
  gap: 1.25rem;
}
.hand-area h4 {
  margin: 0 0 0.5rem;
  color: var(--gold);
  font-size: 1rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}
.hand-area h4 span {
  color: rgba(250, 246, 237, 0.7);
  font-weight: 600;
  text-transform: none;
  font-size: 0.95rem;
  margin-left: 0.4rem;
}
.hand {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  min-height: 92px;
  padding: 0.75rem;
  background: rgba(13, 34, 24, 0.6);
  border: 1px solid rgba(212, 168, 67, 0.25);
  border-radius: var(--r-md);
}

.card {
  position: relative;
  width: 60px;
  height: 84px;
  background: #fff;
  border: 1px solid #ccc;
  border-radius: 6px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 4px 6px;
  font-family: var(--font-heading);
  user-select: none;
  animation: dealIn 0.3s ease;
}
@keyframes dealIn {
  from {
    opacity: 0;
    transform: translateY(-12px) rotate(-4deg);
  }
  to {
    opacity: 1;
    transform: translateY(0) rotate(0);
  }
}
.card-red {
  color: #c0392b;
}
.card-black {
  color: #1a1a1a;
}
.card-rank {
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1;
}
.card-suit {
  font-size: 1.6rem;
  align-self: center;
  margin-top: auto;
  margin-bottom: 4px;
}
.card-back {
  background: linear-gradient(135deg, var(--emerald), var(--dark-2));
  color: var(--gold);
  align-items: center;
  justify-content: center;
}
.card-back-pattern {
  font-size: 1.4rem;
  border: 1px dashed var(--gold);
  border-radius: 4px;
  padding: 0.5rem 0.7rem;
}

@media (min-width: 600px) {
  .card {
    width: 70px;
    height: 98px;
    padding: 6px 8px;
  }
  .card-rank {
    font-size: 1.3rem;
  }
  .card-suit {
    font-size: 1.9rem;
  }
}

/* ---------- Roulette ---------- */
.roulette {
  display: flex;
  justify-content: center;
  margin: 1rem 0;
}
.wheel {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: radial-gradient(
    circle at 50% 50%,
    var(--gold-light),
    var(--gold)
  );
  border: 6px solid var(--dark-2);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 30px rgba(212, 168, 67, 0.4);
}
.wheel-inner {
  width: 130px;
  height: 130px;
  border-radius: 50%;
  background: var(--dark);
  color: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 700;
  border: 3px solid var(--gold);
  transition:
    background 0.2s ease,
    color 0.2s ease;
}
.wheel-inner.color-red {
  background: #8b1d22;
  color: #fff;
}
.wheel-inner.color-black {
  background: #111;
  color: #fff;
}
.wheel-inner.color-green {
  background: #15663f;
  color: var(--gold);
}

/* ---------- Video Poker ---------- */
.video-poker {
  display: flex;
  justify-content: center;
}
.vp-hand {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  justify-content: center;
  padding: 0.75rem;
  background: rgba(13, 34, 24, 0.6);
  border: 1px solid rgba(212, 168, 67, 0.25);
  border-radius: var(--r-md);
  min-height: 92px;
}
.vp-card-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
}
.vp-card-wrap.held .card {
  outline: 3px solid var(--gold);
  outline-offset: 2px;
  box-shadow: 0 0 18px rgba(212, 168, 67, 0.5);
}
.vp-card-wrap.vp-winner .card {
  outline: 3px solid #27ae60;
  outline-offset: 2px;
  box-shadow: 0 0 16px rgba(39, 174, 96, 0.5);
}
.hold-btn {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.8px;
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  background: rgba(212, 168, 67, 0.15);
  color: var(--gold);
  border: 1px solid var(--gold);
  cursor: pointer;
  text-transform: uppercase;
  transition: all var(--t);
}
.vp-card-wrap.held .hold-btn {
  background: var(--gold);
  color: var(--dark);
}
.hold-btn:hover {
  background: rgba(212, 168, 67, 0.3);
}

.vp-options {
  display: flex;
  justify-content: center;
  margin: 0.75rem 0 0.25rem;
}
.vp-toggle-label {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.9rem;
  color: rgba(250, 246, 237, 0.8);
  cursor: pointer;
}
.vp-toggle-label input {
  accent-color: var(--gold);
}

.paytable-active {
  background: rgba(212, 168, 67, 0.18);
  border-radius: var(--r-sm);
}
.paytable-active strong {
  color: var(--gold-light);
}

/* =========================================================
   19. Game-specific UI — Slots 5-reel
   ========================================================= */

/* 2×3 lobby grid (max 3 cols) */
.games-grid-6 {
  max-width: 960px;
  margin: 0 auto;
}
@media (min-width: 1280px) {
  .games-grid-6 {
    grid-template-columns: repeat(3, 1fr);
  }
}

.game-desc {
  font-size: 0.88rem;
  color: rgba(250, 246, 237, 0.65);
  margin: 0;
}

/* Slot machine 5-reel — Starlight Reels layout (rail labels beside rows) */
.slot5-machine {
  background: linear-gradient(180deg, #15402f, #0d2218);
  border: 3px solid var(--gold);
  border-radius: var(--r-lg);
  padding: 1.25rem 0.75rem 1rem;
  box-shadow: inset 0 0 30px rgba(0, 0, 0, 0.4);
}

.slot5-machine-inner {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  gap: 0.4rem;
}

.rail-label-stack {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex-shrink: 0;
  padding: 0.08rem 0;
  width: max-content;
}

.rail-label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(212, 168, 67, 0.85);
  line-height: 1.2;
  text-align: right;
  white-space: nowrap;
}

.slot5-reels {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.5rem;
  flex: 1;
  min-width: 0;
}

.reel5 {
  background: #fff8e7;
  border: 2px solid var(--gold);
  border-radius: var(--r-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: inset 0 0 15px rgba(0, 0, 0, 0.12);
}

.sym5 {
  font-size: clamp(1.5rem, 4.5vw, 2.6rem);
  line-height: 1.5;
  width: 100%;
  text-align: center;
  user-select: none;
  padding: 0.1rem 0;
  transition: background 0.15s ease;
}

.sym5.reel5-mid {
  background: rgba(212, 168, 67, 0.15);
  border-top: 1px dashed var(--gold);
  border-bottom: 1px dashed var(--gold);
}

.sym5.sym5-win {
  background: rgba(212, 168, 67, 0.45) !important;
  animation: symFlash 0.4s ease-in-out 3;
}

@keyframes symFlash {
  0%,
  100% {
    background: rgba(212, 168, 67, 0.45);
    transform: scale(1);
  }
  50% {
    background: rgba(212, 168, 67, 0.75);
    transform: scale(1.06);
  }
}

.slot5-wins {
  min-height: 1.6rem;
  margin: 0.5rem 0 0;
  text-align: center;
  font-size: 0.92rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  justify-content: center;
}

.win-line {
  background: rgba(212, 168, 67, 0.12);
  border: 1px solid rgba(212, 168, 67, 0.35);
  border-radius: var(--r-sm);
  padding: 0.2rem 0.6rem;
  color: var(--gold-light);
}

.bet-total-label {
  font-size: 0.9rem;
  color: rgba(250, 246, 237, 0.7);
  align-self: center;
}

.paytable-note {
  font-size: 0.8rem;
  color: rgba(250, 246, 237, 0.55);
  text-align: center;
  margin: 0.4rem 0 0;
  font-style: italic;
}

/* =========================================================
   20. Blackjack layout
   ========================================================= */

.bj-table {
  display: grid;
  gap: 1.25rem;
}

.bj-area h4 {
  margin: 0 0 0.5rem;
  color: var(--gold);
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.bj-area h4 span {
  color: rgba(250, 246, 237, 0.7);
  font-size: 0.95rem;
  text-transform: none;
  margin-left: 0.4rem;
}

.bj-actions {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  align-items: center;
}

.bj-rules {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.4rem 1.2rem;
  margin-top: 1rem;
  font-size: 0.8rem;
  color: rgba(250, 246, 237, 0.5);
}

.btn-ins {
  background: rgba(139, 29, 34, 0.2);
  border-color: #c0392b;
  color: #e74c3c;
}
.btn-ins:hover {
  background: rgba(192, 57, 43, 0.3);
}

/* =========================================================
   21. Roulette full board
   ========================================================= */

.roulette-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  justify-content: center;
  align-items: flex-start;
}

/* Wheel */
.rwheel-area {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

.rwheel {
  width: 168px;
  height: 168px;
  border-radius: 50%;
  /* Roulette segments: alternating red/black pockets (~9.73° each for 37 slots)
     plus a thin gold rim overlay via box-shadow                      */
  background:
    /* thin gold rim on top */
    radial-gradient(
      circle,
      transparent 62%,
      var(--gold) 62% 65%,
      transparent 65%
    ),
    /* alternating red/black sectors */
    repeating-conic-gradient(#8b1d22 0deg 9.73deg, #1a1a1a 9.73deg 19.46deg);
  border: 4px solid #b8963a;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow:
    0 0 0 3px var(--dark-2),
    0 0 24px rgba(212, 168, 67, 0.45);
}

.rwheel-spin {
  animation:
    wheelRotate 2s linear infinite,
    wheelPulse 0.4s ease-in-out infinite alternate;
}
@keyframes wheelRotate {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}
@keyframes wheelPulse {
  from {
    box-shadow:
      0 0 0 3px var(--dark-2),
      0 0 18px rgba(212, 168, 67, 0.35);
  }
  to {
    box-shadow:
      0 0 0 3px var(--dark-2),
      0 0 42px rgba(212, 168, 67, 0.85),
      0 0 70px rgba(212, 168, 67, 0.25);
  }
}

/* ---- Roulette ball animation ---- */
.rwheel-ball {
  position: absolute;
  width: 12px;
  height: 12px;
  background: radial-gradient(
    circle at 30% 30%,
    #fff 0%,
    #c0c0c0 40%,
    #808080 100%
  );
  border-radius: 50%;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
  z-index: 10;
}
.rwheel-ball.spinning {
  animation: ballSpin 1.5s linear infinite;
}
@keyframes ballSpin {
  0% {
    transform: rotate(0deg) translateX(65px) rotate(0deg);
  }
  100% {
    transform: rotate(360deg) translateX(65px) rotate(-360deg);
  }
}
.rwheel-ball.landing {
  animation: ballLand 1s ease-out forwards;
}
@keyframes ballLand {
  0% {
    transform: rotate(var(--angle)) translateX(65px);
  }
  100% {
    transform: rotate(var(--angle)) translateX(45px);
  }
}

.rwheel-inner {
  width: 118px;
  height: 118px;
  border-radius: 50%;
  background: var(--dark);
  display: flex;
  align-items: center;
  justify-content: center;
  /* system-ui numbers centre reliably (no Playfair descender gap) */
  font-family:
    system-ui,
    -apple-system,
    sans-serif;
  font-size: 2.6rem;
  font-weight: 700;
  line-height: 1;
  color: var(--cream);
  border: 3px solid var(--gold);
  transition:
    background 0.2s,
    color 0.2s;
}

.rwheel-inner.rwheel-red {
  background: #8b1d22;
  color: #fff;
}
.rwheel-inner.rwheel-black {
  background: #111;
  color: #fff;
}
.rwheel-inner.rwheel-green {
  background: #15663f;
  color: var(--gold);
}

.rwheel-inner.rwheel-land {
  animation: wheelLand 0.5s ease;
}
@keyframes wheelLand {
  0% {
    transform: scale(1.18);
  }
  100% {
    transform: scale(1);
  }
}

.rwheel-color {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 1px;
  color: rgba(250, 246, 237, 0.65);
}
.rc-red {
  color: #e74c3c;
}
.rc-black {
  color: #bbb;
}
.rc-green {
  color: var(--gold);
}
.rc-land {
  font-size: 1rem;
}

/* ---- Baccarat SVG Road ---- */
.bac-road-svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}
.bac-road-line {
  fill: none;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 0 4px currentColor);
}
.bac-road-line-p {
  stroke: #3498db;
}
.bac-road-line-b {
  stroke: #e74c3c;
}
.bac-road-dot {
  r: 6;
  filter: drop-shadow(0 0 4px currentColor);
  animation: roadDotPop 0.3s ease-out forwards;
}
@keyframes roadDotPop {
  0% {
    transform: scale(0);
    opacity: 0;
  }
  50% {
    transform: scale(1.3);
    opacity: 1;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}
.bac-road-dot-p {
  fill: #3498db;
}
.bac-road-dot-b {
  fill: #e74c3c;
}
.bac-road-dot-t {
  fill: var(--gold);
}

/* Tie flash animation */
@keyframes tieFlash {
  0%,
  100% {
    background: transparent;
  }
  50% {
    background: radial-gradient(
      circle,
      rgba(212, 168, 67, 0.3) 0%,
      transparent 70%
    );
  }
}
.bac-tie-flash {
  animation: tieFlash 1s ease-in-out 3;
}

/* Board */
.rboard {
  flex: 1 1 480px;
  max-width: 640px;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.rnum-grid {
  display: grid;
  grid-template-columns: auto repeat(12, 1fr);
  grid-template-rows: repeat(3, 1fr);
  gap: 2px;
}

.rnum {
  font-size: 0.78rem;
  font-weight: 700;
  border-radius: 3px;
  padding: 0.45rem 0.1rem;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.15);
  cursor: pointer;
  transition:
    transform 0.1s,
    box-shadow 0.1s;
  position: relative;
}

.rnum-zero {
  grid-row: 1 / 4;
  grid-column: 1;
  writing-mode: vertical-rl;
  font-size: 1rem;
  padding: 0.4rem;
}

.rnum-red {
  background: #8b1d22;
  color: #fff;
}
.rnum-black {
  background: #1a1a1a;
  color: #fff;
}
.rnum-green {
  background: #15663f;
  color: var(--gold);
}

.rnum:hover:not(:disabled) {
  transform: scale(1.12);
  box-shadow: 0 0 8px rgba(212, 168, 67, 0.6);
  z-index: 2;
}

.rnum.rnum-hit {
  outline: 2px solid var(--gold);
  box-shadow: 0 0 14px var(--gold);
  animation: numHit 0.5s ease;
}
@keyframes numHit {
  0% {
    transform: scale(1.2);
  }
  100% {
    transform: scale(1);
  }
}

/* chip badge on number */
.rchip-badge {
  position: absolute;
  bottom: -5px;
  right: -5px;
  background: var(--gold);
  color: var(--dark);
  border-radius: 50%;
  font-size: 0.6rem;
  font-weight: 900;
  width: 16px;
  height: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  z-index: 3;
  pointer-events: none;
}

/* Outside bet buttons */
.rboard-outside,
.rboard-dozens,
.rboard-columns {
  display: grid;
  gap: 2px;
}

.rboard-outside {
  grid-template-columns: repeat(6, 1fr);
}
.rboard-dozens {
  grid-template-columns: repeat(3, 1fr);
}
.rboard-columns {
  grid-template-columns: repeat(3, 1fr);
}

.rout-btn {
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.4rem 0.25rem;
  background: var(--emerald);
  color: var(--cream);
  border: 1px solid rgba(212, 168, 67, 0.4);
  border-radius: 3px;
  cursor: pointer;
  transition:
    background 0.15s,
    box-shadow 0.15s;
  text-align: center;
  position: relative;
}

.rout-btn:hover:not(:disabled) {
  background: var(--emerald-light);
  box-shadow: 0 0 8px rgba(212, 168, 67, 0.4);
}

.rout-red {
  background: #8b1d22 !important;
  border-color: #c0392b;
}
.rout-black {
  background: #1a1a1a !important;
  border-color: #555;
}

/* Chip row */
.rchip-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  justify-content: center;
  margin: 0.75rem 0 0.25rem;
  flex-wrap: wrap;
}

.rchip-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gold);
}

.rchip {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--dark-2);
  border: 2px solid var(--gold);
  color: var(--gold);
  font-weight: 700;
  font-size: 0.8rem;
  cursor: pointer;
  transition: all 0.15s;
  display: flex;
  align-items: center;
  justify-content: center;
}
.rchip:hover {
  background: rgba(212, 168, 67, 0.15);
}
.rchip.selected {
  background: var(--gold);
  color: var(--dark);
  box-shadow: 0 0 12px rgba(212, 168, 67, 0.5);
  transform: scale(1.1);
}

.rbet-total {
  font-size: 0.9rem;
  color: rgba(250, 246, 237, 0.7);
  align-self: center;
}

.rplaced-bets {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  justify-content: center;
  min-height: 1.4rem;
  margin-top: 0.5rem;
}

.rplaced-chip {
  font-size: 0.78rem;
  padding: 0.15rem 0.55rem;
  background: rgba(212, 168, 67, 0.12);
  border: 1px solid rgba(212, 168, 67, 0.35);
  border-radius: 999px;
  color: var(--gold-light);
}

/* =========================================================
   22. Baccarat road & table
   ========================================================= */

.bac-road-section {
  margin-bottom: 1.25rem;
  background: rgba(13, 34, 24, 0.5);
  border: 1px solid rgba(212, 168, 67, 0.2);
  border-radius: var(--r-md);
  padding: 0.75rem 1rem;
}

.bac-road-label {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--gold);
  margin-bottom: 0.4rem;
}

.bac-road {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  min-height: 28px;
}

.road-dot {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0;
}

.road-p {
  background: #1a5fc7;
  color: #fff;
}
.road-b {
  background: #c0392b;
  color: #fff;
}
.road-t {
  background: #15663f;
  color: var(--gold);
  border: 1px solid var(--gold);
}

.bac-road-legend {
  margin-top: 0.4rem;
  font-size: 0.78rem;
  color: rgba(250, 246, 237, 0.55);
  display: flex;
  gap: 0.75rem;
  align-items: center;
}
.bac-road-legend .road-dot {
  width: 18px;
  height: 18px;
  font-size: 0.6rem;
}

.bac-table {
  display: grid;
  gap: 1.25rem;
}

.bac-area h4 {
  margin: 0 0 0.5rem;
  color: var(--gold);
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.bac-area h4 span {
  color: rgba(250, 246, 237, 0.7);
  text-transform: none;
}

.bac-p-btn {
  background: #1a5fc7;
  border-color: #4a90d9;
}
.bac-b-btn {
  background: #8b1d22;
  border-color: #c0392b;
}
.bac-t-btn {
  background: #15663f;
  border-color: var(--gold);
}

.bac-rules {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.4rem 1.2rem;
  margin-top: 1rem;
  font-size: 0.78rem;
  color: rgba(250, 246, 237, 0.45);
}

/* =========================================================
   23. Summit Stud
   ========================================================= */

.carib-table {
  display: grid;
  gap: 1.25rem;
}

.carib-area h4 {
  margin: 0 0 0.5rem;
  color: var(--gold);
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.carib-qual-badge {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.15rem 0.55rem;
  border-radius: 999px;
  margin-left: 0.5rem;
}

.qual-yes {
  background: rgba(39, 174, 96, 0.2);
  color: #27ae60;
  border: 1px solid #27ae60;
}
.qual-no {
  background: rgba(192, 57, 43, 0.2);
  color: #e74c3c;
  border: 1px solid #e74c3c;
}

/* =========================================================
   24. Visual game overhauls — per-game theming & felt tables
   ========================================================= */

/* --- Per-game body classes --- */
body.game-blackjack .game-stage,
body.game-baccarat .game-stage,
body.game-caribbean .game-stage {
  background: radial-gradient(ellipse at 50% 0%, #0f4a28, #071a0f 80%);
  border-color: rgba(212, 168, 67, 0.5);
  padding: 1.5rem 1.25rem;
}
body.game-slots .game-stage {
  background: #0a1206;
  border-color: rgba(212, 168, 67, 0.5);
  padding: 0;
  overflow: hidden;
}
body.game-videopoker .game-stage {
  background: #07070f;
  border-color: rgba(0, 184, 217, 0.45);
  box-shadow:
    0 0 40px rgba(0, 184, 217, 0.15),
    0 10px 40px rgba(0, 0, 0, 0.4);
  padding: 1.5rem 1.25rem;
}

/* --- Bigger cards on game pages --- */
.game-stage .card {
  width: 82px;
  height: 114px;
  border-radius: 8px;
  padding: 6px 8px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.55);
}
.game-stage .card-rank {
  font-size: 1.4rem;
}
.game-stage .card-suit {
  font-size: 2.2rem;
}
@media (min-width: 600px) {
  .game-stage .card {
    width: 94px;
    height: 130px;
    padding: 7px 10px;
  }
  .game-stage .card-rank {
    font-size: 1.6rem;
  }
  .game-stage .card-suit {
    font-size: 2.6rem;
  }
}

/* --- Card slot placeholder --- */
.card-slot {
  width: 82px;
  height: 114px;
  border: 2px dashed rgba(212, 168, 67, 0.2);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.2);
  flex-shrink: 0;
}
@media (min-width: 600px) {
  .card-slot {
    width: 94px;
    height: 130px;
  }
}

/* ---- 3D Card Flip Animation ---- */
.card-3d-wrapper {
  perspective: 1000px;
  display: inline-block;
}
.card-3d {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
.card-3d.flipped {
  transform: rotateY(180deg);
}
.card-face {
  position: absolute;
  inset: 0;
  backface-visibility: hidden;
  border-radius: 8px;
  background: #faf6ed;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.55);
}
.card-face-back {
  background: linear-gradient(135deg, #8b0000 0%, #5c0000 100%);
  transform: rotateY(180deg);
  display: flex;
  align-items: center;
  justify-content: center;
}
.card-face-back::before {
  content: "★";
  font-size: 2rem;
  color: rgba(255, 255, 255, 0.3);
}

/* Card deal animation */
@keyframes cardDeal {
  0% {
    transform: translateY(-30px) rotateZ(-5deg) scale(0.8);
    opacity: 0;
  }
  100% {
    transform: translateY(0) rotateZ(0) scale(1);
    opacity: 1;
  }
}
.card-dealing {
  animation: cardDeal 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

/* Chip animation */
@keyframes chipDrop {
  0% {
    transform: translateY(-40px) scale(1.2);
    opacity: 0;
  }
  60% {
    transform: translateY(5px) scale(0.95);
    opacity: 1;
  }
  100% {
    transform: translateY(0) scale(1);
    opacity: 1;
  }
}
.bj-bet-display.dealing .bj-bet-chip {
  animation: chipDrop 0.5s ease-out forwards;
}

/* Felt texture pattern */
.felt-texture {
  background-image:
    radial-gradient(
      ellipse at 30% 20%,
      rgba(255, 255, 255, 0.03) 0%,
      transparent 50%
    ),
    radial-gradient(
      ellipse at 70% 80%,
      rgba(255, 255, 255, 0.03) 0%,
      transparent 50%
    ),
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 2px,
      rgba(0, 0, 0, 0.1) 2px,
      rgba(0, 0, 0, 0.1) 4px
    );
}

/* --- Felt zone for card tables --- */
.felt-zone {
  background: radial-gradient(
    ellipse at 50% 30%,
    #1d6b3a 0%,
    #0e3820 55%,
    #061508 100%
  );
  border-radius: 14px;
  padding: 1.25rem 1.25rem 1rem;
  margin-bottom: 1rem;
  position: relative;
  overflow: hidden;
}
.felt-zone::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='3' height='3'><rect fill='rgba(255,255,255,0.012)' width='1.5' height='1.5'/></svg>");
  background-size: 3px 3px;
  pointer-events: none;
}

.felt-zone .hand {
  background: rgba(0, 0, 0, 0.28);
  border: 1px solid rgba(212, 168, 67, 0.18);
  min-height: 120px;
  gap: 0.6rem;
}

.felt-section-label {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.45rem;
}
.felt-section-label.dealer {
  color: rgba(250, 246, 237, 0.5);
}
.felt-section-label.player {
  color: var(--gold);
  margin-top: 0.9rem;
}

.felt-divider {
  height: 1px;
  background: rgba(212, 168, 67, 0.14);
  margin: 0.75rem 0;
}

/* Bet chip display inside felt */
.bj-bet-display {
  position: absolute;
  top: 1rem;
  right: 1.25rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
}
.bj-bet-chip {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #f5d76e, #c8920a);
  color: #2a1500;
  font-weight: 900;
  font-size: 0.78rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 3px dashed rgba(180, 130, 10, 0.7);
  box-shadow:
    0 3px 10px rgba(0, 0, 0, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.35);
  letter-spacing: -0.5px;
}
.bj-bet-label {
  font-size: 0.65rem;
  color: rgba(250, 246, 237, 0.45);
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

/* --- Baccarat side-by-side --- */
@media (min-width: 640px) {
  .bac-table {
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
  }
}
.bac-area .hand {
  min-height: 130px;
}

/* --- Video Poker terminal --- */
.vp-terminal {
  background: linear-gradient(180deg, #09091a, #060610);
  border: 2px solid #00b8d9;
  border-radius: 14px;
  box-shadow:
    0 0 0 1px rgba(0, 184, 217, 0.12),
    0 0 35px rgba(0, 184, 217, 0.18),
    inset 0 0 60px rgba(0, 0, 0, 0.7);
  overflow: hidden;
  margin-bottom: 0.75rem;
}
.vp-terminal-header {
  background: linear-gradient(90deg, #03060f, #07112a, #03060f);
  text-align: center;
  padding: 0.7rem 1rem;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  letter-spacing: 6px;
  color: #00d4ff;
  text-shadow:
    0 0 8px #00d4ff,
    0 0 22px rgba(0, 212, 255, 0.5);
  text-transform: uppercase;
  border-bottom: 1px solid rgba(0, 184, 217, 0.2);
}
.vp-terminal-body {
  padding: 1rem 1rem 0.75rem;
}
.vp-terminal .vp-hand {
  background: rgba(0, 0, 0, 0.55);
  border: 1px solid rgba(0, 184, 217, 0.18);
  min-height: 150px;
  gap: 0.6rem;
}

/* Skyline Draw overrides inside terminal */
.vp-terminal .hold-btn {
  color: #00d4ff;
  border-color: rgba(0, 184, 217, 0.6);
  background: rgba(0, 184, 217, 0.06);
}
.vp-terminal .vp-card-wrap.held .hold-btn {
  background: #00b8d9;
  color: #000;
  border-color: #00d4ff;
}
.vp-terminal .vp-card-wrap.held .card {
  outline-color: #00d4ff;
  box-shadow: 0 0 18px rgba(0, 212, 255, 0.55);
}
.vp-terminal .vp-card-wrap.vp-winner .card {
  outline-color: #2ecc71;
  box-shadow: 0 0 18px rgba(46, 204, 113, 0.55);
}

/* ---- Skyline Draw enhanced glow effects ---- */
.vp-card-wrap {
  position: relative;
}
.vp-card-wrap::before {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 12px;
  background: transparent;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}
.vp-card-wrap.neon-auto-hold::before {
  background: linear-gradient(
    135deg,
    rgba(0, 212, 255, 0.3) 0%,
    rgba(0, 212, 255, 0.1) 100%
  );
  box-shadow:
    0 0 20px rgba(0, 212, 255, 0.4),
    inset 0 0 10px rgba(0, 212, 255, 0.2);
  opacity: 1;
  animation: neonPulse 1.5s ease-in-out infinite;
}
@keyframes neonPulse {
  0%,
  100% {
    opacity: 0.6;
  }
  50% {
    opacity: 1;
  }
}
.vp-card-wrap.neon-auto-hold .card {
  border-color: #00d4ff;
  box-shadow: 0 0 15px rgba(0, 212, 255, 0.5);
}
.vp-card-wrap.neon-winner::before {
  background: linear-gradient(
    135deg,
    rgba(46, 231, 159, 0.4) 0%,
    rgba(46, 231, 159, 0.1) 100%
  );
  box-shadow:
    0 0 30px rgba(46, 231, 159, 0.6),
    inset 0 0 15px rgba(46, 231, 159, 0.3);
  opacity: 1;
  animation: neonWin 0.8s ease-in-out infinite alternate;
}
@keyframes neonWin {
  from {
    box-shadow: 0 0 20px rgba(46, 231, 159, 0.5);
  }
  to {
    box-shadow:
      0 0 40px rgba(46, 231, 159, 0.8),
      0 0 60px rgba(46, 231, 159, 0.3);
  }
}
.vp-card-wrap.neon-winner .card {
  border-color: #2ee79f;
  box-shadow: 0 0 25px rgba(46, 231, 159, 0.7);
}

/* Card deal animation */
.vp-card-wrap.dealing {
  animation: vpCardDeal 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}
@keyframes vpCardDeal {
  0% {
    transform: translateY(-30px) scale(0.8);
    opacity: 0;
  }
  100% {
    transform: translateY(0) scale(1);
    opacity: 1;
  }
}

/* Draw card replacement animation */
.vp-card-wrap.replacing .card {
  animation: vpCardReplace 0.3s ease-out forwards;
}
@keyframes vpCardReplace {
  0% {
    transform: rotateY(90deg);
    opacity: 0;
  }
  100% {
    transform: rotateY(0);
    opacity: 1;
  }
}

/* Big win celebration for Royal Flush */
.vp-bigwin-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle, rgba(0, 0, 0, 0.7) 0%, transparent 70%);
  z-index: 100;
  animation: vpBigWinFade 0.5s ease forwards;
}
@keyframes vpBigWinFade {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
.vp-bigwin-text {
  font-size: 2.5rem;
  font-weight: 800;
  color: #ffd700;
  text-shadow:
    0 0 20px #ffd700,
    0 0 40px #ff6b00;
  animation: vpBigWinPulse 0.6s ease-in-out infinite alternate;
}
@keyframes vpBigWinPulse {
  from {
    transform: scale(1);
    text-shadow:
      0 0 20px #ffd700,
      0 0 40px #ff6b00;
  }
  to {
    transform: scale(1.1);
    text-shadow:
      0 0 30px #ffd700,
      0 0 60px #ff6b00,
      0 0 80px #ff4500;
  }
}

.vp-scanline {
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 3px,
    rgba(0, 0, 0, 0.07) 3px,
    rgba(0, 0, 0, 0.07) 4px
  );
  pointer-events: none;
  border-radius: 14px;
}

/* --- Slot machine chrome --- */
.slot5-chrome {
  background: linear-gradient(180deg, #1c1400, #120e00);
  border-bottom: 4px solid var(--gold);
}
.slot5-marquee {
  text-align: center;
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: 6px;
  text-transform: uppercase;
  color: var(--gold);
  text-shadow:
    0 0 12px var(--gold),
    0 0 28px rgba(212, 168, 67, 0.55);
  padding: 0.75rem 1rem;
  border-bottom: 2px solid rgba(212, 168, 67, 0.4);
  background: linear-gradient(180deg, #0d0900, #1a1100);
}
.slot5-marquee .marquee-sub {
  display: block;
  font-size: 0.62rem;
  letter-spacing: 3px;
  color: rgba(212, 168, 67, 0.6);
  text-shadow: none;
  margin-top: 2px;
}
.slot5-controls-panel {
  background: linear-gradient(180deg, #1c1400, #0d0900);
  padding: 0.75rem 1rem 1rem;
  border-top: 2px solid rgba(212, 168, 67, 0.3);
}
/* Override slot machine to fit inside chrome */
body.game-slots .slot5-machine {
  border: none !important;
  border-radius: 0 !important;
  margin: 0;
}

/* Game status glow for slots */
body.game-slots .game-status.win {
  font-size: 1.25rem;
}

/* =========================================================
   25. Slots paytable grid + reel bounce animation
   ========================================================= */

/* Proper 4-column grid for slots paytable */
.slots-paytable .spt-row {
  display: grid;
  grid-template-columns: 3.2rem 1fr 1fr 1fr;
  align-items: center;
  padding: 0.28rem 0.2rem;
  border-bottom: 1px dashed rgba(212, 168, 67, 0.14);
  gap: 0;
}
.slots-paytable .spt-row:last-of-type {
  border-bottom: none;
}

.slots-paytable .spt-head {
  border-bottom: 1px solid rgba(212, 168, 67, 0.35) !important;
  margin-bottom: 0.15rem;
  padding-bottom: 0.35rem;
}
.slots-paytable .spt-head span {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: rgba(212, 168, 67, 0.7);
  text-align: center;
}
.slots-paytable .spt-head span:first-child {
  text-align: left;
}

.slots-paytable .spt-sym {
  font-size: 1.5rem;
  line-height: 1;
}
.slots-paytable .spt-row strong {
  color: var(--gold);
  font-size: 0.88rem;
  text-align: center;
  display: block;
}

/* Reel bounce when strip stops */
@keyframes reelBounce {
  0% {
    transform: translateY(-5px);
  }
  55% {
    transform: translateY(2px);
  }
  80% {
    transform: translateY(-1px);
  }
  100% {
    transform: translateY(0);
  }
}
.reel5.reel-bounce {
  animation: reelBounce 0.28s ease-out;
}

/* ---- Slot spinning blur effect ---- */
.reel5.spinning {
  filter: blur(2px);
  transition: filter 0.15s ease-out;
}
.reel5.spinning-complete {
  filter: blur(0);
  transition: filter 0.2s ease-out;
}

/* ---- Win lines overlay SVG ---- */
.slot5-win-lines {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 10;
}
.slot5-win-lines line {
  stroke: #d4a843;
  stroke-width: 3;
  stroke-linecap: round;
  filter: drop-shadow(0 0 6px rgba(212, 168, 67, 0.8));
  stroke-dasharray: 200;
  stroke-dashoffset: 200;
  animation: winLineDraw 0.6s ease-out forwards;
}
@keyframes winLineDraw {
  to {
    stroke-dashoffset: 0;
  }
}

/* ---- Particle burst for big wins ---- */
.slot5-particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 20;
  overflow: visible;
}
.particle {
  position: absolute;
  width: 8px;
  height: 8px;
  background: radial-gradient(circle, #ffd700 0%, #d4a843 100%);
  border-radius: 50%;
  opacity: 0;
}
@keyframes particleBurst {
  0% {
    transform: translate(0, 0) scale(1);
    opacity: 1;
  }
  100% {
    transform: translate(var(--tx), var(--ty)) scale(0);
    opacity: 0;
  }
}

/* ---- Big win celebration ---- */
.slot5-bigwin {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 30;
  text-align: center;
  animation: bigWinPop 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}
@keyframes bigWinPop {
  0% {
    transform: translate(-50%, -50%) scale(0);
    opacity: 0;
  }
  100% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
  }
}

/* =========================================================
   26. Starlight Reels — vertex symbol tiles (.prz-a … .prz-g)
   Bundled emerald/gold palette; neon skins may override in nfc-skin.css.
   ========================================================= */

/* Reel cell becomes flex container */
.sym5 {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: inherit !important; /* let slot-sym control size */
}

body.game-slots .slot-sym {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 62px;
  border-radius: 10px;
  font-family:
    system-ui,
    -apple-system,
    "Segoe UI Symbol",
    serif;
  font-weight: 900;
  line-height: 1;
  position: relative;
  user-select: none;
  flex-shrink: 0;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.35),
    inset 0 -2px 0 rgba(0, 0, 0, 0.25),
    0 4px 12px rgba(0, 0, 0, 0.35);
}

body.game-slots .prz-a {
  background: linear-gradient(155deg, #ffe566 0%, #d49000 55%, #ffb830 100%);
  color: #2d0e00;
  font-size: 1.85rem;
  border: 2px solid rgba(255, 225, 80, 0.75);
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.35);
}

body.game-slots .prz-b {
  background: linear-gradient(155deg, #e8f5e9 0%, #2e7d32 55%, #43a047 100%);
  color: #fff;
  font-size: 1.65rem;
  border: 2px solid rgba(76, 175, 80, 0.55);
}

body.game-slots .prz-c {
  background: linear-gradient(155deg, #c8e6c9 0%, #1b5e20 55%, #388e3c 100%);
  color: #fff;
  font-size: 1.72rem;
  border: 2px solid rgba(129, 199, 132, 0.55);
}

body.game-slots .prz-d {
  background: linear-gradient(155deg, #88d9ff 0%, #0a5fa0 55%, #3898d8 100%);
  color: #fff;
  font-size: 1.58rem;
  border: 2px solid rgba(90, 200, 255, 0.55);
  text-shadow: 0 0 8px rgba(0, 120, 200, 0.35);
}

body.game-slots .prz-e {
  background: linear-gradient(155deg, #fff9c4 0%, #f57f17 55%, #fbc02d 100%);
  color: #3e2723;
  font-size: 1.48rem;
  border: 2px solid rgba(255, 193, 7, 0.55);
}

body.game-slots .prz-f {
  background: linear-gradient(155deg, #90ff80 0%, #1a6a10 55%, #3aaa30 100%);
  color: #fff;
  font-size: 1.38rem;
  border: 2px solid rgba(80, 200, 60, 0.55);
}

body.game-slots .prz-g {
  background: linear-gradient(155deg, #cfd8dc 0%, #455a64 55%, #78909c 100%);
  color: #fff;
  font-size: 1.28rem;
  border: 2px solid rgba(96, 125, 139, 0.55);
}

.sym5-win .slot-sym {
  animation: symWinPulse 0.45s ease-out;
  outline: 3px solid var(--gold);
  outline-offset: 2px;
}
@keyframes symWinPulse {
  0% {
    transform: scale(1);
  }
  45% {
    transform: scale(1.14);
  }
  100% {
    transform: scale(1);
  }
}

body.game-slots .slots-paytable .slot-sym {
  width: 34px;
  height: 42px;
  border-radius: 6px;
  padding-top: 1px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.25),
    0 2px 5px rgba(0, 0, 0, 0.3);
}

body.game-slots .slots-paytable .prz-a {
  font-size: 1rem;
}
body.game-slots .slots-paytable .prz-b,
body.game-slots .slots-paytable .prz-c,
body.game-slots .slots-paytable .prz-d,
body.game-slots .slots-paytable .prz-e,
body.game-slots .slots-paytable .prz-f,
body.game-slots .slots-paytable .prz-g {
  font-size: 0.95rem;
}

/* =========================================================
   27. Footer — help links + age badge
   ========================================================= */

.footer-badges {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  margin: 0.75rem 0 0.5rem;
}

.badge-age,
.badge-21 {
  color: rgba(250, 246, 237, 0.55);
  flex-shrink: 0;
  transition: color 0.2s;
}
.badge-age:hover,
.badge-21:hover {
  color: var(--gold);
}

.footer-help-link {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  opacity: 0.55;
  transition: opacity 0.2s;
}
.footer-help-link:hover {
  opacity: 1;
}

.partner-logo {
  height: 28px;
  width: auto;
  max-width: 110px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}
/* =========================================================
   Lucky Flare Hub WordPress skin
   ========================================================= */

:root {
  --lvc-ink: #07130f;
  --lvc-ink-2: #0b1f1a;
  --lvc-ink-3: #102923;
  --lvc-paper: #f5f1e8;
  --lvc-muted: #b9c7bd;
  --lvc-line: rgba(205, 255, 217, 0.22);
  --lvc-lime: #b6ff5e;
  --lvc-cyan: #50e6ff;
  --lvc-ruby: #ff5d78;
  --lvc-gold: #f5c451;
  --lvc-violet: #9b7cff;
  --lvc-shadow: 0 24px 70px rgba(0, 0, 0, 0.42);
  --lvc-radius: 6px;
}

html {
  scroll-behavior: smooth;
}

body.lvc-site {
  margin: 0;
  color: var(--lvc-paper);
  background:
    linear-gradient(90deg, rgba(182, 255, 94, 0.045) 1px, transparent 1px) 0 0 /
      42px 42px,
    linear-gradient(rgba(80, 230, 255, 0.04) 1px, transparent 1px) 0 0 / 42px
      42px,
    radial-gradient(
      circle at 18% 0%,
      rgba(80, 230, 255, 0.2),
      transparent 34rem
    ),
    radial-gradient(
      circle at 86% 20%,
      rgba(255, 93, 120, 0.16),
      transparent 30rem
    ),
    linear-gradient(135deg, #050d0a 0%, #0a1713 48%, #0d101d 100%);
  font-family:
    "Manrope",
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  letter-spacing: 0;
}

body.lvc-site::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background-image: url("../img/hero-vertex.jpg");
  background-size: cover;
  background-position: center top;
  opacity: 0.24;
  mix-blend-mode: screen;
}

body.lvc-site h1,
body.lvc-site h2,
body.lvc-site h3,
body.lvc-site .brand-name {
  font-family: "Cinzel", Georgia, serif;
  letter-spacing: 0;
}

body.lvc-site a {
  color: inherit;
}

.lvc-container {
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(5, 13, 10, 0.86);
  border-bottom: 1px solid var(--lvc-line);
  backdrop-filter: blur(18px);
}

.header-inner,
.footer-grid,
.game-header-grid,
.responsible-grid {
  display: grid;
  align-items: center;
  gap: 1rem;
}

.header-inner {
  min-height: 76px;
  grid-template-columns: auto 1fr auto;
}

.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
}

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: #06100c;
  background: linear-gradient(135deg, var(--lvc-lime), var(--lvc-cyan));
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  font:
    800 0.84rem "Manrope",
    sans-serif;
  box-shadow: 0 0 28px rgba(182, 255, 94, 0.32);
}

.brand-mark.large {
  width: 58px;
  height: 58px;
  margin: 0 auto 0.75rem;
}

.brand-name {
  font-size: 1rem;
  font-weight: 800;
  text-transform: uppercase;
}

.main-nav {
  display: flex;
  justify-content: center;
  gap: clamp(0.8rem, 2vw, 1.6rem);
  font-size: 0.9rem;
  font-weight: 800;
}

.main-nav a {
  color: rgba(245, 241, 232, 0.78);
  text-decoration: none;
}

.main-nav a:hover {
  color: var(--lvc-lime);
}

.nav-cta,
.btn {
  min-height: 44px;
  border-radius: var(--lvc-radius);
  border: 1px solid rgba(245, 196, 81, 0.38);
  padding: 0.82rem 1.05rem;
  cursor: pointer;
  font-weight: 900;
  text-decoration: none;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease;
}

.nav-cta,
.btn-primary {
  color: #06100c;
  background: linear-gradient(135deg, var(--lvc-lime), var(--lvc-gold));
  box-shadow: 0 14px 38px rgba(182, 255, 94, 0.2);
}

.btn-outline {
  color: var(--lvc-paper);
  background: rgba(245, 241, 232, 0.04);
}

.btn:hover,
.nav-cta:hover {
  transform: translateY(-2px);
  border-color: var(--lvc-lime);
}

.hero {
  position: relative;
  min-height: min(760px, calc(100vh - 76px));
  display: grid;
  align-items: center;
  overflow: hidden;
  background: none;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--lvc-lime), transparent);
  animation: none;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      90deg,
      rgba(5, 13, 10, 0.9),
      rgba(5, 13, 10, 0.28) 54%,
      rgba(5, 13, 10, 0.72)
    ),
    url("../img/hero-vertex.jpg") center / cover no-repeat;
  filter: saturate(1.16);
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) 320px;
  gap: clamp(2rem, 7vw, 6rem);
  align-items: end;
  padding: 7rem 0 5rem;
}

.kicker {
  margin: 0 0 0.7rem;
  color: var(--lvc-lime);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 780px;
  margin: 0;
  font-size: clamp(3.6rem, 8vw, 8.2rem);
  line-height: 0.9;
  text-transform: uppercase;
}

.hero-lede {
  max-width: 620px;
  margin: 1.4rem 0 0;
  color: rgba(245, 241, 232, 0.84);
  font-size: 1.18rem;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 2rem;
}

.hero-panel {
  border: 1px solid var(--lvc-line);
  border-left: 5px solid var(--lvc-lime);
  border-radius: var(--lvc-radius);
  padding: 1.4rem;
  background: rgba(7, 19, 15, 0.76);
  box-shadow: var(--lvc-shadow);
}

.panel-label {
  color: var(--lvc-muted);
  font-weight: 900;
  text-transform: uppercase;
}

.hero-panel strong {
  display: block;
  margin: 0.2rem 0;
  color: var(--lvc-lime);
  font-size: 4rem;
  line-height: 1;
}

.lvc-band {
  border-block: 1px solid var(--lvc-line);
  background: rgba(5, 13, 10, 0.78);
}

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

.stats-strip span {
  padding: 1rem;
  text-align: center;
  color: rgba(245, 241, 232, 0.78);
  font-weight: 900;
}

.games-section,
.responsible-band,
.static-main,
.game-main {
  padding: clamp(3rem, 7vw, 6rem) 0;
}

.section-heading {
  display: grid;
  grid-template-columns: 0.7fr 1fr;
  gap: 1.5rem;
  align-items: end;
  margin-bottom: 2rem;
}

.section-heading h2,
.responsible-grid h2,
.page-hero h1,
.game-page-header h1 {
  margin: 0;
  font-size: clamp(2.2rem, 5vw, 4.2rem);
  line-height: 0.96;
}

.section-heading p,
.responsible-grid p,
.page-hero p,
.game-page-header p {
  color: rgba(245, 241, 232, 0.76);
  line-height: 1.7;
}

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

.game-card {
  grid-column: span 4;
  overflow: hidden;
  border: 1px solid var(--lvc-line);
  border-left: 5px solid var(--lvc-lime);
  border-radius: var(--lvc-radius);
  background: linear-gradient(
    180deg,
    rgba(245, 241, 232, 0.08),
    rgba(245, 241, 232, 0.035)
  );
  box-shadow: var(--lvc-shadow);
}

.game-card img {
  display: block;
  width: 100%;
  aspect-ratio: 400 / 260;
  object-fit: cover;
}

.game-card-body {
  padding: 1rem;
}

.game-card h2,
.game-card h3 {
  margin: 0.4rem 0;
  font-size: 1.35rem;
}

.game-card p {
  min-height: 3.2em;
  color: rgba(245, 241, 232, 0.72);
  line-height: 1.55;
}

.badge {
  display: inline-flex;
  border: 1px solid rgba(182, 255, 94, 0.35);
  border-radius: 999px;
  padding: 0.28rem 0.58rem;
  color: var(--lvc-lime);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.badge-muted {
  margin-left: 0.35rem;
  border-color: rgba(245, 241, 232, 0.24);
  color: rgba(245, 241, 232, 0.7);
}

.accent-vertex,
.accent-jade {
  border-left-color: var(--lvc-cyan);
}
.accent-starlight,
.accent-dragon {
  border-left-color: var(--lvc-lime);
}
.accent-prism,
.accent-olympus {
  border-left-color: var(--lvc-violet);
}
.accent-skyline,
.accent-doghouse {
  border-left-color: var(--lvc-gold);
}
.accent-lotus,
.accent-wolf {
  border-left-color: var(--lvc-ruby);
}
.accent-summit,
.accent-roulette {
  border-left-color: #9effc7;
}

.responsible-band {
  border-top: 1px solid var(--lvc-line);
  background: rgba(7, 19, 15, 0.72);
}

.responsible-grid {
  grid-template-columns: 0.8fr 1fr auto;
}

.page-hero,
.game-page-header {
  padding: clamp(3rem, 7vw, 5rem) 0 2rem;
  border-bottom: 1px solid var(--lvc-line);
  background: linear-gradient(
    135deg,
    rgba(182, 255, 94, 0.1),
    rgba(80, 230, 255, 0.05),
    transparent
  );
}

.content-grid {
  display: grid;
  grid-template-columns: minmax(0, 820px);
  justify-content: center;
}

.content-stack {
  display: grid;
  gap: 1rem;
}

.lvc-content-flow {
  display: grid;
  gap: 2rem;
}

.lvc-content-flow > .wp-block-group.content-block,
.lvc-content-flow > .content-block {
  width: min(820px, calc(100% - 32px));
  margin: 0 auto;
}

.lvc-content-flow > h1,
.lvc-content-flow > h2,
.lvc-content-flow > h3,
.lvc-content-flow > h4,
.lvc-content-flow > p,
.lvc-content-flow > ul,
.lvc-content-flow > ol,
.lvc-content-flow > blockquote,
.lvc-content-flow > .wp-block-heading,
.lvc-content-flow > .wp-block-paragraph,
.lvc-content-flow > .wp-block-list,
.lvc-content-flow > .wp-block-quote {
  width: min(1160px, calc(100% - 32px));
  margin-left: auto;
  margin-right: auto;
}

.lvc-content-flow > .lvc-home-heading {
  text-align: center;
  margin-top: 1rem;
}

.lvc-content-flow > .lvc-home-intro {
  text-align: center;
  max-width: 720px;
  color: var(--lvc-mist, rgba(255, 255, 255, 0.72));
}

/* Legal pages — prose layout (Terms, Privacy, Cookies, Responsible Gaming) */
.legal-hero {
  padding-bottom: clamp(2rem, 5vw, 3rem);
}
.legal-hero .lede,
.legal-lede {
  max-width: 720px;
  font-size: 1.05rem;
  color: var(--lvc-muted);
  margin-top: 0.75rem;
}
.legal-meta {
  margin-top: 1rem;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--lvc-muted);
  opacity: 0.75;
}

.legal-prose {
  max-width: 760px;
  width: min(760px, calc(100% - 32px));
  margin: 0 auto;
  padding: clamp(2rem, 5vw, 3rem) 0 clamp(3rem, 6vw, 4.5rem);
  color: var(--lvc-paper);
  font-size: 1rem;
  line-height: 1.7;
}
.legal-prose h2 {
  font-family: "Cinzel", serif;
  font-size: 1.4rem;
  letter-spacing: 0.02em;
  margin: 2.5rem 0 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--lvc-line);
  color: var(--lvc-paper);
}
.legal-prose h2:first-child {
  margin-top: 0.25rem;
}
.legal-prose h3 {
  font-size: 1.05rem;
  margin: 1.75rem 0 0.5rem;
  color: var(--lvc-paper);
}
.legal-prose p {
  margin: 0 0 1.1rem;
  color: var(--lvc-paper);
}
.legal-prose ul,
.legal-prose ol {
  margin: 0 0 1.25rem;
  padding-left: 1.4rem;
}
.legal-prose li {
  margin-bottom: 0.5rem;
}
.legal-prose li::marker {
  color: var(--lvc-gold);
}
.legal-prose a {
  color: var(--lvc-gold);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: color 120ms ease;
}
.legal-prose a:hover {
  color: var(--lvc-paper);
}
.legal-prose strong {
  color: var(--lvc-paper);
  font-weight: 600;
}
.legal-prose code {
  background: rgba(245, 196, 81, 0.08);
  border: 1px solid rgba(245, 196, 81, 0.22);
  border-radius: 4px;
  padding: 0.05rem 0.4rem;
  font-size: 0.9em;
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  color: var(--lvc-paper);
}

.content-block,
.contact-form,
.modal-card,
.overlay-card {
  border: 1px solid var(--lvc-line);
  border-radius: var(--lvc-radius);
  background: rgba(7, 19, 15, 0.9);
  color: var(--lvc-paper);
  box-shadow: var(--lvc-shadow);
}

.content-block,
.contact-form {
  padding: clamp(1.2rem, 3vw, 2rem);
}

.content-block h2 {
  margin: 0 0 0.5rem;
  font-size: 1.25rem;
}

.content-block p {
  color: rgba(245, 241, 232, 0.74);
  line-height: 1.75;
}

.wp-page-content {
  display: grid;
  gap: 1rem;
}

.wp-page-content > *:first-child {
  margin-top: 0;
}

.wp-page-content > *:last-child {
  margin-bottom: 0;
}

.wp-page-content h2,
.wp-page-content h3,
.wp-page-content h4 {
  margin-top: 1.5rem;
}

.wp-page-content ul,
.wp-page-content ol {
  color: rgba(245, 241, 232, 0.74);
  line-height: 1.75;
}

.wp-page-content > p,
.wp-page-content > ul,
.wp-page-content > ol,
.wp-page-content > blockquote {
  margin: 0;
  color: rgba(245, 241, 232, 0.74);
  line-height: 1.75;
}

.wp-page-content > .content-block,
.wp-page-content > .wp-block-group {
  margin: 0;
}

.wp-page-content img {
  height: auto;
  border-radius: var(--lvc-radius);
}

.game-content-grid,
.lobby-content-grid {
  margin-top: 2rem;
}

.game-header-grid {
  grid-template-columns: 1fr auto;
}

.game-tools {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.coin-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 44px;
  border: 1px solid rgba(182, 255, 94, 0.38);
  border-radius: var(--lvc-radius);
  padding: 0.65rem 0.9rem;
  color: var(--lvc-lime);
  background: rgba(0, 0, 0, 0.28);
  font-weight: 900;
}

.coin-icon {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #fff3a5, var(--lvc-gold));
}

.game-stage {
  margin: 2rem auto 0;
  border: 1px solid var(--lvc-line);
  border-left: 6px solid var(--lvc-lime);
  border-radius: var(--lvc-radius);
  background:
    linear-gradient(135deg, rgba(7, 19, 15, 0.94), rgba(12, 31, 26, 0.88)),
    linear-gradient(90deg, rgba(182, 255, 94, 0.05) 1px, transparent 1px) 0 0 /
      34px 34px;
  box-shadow: var(--lvc-shadow);
}

.floor-vertex .game-stage,
.floor-jade .game-stage {
  border-left-color: var(--lvc-cyan);
}
.floor-starlight .game-stage,
.floor-dragon .game-stage {
  border-left-color: var(--lvc-lime);
}
.floor-prism .game-stage,
.floor-olympus .game-stage {
  border-left-color: var(--lvc-violet);
}
.floor-skyline .game-stage,
.floor-doghouse .game-stage {
  border-left-color: var(--lvc-gold);
}
.floor-lotus .game-stage,
.floor-wolf .game-stage {
  border-left-color: var(--lvc-ruby);
}
.floor-summit .game-stage,
.floor-roulette .game-stage {
  border-left-color: #9effc7;
}

.external-game-stage {
  overflow: hidden;
  min-height: clamp(560px, 78vh, 820px);
  padding: 0;
  background: #050806;
}

.provider-game-frame {
  display: block;
  width: 100%;
  min-height: clamp(560px, 78vh, 820px);
  border: 0;
  background: #050806;
}

.iframe-note {
  margin: 0.85rem auto 0;
  color: rgba(245, 241, 232, 0.68);
  font-size: 0.92rem;
  text-align: center;
}

.loading-note {
  margin: 0;
  padding: 2rem;
  text-align: center;
  color: var(--lvc-muted);
}

.overlay,
.modal {
  backdrop-filter: blur(16px);
}

.overlay-card,
.modal-card {
  max-width: 540px;
  padding: 1.5rem;
}

.modal-card h2,
.overlay-card h2 {
  color: var(--lvc-paper);
}

.modal-card .lead,
.overlay-card .muted,
.checkbox-field,
.form-field label {
  color: rgba(245, 241, 232, 0.76);
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  color: var(--lvc-paper);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(245, 241, 232, 0.2);
  border-radius: var(--lvc-radius);
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: 2px solid rgba(182, 255, 94, 0.45);
  border-color: var(--lvc-lime);
}

.error-msg {
  min-height: 1.1rem;
  color: var(--lvc-ruby);
  font-size: 0.84rem;
}

.success-message {
  color: var(--lvc-lime);
}

.success-message.is-visible {
  margin-top: 0.8rem;
}

.cookie-banner {
  background: rgba(5, 13, 10, 0.94);
  border-top: 1px solid var(--lvc-line);
}

.cookie-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.cookie-actions {
  display: flex;
  gap: 0.6rem;
}

.site-footer {
  border-top: 1px solid var(--lvc-line);
  background: #050d0a;
  padding: 2.5rem 0;
}

.footer-grid {
  grid-template-columns: 1fr auto auto;
}

.footer-brand {
  margin-bottom: 0.9rem;
}

.legal-disclaimer {
  max-width: 660px;
  color: rgba(245, 241, 232, 0.62);
  font-size: 0.9rem;
  line-height: 1.65;
}

.footer-nav {
  display: grid;
  gap: 0.5rem;
}

.footer-nav a {
  color: rgba(245, 241, 232, 0.74);
  text-decoration: none;
  font-weight: 800;
}

.footer-badges {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.footer-badges img {
  max-width: 92px;
  max-height: 32px;
  object-fit: contain;
  filter: saturate(0.9) brightness(1.06);
}

.badge-age,
.badge-21 {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 2px solid var(--lvc-lime);
  border-radius: 50%;
  color: var(--lvc-lime);
  font-weight: 900;
}

.footer-help-link {
  min-height: 36px;
  border: 1px solid rgba(182, 255, 94, 0.22);
  border-radius: 999px;
  padding: 0.45rem 0.7rem;
  color: rgba(245, 241, 232, 0.78);
  font-size: 0.82rem;
  font-weight: 900;
  text-decoration: none;
  opacity: 0.88;
}

/* Engine overrides */
body.lvc-site .game-controls,
body.lvc-site .bet-controls,
body.lvc-site .paytable,
body.lvc-site .game-status,
body.lvc-site .roulette-layout,
body.lvc-site .baccarat-layout,
body.lvc-site .vp-layout,
body.lvc-site .caribbean-layout,
body.lvc-site .blackjack-layout,
body.lvc-site .slot5-chrome {
  color: var(--lvc-paper);
}

body.lvc-site.game-slots .slot5-marquee {
  color: var(--lvc-lime);
}

body.lvc-site .card {
  border-radius: 7px;
}

@keyframes lvcSweep {
  0% {
    transform: translateX(-14px);
    opacity: 0.45;
  }
  50% {
    opacity: 1;
  }
  100% {
    transform: translateX(14px);
    opacity: 0.45;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .brand-mark {
    animation: lvcSweep 4s ease-in-out infinite alternate;
  }
  .game-card {
    transition:
      transform 180ms ease,
      border-color 180ms ease;
  }
  .game-card:hover {
    transform: translateY(-5px);
  }
}

@media (max-width: 900px) {
  .header-inner,
  .hero-grid,
  .section-heading,
  .responsible-grid,
  .footer-grid,
  .game-header-grid {
    grid-template-columns: 1fr;
  }

  .main-nav {
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 0.25rem;
  }

  .nav-cta {
    justify-self: start;
  }

  .hero {
    min-height: auto;
  }

  .hero-grid {
    padding: 4.5rem 0 3rem;
  }

  .hero h1 {
    font-size: clamp(3rem, 17vw, 5.3rem);
  }

  .stats-strip,
  .games-grid {
    grid-template-columns: 1fr;
  }

  .game-card {
    grid-column: span 1;
  }

  .cookie-inner,
  .cookie-actions,
  .game-tools {
    align-items: stretch;
    flex-direction: column;
  }
}

/* Responsive polish for narrow screens */
@media (max-width: 1100px) and (min-width: 641px) {
  .games-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .game-card {
    grid-column: span 1;
  }
}

@media (max-width: 760px) {
  .lvc-container {
    width: min(100% - 24px, 1160px);
  }

  .site-header {
    position: sticky;
  }

  .header-inner {
    grid-template-columns: 1fr auto;
    min-height: auto;
    gap: 0.7rem;
    padding-block: 0.75rem;
  }

  .brand-lockup {
    min-width: 0;
  }

  .brand-mark {
    width: 38px;
    height: 38px;
    font-size: 0.78rem;
    flex: 0 0 auto;
  }

  .brand-name {
    min-width: 0;
    font-size: clamp(0.82rem, 3.4vw, 0.95rem);
    line-height: 1.15;
    overflow-wrap: anywhere;
  }

  .nav-cta {
    justify-self: end;
    min-height: 40px;
    padding: 0.64rem 0.78rem;
    white-space: nowrap;
  }

  .main-nav {
    grid-column: 1 / -1;
    justify-content: flex-start;
    gap: 0.55rem;
    width: 100%;
    overflow-x: auto;
    padding: 0.2rem 0 0.35rem;
    scroll-snap-type: x proximity;
    -webkit-overflow-scrolling: touch;
  }

  .main-nav::-webkit-scrollbar {
    display: none;
  }

  .main-nav a {
    flex: 0 0 auto;
    min-height: 36px;
    display: inline-flex;
    align-items: center;
    scroll-snap-align: start;
    border: 1px solid rgba(245, 241, 232, 0.14);
    border-radius: 999px;
    padding: 0.45rem 0.68rem;
    background: rgba(245, 241, 232, 0.045);
    white-space: nowrap;
  }

  .hero-grid {
    gap: 1.5rem;
    padding: clamp(3.4rem, 14vw, 5rem) 0 3rem;
    align-items: start;
  }

  .hero h1 {
    font-size: clamp(2.8rem, 16vw, 4.9rem);
    line-height: 0.94;
  }

  .hero-lede,
  .page-hero p,
  .game-page-header p,
  .responsible-grid p {
    font-size: 1rem;
    line-height: 1.62;
  }

  .hero-actions,
  .cookie-actions,
  .game-tools {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
  }

  .hero-actions .btn,
  .responsible-grid .btn,
  .game-tools .btn,
  .cookie-actions .btn,
  .nav-cta {
    text-align: center;
  }

  .hero-panel {
    width: 100%;
    padding: 1rem;
  }

  .hero-panel strong {
    font-size: clamp(2.8rem, 18vw, 4rem);
  }

  .stats-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .stats-strip span {
    padding: 0.82rem 0.55rem;
    font-size: 0.88rem;
  }

  .games-section,
  .responsible-band,
  .static-main,
  .game-main {
    padding: clamp(2.2rem, 9vw, 3.5rem) 0;
  }

  .section-heading {
    gap: 0.8rem;
    margin-bottom: 1.25rem;
  }

  .section-heading h2,
  .responsible-grid h2,
  .page-hero h1,
  .game-page-header h1 {
    font-size: clamp(2rem, 11vw, 3.2rem);
    line-height: 1;
    overflow-wrap: anywhere;
  }

  .page-hero,
  .game-page-header {
    padding: clamp(2.2rem, 10vw, 3.5rem) 0 1.4rem;
  }

  .content-grid,
  .editor-styles-wrapper .content-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .content-block,
  .contact-form,
  .modal-card,
  .overlay-card {
    padding: 1rem;
  }

  .lvc-content-flow {
    gap: 1.4rem;
  }

  .lvc-content-flow > .wp-block-group.content-block,
  .lvc-content-flow > .content-block,
  .lvc-content-flow > h1,
  .lvc-content-flow > h2,
  .lvc-content-flow > h3,
  .lvc-content-flow > h4,
  .lvc-content-flow > p,
  .lvc-content-flow > ul,
  .lvc-content-flow > ol,
  .lvc-content-flow > blockquote,
  .lvc-content-flow > .wp-block-heading,
  .lvc-content-flow > .wp-block-paragraph,
  .lvc-content-flow > .wp-block-list,
  .lvc-content-flow > .wp-block-quote,
  .legal-prose {
    width: min(100% - 24px, 820px);
  }

  .legal-prose {
    padding: 1.7rem 0 2.6rem;
    font-size: 0.97rem;
  }

  .legal-prose h2 {
    margin-top: 2rem;
    font-size: 1.22rem;
  }

  .games-grid {
    grid-template-columns: 1fr;
    gap: 0.9rem;
  }

  .game-card {
    grid-column: span 1;
  }

  .game-card img {
    aspect-ratio: 16 / 10;
  }

  .game-card p {
    min-height: 0;
  }

  .badge,
  .badge-muted {
    margin: 0 0.35rem 0.35rem 0;
  }

  .external-game-stage,
  .provider-game-frame {
    min-height: clamp(420px, 72svh, 620px);
  }

  .game-stage {
    margin-top: 1.25rem;
    border-left-width: 4px;
  }

  .iframe-note {
    padding-inline: 0.25rem;
    font-size: 0.86rem;
  }

  .cookie-inner {
    display: grid;
    grid-template-columns: 1fr;
    align-items: stretch;
  }

  .cookie-banner {
    padding: 0.85rem 0;
  }

  .footer-grid {
    gap: 1.4rem;
    text-align: left;
  }

  .footer-nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-badges {
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  .footer-help-link {
    max-width: 100%;
    overflow-wrap: anywhere;
  }
}

@media (max-width: 430px) {
  .lvc-container {
    width: min(100% - 20px, 1160px);
  }

  .header-inner {
    grid-template-columns: 1fr;
  }

  .nav-cta {
    justify-self: stretch;
    width: 100%;
  }

  .brand-name {
    font-size: 0.82rem;
  }

  .hero h1 {
    font-size: clamp(2.45rem, 17vw, 3.75rem);
  }

  .stats-strip,
  .footer-nav {
    grid-template-columns: 1fr;
  }

  .btn,
  .nav-cta {
    width: 100%;
  }

  .external-game-stage,
  .provider-game-frame {
    min-height: clamp(360px, 68svh, 540px);
  }

  .modal,
  .overlay {
    align-items: flex-start;
    padding-top: max(1rem, env(safe-area-inset-top));
    padding-bottom: max(1rem, env(safe-area-inset-bottom));
  }
}

/* Match the taller supplied game cover art and avoid clipping top/bottom. */
.game-card > a:first-child {
  display: block;
  aspect-ratio: 3 / 2;
  overflow: hidden;
}

.game-card > a:first-child img {
  width: 100%;
  height: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  object-position: center;
}
