/* table plus - layout-5420.css
   All custom classes use the "g208-" prefix.
   Color reference: #FFB6C1 | #90EE90 | #262626 | #FF0000 | #FF5722
   Dark backgrounds, light text. Mobile-first, max 430px wide stage.
*/

:root {
  --g208-bg: #262626;
  --g208-bg-2: #1c1c1c;
  --g208-bg-3: #333333;
  --g208-primary: #FF5722;
  --g208-red: #FF0000;
  --g208-pink: #FFB6C1;
  --g208-green: #90EE90;
  --g208-text: #f5f5f5;
  --g208-muted: #b8b8b8;
  --g208-border: rgba(255, 182, 193, 0.18);
  --g208-radius: 14px;
  --g208-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
}

* { box-sizing: border-box; }

html {
  font-size: 62.5%;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background: radial-gradient(circle at 20% 0%, #3a1d1d 0%, var(--g208-bg) 55%);
  color: var(--g208-text);
  line-height: 1.55;
  font-size: 1.5rem;
  max-width: 430px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
  overflow-x: hidden;
}

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

a { color: var(--g208-pink); text-decoration: none; }
a:hover { color: var(--g208-green); }

/* ============ Header ============ */
.g208-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  max-width: 430px;
  margin: 0 auto;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 12px;
  background: linear-gradient(90deg, #1c1c1c 0%, #2b2b2b 100%);
  border-bottom: 2px solid var(--g208-primary);
  box-shadow: 0 2px 10px rgba(0,0,0,0.45);
}

.g208-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  font-weight: 800;
  font-size: 1.6rem;
}
.g208-logo img { width: 30px; height: 30px; border-radius: 6px; }
.g208-logo .g208-logo-accent { color: var(--g208-primary); }

.g208-head-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.g208-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border: none;
  border-radius: 999px;
  padding: 9px 14px;
  font-size: 1.3rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .2s ease, filter .2s ease;
  min-height: 38px;
}
.g208-btn:active { transform: scale(0.95); }
.g208-btn-login {
  background: transparent;
  color: var(--g208-green);
  border: 1.5px solid var(--g208-green);
}
.g208-btn-register {
  background: linear-gradient(90deg, var(--g208-red), var(--g208-primary));
  color: #fff;
  box-shadow: 0 3px 10px rgba(255, 87, 34, 0.45);
}
.g208-btn-cta {
  background: linear-gradient(90deg, var(--g208-primary), var(--g208-red));
  color: #fff;
  padding: 12px 22px;
  font-size: 1.45rem;
  box-shadow: 0 4px 14px rgba(255, 0, 0, 0.35);
}
.g208-btn-ghost {
  background: rgba(144, 238, 238, 0.08);
  color: var(--g208-pink);
  border: 1px solid var(--g208-pink);
}

.g208-icon-btn {
  background: transparent;
  border: none;
  color: #fff;
  font-size: 2rem;
  cursor: pointer;
  padding: 4px;
  min-width: 38px;
  min-height: 38px;
}

/* ============ Mobile Menu / Overlay ============ */
.g208-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  z-index: 9998;
  opacity: 0;
  visibility: hidden;
  transition: opacity .25s ease;
}
.g208-overlay-show { opacity: 1; visibility: visible; }

.g208-mobile-menu {
  position: fixed;
  top: 0; right: -80%;
  width: 80%;
  max-width: 320px;
  height: 100%;
  background: var(--g208-bg-2);
  z-index: 9999;
  padding: 70px 16px 24px;
  transition: right .3s ease;
  overflow-y: auto;
  border-left: 2px solid var(--g208-primary);
}
.g208-menu-open { right: 0; }

.g208-mobile-menu h3 {
  color: var(--g208-pink);
  font-size: 1.4rem;
  margin: 18px 0 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.g208-mobile-menu a {
  display: block;
  padding: 10px 12px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  color: var(--g208-text);
  font-size: 1.4rem;
  font-weight: 500;
}
.g208-mobile-menu a:hover { background: rgba(255, 87, 34, 0.12); color: #fff; }

.g208-menu-close {
  position: absolute;
  top: 12px; right: 12px;
  background: transparent;
  border: none;
  color: #fff;
  font-size: 2rem;
  cursor: pointer;
}

/* ============ Main / Layout ============ */
.g208-main {
  padding-top: 64px;
  padding-bottom: 20px;
}
@media (max-width: 768px) {
  .g208-main { padding-bottom: 90px; }
}

.g208-container {
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
  padding: 0 12px;
}

.g208-section {
  padding: 22px 0;
}
.g208-section-title {
  font-size: 1.85rem;
  font-weight: 800;
  color: #fff;
  margin: 0 0 6px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.g208-section-title .g208-bar {
  width: 5px; height: 22px;
  background: linear-gradient(var(--g208-red), var(--g208-primary));
  border-radius: 3px;
}
.g208-section-sub {
  color: var(--g208-muted);
  font-size: 1.3rem;
  margin: 0 0 14px;
}

/* ============ Hero Carousel ============ */
.g208-hero {
  position: relative;
  margin: 14px 0 6px;
  border-radius: var(--g208-radius);
  overflow: hidden;
  box-shadow: var(--g208-shadow);
}
.g208-hero-track { position: relative; height: 190px; }
.g208-hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity .6s ease;
  cursor: pointer;
}
.g208-hero-slide img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.g208-slide-active { opacity: 1; }
.g208-hero-caption {
  position: absolute;
  left: 12px; bottom: 12px;
  background: rgba(0,0,0,0.55);
  padding: 8px 12px;
  border-radius: 10px;
  color: #fff;
  font-weight: 700;
  font-size: 1.35rem;
}
.g208-hero-dots {
  position: absolute;
  right: 10px; bottom: 10px;
  display: flex; gap: 5px;
}
.g208-hero-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.45);
  border: none; cursor: pointer; padding: 0;
}
.g208-dot-active { background: var(--g208-primary); }

/* ============ Game Grid ============ */
.g208-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.g208-game-card {
  background: var(--g208-bg-3);
  border-radius: 10px;
  overflow: hidden;
  position: relative;
  border: 1px solid var(--g208-border);
  transition: transform .15s ease, box-shadow .2s ease;
  cursor: pointer;
}
.g208-game-card:active { transform: scale(0.96); }
.g208-game-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}
.g208-game-name {
  padding: 6px 6px 7px;
  font-size: 1.15rem;
  font-weight: 600;
  color: #fff;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.g208-game-badge {
  position: absolute;
  top: 5px; left: 5px;
  background: var(--g208-red);
  color: #fff;
  font-size: 1rem;
  padding: 1px 7px;
  border-radius: 999px;
  font-weight: 700;
}
.g208-game-badge.hot { background: var(--g208-primary); }
.g208-game-badge.new { background: var(--g208-green); color: #1c1c1c; }

/* ============ Cards / Feature blocks ============ */
.g208-card {
  background: linear-gradient(160deg, #2f2f2f, #1f1f1f);
  border: 1px solid var(--g208-border);
  border-radius: var(--g208-radius);
  padding: 16px;
  margin-bottom: 14px;
  box-shadow: var(--g208-shadow);
}
.g208-card h3 {
  margin: 0 0 8px;
  font-size: 1.6rem;
  color: var(--g208-pink);
}
.g208-card p {
  margin: 0 0 8px;
  color: var(--g208-text);
  font-size: 1.35rem;
}
.g208-card .g208-link {
  color: var(--g208-green);
  font-weight: 700;
}

.g208-features {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}
.g208-feature {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  background: rgba(255,255,255,0.04);
  padding: 12px;
  border-radius: 12px;
  border-left: 4px solid var(--g208-primary);
}
.g208-feature .g208-feature-icon {
  flex-shrink: 0;
  width: 40px; height: 40px;
  border-radius: 10px;
  background: rgba(255, 87, 34, 0.15);
  display: flex; align-items: center; justify-content: center;
  color: var(--g208-primary);
  font-size: 1.8rem;
}
.g208-feature h4 { margin: 0 0 4px; font-size: 1.45rem; color: #fff; }
.g208-feature p { margin: 0; font-size: 1.25rem; color: var(--g208-muted); }

/* ============ FAQ / Testimonials ============ */
.g208-faq-item {
  border: 1px solid var(--g208-border);
  border-radius: 10px;
  padding: 12px;
  margin-bottom: 10px;
  background: rgba(0,0,0,0.2);
}
.g208-faq-item h4 {
  margin: 0 0 6px;
  color: var(--g208-green);
  font-size: 1.4rem;
}
.g208-faq-item p { margin: 0; font-size: 1.3rem; color: var(--g208-text); }

.g208-testimonial {
  background: linear-gradient(135deg, #2b2b2b, #1a1a1a);
  border-radius: 12px;
  padding: 14px;
  margin-bottom: 10px;
  border-left: 4px solid var(--g208-pink);
}
.g208-testimonial .g208-tstars { color: #ffcc00; font-size: 1.3rem; margin-bottom: 4px; }
.g208-testimonial p { margin: 0 0 6px; font-size: 1.3rem; color: var(--g208-text); }
.g208-testimonial .g208-tname { color: var(--g208-pink); font-weight: 700; font-size: 1.2rem; }

/* ============ Stats / RTP compact ============ */
.g208-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}
.g208-stat {
  background: var(--g208-bg-3);
  border-radius: 10px;
  padding: 10px;
  text-align: center;
  border: 1px solid var(--g208-border);
}
.g208-stat .g208-stat-num {
  display: block;
  font-size: 1.9rem;
  font-weight: 800;
  color: var(--g208-green);
}
.g208-stat .g208-stat-label { font-size: 1.15rem; color: var(--g208-muted); }

.g208-rtp-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 10px;
  background: rgba(255,255,255,0.03);
  border-radius: 8px;
  margin-bottom: 6px;
  font-size: 1.3rem;
}
.g208-rtp-row .g208-rtp-name { color: #fff; font-weight: 600; }
.g208-rtp-row .g208-rtp-val { color: var(--g208-green); font-weight: 800; }

/* ============ Winners strip ============ */
.g208-winners {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 6px;
}
.g208-winner {
  flex: 0 0 auto;
  background: linear-gradient(90deg, #3a1d1d, #2b2b2b);
  border: 1px solid var(--g208-primary);
  border-radius: 10px;
  padding: 8px 12px;
  font-size: 1.2rem;
  white-space: nowrap;
}
.g208-winner strong { color: var(--g208-green); }
.g208-winner .g208-wgame { color: var(--g208-pink); }

/* ============ Payment chips ============ */
.g208-payments {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.g208-pay {
  background: #fff;
  color: #262626;
  border-radius: 8px;
  padding: 6px 12px;
  font-weight: 700;
  font-size: 1.2rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* ============ CTA banner ============ */
.g208-cta-banner {
  background: linear-gradient(135deg, var(--g208-red), var(--g208-primary));
  border-radius: var(--g208-radius);
  padding: 18px;
  text-align: center;
  color: #fff;
  margin: 16px 0;
  box-shadow: 0 6px 18px rgba(255, 0, 0, 0.35);
}
.g208-cta-banner h3 { margin: 0 0 6px; font-size: 1.8rem; }
.g208-cta-banner p { margin: 0 0 12px; font-size: 1.3rem; }

/* ============ Footer ============ */
.g208-footer {
  background: #161616;
  border-top: 2px solid var(--g208-primary);
  padding: 22px 12px 30px;
  color: var(--g208-muted);
}
.g208-footer h4 {
  color: var(--g208-pink);
  margin: 0 0 8px;
  font-size: 1.4rem;
}
.g208-footer p { font-size: 1.25rem; margin: 0 0 10px; }
.g208-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 10px 0;
}
.g208-footer-links a {
  color: var(--g208-text);
  background: rgba(255,255,255,0.04);
  padding: 6px 10px;
  border-radius: 8px;
  font-size: 1.2rem;
  border: 1px solid var(--g208-border);
}
.g208-footer-links a:hover { background: rgba(255,87,34,0.15); color: #fff; }
.g208-foot-btns {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  margin: 10px 0;
}
.g208-foot-btn {
  background: linear-gradient(90deg, var(--g208-red), var(--g208-primary));
  color: #fff;
  text-align: center;
  padding: 10px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 1.25rem;
  cursor: pointer;
  border: none;
}
.g208-copy {
  text-align: center;
  font-size: 1.15rem;
  color: var(--g208-muted);
  padding-top: 14px;
  border-top: 1px solid rgba(255,255,255,0.06);
  margin-top: 14px;
}

/* ============ Mobile Bottom Nav (hidden on desktop) ============ */
.g208-bottomnav {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  max-width: 430px;
  margin: 0 auto;
  height: 62px;
  background: linear-gradient(180deg, #1f1f1f, #111111);
  border-top: 2px solid var(--g208-primary);
  display: flex;
  justify-content: space-around;
  align-items: stretch;
  z-index: 1000;
  box-shadow: 0 -3px 14px rgba(0,0,0,0.5);
}
.g208-navbtn {
  flex: 1;
  background: transparent;
  border: none;
  color: var(--g208-muted);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  min-width: 60px;
  min-height: 60px;
  cursor: pointer;
  font-size: 1.05rem;
  font-weight: 600;
  padding: 4px 2px;
  position: relative;
  transition: color .15s ease, transform .15s ease;
}
.g208-navbtn .g208-navicon { font-size: 2.2rem; line-height: 1; }
.g208-navbtn:active { transform: scale(0.92); }
.g208-navbtn-promo { color: var(--g208-pink); }
.g208-navbtn-promo2 { color: var(--g208-green); }
.g208-navbtn-active { color: var(--g208-primary); }
.g208-navbtn-active::after {
  content: "";
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 28px; height: 3px;
  background: var(--g208-primary);
  border-radius: 0 0 3px 3px;
}

@media (min-width: 769px) {
  .g208-bottomnav { display: none; }
  body { max-width: 430px; }
}

/* ============ Reveal animation ============ */
.g208-reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .5s ease, transform .5s ease;
}
.g208-reveal.g208-revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Utility */
.g208-text-pink { color: var(--g208-pink); }
.g208-text-green { color: var(--g208-green); }
.g208-text-red { color: var(--g208-red); }
.g208-center { text-align: center; }
.g208-mt { margin-top: 12px; }
.g208-mb { margin-bottom: 12px; }
