/* VegasNow-inspired theme for your existing template
   Palette (from your request):
   - Buttons/accent: #be3b6c
   - Header/Footer: #27183d
   - Main background: #0e0a18
*/

:root{
  --color-bg: #0e0a18;
  --color-frame: #27183d;
  --color-surface: rgba(255,255,255,0.045);
  --color-surface-2: rgba(255,255,255,0.07);

  --color-text: #ffffff;
  --color-muted: rgba(255,255,255,0.72);
  --color-border: rgba(255,255,255,0.12);

  --color-primary: #be3b6c;
  --color-primary-hover: #d24a7e;

  /* optional Vegas-style gold for headings */
  --color-gold-hi: #f7e6c0;
  --color-gold: #d8b36a;
  --color-gold-lo: #a77724;

  --container-width: 1200px;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow-soft: 0 18px 45px rgba(0,0,0,0.45);
}

*{ box-sizing:border-box; }
html,body{ height:100%; }
body{
  margin:0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background:
    radial-gradient(900px 450px at 50% -10%, rgba(190,59,108,0.22), transparent 55%),
    radial-gradient(800px 500px at 10% 25%, rgba(39,24,61,0.55), transparent 60%),
    var(--color-bg);
  color: var(--color-text);
  line-height: 1.55;
}

a{ color:inherit; text-decoration:none; }
img{ max-width:100%; display:block; }
code{
  background: rgba(255,255,255,0.08);
  border: 1px solid var(--color-border);
  padding: .1rem .35rem;
  border-radius: 8px;
}

.container{
  width: min(var(--container-width), calc(100% - 2rem));
  margin: 0 auto;
}

/* =========================
   Header
========================= */
.site-header{
  position: sticky;
  top:0;
  z-index: 50;
  background: linear-gradient(180deg, rgba(39,24,61,0.98), rgba(39,24,61,0.92));
  border-bottom: 1px solid rgba(255,255,255,0.10);
  backdrop-filter: blur(10px);
}

.header-row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 1rem;
  padding: .85rem 0;
}

.brand{
  display:flex;
  align-items:center;
  gap:.7rem;
  font-weight: 900;
  letter-spacing:.2px;
}
.brand img{
  max-height: 38px;
  width: auto;
  height: auto;
}

/* Desktop nav */
.nav{
  display:none;
  gap: .35rem;
  align-items:center;
  font-weight: 700;
  color: rgba(255,255,255,0.86);
}

.nav a{
  padding: .45rem .7rem;
  border-radius: 999px;
  transition: background .2s ease, color .2s ease, transform .2s ease;
  position: relative;
}

.nav a:hover{
  background: rgba(255,255,255,0.08);
  transform: translateY(-1px);
}

.header-actions{
  display:flex;
  gap:.6rem;
  align-items:center;
}

/* =========================
   Buttons
========================= */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:.5rem;
  border-radius: 10px;
  padding: .62rem .92rem;
  font-weight: 900;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .08s ease, filter .2s ease, background .2s ease, border-color .2s ease;
  user-select:none;
  white-space: nowrap;
}
.btn:active{ transform: scale(.98); }

.btn--primary{
  background: var(--color-primary);
  color: #fff;
  box-shadow: 0 10px 30px rgba(190,59,108,0.30);
}
.btn--primary:hover{
  background: var(--color-primary-hover);
  filter: saturate(1.05);
}

.btn--ghost{
  background: rgba(0,0,0,0.12);
  border-color: rgba(255,255,255,0.18);
  color: #fff;
}
.btn--ghost:hover{
  background: rgba(255,255,255,0.08);
}

.btn--lg{ padding: .85rem 1.15rem; border-radius: 12px; }
.btn--sm{ padding: .5rem .75rem; border-radius: 10px; font-size: .92rem; }

/* =========================
   Mobile nav (checkbox + hamburger)
========================= */
.nav-toggle{ display:none; }

.nav-hamburger{
  width: 32px;
  height: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
  z-index: 101;
}
.nav-hamburger span{
  display: block;
  height: 3px;
  background: #fff;
  border-radius: 2px;
  transition: transform .2s ease, opacity .2s ease;
}

/* desktop breakpoint */
@media (min-width: 820px){
  .nav{ display:flex; }
  .nav-hamburger{ display:none; }
}

@media (max-width: 819px){
  .nav{
    position: fixed;
    inset: 0;
    background: radial-gradient(900px 500px at 50% 10%, rgba(190,59,108,0.18), transparent 60%),
                var(--color-frame);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1.2rem;
    font-size: 1.15rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity .25s ease;
    z-index: 100;
  }

  .nav-toggle:checked ~ .nav{
    display:flex;
    opacity: 1;
    pointer-events: auto;
  }

  .nav-toggle:checked ~ .nav-hamburger span:nth-child(1){
    transform: translateY(10.5px) rotate(45deg);
  }
  .nav-toggle:checked ~ .nav-hamburger span:nth-child(2){
    opacity: 0;
  }
  .nav-toggle:checked ~ .nav-hamburger span:nth-child(3){
    transform: translateY(-10.5px) rotate(-45deg);
  }
}

/* =========================
   Hero
========================= */
.hero{
  padding: 1.9rem 0 2.2rem;
  min-height: calc(100svh - 78px);
  display:flex;
  align-items:center;
  background:
    radial-gradient(900px 420px at 70% 35%, rgba(39,24,61,0.65), transparent 60%),
    radial-gradient(700px 380px at 25% 25%, rgba(190,59,108,0.18), transparent 60%),
    linear-gradient(180deg, rgba(0,0,0,0.08), rgba(0,0,0,0.0));
}

.hero__grid{
  display:grid;
  grid-template-columns: 1fr;
  gap: 1.1rem;
  align-items: stretch;
}

.hero__grid--center{
  max-width: 980px;
  margin: 0 auto;
  display:flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hero__title{
  margin: 0;
  font-size: clamp(1.9rem, 4.1vw, 3.2rem);
  line-height: 1.05;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-weight: 950;
  text-shadow: 0 10px 30px rgba(0,0,0,0.55);
}

@supports (-webkit-background-clip: text) or (background-clip: text){
  .hero__title{
    background-image: linear-gradient(180deg, var(--color-gold-hi), var(--color-gold) 55%, var(--color-gold-lo));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
  }
}

.hero__banner{
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(255,255,255,0.10);
  position: relative;
  width: 100%;
}

.hero__banner::after{
  content:"";
  position:absolute;
  inset:0;
  background: linear-gradient(90deg, rgba(0,0,0,0.45), rgba(0,0,0,0.10) 60%, rgba(0,0,0,0.35));
  pointer-events:none;
}

.hero__banner--big{
  max-width: 980px;
  min-height: 340px;
}

.hero__banner-img{
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__cta{
  width:100%;
  display:flex;
  justify-content:center;
}
.hero__cta .btn{
  width: min(360px, 100%);
}

/* Mobile hero adjustments */
@media (max-width: 819px){
  .hero{
    min-height: auto;
    padding: 1.2rem 0 1.6rem;
    align-items: flex-start;
  }
  .hero__banner--big{
    min-height: 0;
    aspect-ratio: 16 / 9;
  }
}

/* =========================
   Sections & headings
========================= */
.section{ padding: 2.1rem 0; }
.section--tight{ padding: 1rem 0 .6rem; }

.section__head{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.section__title{
  margin:0;
  font-size: 1.35rem;
  font-weight: 900;
}

@supports (-webkit-background-clip: text) or (background-clip: text){
  .section__title,
  .content-card h2,
  .content-card h3{
    background-image: linear-gradient(180deg, var(--color-gold-hi), var(--color-gold) 55%, var(--color-gold-lo));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
  }
}

.section__link{
  color: rgba(255,255,255,0.78);
  font-weight: 800;
}
.section__link:hover{
  color: #fff;
  text-decoration: underline;
}

/* =========================
   Intro / Content cards
========================= */
.intro-card,
.content-card{
  background: rgba(39,24,61,0.22);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: var(--radius);
  box-shadow: 0 14px 40px rgba(0,0,0,0.25);
}

.intro-card{
  padding: 1.2rem 1.4rem;
  text-align: center;
}
.intro-text{
  margin:0;
  color: var(--color-muted);
  font-size: 1.02rem;
  line-height: 1.65;
}
.intro-text strong{ color: var(--color-text); }

.content-card{
  padding: 1.2rem;
}
.content-card h2{ margin:0 0 .8rem; font-weight: 950; }
.content-card h3{ margin: 1.2rem 0 .6rem; font-weight: 950; }
.content-card p{ margin: 0 0 .85rem; color: var(--color-muted); }
.content-card ul, .content-card ol{ margin: .2rem 0 1rem 1.2rem; color: var(--color-muted); }
.content-card li{ margin-bottom: .4rem; }

/* Tables (responsive)
   - Wrap any table in <div class="table-scroll"> ... </div>
   - Wide tables: add .data-table--wide to enable horizontal swipe on mobile
*/
.table-scroll,
.table-wrapper{
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  width: 100%;
  margin: 1rem 0;
  border-radius: 12px;
}

/* Optional scrollbar styling (supported browsers only) */
.table-scroll::-webkit-scrollbar,
.table-wrapper::-webkit-scrollbar{ height: 10px; }
.table-scroll::-webkit-scrollbar-thumb,
.table-wrapper::-webkit-scrollbar-thumb{
  background: rgba(255,255,255,0.18);
  border-radius: 999px;
}
.table-scroll::-webkit-scrollbar-track,
.table-wrapper::-webkit-scrollbar-track{
  background: rgba(255,255,255,0.06);
  border-radius: 999px;
}

.data-table{
  width: 100%;
  border-collapse: collapse;
  background: rgba(0,0,0,0.14);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 12px;
  overflow: hidden;
}

/* Wrapper controls spacing */
.table-scroll .data-table,
.table-wrapper .data-table{ margin: 0; }

.data-table th,
.data-table td{
  text-align: left;
  padding: .72rem .9rem;
  border: 1px solid rgba(255,255,255,0.10);
  vertical-align: top;
}

.data-table th{
  background: rgba(190,59,108,0.14);
  font-weight: 900;
}

.data-table tr:nth-child(even){
  background: rgba(255,255,255,0.03);
}

/* Wide tables: keep columns readable and allow horizontal scroll on small screens */
.data-table--wide{
  min-width: 680px; /* forces overflow on small screens */
}

.data-table--wide th,
.data-table--wide td{
  white-space: nowrap;
}

/* Let the last column wrap (usually the "details" column) */
.data-table--wide th:last-child,
.data-table--wide td:last-child{
  white-space: normal;
  min-width: 260px;
}

@media (max-width: 420px){
  .data-table--wide{ min-width: 620px; }
  .data-table th,
  .data-table td{ padding: .62rem .75rem; }
}


/* =========================
   Games grid
========================= */
.games-grid{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.1rem;
}

.game-card{
  border-radius: var(--radius);
  overflow: hidden;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.10);
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.game-card img{
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-bottom: 1px solid rgba(255,255,255,0.10);
}

.game-card:hover{
  transform: translateY(-4px);
  border-color: rgba(190,59,108,0.65);
  box-shadow: 0 18px 45px rgba(0,0,0,0.45);
}

.game-card__meta{
  display:flex;
  flex-direction: column;
  gap: .7rem;
  padding: .95rem 1rem;
  text-align: center;
}

.game-card__name{
  font-weight: 900;
  font-size: 1rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: rgba(255,255,255,0.92);
}

.game-card__meta .btn{
  width: 100%;
}

@media (max-width: 1024px){
  .games-grid{ grid-template-columns: repeat(3, 1fr); gap: 1rem; }
}
@media (max-width: 768px){
  .games-grid{ grid-template-columns: repeat(2, 1fr); gap: .8rem; }
  .game-card__meta{ padding: .75rem .8rem; gap: .55rem; }
  .game-card__name{ font-size: .92rem; }
  .btn--sm{ padding: .42rem .6rem; font-size: .85rem; }
}
@media (max-width: 360px){
  .games-grid{ grid-template-columns: 1fr; }
}

/* =========================
   Reviews
========================= */
.reviews-grid{
  display:grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.1rem;
}

.review-card{
  background: rgba(39,24,61,0.26);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: var(--radius);
  padding: 1rem 1.1rem;
}

.review-card__top{
  display:flex;
  justify-content:space-between;
  align-items:center;
  margin-bottom: .6rem;
}

.stars{
  color: #ffd48a;
  font-size: .95rem;
  letter-spacing: 2px;
}
.review-card__author{
  font-weight: 800;
  margin-top: .7rem;
  color: rgba(255,255,255,0.78);
}

/* =========================
   Providers
========================= */
.providers-grid{
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 15px;
}

.provider--logo{
  display:flex;
  align-items:center;
  justify-content:center;
  height: 80px;
  padding: 15px;
  border-radius: 12px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.10);
  transition: transform .2s ease, border-color .2s ease, background .2s ease, box-shadow .2s ease;
}

.provider--logo:hover{
  background: rgba(255,255,255,0.06);
  border-color: rgba(190,59,108,0.60);
  transform: translateY(-3px);
  box-shadow: 0 18px 45px rgba(0,0,0,0.35);
}

.providers-grid--logos img{
  max-width: 100%;
  max-height: 40px;
  object-fit: contain;
  filter: brightness(0.95);
}

@media (max-width: 768px){
  .providers-grid{
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  .provider--logo{ height: 70px; }
}

/* =========================
   FAQ
========================= */
.faq{
  display:flex;
  flex-direction:column;
  gap: .7rem;
}

.faq__item{
  background: rgba(39,24,61,0.22);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: var(--radius);
  overflow:hidden;
}

.faq__item summary{
  cursor: pointer;
  padding: 1rem 1.2rem;
  font-weight: 900;
  list-style: none;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: .8rem;
  transition: background .2s ease;
}

.faq__item summary::-webkit-details-marker{ display:none; }
.faq__item summary::after{
  content: "+";
  font-size: 1.3rem;
  line-height: 1;
  color: var(--color-primary);
  transition: transform .2s ease;
}
.faq__item[open] summary::after{ transform: rotate(45deg); }
.faq__item summary:hover{ background: rgba(255,255,255,0.05); }

.faq__body{
  padding: 0 1.2rem 1rem;
  color: var(--color-muted);
}
.faq__body p{ margin: 0; }

/* =========================
   Footer
========================= */
.site-footer{
  background: linear-gradient(180deg, rgba(39,24,61,0.98), rgba(39,24,61,0.95));
  border-top: 1px solid rgba(255,255,255,0.10);
  padding: 2.2rem 0 1.5rem;
}

.footer-grid{
  display:grid;
  grid-template-columns: 1.3fr 1fr 1.5fr;
  gap: 2rem;
}

.footer-title{
  font-weight: 950;
  margin-bottom: .6rem;
}

.footer-grid a{
  display:block;
  color: rgba(255,255,255,0.75);
  margin-bottom: .4rem;
}
.footer-grid a:hover{ color:#fff; }

.footer-logo{
  max-width: 180px;
  margin-bottom: 1rem;
}

.footer-bottom{
  display:flex;
  flex-wrap:wrap;
  justify-content:space-between;
  gap: .6rem;
  padding-top: 1.2rem;
  margin-top: 1.2rem;
  border-top: 1px solid rgba(255,255,255,0.10);
}

.trust-row--logos{
  display:flex;
  align-items:center;
  gap: .75rem;
  flex-wrap: wrap;
}

.trust-row--logos a{
  display:grid;
  place-items:center;
  padding: .4rem .55rem;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(255,255,255,0.05);
  transition: transform .15s ease, border-color .15s ease, background .15s ease;
}

.trust-row--logos a:hover{
  transform: translateY(-1px);
  border-color: rgba(190,59,108,0.55);
  background: rgba(255,255,255,0.08);
}

.trust-row--logos img{
  height: 26px;
  width: auto;
  display:block;
}

.trust-badge{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding: .45rem .65rem;
  border-radius: 10px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.14);
}

.trust-badge--age{
  font-weight: 950;
  font-size: .9rem;
}

.footer-payments{ margin-top: 1.4rem; }

.payments-row{
  display:flex;
  align-items:center;
  gap: .9rem;
  flex-wrap: wrap;
}

.payments-row img{
  height: 28px;
  width: auto;
  display:block;
  padding: .35rem .5rem;
  border-radius: 10px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.12);
  transition: transform .15s ease, opacity .15s ease, border-color .15s ease;
  opacity: .92;
}

.payments-row img:hover{
  opacity: 1;
  transform: translateY(-1px);
  border-color: rgba(190,59,108,0.55);
}

/* Responsive footer */
@media (max-width: 819px){
  .footer-grid{
    grid-template-columns: 1fr;
    gap: 1.4rem;
  }
}

/* Utilities */
.text-muted{ color: var(--color-muted); }
