/* ============================================================
 * 32win 18 - v1e3- prefixed stylesheet
 * Palette: #FF0000 / #FDF5E6 / #0D1117 / #FFDEAD / #FFC0CB
 * Mobile-first. Root font 62.5%.
 * ============================================================ */

:root {
  --v1e3-primary: #FF0000;
  --v1e3-bg: #0D1117;
  --v1e3-bg-soft: #141b25;
  --v1e3-cream: #FDF5E6;
  --v1e3-navajo: #FFDEAD;
  --v1e3-pink: #FFC0CB;
  --v1e3-text: #FDF5E6;
  --v1e3-text-muted: #b9c2cf;
  --v1e3-gold: #FFDEAD;
  --v1e3-shadow: 0 4px 18px rgba(0, 0, 0, 0.45);
  --v1e3-radius: 14px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
  font-family: "Be Vietnam Pro", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background: var(--v1e3-bg);
  color: var(--v1e3-text);
  line-height: 1.5;
  font-size: 1.5rem;
  overflow-x: hidden;
}

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

a { color: var(--v1e3-navajo); text-decoration: none; }
a:hover { color: var(--v1e3-pink); }

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

/* ---------------- Header ---------------- */

.v1e3-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: linear-gradient(180deg, #1a0606 0%, #0D1117 100%);
  border-bottom: 2px solid var(--v1e3-primary);
  box-shadow: var(--v1e3-shadow);
}

.v1e3-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 12px;
  max-width: 430px;
  margin: 0 auto;
}

.v1e3-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  font-size: 1.7rem;
  color: var(--v1e3-navajo);
  letter-spacing: 0.4px;
}

.v1e3-logo img { width: 30px; height: 30px; border-radius: 6px; }

.v1e3-logo span { color: var(--v1e3-primary); }

.v1e3-header-actions { display: flex; align-items: center; gap: 8px; }

.v1e3-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border: none;
  cursor: pointer;
  font-weight: 700;
  font-size: 1.3rem;
  padding: 8px 14px;
  border-radius: 30px;
  min-height: 36px;
  transition: transform 0.18s ease, box-shadow 0.18s ease, opacity 0.18s;
}

.v1e3-btn:hover { transform: translateY(-1px); }
.v1e3-btn:active { transform: scale(0.96); }

.v1e3-btn-register {
  background: linear-gradient(90deg, var(--v1e3-primary), #c40000);
  color: #fff;
  box-shadow: 0 4px 12px rgba(255, 0, 0, 0.4);
}

.v1e3-btn-login {
  background: transparent;
  color: var(--v1e3-navajo);
  border: 1.5px solid var(--v1e3-navajo);
}

.v1e3-menu-toggle {
  background: transparent;
  border: none;
  color: var(--v1e3-cream);
  font-size: 2rem;
  cursor: pointer;
  padding: 4px 8px;
  min-width: 44px;
  min-height: 44px;
}

/* ---------------- Mobile menu ---------------- */

.v1e3-menu-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  opacity: 0;
  visibility: hidden;
  z-index: 9998;
  transition: opacity 0.25s ease;
}

.v1e3-backdrop-show { opacity: 1; visibility: visible; }

.v1e3-mobile-menu {
  position: fixed;
  top: 0;
  right: -85%;
  width: 80%;
  max-width: 320px;
  height: 100%;
  background: #11060a;
  border-left: 2px solid var(--v1e3-primary);
  z-index: 9999;
  padding: 70px 16px 30px;
  overflow-y: auto;
  transition: right 0.3s ease;
}

.v1e3-menu-open { right: 0; }

.v1e3-mobile-menu h3 {
  color: var(--v1e3-navajo);
  font-size: 1.5rem;
  margin: 18px 0 8px;
  border-bottom: 1px solid rgba(255, 222, 173, 0.25);
  padding-bottom: 6px;
}

.v1e3-mobile-menu a {
  display: block;
  padding: 10px 8px;
  color: var(--v1e3-cream);
  font-size: 1.4rem;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.08);
}

.v1e3-mobile-menu a:hover { background: rgba(255, 0, 0, 0.12); color: var(--v1e3-pink); }

.v1e3-menu-close {
  position: absolute;
  top: 14px;
  right: 14px;
  background: transparent;
  border: none;
  color: var(--v1e3-cream);
  font-size: 2.2rem;
  cursor: pointer;
}

/* ---------------- Carousel ---------------- */

.v1e3-carousel {
  position: relative;
  margin: 12px 0;
  border-radius: var(--v1e3-radius);
  overflow: hidden;
  box-shadow: var(--v1e3-shadow);
}

.v1e3-slide {
  display: none;
  position: relative;
}

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

.v1e3-slide img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.v1e3-slide-cap {
  position: absolute;
  left: 12px;
  bottom: 12px;
  background: rgba(0, 0, 0, 0.55);
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 1.3rem;
  color: var(--v1e3-cream);
}

.v1e3-slide-cap strong { color: var(--v1e3-navajo); }

.v1e3-carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.45);
  color: #fff;
  border: none;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  font-size: 1.6rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.v1e3-carousel-arrow:hover { background: var(--v1e3-primary); }

.v1e3-arrow-prev { left: 8px; }
.v1e3-arrow-next { right: 8px; }

.v1e3-dots {
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
}

.v1e3-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  border: none;
}

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

/* ---------------- Hero / H1 ---------------- */

.v1e3-hero {
  padding: 18px 0 8px;
  text-align: center;
}

.v1e3-hero h1 {
  font-size: 2.2rem;
  line-height: 1.25;
  color: var(--v1e3-cream);
  margin-bottom: 8px;
}

.v1e3-hero h1 span { color: var(--v1e3-primary); }

.v1e3-hero p {
  color: var(--v1e3-text-muted);
  font-size: 1.4rem;
  margin-bottom: 14px;
}

.v1e3-cta-row {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 8px;
}

.v1e3-cta-row .v1e3-btn { padding: 12px 22px; font-size: 1.4rem; }

/* ---------------- Sections ---------------- */

.v1e3-section {
  padding: 18px 0;
}

.v1e3-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.v1e3-section-head h2 {
  font-size: 1.7rem;
  color: var(--v1e3-navajo);
  position: relative;
  padding-left: 12px;
}

.v1e3-section-head h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  bottom: 4px;
  width: 4px;
  background: var(--v1e3-primary);
  border-radius: 2px;
}

.v1e3-section-more {
  font-size: 1.25rem;
  color: var(--v1e3-pink);
}

/* ---------------- Game grid ---------------- */

.v1e3-game-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.v1e3-game-card {
  background: var(--v1e3-bg-soft);
  border: 1px solid rgba(255, 222, 173, 0.15);
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
  text-align: center;
}

.v1e3-game-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(255, 0, 0, 0.3);
  border-color: var(--v1e3-primary);
}

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

.v1e3-game-card p {
  font-size: 1.15rem;
  padding: 6px;
  color: var(--v1e3-cream);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ---------------- Game search ---------------- */

.v1e3-search-wrap {
  margin: 6px 0 14px;
  display: flex;
  align-items: center;
  background: var(--v1e3-bg-soft);
  border: 1px solid rgba(255, 222, 173, 0.25);
  border-radius: 30px;
  padding: 6px 14px;
}

.v1e3-search-wrap input {
  flex: 1;
  background: transparent;
  border: none;
  color: var(--v1e3-cream);
  font-size: 1.35rem;
  outline: none;
  min-height: 32px;
}

/* ---------------- Cards / features ---------------- */

.v1e3-card {
  background: var(--v1e3-bg-soft);
  border-radius: var(--v1e3-radius);
  padding: 14px;
  border: 1px solid rgba(255, 222, 173, 0.12);
  box-shadow: var(--v1e3-shadow);
  margin-bottom: 12px;
}

.v1e3-card h3 {
  color: var(--v1e3-navajo);
  font-size: 1.5rem;
  margin-bottom: 6px;
}

.v1e3-card p {
  color: var(--v1e3-text-muted);
  font-size: 1.35rem;
  margin-bottom: 6px;
}

.v1e3-feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.v1e3-feature {
  background: linear-gradient(160deg, #1c0a0a, #11060a);
  border: 1px solid rgba(255, 222, 173, 0.18);
  border-radius: 10px;
  padding: 12px;
  text-align: center;
}

.v1e3-feature .v1e3-ic {
  font-size: 2.4rem;
  color: var(--v1e3-primary);
  margin-bottom: 6px;
}

.v1e3-feature h4 {
  color: var(--v1e3-navajo);
  font-size: 1.35rem;
  margin-bottom: 4px;
}

.v1e3-feature p { font-size: 1.2rem; color: var(--v1e3-text-muted); }

/* ---------------- Testimonials ---------------- */

.v1e3-testimonial {
  background: var(--v1e3-bg-soft);
  border-left: 3px solid var(--v1e3-primary);
  border-radius: 8px;
  padding: 12px;
  margin-bottom: 10px;
}

.v1e3-testimonial strong { color: var(--v1e3-navajo); display: block; margin-bottom: 4px; }
.v1e3-testimonial p { color: var(--v1e3-text-muted); font-size: 1.3rem; }

/* ---------------- Payment ---------------- */

.v1e3-pay-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 8px;
}

.v1e3-pay-chip {
  background: var(--v1e3-bg-soft);
  border: 1px solid rgba(255, 222, 173, 0.25);
  color: var(--v1e3-cream);
  border-radius: 20px;
  padding: 6px 12px;
  font-size: 1.2rem;
}

/* ---------------- Winners ---------------- */

.v1e3-winners {
  background: linear-gradient(180deg, #2a0a0a, #11060a);
  border-radius: var(--v1e3-radius);
  padding: 12px;
  border: 1px solid rgba(255, 222, 173, 0.18);
}

.v1e3-winner-row {
  display: flex;
  justify-content: space-between;
  padding: 6px 0;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.08);
  font-size: 1.3rem;
}

.v1e3-winner-row:last-child { border-bottom: none; }
.v1e3-winner-row span:last-child { color: var(--v1e3-primary); font-weight: 700; }

/* ---------------- RTP table ---------------- */

.v1e3-rtp-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 1.3rem;
}

.v1e3-rtp-table th, .v1e3-rtp-table td {
  padding: 8px;
  border-bottom: 1px solid rgba(255, 222, 173, 0.15);
  text-align: left;
}

.v1e3-rtp-table th { color: var(--v1e3-navajo); }
.v1e3-rtp-table td:last-child { color: var(--v1e3-pink); font-weight: 700; }

/* ---------------- SEO content ---------------- */

.v1e3-seo-text {
  background: var(--v1e3-bg-soft);
  border-radius: var(--v1e3-radius);
  padding: 16px;
  border: 1px solid rgba(255, 222, 173, 0.12);
}

.v1e3-seo-text h2 {
  color: var(--v1e3-navajo);
  font-size: 1.7rem;
  margin: 14px 0 8px;
}

.v1e3-seo-text h2:first-child { margin-top: 0; }

.v1e3-seo-text h3 {
  color: var(--v1e3-pink);
  font-size: 1.4rem;
  margin: 12px 0 6px;
}

.v1e3-seo-text p {
  color: var(--v1e3-text-muted);
  font-size: 1.35rem;
  margin-bottom: 10px;
}

.v1e3-seo-text ul, .v1e3-seo-text ol {
  padding-left: 20px;
  margin-bottom: 12px;
  color: var(--v1e3-text-muted);
}

.v1e3-seo-text li { font-size: 1.35rem; margin-bottom: 6px; }

/* ---------------- Footer ---------------- */

.v1e3-footer {
  background: #06090f;
  border-top: 2px solid var(--v1e3-primary);
  padding: 24px 0 90px;
  margin-top: 20px;
}

.v1e3-footer h4 {
  color: var(--v1e3-navajo);
  font-size: 1.5rem;
  margin-bottom: 10px;
}

.v1e3-footer p { color: var(--v1e3-text-muted); font-size: 1.3rem; margin-bottom: 12px; }

.v1e3-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.v1e3-footer-links a {
  background: var(--v1e3-bg-soft);
  border: 1px solid rgba(255, 222, 173, 0.2);
  border-radius: 20px;
  padding: 6px 12px;
  font-size: 1.2rem;
  color: var(--v1e3-cream);
}

.v1e3-footer-links a:hover { background: var(--v1e3-primary); color: #fff; }

.v1e3-footer-bottom {
  text-align: center;
  font-size: 1.2rem;
  color: #6b7480;
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

/* ---------------- Bottom nav ---------------- */

.v1e3-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 62px;
  background: linear-gradient(180deg, #1a0606, #06090f);
  border-top: 2px solid var(--v1e3-primary);
  display: flex;
  justify-content: space-around;
  align-items: center;
  z-index: 1000;
  box-shadow: 0 -3px 14px rgba(0, 0, 0, 0.5);
}

.v1e3-bottom-nav a {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  min-width: 60px;
  min-height: 60px;
  color: var(--v1e3-text-muted);
  font-size: 1.05rem;
  transition: color 0.2s ease, transform 0.2s ease;
}

.v1e3-bottom-nav a .v1e3-ic { font-size: 2.2rem; }

.v1e3-bottom-nav a:hover,
.v1e3-bottom-nav a.v1e3-active {
  color: var(--v1e3-navajo);
  transform: translateY(-2px);
}

.v1e3-bottom-nav a.v1e3-active .v1e3-ic { color: var(--v1e3-primary); }

/* ---------------- Back to top ---------------- */

.v1e3-back-top {
  position: fixed;
  right: 14px;
  bottom: 76px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--v1e3-primary);
  color: #fff;
  border: none;
  font-size: 1.8rem;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.25s ease;
  z-index: 999;
}

.v1e3-back-top-show { opacity: 1; visibility: visible; transform: translateY(0); }

/* ---------------- Promo inline ---------------- */

.v1e3-promo-inline {
  color: var(--v1e3-navajo);
  font-weight: 700;
  border-bottom: 1px dashed var(--v1e3-primary);
  cursor: pointer;
}

.v1e3-promo-inline:hover { color: var(--v1e3-pink); }

.v1e3-note {
  font-size: 1.2rem;
  color: #6b7480;
  font-style: italic;
  margin-top: 8px;
}

/* ---------------- Desktop adaptation ---------------- */

@media (min-width: 768px) {
  body { background: #0D1117; }
  .v1e3-container { max-width: 960px; padding: 0 20px; }
  .v1e3-header-inner { max-width: 960px; }
  .v1e3-game-grid { grid-template-columns: repeat(6, 1fr); }
  .v1e3-feature-grid { grid-template-columns: repeat(4, 1fr); }
  .v1e3-bottom-nav { display: none; }
  .v1e3-footer { padding-bottom: 24px; }
  main { padding-bottom: 0 !important; }
}

/* ---------------- Mobile main padding ---------------- */

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