/* ===========================================================
   99wincom - theme.css
   All custom classes use the dynamic prefix "g21c-".
   Palette: #0000FF | #48D1CC | #ADD8E6 | #273746 | #E9967A
   Mobile-first, max-width 430px.
   =========================================================== */

:root {
  --g21c-primary: #0000ff;
  --g21c-accent: #48d1cc;
  --g21c-light: #add8e6;
  --g21c-bg: #273746;
  --g21c-warm: #e9967a;
  --g21c-dark: #1b2733;
  --g21c-darker: #121b24;
  --g21c-text: #f3f8ff;
  --g21c-muted: #b9c6d6;
  --g21c-gold: #ffd479;
  --g21c-radius: 1.2rem;
  --g21c-shadow: 0 0.6rem 1.6rem rgba(0, 0, 0, 0.35);
  --g21c-gradient: linear-gradient(135deg, #0000ff 0%, #48d1cc 100%);
  --g21c-gradient-warm: linear-gradient(135deg, #e9967a 0%, #ffd479 100%);
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  padding: 0;
  font-family: "Be Vietnam Pro", "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  background: var(--g21c-darker);
  color: var(--g21c-text);
  line-height: 1.5rem;
  font-size: 1.5rem;
  overflow-x: hidden;
}

body.g21c-no-scroll { overflow: hidden; }

a { color: var(--g21c-accent); text-decoration: none; }
img { max-width: 100%; display: block; }
h1, h2, h3, h4 { margin: 0 0 0.8rem; line-height: 1.25; color: #fff; }
h1 { font-size: 2.4rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.7rem; }
p { margin: 0 0 1rem; color: var(--g21c-muted); }

/* ===========================================================
   Layout
   =========================================================== */
.g21c-wrapper {
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
  position: relative;
}

.g21c-container {
  padding: 0 1.2rem;
}

.g21c-main { padding-bottom: 9rem; }

.g21c-section { padding: 2.4rem 0; }

.g21c-section-alt { background: var(--g21c-bg); }

.g21c-section-title {
  text-align: center;
  margin-bottom: 1.4rem;
}
.g21c-section-title h2 {
  background: var(--g21c-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.g21c-section-title p { color: var(--g21c-muted); }

/* ===========================================================
   Header
   =========================================================== */
.g21c-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(18, 27, 36, 0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(72, 209, 204, 0.25);
}
.g21c-header-inner {
  max-width: 430px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.6rem 1rem;
  gap: 0.6rem;
}
.g21c-brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  min-width: 0;
}
.g21c-brand-logo {
  width: 3rem;
  height: 3rem;
  border-radius: 0.7rem;
  object-fit: cover;
  box-shadow: 0 0 0 2px rgba(72, 209, 204, 0.45);
}
.g21c-brand-name {
  font-size: 1.7rem;
  font-weight: 800;
  color: #fff;
  white-space: nowrap;
  letter-spacing: 0.02em;
}
.g21c-brand-name span { color: var(--g21c-accent); }

.g21c-header-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.g21c-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border: none;
  cursor: pointer;
  font-weight: 700;
  border-radius: 1rem;
  padding: 0.7rem 1.1rem;
  font-size: 1.3rem;
  line-height: 1;
  transition: transform 0.15s ease, box-shadow 0.15s ease, opacity 0.15s ease;
  text-decoration: none;
  min-height: 3.6rem;
}
.g21c-btn:active { transform: scale(0.96); }
.g21c-btn-primary {
  background: var(--g21c-gradient-warm);
  color: #2a1605;
  box-shadow: 0 0.4rem 1rem rgba(233, 150, 122, 0.45);
}
.g21c-btn-ghost {
  background: transparent;
  color: #fff;
  border: 1.5px solid var(--g21c-accent);
}
.g21c-btn-outline {
  background: var(--g21c-gradient);
  color: #fff;
}
.g21c-btn-block { width: 100%; }
.g21c-btn-lg { padding: 1rem 1.4rem; font-size: 1.5rem; }

.g21c-menu-toggle {
  background: transparent;
  border: 1px solid rgba(173, 216, 230, 0.4);
  color: #fff;
  width: 3.6rem;
  height: 3.6rem;
  border-radius: 0.8rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.8rem;
}

/* ===========================================================
   Mobile drawer menu
   =========================================================== */
.g21c-mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: 82%;
  max-width: 340px;
  height: 100vh;
  background: var(--g21c-dark);
  z-index: 9999;
  transform: translateX(105%);
  transition: transform 0.28s ease;
  padding: 1.6rem 1.4rem;
  overflow-y: auto;
  box-shadow: -1rem 0 3rem rgba(0,0,0,0.5);
}
.g21c-mobile-menu.g21c-menu-open { transform: translateX(0); }
.g21c-menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  z-index: 9998;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s ease;
}
.g21c-mobile-menu.g21c-menu-open ~ .g21c-menu-overlay {
  opacity: 1;
  pointer-events: auto;
}
.g21c-menu-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.2rem;
}
.g21c-menu-head h3 { color: #fff; font-size: 1.6rem; }
.g21c-menu-close {
  background: var(--g21c-primary);
  color: #fff;
  border: none;
  width: 3.2rem;
  height: 3.2rem;
  border-radius: 0.8rem;
  font-size: 1.6rem;
  cursor: pointer;
}
.g21c-menu-list { list-style: none; padding: 0; margin: 0; }
.g21c-menu-list li { margin-bottom: 0.5rem; }
.g21c-menu-list a {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 1rem 0.9rem;
  border-radius: 0.9rem;
  background: rgba(72, 209, 204, 0.08);
  color: #fff;
  font-weight: 600;
  border: 1px solid rgba(72, 209, 204, 0.18);
}
.g21c-menu-list a:active { background: rgba(72, 209, 204, 0.2); }
.g21c-menu-cta { margin-top: 1.2rem; display: grid; gap: 0.7rem; }

/* ===========================================================
   Hero / Carousel
   =========================================================== */
.g21c-hero {
  margin-top: 5.6rem;
  padding: 1rem 0 0;
}
.g21c-carousel {
  position: relative;
  border-radius: var(--g21c-radius);
  overflow: hidden;
  box-shadow: var(--g21c-shadow);
}
.g21c-carousel-track {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
}
.g21c-carousel-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.6s ease;
  cursor: pointer;
}
.g21c-carousel-slide.g21c-active { opacity: 1; }
.g21c-carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.g21c-carousel-cap {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  right: 1rem;
  background: linear-gradient(0deg, rgba(0,0,0,0.8), transparent);
  padding: 1rem;
  border-radius: 0.9rem;
}
.g21c-carousel-cap h3 { color: #fff; font-size: 1.6rem; margin: 0 0 0.3rem; }
.g21c-carousel-cap p { color: #e4eef7; margin: 0; font-size: 1.2rem; }

.g21c-carousel-dots {
  position: absolute;
  bottom: 0.8rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.5rem;
  z-index: 3;
}
.g21c-carousel-dot {
  width: 0.8rem;
  height: 0.8rem;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,0.45);
  cursor: pointer;
  padding: 0;
}
.g21c-carousel-dot.g21c-dot-active { background: var(--g21c-warm); }

/* ===========================================================
   Hero CTA strip
   =========================================================== */
.g21c-hero-cta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.7rem;
  margin-top: 1rem;
}

/* ===========================================================
   Filter chips
   =========================================================== */
.g21c-filters {
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  padding: 0.5rem 0 1rem;
  -webkit-overflow-scrolling: touch;
}
.g21c-filters::-webkit-scrollbar { display: none; }
.g21c-filter-chip {
  flex: 0 0 auto;
  background: var(--g21c-dark);
  color: var(--g21c-muted);
  border: 1px solid rgba(173, 216, 230, 0.25);
  padding: 0.7rem 1.1rem;
  border-radius: 2rem;
  font-size: 1.25rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
}
.g21c-filter-chip.g21c-chip-active {
  background: var(--g21c-gradient);
  color: #fff;
  border-color: transparent;
}

/* ===========================================================
   Game grid + cards
   =========================================================== */
.g21c-game-section { margin-bottom: 1.4rem; }
.g21c-cat-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0 0 0.9rem;
}
.g21c-cat-head h3 {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #fff;
  font-size: 1.55rem;
}
.g21c-cat-head .material-icons,
.g21c-cat-head .bi,
.g21c-cat-head i { color: var(--g21c-warm); font-size: 1.7rem; }
.g21c-cat-head a { font-size: 1.2rem; color: var(--g21c-accent); font-weight: 700; }

.g21c-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.7rem;
}
.g21c-card {
  background: var(--g21c-bg);
  border-radius: 0.9rem;
  overflow: hidden;
  border: 1px solid rgba(173, 216, 230, 0.12);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  cursor: pointer;
}
.g21c-card:active {
  transform: scale(0.96);
  box-shadow: 0 0 0 2px var(--g21c-warm);
}
.g21c-card-img {
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
  background: #0e161f;
}
.g21c-card-name {
  padding: 0.5rem 0.4rem 0.6rem;
  font-size: 1.1rem;
  text-align: center;
  color: #e9f1fa;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.g21c-card-badge {
  position: relative;
}
.g21c-card-badge::before {
  content: "HOT";
  position: absolute;
  top: 0.4rem;
  left: 0.4rem;
  background: var(--g21c-warm);
  color: #2a1605;
  font-size: 0.9rem;
  font-weight: 800;
  padding: 0.15rem 0.5rem;
  border-radius: 1rem;
  z-index: 2;
}

/* ===========================================================
   Feature blocks
   =========================================================== */
.g21c-feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.8rem;
}
.g21c-feature {
  background: var(--g21c-bg);
  border-radius: 1rem;
  padding: 1.1rem;
  border: 1px solid rgba(72, 209, 204, 0.15);
}
.g21c-feature i,
.g21c-feature .material-icons,
.g21c-feature .bi {
  font-size: 2rem;
  color: var(--g21c-accent);
  margin-bottom: 0.5rem;
}
.g21c-feature h4 { font-size: 1.3rem; color: #fff; margin: 0 0 0.3rem; }
.g21c-feature p { font-size: 1.15rem; margin: 0; color: var(--g21c-muted); }

/* ===========================================================
   Steps / how to play
   =========================================================== */
.g21c-steps { display: grid; gap: 0.7rem; }
.g21c-step {
  display: flex;
  gap: 0.9rem;
  align-items: flex-start;
  background: var(--g21c-bg);
  padding: 1rem;
  border-radius: 1rem;
  border-left: 0.4rem solid var(--g21c-warm);
}
.g21c-step-num {
  flex: 0 0 2.6rem;
  height: 2.6rem;
  border-radius: 50%;
  background: var(--g21c-gradient);
  color: #fff;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
}
.g21c-step h4 { font-size: 1.35rem; color: #fff; margin: 0 0 0.3rem; }
.g21c-step p { margin: 0; font-size: 1.18rem; }

/* ===========================================================
   Testimonials
   =========================================================== */
.g21c-testi-grid { display: grid; gap: 0.8rem; }
.g21c-testi {
  background: var(--g21c-bg);
  border-radius: 1rem;
  padding: 1.1rem;
  border: 1px solid rgba(173, 216, 230, 0.14);
}
.g21c-testi-head {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: 0.5rem;
}
.g21c-testi-avatar {
  width: 3.2rem;
  height: 3.2rem;
  border-radius: 50%;
  background: var(--g21c-gradient);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.3rem;
}
.g21c-testi-name { color: #fff; font-weight: 700; font-size: 1.25rem; }
.g21c-stars { color: var(--g21c-gold); font-size: 1.1rem; }
.g21c-testi p { margin: 0; font-size: 1.18rem; }

/* ===========================================================
   Payment methods
   =========================================================== */
.g21c-pay-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.6rem;
}
.g21c-pay {
  background: var(--g21c-bg);
  border-radius: 0.9rem;
  padding: 0.8rem;
  text-align: center;
  border: 1px solid rgba(173, 216, 230, 0.15);
}
.g21c-pay i,
.g21c-pay .material-icons,
.g21c-pay .bi { font-size: 1.9rem; color: var(--g21c-accent); }
.g21c-pay span { display: block; margin-top: 0.3rem; font-size: 1.1rem; color: var(--g21c-muted); }

/* ===========================================================
   Winners ticker
   =========================================================== */
.g21c-winner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--g21c-bg);
  padding: 0.7rem 0.9rem;
  border-radius: 0.9rem;
  margin-bottom: 0.5rem;
  border: 1px solid rgba(255, 212, 121, 0.18);
}
.g21c-winner-name { color: #fff; font-weight: 700; font-size: 1.2rem; }
.g21c-winner-game { color: var(--g21c-muted); font-size: 1.1rem; }
.g21c-winner-amount { color: var(--g21c-gold); font-weight: 800; font-size: 1.25rem; }

/* ===========================================================
   FAQ
   =========================================================== */
.g21c-faq details {
  background: var(--g21c-bg);
  border-radius: 0.9rem;
  margin-bottom: 0.6rem;
  padding: 1rem;
  border: 1px solid rgba(72, 209, 204, 0.15);
}
.g21c-faq summary {
  cursor: pointer;
  font-weight: 700;
  color: #fff;
  font-size: 1.3rem;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.g21c-faq summary::-webkit-details-marker { display: none; }
.g21c-faq summary::after {
  content: "+";
  color: var(--g21c-warm);
  font-size: 1.6rem;
  font-weight: 800;
}
.g21c-faq details[open] summary::after { content: "−"; }
.g21c-faq p { margin: 0.7rem 0 0; font-size: 1.18rem; }

/* ===========================================================
   Promo banner / RTP table / tricks
   =========================================================== */
.g21c-promo {
  background: var(--g21c-gradient);
  border-radius: 1.2rem;
  padding: 1.3rem;
  color: #fff;
  text-align: center;
  margin-bottom: 1rem;
  box-shadow: var(--g21c-shadow);
}
.g21c-promo h3 { color: #fff; }
.g21c-promo p { color: #f0f6ff; }

.g21c-rtp-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--g21c-bg);
  border-radius: 1rem;
  overflow: hidden;
}
.g21c-rtp-table th,
.g21c-rtp-table td {
  padding: 0.8rem;
  font-size: 1.15rem;
  border-bottom: 1px solid rgba(173, 216, 230, 0.1);
  text-align: left;
}
.g21c-rtp-table th { background: rgba(72, 209, 204, 0.18); color: #fff; }
.g21c-rtp-table td { color: var(--g21c-muted); }
.g21c-rtp-table td:last-child { color: var(--g21c-gold); font-weight: 700; }

/* ===========================================================
   Footer
   =========================================================== */
.g21c-footer {
  background: #0d141c;
  padding: 2.4rem 0 8rem;
  border-top: 1px solid rgba(72, 209, 204, 0.2);
}
.g21c-footer p.g21c-brand-desc { color: var(--g21c-muted); font-size: 1.2rem; }
.g21c-footer h4 { color: #fff; font-size: 1.35rem; margin: 1.2rem 0 0.7rem; }
.g21c-footer-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem;
  list-style: none;
  padding: 0;
  margin: 0;
}
.g21c-footer-links a {
  color: var(--g21c-muted);
  font-size: 1.15rem;
}
.g21c-footer-links a:hover { color: var(--g21c-accent); }
.g21c-footer-promos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem;
  margin: 1rem 0;
}
.g21c-copyright {
  text-align: center;
  color: #6f8093;
  font-size: 1.1rem;
  margin-top: 1.5rem;
}

/* ===========================================================
   Mobile bottom navigation
   =========================================================== */
.g21c-bottom-nav {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1000;
  max-width: 430px;
  margin: 0 auto;
  height: 6.2rem;
  background: rgba(13, 20, 28, 0.98);
  backdrop-filter: blur(12px);
  border-top: 1px solid rgba(72, 209, 204, 0.35);
  display: flex;
  justify-content: space-around;
  align-items: stretch;
  padding: 0.4rem 0.2rem;
}
.g21c-nav-btn {
  flex: 1;
  min-width: 6rem;
  min-height: 5.4rem;
  background: transparent;
  border: none;
  color: var(--g21c-muted);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.2rem;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 600;
  padding: 0.2rem;
  position: relative;
  transition: color 0.18s ease, transform 0.18s ease;
}
.g21c-nav-btn i,
.g21c-nav-btn .material-icons,
.g21c-nav-btn .bi,
.g21c-nav-btn ion-icon {
  font-size: 2.2rem;
  transition: transform 0.2s ease;
}
.g21c-nav-btn:active { transform: scale(0.92); }
.g21c-nav-btn:active i,
.g21c-nav-btn:active .material-icons,
.g21c-nav-btn:active ion-icon { transform: scale(1.15); }
.g21c-nav-btn.g21c-nav-current { color: var(--g21c-warm); }
.g21c-nav-btn.g21c-nav-current::after {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 2.4rem;
  height: 0.3rem;
  background: var(--g21c-warm);
  border-radius: 0 0 0.3rem 0.3rem;
}
.g21c-nav-btn span { font-size: 1rem; line-height: 1.1; }
.g21c-nav-badge {
  position: absolute;
  top: 0.4rem;
  right: 1.1rem;
  background: var(--g21c-warm);
  color: #2a1605;
  font-size: 0.85rem;
  font-weight: 800;
  padding: 0.05rem 0.4rem;
  border-radius: 1rem;
}

/* ===========================================================
   Utilities
   =========================================================== */
.g21c-text-center { text-align: center; }
.g21c-mt-1 { margin-top: 0.6rem; }
.g21c-mt-2 { margin-top: 1.2rem; }
.g21c-mb-2 { margin-bottom: 1.2rem; }
.g21c-pill {
  display: inline-block;
  padding: 0.35rem 0.9rem;
  background: rgba(72, 209, 204, 0.15);
  color: var(--g21c-accent);
  border-radius: 2rem;
  font-size: 1.1rem;
  font-weight: 700;
}
.g21c-link-inline {
  color: var(--g21c-warm);
  font-weight: 700;
  text-decoration: underline;
}
.g21c-note {
  background: rgba(233, 150, 122, 0.1);
  border-left: 0.35rem solid var(--g21c-warm);
  padding: 0.8rem 1rem;
  border-radius: 0.6rem;
  font-size: 1.18rem;
  color: #f1e2d8;
}

/* ===========================================================
   Desktop layout (>768px)
   =========================================================== */
@media (min-width: 769px) {
  body { background: #0a1018; }
  .g21c-wrapper { max-width: 760px; }
  .g21c-header-inner { max-width: 760px; }
  .g21c-bottom-nav { display: none; }
  .g21c-main { padding-bottom: 2rem; }
  .g21c-footer { padding-bottom: 2rem; }
  .g21c-grid { grid-template-columns: repeat(5, 1fr); }
  .g21c-feature-grid { grid-template-columns: repeat(4, 1fr); }
}

@media (min-width: 481px) and (max-width: 768px) {
  .g21c-grid { grid-template-columns: repeat(4, 1fr); }
}
