/* =====================================================
   COMMON CSS
   Reset, Typography, Desktop Layout, Foundation
   ===================================================== */

/* --- Design Tokens --- */
:root {
  --mint:      #B9D9CF;
  --yellow:    #FDE968;
  --off-white: #F9F8F6;
  --dark:      #1A1A1A;
  --font:      'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

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

/* --- Base Typography & Body --- */
/* 1. Body background: Off-White. Font: Roboto. */
body {
  background-color: var(--off-white);
  color: var(--dark);
  font-family: var(--font);
  font-size: 20px;
  font-weight: 400;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(1.8rem, 4vw, 3rem); }
h2 { font-size: clamp(2rem, 5vw, 3.5rem); margin-bottom: 1rem; }
h3 { font-size: 1.5rem; font-weight: 500; margin-bottom: 0.8rem; }
h4 { font-size: 1rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.15em; margin-bottom: 1.5rem; }

p { margin-bottom: 1rem; }
a { color: inherit; text-decoration: none; }

main a:not(.btn-play) {
  color: #3d9985;
  text-decoration: underline;
  text-underline-offset: 3px;
}
main a:not(.btn-play):hover { opacity: 0.75; }
ul, ol { list-style: none; }
img { display: block; max-width: 100%; height: auto; }

/* --- Custom Scrollbar: Mint color --- */
/* 5. Custom Scrollbar */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--off-white); }
::-webkit-scrollbar-thumb { background: var(--mint); border-radius: 3px; }

/* --- Layout: Magazine Container --- */
/* 2. .magazine-container: max-width 768px, margin auto. */
.magazine-container {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

/* --- Navigation --- */
/* 3. Navigation: Background Brand Mint, Dark Text. */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: var(--mint);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
  height: 64px;
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-logo img {
  height: 36px;
  width: auto;
}

.nav-links {
  display: flex;
  gap: 1.75rem;
  margin-left: auto;
}

.nav-links a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--dark);
  transition: opacity 0.2s;
}

.nav-links a:hover { opacity: 0.6; }

.btn-play {
  display: inline-block;
  background-color: var(--yellow);
  color: var(--dark);
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.85rem 2rem;
  border-radius: 4px;
  transition: opacity 0.2s, transform 0.15s;
  white-space: nowrap;
  text-decoration: none;
}

.nav-inner .btn-play {
  font-size: 0.8rem;
  padding: 0.55rem 1.25rem;
  margin-left: 1rem;
}

.btn-play:hover { opacity: 0.85; transform: translateY(-1px); }

.btn-login {
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 3px;
  color: var(--dark);
  display: inline-flex;
  align-items: center;
}

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  margin-left: auto;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--dark);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

/* Hamburger → X when active */
.hamburger.is-active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.is-active span:nth-child(2) { opacity: 0; }
.hamburger.is-active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* --- Mobile Menu --- */
/* Hidden by default — see MOBILE CSS section for slide-in logic */
.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 200;
  width: 280px;
  height: 100%;
  background-color: var(--mint);
  padding: 5rem 2rem 2rem;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

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

.mobile-menu__close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background: none;
  border: none;
  font-size: 1.75rem;
  cursor: pointer;
  color: var(--dark);
  line-height: 1;
}

.mobile-menu__links { display: flex; flex-direction: column; gap: 0.25rem; }

.mobile-menu__links a {
  font-size: 1.125rem;
  font-weight: 500;
  padding: 0.6rem 0;
  border-bottom: 1px solid rgba(0,0,0,0.08);
  display: block;
  transition: opacity 0.2s;
}

.mobile-menu__links a:hover { opacity: 0.6; }

.mobile-menu__cta { align-self: flex-start; margin-left: 0; }

.mobile-menu__overlay {
  position: fixed;
  inset: 0;
  z-index: 150;
  background: rgba(0, 0, 0, 0.4);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}

.mobile-menu__overlay.is-visible {
  opacity: 1;
  pointer-events: all;
}

/* --- Hero Header & Slider --- */
.site-header {
  margin-bottom: 4rem;
}

/* Image Ratios: Hero (Shallower ratio to prevent overwhelming the viewport) */
.hero-slider {
  position: relative;
  width: 100vw;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--dark);
  overflow: hidden;
}

.hero-image--wide {
  aspect-ratio: 2 / 1;
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 1.2s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1;
}

.hero-slide.active {
  opacity: 1;
  z-index: 2;
}

.hero-slide img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.header-content {
  padding-top: 2.5rem;
  padding-bottom: 2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.header-text h1 { margin-bottom: 1rem; }

.header-image img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  display: block;
}

.header-cta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
  align-items: center;
}

.highlight {
  background-color: var(--yellow);
  padding: 0 0.15em;
  display: inline;
}

.header-sub {
  font-size: 1.1rem;
  font-weight: 400;
  color: #555;
  margin-bottom: 0;
}

/* --- CTA Strip (between hero and main content) --- */
.cta-strip {
  background-color: var(--dark);
  padding: 1.25rem 0;
  border-bottom: 5px solid var(--yellow);
}

.cta-strip__inner {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  align-items: center;
}

.btn-play--secondary {
  background-color: transparent;
  border: 2px solid var(--yellow);
  color: var(--yellow);
  padding: 0.75rem 2rem;
}

.btn-play--secondary:hover {
  background-color: var(--yellow);
  color: var(--dark);
  opacity: 1;
}

/* --- Section Shared --- */
section {
  padding: 5rem 0;
}

section p {
  font-size: 1.1rem;
  color: #555;
}

.section-divider {
  width: 100%;
  height: 2px;
  background-color: rgba(0,0,0,0.18);
  margin-bottom: 3rem;
}

.section-intro {
  font-size: 1.1rem;
  color: #555;
  margin-bottom: 2rem;
}

/* --- Philosophy List --- */
.philosophy-list {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.philosophy-list li {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
}

.item-number {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #999;
  padding-top: 0.2rem;
  flex-shrink: 0;
  width: 2rem;
}

.item-body p {
  font-size: 1.1rem;
  color: #555;
  margin-bottom: 0;
}

/* Gap between list and following h3 (e.g. Trusted Game Providers) */
.philosophy-list + h3 {
  margin-top: 3rem;
}

/* Bullet style for ul.philosophy-list (Sections 2 & 3) */
ul.philosophy-list li::before {
  content: '';
  display: block;
  width: 10px;
  height: 10px;
  min-width: 10px;
  background-color: var(--yellow);
  border-radius: 50%;
  margin-top: 0.6rem;
  flex-shrink: 0;
}

/* Plain version - no bullet */
.philosophy-list--plain li::before {
  content: none !important;
}
.philosophy-list--plain {
  margin-top: 3.5rem;
  margin-bottom: 2rem;
}
.philosophy-list--plain li {
  display: block;
}

/* Numbered counter style for ol.philosophy-list (Section 6: Why Choose) */
ol.philosophy-list {
  counter-reset: item;
}
ol.philosophy-list > li {
  counter-increment: item;
}
ol.philosophy-list > li::before {
  content: counter(item);
  display: inline-block;
  width: 28px;
  height: 28px;
  min-width: 28px;
  background-color: var(--yellow);
  border-radius: 50%;
  text-align: center;
  line-height: 28px;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--dark);
  flex-shrink: 0;
  margin-top: 0.15rem;
}

/* --- Feature List (compact inline bullet list inside sections) --- */
ul.feature-list {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  margin-bottom: 1rem;
}

ul.feature-list li {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  font-size: 1.1rem;
  color: #555;
  line-height: 1.65;
}

ul.feature-list li::before {
  content: '';
  display: block;
  width: 8px;
  height: 8px;
  min-width: 8px;
  background-color: var(--yellow);
  border-radius: 50%;
  margin-top: 0.48rem;
  flex-shrink: 0;
}

/* --- Game Grid (Trending Games) --- */
.game-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

.game-card {
  background-color: #fff;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.2s, transform 0.2s;
}

.game-card:hover {
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.1);
  transform: translateY(-3px);
}

.game-card__img {
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  flex-shrink: 0;
}

.game-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}

.game-card:hover .game-card__img img {
  transform: scale(1.04);
}

.game-card__body {
  padding: 1rem 1.25rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  flex: 1;
}

.game-card__name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--dark);
  margin: 0;
  line-height: 1.3;
}

.game-card__provider {
  font-size: 0.8rem;
  color: #888;
  margin: 0;
}

.game-card__rtp {
  display: inline-block;
  background-color: var(--yellow);
  color: var(--dark);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.22rem 0.6rem;
  border-radius: 2px;
  width: fit-content;
  margin-top: 0.15rem;
}

.game-card .btn-play {
  margin-top: auto;
  padding-top: 0.75rem;
  font-size: 0.82rem;
  padding: 0.65rem 1.25rem;
  align-self: stretch;
  text-align: center;
  margin-top: 0.85rem;
}

@media (max-width: 768px) {
  .game-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
}

/* --- Secondary Image (4:3) --- */
.secondary-image {
  width: 100%;
  aspect-ratio: 4 / 3;
  background: linear-gradient(135deg, #d0e9e3 0%, var(--mint) 100%);
  border-radius: 2px;
  margin: 2rem 0;
}

/* --- Content Banner --- */
.content-banner {
  margin: 3rem auto;
  width: 100%;
  max-width: 900px;
}
.content-banner img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

/* --- Promotional Tiers Table --- */
/* 4. Table: Golden bottom border on headers, Diamond row highlight. */
.section-tiers { border-top: 2px solid rgba(0,0,0,0.18); }

.table-wrapper {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin-bottom: 3rem;
}

.tiers-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 1rem;
  border: 1px solid rgba(0,0,0,0.14);
}

.tiers-table thead tr {
  border-bottom: 2px solid var(--yellow);
}

.tiers-table th {
  text-align: left;
  padding: 0.85rem 1rem;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #555;
  background-color: rgba(185, 217, 207, 0.35);
  border: 1px solid rgba(0,0,0,0.1);
}

.tiers-table td {
  padding: 0.85rem 1rem;
  border: 1px solid rgba(0,0,0,0.08);
}

.tiers-table tbody tr:hover { background-color: rgba(0,0,0,0.02); }

/* Diamond row highlight */
.row-diamond {
  background-color: rgba(253, 233, 104, 0.18);
  font-weight: 500;
}

.row-diamond td:first-child {
  font-weight: 700;
  position: relative;
  padding-left: 1.5rem;
}

.row-diamond td:first-child::before {
  content: '◆';
  position: absolute;
  left: 0.4rem;
  font-size: 0.6rem;
  color: var(--yellow);
  top: 50%;
  transform: translateY(-50%);
}

/* --- Footer --- */
.site-footer {
  background-color: var(--mint);
  margin-top: 4rem;
  padding: 3rem 0 0;
  font-size: 0.875rem;
}

.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: 2rem;
  padding-bottom: 4rem;
}

.footer-brand img { height: 32px; margin-bottom: 1rem; }

.footer-brand p {
  font-size: 0.8rem;
  color: #444;
  max-width: 30ch;
  margin-bottom: 0;
}

.footer-col ul { display: flex; flex-direction: column; gap: 0.5rem; }

.footer-col a {
  font-size: 0.8rem;
  color: #444;
  transition: color 0.2s;
}

.footer-col a:hover { color: var(--dark); }

/* Footer h4 — short underline on all columns */
.footer-col h4 {
  position: relative;
  padding-bottom: 0.6rem;
  margin-bottom: 1.25rem;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 2rem;
  height: 2px;
  background-color: var(--dark);
  opacity: 0.35;
}

/* Contact Us column */
.contact-items {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.contact-item {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  font-size: 0.8rem;
  color: #444;
  line-height: 1.5;
}

.contact-item a {
  color: #444;
  text-decoration: none;
  transition: color 0.2s;
}

.contact-item a:hover { color: var(--dark); }

.contact-icon {
  flex-shrink: 0;
  font-size: 0.9rem;
  margin-top: 0.1rem;
}

.footer-bottom {
  border-top: 1px solid rgba(0,0,0,0.1);
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.footer-bottom p {
  font-size: 0.75rem;
  color: #666;
  margin: 0;
}


/* =====================================================
   MOBILE COMMON CSS
   Media queries for responsiveness
   ===================================================== */

@media (max-width: 768px) {
  /* Compact navigation for mobile */
  .nav-inner {
    gap: 0.75rem;
    padding: 0 1rem;
  }

  /* Show desktop nav CTA on mobile but style it compactly */
  .site-nav .btn-play {
    display: inline-block;
    font-size: 0.75rem;
    padding: 0.45rem 0.85rem;
    margin-left: auto;
    border-radius: 4px;
  }

  /* Hamburger menu styling — show on mobile next to the button */
  .hamburger { 
    display: flex; 
    margin-left: 0; /* Let gap handle the spacing */
  }

  /* Hide desktop nav links on mobile */
  .nav-links { display: none; }

  /* 1. Mobile Menu: Hidden by default, slides in from Right (transform: translateX) */
  /* (Base styles defined in COMMON section above) */

  /* Hero image */
  .hero-slider {
    width: 100%;
    left: 0;
    transform: none;
  }

  .hero-image--wide {
    aspect-ratio: 2 / 1;
  }

  /* 3. Image placeholders stacking logic */
  .secondary-image {
    aspect-ratio: 4 / 3;
    margin: 1.5rem 0;
  }

  /* Hero header: stack on mobile */
  .header-content {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .header-image { display: none; }

  /* Reduce hero bottom gap */
  .site-header { margin-bottom: 0; }

  /* Reduce section padding to remove huge gaps */
  section { padding: 2.5rem 0; }

  /* Deep visible lines between all h2 sections on mobile */
  .section-divider {
    height: 3px;
    background-color: rgba(0,0,0,0.22);
    margin-bottom: 1.5rem;
  }
  .section-tiers { border-top: 3px solid rgba(0,0,0,0.22); }

  /* Keep bullet and numbered lists as row on mobile (don't stack) */
  ul.philosophy-list li,
  ol.philosophy-list li {
    flex-direction: row;
    gap: 1rem;
    align-items: flex-start;
  }

  /* Philosophy list stacking for non-bullet spans (legacy) */
  .philosophy-list li .item-number { width: auto; }

  .item-number { width: auto; }

  /* Footer stacking */
  .footer-inner {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .footer-brand p { max-width: 100%; }

  /* Table horizontal scroll already handled by .table-wrapper */
  /* CTA Strip stacking */
  .cta-strip__inner {
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
    max-width: 400px;
    margin: 0 auto;
  }

  .cta-strip__inner .btn-play {
    text-align: center;
  }
}

@media (max-width: 480px) {
  .nav-inner { padding: 0 1rem; }
  .magazine-container { padding-left: 1rem; padding-right: 1rem; }
  h1 { font-size: 1.75rem; }
}


/* --- FAQ Accordion --- */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.faq-item {
  border: 1px solid rgba(0,0,0,0.12);
  border-radius: 4px;
  overflow: hidden;
}

.faq-item summary {
  cursor: pointer;
  padding: 1.25rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  list-style: none;
  background-color: #fff;
  user-select: none;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary h3 {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 600;
  line-height: 1.4;
}

.faq-item summary::after {
  content: '+';
  font-size: 1.5rem;
  font-weight: 300;
  color: #888;
  flex-shrink: 0;
  margin-left: 1rem;
  line-height: 1;
}

.faq-item[open] summary::after { content: '−'; }
.faq-item[open] summary { background-color: rgba(185, 217, 207, 0.25); }

.faq-answer {
  padding: 1.25rem 1.5rem;
  border-top: 1px solid rgba(0,0,0,0.08);
}

.faq-answer p:last-child { margin-bottom: 0; }


/* =====================================================
   SPECIAL CSS FOR (SUBPAGE)
   ===================================================== */

/* --- Page Hero (Subpages) --- */
.page-hero {
  background-color: var(--dark);
  padding: 3.5rem 0 3rem;
  border-bottom: 5px solid var(--yellow);
}

.page-hero__inner {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.page-hero__breadcrumb {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.45);
  margin-bottom: 0;
}

.page-hero__breadcrumb a {
  color: rgba(255, 255, 255, 0.45);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s;
}

.page-hero__breadcrumb a:hover {
  color: rgba(255, 255, 255, 0.75);
}

.page-hero h1 {
  color: var(--off-white);
  margin-bottom: 0;
}

.page-hero p {
  color: rgba(255, 255, 255, 0.65);
  max-width: 70ch;
  font-size: 1.1rem;
  margin-bottom: 0;
}

.page-hero .header-cta {
  margin-top: 0.5rem;
}

.page-hero .btn-login {
  color: rgba(255, 255, 255, 0.75);
}

/* --- Bonus Card Grid --- */
.bonus-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 2rem;
  margin-bottom: 2rem;
}

/* --- Bonus Card --- */
.bonus-card {
  background-color: #fff;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.2s, transform 0.2s;
}

.bonus-card:hover {
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
}

.bonus-card__img {
  overflow: hidden;
  flex-shrink: 0;
}

.bonus-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}

.bonus-card:hover .bonus-card__img img {
  transform: scale(1.03);
}

.bonus-card__body {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  flex: 1;
}

.bonus-card__tag {
  display: inline-block;
  background-color: var(--mint);
  color: var(--dark);
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.13em;
  padding: 0.28rem 0.7rem;
  border-radius: 2px;
  width: fit-content;
}

.bonus-card__amount {
  font-size: 2rem;
  font-weight: 700;
  color: var(--dark);
  line-height: 1;
  background-color: var(--yellow);
  display: inline-block;
  padding: 0.3rem 0.8rem;
  border-radius: 4px;
  width: fit-content;
  letter-spacing: -0.02em;
}

.bonus-card__title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 0;
  line-height: 1.3;
}

.bonus-card__desc {
  font-size: 0.9rem;
  color: #555;
  line-height: 1.65;
  margin-bottom: 0;
  flex: 1;
}

.bonus-card .btn-play {
  margin-top: 0.5rem;
  align-self: flex-start;
  font-size: 0.85rem;
  padding: 0.75rem 1.5rem;
}

/* --- Bonus Card Wide (single card spanning full grid width) --- */
.bonus-card--wide {
  grid-column: 1 / -1;
  flex-direction: row;
}

.bonus-card--wide .bonus-card__img {
  width: 50%;
  min-height: 280px;
}

.bonus-card--wide .bonus-card__body {
  width: 50%;
}

/* --- Bonus Card Responsive --- */
@media (max-width: 768px) {
  .bonus-grid {
    grid-template-columns: 1fr;
  }

  .bonus-card--wide {
    grid-column: 1;
    flex-direction: column;
  }

  .bonus-card--wide .bonus-card__img,
  .bonus-card--wide .bonus-card__body {
    width: 100%;
  }

  .bonus-card--wide .bonus-card__img {
    min-height: 200px;
  }

  .page-hero {
    padding: 2rem 0;
  }
}


/* =====================================================
   AUTH PAGE (Login / Register)
   ===================================================== */

.auth-section {
  padding: 3rem 0 5rem;
  display: flex;
  justify-content: center;
}

.auth-card {
  background-color: #fff;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 10px;
  width: 100%;
  max-width: 560px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.07);
}

/* --- Tabs --- */
.auth-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.auth-tab {
  padding: 1rem;
  text-align: center;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  cursor: pointer;
  background-color: rgba(0, 0, 0, 0.04);
  color: #888;
  border: none;
  border-bottom: 3px solid transparent;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}

.auth-tab.is-active {
  background-color: #fff;
  color: var(--dark);
  border-bottom-color: var(--yellow);
}

.auth-tab:hover:not(.is-active) {
  background-color: rgba(0, 0, 0, 0.07);
  color: var(--dark);
}

/* --- Form Panel --- */
.auth-panel {
  display: none;
  padding: 2rem 2rem 2rem;
}

.auth-panel.is-active { display: block; }

/* --- Form Row (label + input) --- */
.form-row {
  display: grid;
  grid-template-columns: 120px 1fr;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.1rem;
}

.form-label {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--dark);
  white-space: nowrap;
}

.form-label::after {
  content: ' :';
}

.form-input {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid rgba(0, 0, 0, 0.18);
  border-radius: 4px;
  font-size: 0.95rem;
  font-family: var(--font);
  color: var(--dark);
  background-color: #fff;
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
}

.form-input:focus {
  border-color: var(--mint);
  box-shadow: 0 0 0 3px rgba(185, 217, 207, 0.35);
}

.form-input[readonly],
.form-input[disabled] {
  background-color: #f0f0f0;
  color: #888;
  cursor: not-allowed;
}

.form-note {
  grid-column: 2;
  font-size: 0.8rem;
  color: #c8960a;
  font-weight: 500;
  margin-top: -0.6rem;
  margin-bottom: 0.5rem;
}

/* --- OTP Section --- */
.otp-section {
  background-color: #2e3a40;
  border-radius: 6px;
  padding: 1rem 1.25rem;
  margin-bottom: 1.5rem;
}

.otp-hint {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 0.75rem;
}

.otp-inner {
  display: flex;
  gap: 0.6rem;
}

.otp-inner .form-input {
  flex: 1;
}

.btn-otp {
  flex-shrink: 0;
  background-color: var(--yellow);
  color: var(--dark);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0 1.25rem;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  white-space: nowrap;
  transition: opacity 0.2s;
}

.btn-otp:hover { opacity: 0.85; }

/* --- Submit Buttons --- */
.btn-submit {
  display: block;
  width: 100%;
  padding: 1rem;
  background-color: var(--yellow);
  color: var(--dark);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  margin-bottom: 1rem;
  transition: opacity 0.2s, transform 0.15s;
  font-family: var(--font);
}

.btn-submit:hover {
  opacity: 0.88;
  transform: translateY(-1px);
}

.btn-whatsapp {
  display: block;
  width: fit-content;
  margin: 0 auto 1.25rem;
  padding: 0.75rem 2rem;
  background-color: var(--yellow);
  color: var(--dark);
  font-size: 0.9rem;
  font-weight: 700;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: opacity 0.2s;
  font-family: var(--font);
  text-decoration: none;
}

.btn-whatsapp:hover { opacity: 0.85; }

/* --- Switch Link --- */
.auth-switch {
  text-align: center;
  font-size: 0.88rem;
  color: #666;
  margin-top: 0.5rem;
}

.auth-switch a,
.auth-switch button {
  color: var(--dark);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
  background: none;
  border: none;
  cursor: pointer;
  font-size: inherit;
  font-family: var(--font);
  padding: 0;
}

.auth-switch a:hover,
.auth-switch button:hover { opacity: 0.7; }

/* --- Divider --- */
.auth-divider {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 1.25rem 0;
  color: #bbb;
  font-size: 0.8rem;
}

.auth-divider::before,
.auth-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background-color: rgba(0, 0, 0, 0.1);
}

/* --- Auth Page Mobile --- */
@media (max-width: 620px) {
  .auth-card { border-radius: 0; border-left: none; border-right: none; }
  .auth-panel { padding: 1.5rem 1.25rem; }

  .form-row {
    grid-template-columns: 1fr;
    gap: 0.35rem;
    margin-bottom: 1rem;
  }

  .form-note { grid-column: 1; }
}


/* =====================================================
   SPECIAL CSS FOR /live-casino/
   ===================================================== */

.lc-game-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

.lc-game-card {
  background-color: #fff;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.2s, transform 0.2s;
}

.lc-game-card:hover {
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.1);
  transform: translateY(-3px);
}

.lc-game-card__img {
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  flex-shrink: 0;
}

.lc-game-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}

.lc-game-card:hover .lc-game-card__img img {
  transform: scale(1.04);
}

.lc-game-card__body {
  padding: 1.25rem 1.25rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  flex: 1;
}

.lc-game-card__body h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 0.4rem;
}

.lc-game-card__body p {
  font-size: 1.1rem;
  color: #555;
  line-height: 1.6;
  margin: 0;
}

@media (max-width: 900px) {
  .lc-game-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
}

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

/* =====================================================
   SPORTS BETTING GRID
   ===================================================== */

.sports-icon-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  max-width: 320px;
  margin: 1.25rem 0;
}

.sports-icon-placeholder {
  aspect-ratio: 1 / 1;
  background-color: #fff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #aaa;
  font-size: 0.9rem;
  font-weight: 700;
  transition: transform 0.2s, box-shadow 0.2s;
  overflow: hidden;
  padding: 10px;
}

.sports-icon-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.sports-icon-placeholder:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0,0,0,0.06);
}

@media (max-width: 600px) {
  .sports-icon-grid {
    gap: 1rem;
    margin: 2rem auto;
  }
  .sports-icon-placeholder {
    border-radius: 12px;
  }
}
