/* Playfair Display - self-hosted */

/* regular */
@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/playfair-display-v40-latin-regular.woff2') format('woff2');
}

/* semi-bold */
@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/fonts/playfair-display-v40-latin-600.woff2') format('woff2');
}


:root {
  /* Core */
  --felt-green: #0b3a2a;        /* deep felt */
  --near-black: #0b0f0c;        /* softer than pure black */
  --panel-black: rgba(0,0,0,.65);

  /* Golds */
  --gold: #d4af37;              /* classic */
--gold-bright: #ffd700;        /* true gold */
--gold-soft: rgba(255,215,0,.35);


  /* Brighteners */
--ivory: #f5f5f5;
  --teal: #2ec4b6;              /* subtle casino accent */
  --ruby: #c1121f;              /* warning / responsible gambling (very sparing) */
}


* { 
  box-sizing: border-box; 
  margin: 0; 
  padding: 0; 
}




body {
  font-family: 'Montserrat', sans-serif;
  background: #0B0E14;     /* deep midnight */
  color: #F5F5F5;
  min-height: 100vh;
  font-size: 1.03rem;
}

/* Optional subtle depth layer */
.page-background {
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(rgba(0,0,0,.25), rgba(0,0,0,.45)),
    radial-gradient(circle at 50% 15%, #146c43 0%, #0b3a2a 65%);
}





.container {
  max-width: 980px;
  margin: 40px auto;
  padding: 30px 24px;
  background: rgba(0,0,0,.65);
  border-radius: 18px;
 border: 2px solid var(--gold);
  overflow: visible;
  box-shadow: 0 0 18px rgba(255,209,102,.08);
}


a {
  color: var(--gold);
  text-decoration: none;
}



/* H1 – main title */
h1 {
  margin-bottom: 6px;
  font-size: 2.4rem; /* optional: adjust if needed */
  letter-spacing: 0.5px;
    font-family: 'Playfair Display', serif;
  font-weight: 600;
  color: var(--gold-bright);
  text-shadow: 0 0 6px var(--gold-soft);
  text-align: center;
}

/* H2 – subtitle / section headers */
h2 {
  font-family: 'Playfair Display', serif;
  font-weight: 600;
  font-size: 1.05rem;
  margin-bottom: 22px;
  letter-spacing: 2px;
  text-transform: uppercase;
    text-shadow: 0 0 6px var(--gold-soft);
  text-align: center;
    color: var(--gold-bright);
}

h2.accent-red {
  color: #d62828;
  text-shadow: 0 0 4px rgba(214,40,40,.45);
}

/* H3 – card titles */
h3 {
  font-family: 'Playfair Display', serif;
  font-weight: 600;
  color: var(--gold-bright);
  text-shadow: 0 0 6px var(--gold-soft);
  text-align: center;
  letter-spacing: 0.5px;
}




/* Body copy */
p {
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;        /* ✅ critical */
  font-size: 1.02rem;
  line-height: 1.7;
  color: #ddd;
  text-align: left;
   text-shadow: 0 0 0.01px rgba(0,0,0,0.6);
}

/* Prevent Chrome desktop text flash before JS init */
.geo-box {
  visibility: hidden;
}

/* Reveal geo UI once JS initialization completes */
.geo-box.is-ready {
  visibility: visible;
}



.geo-box {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 28px;
  flex-wrap: wrap;
  font-size: .95rem;
  color: #d4af37;
}

.geo-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
}


/* ✅ Shared flag styling */
.geo-flag,
.flag-inline {
  border: 1px solid rgba(255, 215, 0, 0.7);
  border-radius: 1px;
  box-shadow: 0 0 4px rgba(0,0,0,.6);
  background: #000;
  overflow: hidden; /* force image clipping */
}

/* ✅ Geo flag specific */
.geo-flag {
  width: 48px;
  height: 30px;
  object-fit: cover;
  display: block;
  margin-bottom: 8px;
}

/* ✅ Geo flag wrapper */
.geo-flag-wrap {
  display: flex;
  justify-content: center;
  width: 100%;
}



.geo-box select,
.geo-box button {
  background: rgba(0,0,0,.6);
  color: gold;
  border: 1px solid rgba(255,215,0,.5);
  border-radius: 999px;
  padding: 8px 16px;
  font-size: .9rem;
  cursor: pointer;
}

.geo-box button:hover {
  background: rgba(255,215,0,.15);
  color: red;
}

@media (max-width: 520px) {
  body { font-size: 1.06rem; }
  .geo-box { flex-direction: column; align-items: stretch; }
  .geo-label { justify-content: center; }
  .geo-box select,
  .geo-box button { width: 100%; text-align: center; }
}

@media (max-width: 520px) {
  .geo-box {
    flex-direction: column;
    align-items: center;
  }


  .geo-box select,
  .geo-box button {
    width: 100%;
    max-width: 320px;
    text-align: center;
  }
}


/* Desktop / default */
.flag-inline {
  display: inline-block;          /* ✅ critical */
  height: 32px;
  width: auto;
  margin-right: 10px;
  vertical-align: middle;
  box-sizing: border-box;         /* ✅ ensures border is included */
  border-radius: 4px;
}



.btn-gold {
  display: inline-block;
  padding: 10px 22px;
background: linear-gradient(#ffd24d, #e6b800);
  color: #000;
  border-radius: 999px;
  font-weight: 800;
  font-size: 0.9rem;
  text-decoration: none;
  box-shadow:
    0 0 6px rgba(255,215,0,.55),
    inset 0 1px 0 rgba(255,255,255,.65);
   margin-bottom: 12px;
   margin-top: 12px;
}

.btn-gold:hover,
.btn-gold:focus {
  color: #c1121f; /* ruby red */
  text-shadow: none;
}

/* FIXED: removed global display:block that was killing footer logos */
img {
  max-width: 100%;
  height: auto;
  /* display: block removed on purpose – now flex-friendly */
}
img.flag-inline {
  height: 32px;
  width: auto;
  max-width: none;      /* ✅ overrides img rule */
}


.content-card {
  background: rgba(8, 20, 12, 0.85);
  border: 1px solid rgba(255,215,0,.35);
  border-radius: 16px;
  padding: 24px 26px;
  margin: 32px 0;
  box-shadow: 0 0 14px rgba(255,209,102,.10);
}

.content-card .section-title {
  margin-top: 0;
}


.content-block::after {
  content: "";
  display: block;
  clear: both;
}


/* Only apply display:block where we actually want it (EXCLUDE footer) */
.live-game-card img,
.casino-card img,
.no-js-warning img {
  display: block;
}


.casino-grid {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 24px;
  margin-bottom: 24px;
  
}


.casino-card {
  border: 1px solid rgba(255, 215, 0, 0.25);
  border-radius: 12px;
  padding: 18px;
  background: #08140e;
}




/* Title at top */
.casino-title {
  margin-bottom: 12px;
  text-align: left;
  font-size: 1.5rem;
  font-weight: 600;
  text-shadow:
    0 0 6px rgba(255,215,0,.45),
    0 0 12px rgba(255,215,0,.25);
}


/* Logo + description row */
.casino-main {
  display: flex;
  align-items: flex-start;
  gap: 18px;
}



/* Description beside logo */
.casino-desc {
  margin: 0;
  line-height: 1.6;
}

/* CTA */
.casino-btn {
  display: inline-block;
  margin: 16px auto 0;
  padding: 12px 20px;

  border-radius: 999px;
  background: linear-gradient(180deg, #ffd76a, #c89b2c);

  color: #000;
  font-weight: 600;
  text-decoration: none;
  text-align: center;

  transition:
    background 0.2s ease,
    color 0.2s ease,
    text-shadow 0.2s ease,
    box-shadow 0.2s ease;
}

.casino-btn:hover,
.casino-btn:focus {
  background: linear-gradient(180deg, #ffdf8c, #d4a72f);
  color: #c1121f;
  text-shadow: none;
  box-shadow:
    0 0 6px rgba(255,215,0,.55),
    inset 0 1px 0 rgba(255,255,255,.65);
}

/* Legal disclaimer below, red */
.casino-legal {
  color: #ff5252;
  font-size: 0.9rem;
  font-weight: 600;
  display: block;
  margin-top: 10px;
  text-align: center;
}

/* Centered title */
.casino-title {
  text-align: center;
  margin-bottom: 14px;
}

/* Make logo link clean (no underline, no weird spacing) */
.casino-main a {
  display: inline-block;
  text-decoration: none;
}

.casino-main a {
  flex-shrink: 0;
}




.casino-card:hover,
.live-game-card:hover {
  transform: none;                 /* no movement */
  box-shadow: 0 0 14px rgba(255,209,102,.20);
}



.live-game-card h3 a:hover,
.live-game-card h3 a:focus {
  background: linear-gradient(#ffd24d, #e6b800);
  transform: translateY(-2px);
  box-shadow:
    0 4px 14px rgba(255,209,102,.5),
    inset 0 1px 0 rgba(255,255,255,.45);
}



.no-js-warning {
  max-width: 720px;
  margin: 80px auto;
  padding: 28px 24px;
  background: rgba(0,0,0,.85);
  border: 2px solid gold;
  border-radius: 16px;
  color: #f5f5f5;
  text-align: center;
}

.no-js-warning h2 {
  color: gold;
  margin-bottom: 12px;
}

.no-js-warning p {
  font-size: .95rem;
  line-height: 1.6;
  margin-bottom: 10px;
}

.lang-box {
  display: flex;
    justify-content: center;
  gap: 6px;
}

.lang-box button {
  background: transparent;
  border: 1px solid gold;
  color: gold;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: .75rem;
  cursor: pointer;
}

.lang-box button.active {
  background: gold;
  color: #000;
  box-shadow: 0 0 6px rgba(255,209,102,.6);
}

.lang-box button:hover:not(.active) {
  background: rgba(255,255,255,.15);
  color: #fff;
}



li {
  color: var(--ivory);
}



.geo-note {
  text-align: center;
  color: #d62828;
  font-size: 0.9rem;
}

.section-title {
  font-size: 1.5rem;
  margin-top: 32px;
  margin-bottom: 18px;
  letter-spacing: .5px;
}

.live-games-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin: 28px 0;
}

.live-game-card {
  background: rgba(8,20,12,.85);
  border: 1px solid rgba(255,215,0,.35);
  border-radius: 16px;
  padding: 20px;
  text-align: center;
}


/* Mobile: stack cards */
@media (max-width: 640px) {
  .live-games-grid {
    grid-template-columns: 1fr;
  }
}

/* FOOTER */
.site-footer {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 0px solid rgba(255,215,0,.35);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  text-align: center;
}

.footer-logos {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 10px;
}

.footer-copy {
  display: flex;
  align-items: center;      /* vertical alignment */
  justify-content: center;  /* center the whole group */
  gap: 12px;
  text-align: center;
   padding: 32px 16px 8px;
}

.footer-text {
  display: flex;
  flex-direction: column;  /* stack text vertically */
  line-height: 1.6;
  font-size: 0.85rem;
  color: gold;
}

.footer-text a {
  color: inherit;
  text-decoration: none;
  font-weight: inherit;
}

.footer-text a:hover {
  text-decoration: none;
  color: red;
}

.footer-disclaimer strong,
.warning {
  color: var(--ruby);
}

.footer-logo {
  border-radius: 8px; /* try 6–12px */
  display: block;     /* prevents tiny gaps */
}


@media (max-width: 640px) {
  .footer-inner {
    flex-direction: column;
    gap: 12px;
  }
}

.intro-image {
  float: right;
  width: 320px;        /* adjust size */
  max-width: 45%;
  margin: 0 20px 12px 0;
  height: auto;
  border-radius: 10px;
}

.content-block::after {
  content: "";
  display: block;
  clear: both;         /* prevent float leakage */
}


.intro-text p {
  margin-bottom: 14px;
}

/* ✅ Mobile-friendly stacking */
@media (max-width: 640px) {
  .content-block {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .intro-image {
    float: none;
    margin: 0 auto 12px;
    display: block;
  }
}

@media (max-width: 640px) {

  p{
    text-align: center;
  }
  li {
    text-align: center;
  }

  .content-card,
  .live-game-card {
    text-align: center;
  }

}



/* ===============================
   FOOTER – MOBILE
=============================== */
@media (max-width: 640px) {

  .footer-copy {
    flex-direction: column;
    align-items: center;
    gap: 10px;

    margin-top: 16px;      /* space between last card / legal block and logos */
    margin-bottom: 16px;  /* breathing room at very bottom of the page */
  }

  /* footer icons / links */
  .footer-copy a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    margin: 0 6px;
    order: 1;
  }

  .footer-copy a:first-child,
  .footer-copy a:last-child {
    margin: 0 6px;
  }

  /* footer text below icons */
  .footer-text {
    order: 2;
    text-align: center;
    line-height: 1.4;
  }
}


/* Mobile */
@media (max-width: 640px) {

  h1 {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 16px;
  }

  .flag-inline {
    display: inline-block;
    height: 48px;
    width: auto;
    margin-right: 0;

    border: 2px solid rgba(255, 215, 0, 0.75);
    border-radius: 3px;
    box-shadow: 0 0 4px rgba(0,0,0,.6);
    background: #000;
  }

}

@media (max-width: 640px) {
  img.flag-inline {
    height: 48px;       /* ✅ actually applies now */
  }
}

/* ===============================
   AGE GATE – CLEAN / NEUTRAL
=============================== */

/* AGE GATE: neutral system font */
.age-modal {
  font-family: 'Montserrat', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

/* Age gate title */
.age-modal h3 {
  font-family: inherit;
  font-weight: 700;
  letter-spacing: 1px;
  color: #000;
  text-shadow: none;
}

/* Question emphasis */
.age-modal strong {
  font-weight: 600;
}


#age-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.7); /* darken page behind modal */
}

.age-modal {
  background: #ffffff;
  color: #000000;
  padding: 26px;
  border-radius: 18px;
  max-width: 420px;
  width: 90%;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
  text-align: center;
}


.age-modal p,
.age-modal strong {
  text-align: center;
}


/* ✅ Force black title in age gate */
.age-modal h3 {
  color: #000000;
  text-shadow: none;
}

/* Headings & text */
.age-modal h3,
.age-modal p,
.age-modal strong {
  color: #000000;
}

/* Note text */
.age-modal .age-note {
  color: #333333;
}

/* Buttons */
.age-actions button {
  background: #000000;
  color: #ffffff;
  border: none;
  padding: 10px 16px;
  margin: 0 6px;
  font-weight: 700;
  border-radius: 4px;
  cursor: pointer;
}

.age-actions button:hover {
  background: #222222;
}


#age-overlay[hidden] {
  display: none;
}


.age-actions {
  margin-top: 18px;
  display: flex;
  justify-content: center;
  gap: 16px;
}


#ageYes {
  background: #1e7f4f;
  color: #fff;
}

#ageNo {
  background: #b00020;   /* deep red */
  color: #ffffff;
}

.age-note {
  font-size: .85rem;
}

.age-actions button {
  min-width: 110px;
}


/* ✅ Override global paragraph alignment */
.age-modal p,
.age-modal strong {
  text-align: center;
}




.casino-logo {
  height: auto;
  border-radius: 8px;
}

.casino-logo--card {
  width: 240px;
  max-width: 100%;
  border: 2px solid rgba(255,215,0,.6);
}

.casino-logo--glow {
  animation: logoGlow 2.5s ease-in-out infinite;
}



.casino-card a.casino-btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;

  margin: 20px auto 0;
  padding: 12px 28px;

  border-radius: 999px;
  background: linear-gradient(180deg, #ffd76a, #c89b2c);

  color: #000;
  font-weight: 600;
  text-decoration: none;
  width: fit-content;

  box-shadow:
    0 0 6px rgba(255,215,0,.45),
    inset 0 1px 0 rgba(255,255,255,.55);

  transition:
    background 0.2s ease,
    color 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.2s ease;
}

.casino-card a.casino-btn:hover,
.casino-card a.casino-btn:focus {
  color: #c82424;
  background: linear-gradient(180deg, #ffdf8c, #d4a72f);

  box-shadow:
    0 0 14px rgba(255,215,0,.75),
    inset 0 1px 0 rgba(255,255,255,.75);

  transform: translateY(-2px);
}


.casino-cta {
  display: flex;
  justify-content: center;
}




@media (max-width: 640px) {

  .casino-main {
    flex-direction: column;      /* stack */
    align-items: center;         /* center logo */
    text-align: center;
  }

  .casino-logo {
    margin-bottom: 12px;         /* space under logo */
  }

  .casino-desc {
    text-align: center;          /* description centered on mobile */
  }

}

@media (max-width: 640px) {
  .casino-title {
    font-size: 1.6rem;         /* bigger + more readable on mobile */
  }
}

.casino-logo {
  animation: logoGlow 2.5s ease-in-out infinite;
}


@media (max-width: 640px) {
  .casino-grid {
    margin-bottom: 24px;
  }
}


@keyframes logoGlow {
  0%, 100% {
    box-shadow: 0 0 6px rgba(255,215,0,.35);
  }
  50% {
    box-shadow: 0 0 16px rgba(255,215,0,.75);
  }
}


