/* ============================================================
   6634.click - Core Stylesheet
   Mobile-first casino/gaming design. Root font 62.5% -> 1rem=10px.
   Every custom class uses the wa799- prefix for isolation.
   ============================================================ */

:root {
  --wa799-primary: #FFBF00;     /* golden accent */
  --wa799-mint: #BAFFC9;        /* soft mint highlight */
  --wa799-bg: #0C0C0C;          /* near-black background */
  --wa799-teal: #20B2AA;        /* brand teal */
  --wa799-pink: #FFB3BA;        /* warm pink accent */
  --wa799-text: #F5F7FA;        /* primary light text */
  --wa799-muted: #9aa3ad;       /* muted text */
  --wa799-card: #161616;        /* card surface */
  --wa799-card-2: #1f1f1f;      /* secondary surface */
  --wa799-border: #2a2a2a;      /* hairline border */
  --wa799-shadow: 0 6px 22px rgba(0, 0, 0, 0.45);
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: "Be Vietnam Pro", "Segoe UI", Roboto, system-ui, sans-serif;
  background: var(--wa799-bg);
  color: var(--wa799-text);
  line-height: 1.5rem;
  font-size: 1.5rem;
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--wa799-primary); text-decoration: none; }
a:hover { color: var(--wa799-mint); }

/* ---------- Layout wrappers ---------- */
.wa799-wrapper {
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
  position: relative;
  background: var(--wa799-bg);
}

.wa799-container {
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
  padding: 0 1.2rem;
}

main { display: block; }

@media (max-width: 768px) {
  main { padding-bottom: 9rem; }
}

/* ---------- Header ---------- */
.wa799-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: linear-gradient(135deg, #111 0%, #1a1a1a 100%);
  border-bottom: 1px solid var(--wa799-border);
}

.wa799-header-inner {
  max-width: 430px;
  margin: 0 auto;
  height: 5.6rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1rem;
}

.wa799-brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex: 1;
  min-width: 0;
}

.wa799-brand img {
  width: 2.8rem;
  height: 2.8rem;
  border-radius: 0.6rem;
}

.wa799-brand-name {
  font-weight: 800;
  font-size: 1.8rem;
  color: var(--wa799-primary);
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.wa799-brand-name span { color: var(--wa799-text); }

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

.wa799-menu-btn {
  background: transparent;
  border: 1px solid var(--wa799-border);
  color: var(--wa799-text);
  width: 3.6rem;
  height: 3.6rem;
  border-radius: 0.8rem;
  font-size: 1.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

/* ---------- Buttons ---------- */
.wa799-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 3.6rem;
  padding: 0 1.2rem;
  border: none;
  border-radius: 0.8rem;
  font-size: 1.4rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.12s ease, filter 0.12s ease;
  text-decoration: none;
  white-space: nowrap;
}

.wa799-btn:active { transform: scale(0.96); }

.wa799-btn-primary {
  background: linear-gradient(135deg, var(--wa799-primary), #ff9e00);
  color: #1a1a1a;
}

.wa799-btn-outline {
  background: transparent;
  color: var(--wa799-text);
  border: 1px solid var(--wa799-primary);
}

.wa799-btn-teal {
  background: var(--wa799-teal);
  color: #fff;
}

.wa799-btn-block {
  display: flex;
  width: 100%;
}

/* ---------- Mobile menu ---------- */
.wa799-mobile-menu {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease;
  background: #121212;
  border-top: 1px solid var(--wa799-border);
}

.wa799-mobile-menu.wa799-menu-open {
  max-height: 460px;
}

.wa799-mobile-menu ul {
  list-style: none;
  margin: 0;
  padding: 0.4rem 0;
}

.wa799-mobile-menu li a {
  display: block;
  padding: 1.1rem 1.5rem;
  color: var(--wa799-text);
  border-bottom: 1px solid rgba(255,255,255,0.04);
  font-size: 1.45rem;
}

.wa799-mobile-menu li a:hover { background: #1c1c1c; color: var(--wa799-primary); }

/* ---------- Carousel ---------- */
.wa799-carousel {
  position: relative;
  margin-top: 5.6rem;
  width: 100%;
  max-width: 430px;
  margin-left: auto;
  margin-right: auto;
  overflow: hidden;
  border-radius: 0;
}

.wa799-slide {
  display: none;
  position: relative;
  cursor: pointer;
}

.wa799-slide.wa799-slide-active { display: block; }

.wa799-slide img {
  width: 100%;
  height: 20rem;
  object-fit: cover;
}

.wa799-slide-caption {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  background: rgba(0,0,0,0.55);
  color: var(--wa799-text);
  padding: 0.5rem 0.9rem;
  border-radius: 0.6rem;
  font-size: 1.3rem;
  font-weight: 600;
}

.wa799-dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.6rem 0;
}

.wa799-dot {
  width: 0.7rem; height: 0.7rem;
  border-radius: 50%;
  background: #444;
  border: none;
  cursor: pointer;
}

.wa799-dot.wa799-dot-active { background: var(--wa799-primary); }

/* ---------- Sections ---------- */
.wa799-section {
  padding: 2rem 1.2rem;
}

.wa799-section-title {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--wa799-primary);
  margin: 0 0 0.4rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.wa799-section-sub {
  color: var(--wa799-muted);
  font-size: 1.3rem;
  margin: 0 0 1.2rem;
}

.wa799-h1 {
  font-size: 2.1rem;
  font-weight: 800;
  color: var(--wa799-text);
  line-height: 1.35;
  margin: 1.2rem 0 0.6rem;
}

.wa799-h1 b { color: var(--wa799-primary); }

.wa799-lead {
  font-size: 1.4rem;
  color: var(--wa799-muted);
  margin: 0 0 1.4rem;
}

.wa799-prose p { margin: 0 0 1rem; color: #d6dadf; }

.wa799-prose a { font-weight: 700; color: var(--wa799-primary); border-bottom: 1px dotted currentColor; }

/* ---------- Game grid ---------- */
.wa799-cat-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 1.8rem 0 1rem;
}

.wa799-cat-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--wa799-mint);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.wa799-cat-link {
  font-size: 1.2rem;
  color: var(--wa799-primary);
}

.wa799-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.6rem;
}

.wa799-game {
  display: block;
  background: var(--wa799-card);
  border: 1px solid var(--wa799-border);
  border-radius: 0.7rem;
  overflow: hidden;
  text-align: center;
  cursor: pointer;
  transition: transform 0.12s ease, border-color 0.12s ease;
}

.wa799-game:hover { transform: translateY(-2px); border-color: var(--wa799-primary); }

.wa799-game img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.wa799-game-name {
  font-size: 1.1rem;
  color: var(--wa799-text);
  padding: 0.35rem 0.25rem 0.5rem;
  line-height: 1.25;
  min-height: 2.6rem;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

/* ---------- Cards / Features ---------- */
.wa799-card {
  background: var(--wa799-card);
  border: 1px solid var(--wa799-border);
  border-radius: 1rem;
  padding: 1.3rem;
  margin-bottom: 1rem;
  box-shadow: var(--wa799-shadow);
}

.wa799-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.5rem;
  color: var(--wa799-primary);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.wa799-card p { margin: 0; color: #c9ced5; font-size: 1.35rem; }

.wa799-feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.8rem;
}

.wa799-feature {
  background: var(--wa799-card-2);
  border-radius: 0.8rem;
  padding: 1rem;
  text-align: center;
  border: 1px solid var(--wa799-border);
}

.wa799-feature .material-icons,
.wa799-feature i {
  font-size: 2.6rem;
  color: var(--wa799-teal);
  margin-bottom: 0.4rem;
}

.wa799-feature h4 {
  margin: 0.2rem 0;
  font-size: 1.35rem;
  color: var(--wa799-text);
}

.wa799-feature p { font-size: 1.2rem; color: var(--wa799-muted); margin: 0; }

/* ---------- Steps ---------- */
.wa799-steps { list-style: none; padding: 0; margin: 0; counter-reset: step; }
.wa799-steps li {
  position: relative;
  padding: 0.8rem 0.8rem 0.8rem 3.6rem;
  margin-bottom: 0.7rem;
  background: var(--wa799-card-2);
  border-radius: 0.7rem;
  border: 1px solid var(--wa799-border);
  counter-increment: step;
  font-size: 1.35rem;
  color: #d6dadf;
}
.wa799-steps li::before {
  content: counter(step);
  position: absolute;
  left: 0.7rem; top: 50%;
  transform: translateY(-50%);
  width: 2.4rem; height: 2.4rem;
  background: var(--wa799-primary);
  color: #1a1a1a;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.3rem;
}

/* ---------- RTP table ---------- */
.wa799-table { width: 100%; border-collapse: collapse; font-size: 1.25rem; }
.wa799-table th, .wa799-table td {
  padding: 0.7rem 0.6rem;
  border-bottom: 1px solid var(--wa799-border);
  text-align: left;
}
.wa799-table th { color: var(--wa799-primary); font-weight: 700; }
.wa799-table td { color: #d6dadf; }

/* ---------- Testimonials ---------- */
.wa799-quote {
  background: var(--wa799-card-2);
  border-left: 3px solid var(--wa799-teal);
  padding: 0.9rem 1rem;
  border-radius: 0.6rem;
  margin-bottom: 0.8rem;
}
.wa799-quote p { margin: 0 0 0.4rem; font-size: 1.3rem; color: #d6dadf; }
.wa799-quote small { color: var(--wa799-primary); font-weight: 700; }

/* ---------- Winners ---------- */
.wa799-winner {
  display: flex;
  justify-content: space-between;
  padding: 0.55rem 0.8rem;
  background: var(--wa799-card-2);
  border-radius: 0.6rem;
  margin-bottom: 0.45rem;
  font-size: 1.25rem;
}
.wa799-winner b { color: var(--wa799-pink); }

/* ---------- Payment ---------- */
.wa799-pay-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.5rem;
}
.wa799-pay {
  background: var(--wa799-card-2);
  border: 1px solid var(--wa799-border);
  border-radius: 0.6rem;
  padding: 0.7rem 0.3rem;
  text-align: center;
  font-size: 1.1rem;
  color: var(--wa799-muted);
}
.wa799-pay i { font-size: 1.8rem; color: var(--wa799-mint); display: block; }

/* ---------- App CTA ---------- */
.wa799-app-cta {
  background: linear-gradient(135deg, var(--wa799-teal) 0%, #166963 100%);
  border-radius: 1rem;
  padding: 1.4rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}
.wa799-app-cta i { font-size: 3.2rem; color: #fff; }
.wa799-app-cta h3 { margin: 0 0 0.2rem; color: #fff; font-size: 1.5rem; }
.wa799-app-cta p { margin: 0; color: #eafff8; font-size: 1.25rem; }

/* ---------- FAQ ---------- */
.wa799-faq { margin-bottom: 0.7rem; border: 1px solid var(--wa799-border); border-radius: 0.7rem; overflow: hidden; background: var(--wa799-card); }
.wa799-faq summary { padding: 0.9rem 1rem; font-weight: 700; color: var(--wa799-text); cursor: pointer; font-size: 1.35rem; list-style: none; }
.wa799-faq summary::after { content: "+"; float: right; color: var(--wa799-primary); font-size: 1.6rem; }
.wa799-faq[open] summary::after { content: "-"; }
.wa799-faq p { margin: 0; padding: 0 1rem 1rem; color: #c9ced5; font-size: 1.3rem; }

/* ---------- Footer ---------- */
.wa799-footer {
  background: #0a0a0a;
  border-top: 1px solid var(--wa799-border);
  padding: 2rem 1.2rem 1rem;
  margin-top: 1.5rem;
}

.wa799-footer-brand { font-size: 1.3rem; color: var(--wa799-muted); margin-bottom: 1rem; line-height: 1.6; }
.wa799-footer-brand b { color: var(--wa799-primary); }

.wa799-footer-promos {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.2rem;
}

.wa799-footer-links {
  columns: 2;
  column-gap: 1rem;
  margin-bottom: 1.2rem;
}
.wa799-footer-links a {
  display: block;
  padding: 0.35rem 0;
  color: #b8bdc4;
  font-size: 1.25rem;
  break-inside: avoid;
}
.wa799-footer-links a:hover { color: var(--wa799-primary); }

.wa799-copyright {
  text-align: center;
  font-size: 1.15rem;
  color: #6b7077;
  padding-top: 0.8rem;
  border-top: 1px solid var(--wa799-border);
}

/* ---------- Bottom navigation ---------- */
.wa799-bottom-nav {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 1000;
  height: 6rem;
  background: linear-gradient(180deg, #161616 0%, #0a0a0a 100%);
  border-top: 1px solid var(--wa799-border);
  display: flex;
  justify-content: space-around;
  align-items: stretch;
  padding: 0.2rem 0;
}

.wa799-bottom-nav a {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--wa799-muted);
  font-size: 1rem;
  min-width: 60px;
  min-height: 56px;
  text-decoration: none;
  transition: color 0.15s ease, transform 0.15s ease;
  position: relative;
}

.wa799-bottom-nav a i,
.wa799-bottom-nav a .material-icons {
  font-size: 2.2rem;
  margin-bottom: 0.2rem;
}

.wa799-bottom-nav a:active { transform: scale(0.92); }

.wa799-bottom-nav a.wa799-nav-active { color: var(--wa799-primary); }
.wa799-bottom-nav a.wa799-nav-active::before {
  content: "";
  position: absolute;
  top: 0;
  width: 2.2rem;
  height: 0.25rem;
  background: var(--wa799-primary);
  border-radius: 0 0 0.3rem 0.3rem;
}

.wa799-bottom-nav a.wa799-nav-promo { color: var(--wa799-pink); }
.wa799-bottom-nav a.wa799-nav-promo i { color: var(--wa799-pink); }

.wa799-badge {
  position: absolute;
  top: 0.4rem;
  right: calc(50% - 1.6rem);
  background: #e23b54;
  color: #fff;
  font-size: 0.9rem;
  font-weight: 700;
  border-radius: 0.8rem;
  padding: 0 0.35rem;
  min-width: 1.4rem;
  text-align: center;
  line-height: 1.4rem;
}

@media (min-width: 769px) {
  .wa799-bottom-nav { display: none; }
  .wa799-menu-btn { display: none; }
}

/* ---------- Utility ---------- */
.wa799-center { text-align: center; }
.wa799-mt-1 { margin-top: 0.6rem; }
.wa799-mt-2 { margin-top: 1.2rem; }
.wa799-row { display: flex; gap: 0.6rem; flex-wrap: wrap; }
.wa799-text-primary { color: var(--wa799-primary); font-weight: 700; }
.wa799-text-mint { color: var(--wa799-mint); font-weight: 700; }
