/*!
 * 23vin - Common CSS Module
 * All custom classes use the "wed92-" prefix.
 * Mobile-first design, main container max-width: 430px.
 * Palette: #B2DFDB | #1A1A1A | #808080 | #C0C0C0
 */
:root {
  --wed92-primary: #B2DFDB;
  --wed92-accent: #C0C0C0;
  --wed92-bg: #1A1A1A;
  --wed92-bg-alt: #242424;
  --wed92-text: #F5F5F5;
  --wed92-text-muted: #C0C0C0;
  --wed92-gray: #808080;
  --wed92-border: #333333;
  --wed92-success: #B2DFDB;
  --wed92-warn: #E0B0B0;
  --wed92-radius: 12px;
  --wed92-shadow: 0 4px 16px rgba(0, 0, 0, 0.45);
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 62.5%; -webkit-text-size-adjust: 100%; }
body {
  font-family: "Segoe UI", "Roboto", "Inter", "Helvetica Neue", Arial, sans-serif;
  background-color: var(--wed92-bg);
  color: var(--wed92-text);
  line-height: 1.5rem;
  font-size: 1.6rem;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: var(--wed92-primary); text-decoration: none; }
img { max-width: 100%; display: block; }
ul, ol { list-style: none; }
button { cursor: pointer; font-family: inherit; border: none; background: none; color: inherit; }

/* Layout container - enforces mobile-first width limit */
.wed92-wrapper {
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
  background-color: var(--wed92-bg);
  min-height: 100vh;
  position: relative;
}
.wed92-container {
  width: 100%;
  max-width: 430px;
  padding: 0 1.4rem;
  margin: 0 auto;
}
main.wed92-main {
  padding-top: 6.4rem;
  padding-bottom: 8.4rem;
}

/* ===== Header ===== */
.wed92-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: linear-gradient(90deg, #1A1A1A 0%, #242424 60%, #1A1A1A 100%);
  border-bottom: 1px solid var(--wed92-border);
  box-shadow: var(--wed92-shadow);
}
.wed92-header-inner {
  max-width: 430px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.7rem 1.2rem;
  gap: 0.8rem;
}
.wed92-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--wed92-text);
  letter-spacing: 0.3px;
}
.wed92-logo img { width: 28px; height: 28px; border-radius: 6px; }
.wed92-logo .wed92-logo-accent { color: var(--wed92-primary); }

.wed92-auth-btns { display: flex; gap: 0.5rem; align-items: center; }
.wed92-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.6rem 1.1rem;
  border-radius: 999px;
  font-size: 1.25rem;
  font-weight: 700;
  min-height: 36px;
  transition: transform .15s ease, background .2s ease;
  -webkit-tap-highlight-color: transparent;
}
.wed92-btn:active { transform: scale(0.95); }
.wed92-btn-register {
  background: linear-gradient(135deg, #B2DFDB 0%, #8AC9C3 100%);
  color: #1A1A1A;
}
.wed92-btn-login {
  background: transparent;
  border: 1px solid var(--wed92-accent);
  color: var(--wed92-text);
}
.wed92-menu-toggle {
  width: 36px; height: 36px;
  border-radius: 8px;
  background: rgba(178, 223, 219, 0.12);
  color: var(--wed92-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
}

/* ===== Expandable Mobile Menu ===== */
.wed92-mobile-menu {
  position: fixed;
  top: 5.6rem; right: 0;
  width: 78%;
  max-width: 320px;
  background: var(--wed92-bg-alt);
  border-left: 1px solid var(--wed92-border);
  border-bottom: 1px solid var(--wed92-border);
  box-shadow: var(--wed92-shadow);
  padding: 1rem 0.6rem;
  transform: translateX(110%);
  transition: transform .28s ease;
  z-index: 9999;
  border-radius: 0 0 0 14px;
  max-height: calc(100vh - 5.6rem);
  overflow-y: auto;
}
.wed92-mobile-menu.wed92-menu-open { transform: translateX(0); }
.wed92-mobile-menu h4 {
  font-size: 1.25rem;
  color: var(--wed92-primary);
  padding: 0.4rem 0.8rem;
  margin-top: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.6px;
}
.wed92-mobile-menu a {
  display: block;
  padding: 0.75rem 0.9rem;
  border-radius: 8px;
  color: var(--wed92-text);
  font-size: 1.4rem;
  border-bottom: 1px solid rgba(192,192,192,0.08);
}
.wed92-mobile-menu a:active { background: rgba(178,223,219,0.12); }

/* ===== Carousel ===== */
.wed92-carousel {
  position: relative;
  width: 100%;
  height: 18rem;
  border-radius: var(--wed92-radius);
  overflow: hidden;
  margin: 1.4rem 0;
  box-shadow: var(--wed92-shadow);
}
.wed92-carousel-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity .6s ease;
}
.wed92-carousel-slide.wed92-slide-active { opacity: 1; }
.wed92-carousel-slide img { width: 100%; height: 100%; object-fit: cover; cursor: pointer; }
.wed92-carousel-dots {
  position: absolute;
  bottom: 0.8rem; left: 0; right: 0;
  display: flex; justify-content: center; gap: 0.5rem;
}
.wed92-carousel-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(192,192,192,0.45);
}
.wed92-carousel-dot.wed92-dot-active { background: var(--wed92-primary); width: 22px; border-radius: 4px; }

/* ===== Section ===== */
.wed92-section {
  margin: 2.2rem 0;
  padding: 0;
}
.wed92-section-title {
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--wed92-text);
  margin-bottom: 0.8rem;
  padding-left: 0.6rem;
  border-left: 4px solid var(--wed92-primary);
}
.wed92-section-subtitle {
  font-size: 1.3rem;
  color: var(--wed92-text-muted);
  margin-bottom: 0.8rem;
}

/* ===== Game Grid ===== */
.wed92-cat-title {
  font-size: 1.45rem;
  color: var(--wed92-primary);
  margin: 1.6rem 0 0.9rem;
  font-weight: 700;
  display: flex; align-items: center; gap: 0.5rem;
}
.wed92-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.8rem;
}
.wed92-game-card {
  background: var(--wed92-bg-alt);
  border: 1px solid var(--wed92-border);
  border-radius: 10px;
  padding: 0.6rem 0.4rem;
  text-align: center;
  transition: transform .15s ease, border-color .2s ease;
}
.wed92-game-card:active { transform: scale(0.96); border-color: var(--wed92-primary); }
.wed92-game-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 0.4rem;
}
.wed92-game-card .wed92-game-name {
  font-size: 1.15rem;
  color: var(--wed92-text);
  line-height: 1.3rem;
  height: 2.6rem;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

/* ===== Cards & Generic blocks ===== */
.wed92-card {
  background: var(--wed92-bg-alt);
  border: 1px solid var(--wed92-border);
  border-radius: var(--wed92-radius);
  padding: 1.2rem;
  margin-bottom: 1rem;
}
.wed92-card h3 { font-size: 1.4rem; color: var(--wed92-primary); margin-bottom: 0.5rem; }
.wed92-card p { color: var(--wed92-text); font-size: 1.3rem; }

/* Promo link / inline text link */
.wed92-promo-link {
  color: var(--wed92-primary);
  font-weight: 700;
  border-bottom: 1px dashed var(--wed92-primary);
}
.wed92-cta-row {
  display: flex; gap: 0.6rem; flex-wrap: wrap;
  margin: 1rem 0;
}
.wed92-cta-large {
  background: linear-gradient(135deg, #B2DFDB 0%, #8AC9C3 100%);
  color: #1A1A1A;
  padding: 1rem 1.6rem;
  border-radius: 12px;
  font-size: 1.45rem;
  font-weight: 800;
  flex: 1;
  text-align: center;
  min-width: 200px;
}

/* ===== RTP compact stats ===== */
.wed92-stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.7rem;
}
.wed92-stat {
  background: var(--wed92-bg-alt);
  border-radius: 10px;
  padding: 0.8rem;
  text-align: center;
  border: 1px solid var(--wed92-border);
}
.wed92-stat-num { font-size: 1.8rem; font-weight: 800; color: var(--wed92-primary); }
.wed92-stat-label { font-size: 1.1rem; color: var(--wed92-text-muted); }

/* ===== Testimonials ===== */
.wed92-testimonial {
  background: var(--wed92-bg-alt);
  border-left: 3px solid var(--wed92-primary);
  border-radius: 8px;
  padding: 0.9rem;
  margin-bottom: 0.7rem;
}
.wed92-testimonial .wed92-quote { font-size: 1.3rem; color: var(--wed92-text); font-style: italic; }
.wed92-testimonial .wed92-author { font-size: 1.15rem; color: var(--wed92-text-muted); margin-top: 0.4rem; }

/* ===== Payment ===== */
.wed92-payment-row { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.wed92-payment-chip {
  background: var(--wed92-bg-alt);
  border: 1px solid var(--wed92-border);
  border-radius: 999px;
  padding: 0.45rem 0.9rem;
  font-size: 1.15rem;
  color: var(--wed92-text-muted);
}

/* ===== App CTA ===== */
.wed92-app-cta {
  background: linear-gradient(135deg, rgba(178,223,219,0.18), rgba(192,192,192,0.08));
  border: 1px solid var(--wed92-border);
  border-radius: 14px;
  padding: 1.2rem;
  text-align: center;
}

/* ===== Footer ===== */
.wed92-footer {
  background: var(--wed92-bg-alt);
  border-top: 1px solid var(--wed92-border);
  padding: 1.6rem 1.4rem 2rem;
  color: var(--wed92-text-muted);
  font-size: 1.2rem;
  margin-top: 2rem;
}
.wed92-footer-links {
  display: flex; flex-wrap: wrap; gap: 0.4rem 0.8rem;
  margin: 0.8rem 0;
}
.wed92-footer-links a {
  color: var(--wed92-text-muted);
  font-size: 1.15rem;
  text-decoration: underline;
}
.wed92-footer-promos { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 0.8rem 0; }
.wed92-footer-promos button {
  background: rgba(178,223,219,0.12);
  color: var(--wed92-primary);
  border-radius: 8px;
  padding: 0.5rem 0.8rem;
  font-size: 1.15rem;
  font-weight: 700;
}
.wed92-footer-copy { color: var(--wed92-gray); font-size: 1.1rem; margin-top: 0.6rem; }

/* ===== Bottom Nav ===== */
.wed92-bottom-nav {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  height: 62px;
  background: linear-gradient(180deg, #242424 0%, #1A1A1A 100%);
  border-top: 1px solid var(--wed92-border);
  display: flex;
  justify-content: space-around;
  align-items: stretch;
  z-index: 1000;
  box-shadow: 0 -3px 14px rgba(0,0,0,0.5);
}
.wed92-bottom-nav-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.2rem;
  color: var(--wed92-text-muted);
  font-size: 1.05rem;
  min-width: 60px;
  min-height: 60px;
  padding: 0.3rem;
  transition: color .2s ease, transform .15s ease;
}
.wed92-bottom-nav-item .wed92-nav-icon { font-size: 22px; line-height: 1; }
.wed92-bottom-nav-item .wed92-nav-label { font-size: 1.05rem; }
.wed92-bottom-nav-item:active { transform: scale(0.92); color: var(--wed92-primary); }
.wed92-bottom-nav-item.wed92-nav-active { color: var(--wed92-primary); }
.wed92-bottom-nav-item.wed92-nav-promo .wed92-nav-icon { color: var(--wed92-primary); }

/* ===== Desktop: hide bottom nav ===== */
@media (min-width: 769px) {
  .wed92-bottom-nav { display: none; }
  main.wed92-main { padding-bottom: 2rem; }
}

/* Mobile bottom padding clearance handled in main rule */
@media (max-width: 768px) {
  main.wed92-main { padding-bottom: 80px; }
}

/* Utility */
.wed92-text-center { text-align: center; }
.wed92-mt-1 { margin-top: 0.6rem; }
.wed92-mt-2 { margin-top: 1.2rem; }
.wed92-hidden { display: none; }
