/* ============================================================
 * 33win01 33win68 - style-ce92.css
 * All custom classes use the "v220-" prefix.
 * Palette: #BC8F8F (rose dust / light) | #1B263B (deep navy / dark)
 * Mobile-first, root font-size 62.5% (1rem = 10px).
 * ============================================================ */

:root {
  --v220-bg: #1B263B;
  --v220-bg-2: #243049;
  --v220-bg-3: #0f1726;
  --v220-primary: #BC8F8F;
  --v220-primary-2: #d8a9a9;
  --v220-accent: #e6b87a;
  --v220-text: #f5efe9;
  --v220-text-dim: #c4b8ad;
  --v220-text-muted: #8a93a6;
  --v220-line: rgba(188, 143, 143, 0.25);
  --v220-radius: 14px;
  --v220-radius-sm: 10px;
  --v220-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
  --v220-max-w: 430px;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: "Be Vietnam Pro", "Segoe UI", system-ui, -apple-system, Arial, sans-serif;
  background: radial-gradient(circle at 20% 0%, #2a3a5a 0%, var(--v220-bg) 55%, var(--v220-bg-3) 100%);
  color: var(--v220-text);
  line-height: 1.5rem;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--v220-primary-2); text-decoration: none; }
a:hover { color: var(--v220-accent); }

.v220-container {
  width: 100%;
  max-width: var(--v220-max-w);
  margin: 0 auto;
  padding: 0 12px;
}

.v220-wrapper { width: 100%; }

/* ===================== Header ===================== */
.v220-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: linear-gradient(180deg, rgba(15,23,38,0.96), rgba(27,38,59,0.92));
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--v220-line);
}
.v220-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 12px;
  min-height: 56px;
}
.v220-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--v220-text);
  letter-spacing: 0.3px;
}
.v220-logo .v220-logo-ico {
  width: 28px; height: 28px;
  background: linear-gradient(135deg, var(--v220-primary), var(--v220-accent));
  border-radius: 8px;
  display: grid; place-items: center;
  color: #1B263B;
  font-weight: 800;
  font-size: 1.4rem;
}
.v220-logo small { display: block; font-size: 1rem; color: var(--v220-primary-2); font-weight: 600; }

.v220-header-actions { display: flex; align-items: center; gap: 6px; }
.v220-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 0;
  border-radius: 999px;
  padding: 9px 16px;
  font-size: 1.25rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .2s ease;
  min-height: 36px;
  font-family: inherit;
}
.v220-btn:active { transform: scale(0.96); }
.v220-btn-primary {
  background: linear-gradient(135deg, var(--v220-primary), var(--v220-accent));
  color: #1B263B;
  box-shadow: 0 4px 14px rgba(188,143,143,0.45);
}
.v220-btn-outline {
  background: transparent;
  color: var(--v220-text);
  border: 1.5px solid var(--v220-primary);
}
.v220-btn-block { width: 100%; justify-content: center; }

.v220-icon-btn {
  background: transparent;
  border: 1px solid var(--v220-line);
  border-radius: 10px;
  padding: 8px;
  color: var(--v220-text);
  font-size: 1.8rem;
  cursor: pointer;
  min-width: 38px; min-height: 38px;
  display: grid; place-items: center;
}

/* ===================== Mobile menu ===================== */
.v220-mobile-menu {
  position: fixed;
  top: 0; right: -100%;
  width: 80%;
  max-width: 320px;
  height: 100vh;
  background: var(--v220-bg-3);
  z-index: 9999;
  padding: 70px 18px 24px;
  transition: right .28s ease;
  overflow-y: auto;
  border-left: 1px solid var(--v220-line);
  box-shadow: var(--v220-shadow);
}
.v220-mobile-menu.v220-menu-open { right: 0; }
.v220-menu-close {
  position: absolute; top: 14px; right: 14px;
  background: transparent; border: 0; color: var(--v220-text);
  font-size: 2rem; cursor: pointer;
}
.v220-mobile-menu h3 {
  font-size: 1.3rem; color: var(--v220-primary-2);
  margin: 16px 0 8px; letter-spacing: 0.4px; text-transform: uppercase;
}
.v220-mobile-menu a {
  display: block;
  padding: 11px 12px;
  border-radius: 10px;
  color: var(--v220-text);
  font-size: 1.35rem;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.v220-mobile-menu a:hover { background: rgba(188,143,143,0.12); color: var(--v220-accent); }
.v220-menu-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.55);
  z-index: 9998;
  opacity: 0; pointer-events: none;
  transition: opacity .25s ease;
}
.v220-menu-overlay.v220-menu-open { opacity: 1; pointer-events: auto; }

/* ===================== Main ===================== */
.v220-main { padding-bottom: 90px; padding-top: 8px; }

.v220-section { margin: 22px 0; }
.v220-section-title {
  font-size: 1.7rem; font-weight: 800;
  margin: 0 0 4px; color: var(--v220-text);
  display: flex; align-items: center; gap: 8px;
}
.v220-section-title i { color: var(--v220-primary); }
.v220-section-sub { font-size: 1.2rem; color: var(--v220-text-dim); margin: 0 0 12px; }
.v220-divider { height: 3px; width: 48px; background: linear-gradient(90deg, var(--v220-primary), var(--v220-accent)); border-radius: 3px; margin: 6px 0 14px; }

/* ===================== Carousel ===================== */
.v220-carousel {
  position: relative;
  border-radius: var(--v220-radius);
  overflow: hidden;
  box-shadow: var(--v220-shadow);
  margin: 10px 0 18px;
}
.v220-slide {
  position: relative;
  display: none;
  cursor: pointer;
}
.v220-slide.v220-slide-active { display: block; }
.v220-slide img { width: 100%; height: 180px; object-fit: cover; }
.v220-slide-caption {
  position: absolute; left: 0; right: 0; bottom: 0;
  background: linear-gradient(0deg, rgba(15,23,38,0.92), transparent);
  padding: 26px 14px 12px;
}
.v220-slide-caption h2 { margin: 0; font-size: 1.55rem; color: var(--v220-text); }
.v220-slide-caption p { margin: 4px 0 0; font-size: 1.15rem; color: var(--v220-text-dim); }
.v220-carousel-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  background: rgba(27,38,59,0.7); border: 0; color: #fff;
  width: 32px; height: 32px; border-radius: 50%;
  font-size: 1.4rem; cursor: pointer; display: grid; place-items: center;
}
.v220-carousel-arrow.v220-prev { left: 8px; }
.v220-carousel-arrow.v220-next { right: 8px; }
.v220-dots {
  position: absolute; bottom: 8px; left: 0; right: 0;
  display: flex; justify-content: center; gap: 6px;
}
.v220-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: rgba(255,255,255,0.45); border: 0; cursor: pointer; padding: 0;
}
.v220-dot.v220-dot-active { background: var(--v220-accent); width: 18px; border-radius: 5px; }

/* ===================== Hero CTA ===================== */
.v220-hero-cta {
  background: linear-gradient(135deg, rgba(188,143,143,0.18), rgba(230,184,122,0.10));
  border: 1px solid var(--v220-line);
  border-radius: var(--v220-radius);
  padding: 16px;
  margin: 14px 0;
  text-align: center;
}
.v220-hero-cta h1 { font-size: 1.9rem; margin: 0 0 6px; line-height: 1.35; }
.v220-hero-cta p { font-size: 1.25rem; color: var(--v220-text-dim); margin: 0 0 12px; }
.v220-cta-row { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; }

/* ===================== Game grid ===================== */
.v220-game-region { margin: 18px 0; }
.v220-game-region h2 {
  font-size: 1.5rem; margin: 0 0 10px;
  color: var(--v220-text);
  display: flex; align-items: center; gap: 8px;
}
.v220-game-region h2 .v220-tag {
  background: linear-gradient(135deg, var(--v220-primary), var(--v220-accent));
  color: #1B263B; font-size: 1rem; padding: 2px 8px; border-radius: 6px;
}
.v220-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.v220-card {
  background: var(--v220-bg-2);
  border: 1px solid var(--v220-line);
  border-radius: var(--v220-radius-sm);
  overflow: hidden;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, border-color .2s ease;
  position: relative;
}
.v220-card:active { transform: scale(0.97); border-color: var(--v220-primary); }
.v220-card-img {
  width: 100%; aspect-ratio: 1 / 1; object-fit: cover;
  background: #0f1726;
}
.v220-card-name {
  font-size: 1.1rem;
  color: var(--v220-text);
  padding: 6px 6px 8px;
  text-align: center;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.v220-card-hot {
  position: absolute; top: 4px; right: 4px;
  background: #e63946; color: #fff;
  font-size: 0.9rem; padding: 1px 6px; border-radius: 5px;
}

/* ===================== Info / feature blocks ===================== */
.v220-panel {
  background: var(--v220-bg-2);
  border: 1px solid var(--v220-line);
  border-radius: var(--v220-radius);
  padding: 16px;
  margin: 14px 0;
}
.v220-panel h2 { margin: 0 0 6px; font-size: 1.6rem; }
.v220-panel h3 { margin: 14px 0 6px; font-size: 1.35rem; color: var(--v220-primary-2); }
.v220-panel p { font-size: 1.22rem; color: var(--v220-text-dim); margin: 0 0 8px; }
.v220-panel ul { padding-left: 18px; margin: 6px 0; color: var(--v220-text-dim); font-size: 1.2rem; }
.v220-panel li { margin-bottom: 4px; }

.v220-feature-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px;
}
.v220-feature {
  background: var(--v220-bg-3);
  border: 1px solid var(--v220-line);
  border-radius: var(--v220-radius-sm);
  padding: 12px;
  text-align: center;
}
.v220-feature i { font-size: 2.4rem; color: var(--v220-accent); margin-bottom: 6px; }
.v220-feature h4 { margin: 4px 0 2px; font-size: 1.25rem; color: var(--v220-text); }
.v220-feature p { margin: 0; font-size: 1.1rem; color: var(--v220-text-muted); }

.v220-faq-item {
  border-bottom: 1px solid var(--v220-line);
  padding: 10px 0;
}
.v220-faq-item h4 { margin: 0 0 4px; font-size: 1.25rem; color: var(--v220-primary-2); }
.v220-faq-item p { margin: 0; font-size: 1.18rem; color: var(--v220-text-dim); }

.v220-testimonial {
  background: var(--v220-bg-3);
  border-left: 3px solid var(--v220-primary);
  border-radius: 8px;
  padding: 10px 12px;
  margin-bottom: 8px;
}
.v220-testimonial p { margin: 0 0 4px; font-size: 1.18rem; color: var(--v220-text-dim); }
.v220-testimonial span { font-size: 1.05rem; color: var(--v220-accent); font-weight: 700; }

.v220-winner-row {
  display: flex; justify-content: space-between; align-items: center;
  background: var(--v220-bg-3);
  border-radius: 8px; padding: 8px 10px; margin-bottom: 6px;
  font-size: 1.15rem;
}
.v220-winner-row b { color: var(--v220-accent); }

.v220-pay-grid { display: flex; flex-wrap: wrap; gap: 8px; }
.v220-pay-chip {
  background: var(--v220-bg-3);
  border: 1px solid var(--v220-line);
  border-radius: 8px;
  padding: 8px 12px;
  font-size: 1.15rem; color: var(--v220-text-dim);
  display: flex; align-items: center; gap: 6px;
}
.v220-pay-chip i { color: var(--v220-primary); }

/* ===================== Footer ===================== */
.v220-footer {
  background: var(--v220-bg-3);
  border-top: 1px solid var(--v220-line);
  padding: 22px 12px 30px;
  margin-top: 24px;
}
.v220-footer h4 { font-size: 1.25rem; color: var(--v220-primary-2); margin: 14px 0 6px; }
.v220-footer p { font-size: 1.15rem; color: var(--v220-text-muted); margin: 0 0 8px; }
.v220-footer-links {
  display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0;
}
.v220-footer-links a {
  font-size: 1.12rem; color: var(--v220-text-dim);
  background: rgba(188,143,143,0.08);
  padding: 4px 10px; border-radius: 6px;
}
.v220-footer-links a:hover { background: rgba(188,143,143,0.18); color: var(--v220-accent); }
.v220-footer-cta { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0; }
.v220-copy { font-size: 1.05rem; color: var(--v220-text-muted); text-align: center; margin-top: 14px; }

/* ===================== Bottom nav ===================== */
.v220-bottom-nav {
  position: fixed; left: 0; right: 0; bottom: 0;
  height: 62px;
  background: linear-gradient(180deg, rgba(36,48,73,0.98), rgba(15,23,38,0.99));
  border-top: 1px solid var(--v220-line);
  display: flex; justify-content: space-around; align-items: stretch;
  z-index: 1000;
  box-shadow: 0 -6px 18px rgba(0,0,0,0.35);
}
.v220-bottom-nav-btn {
  flex: 1; min-width: 60px;
  background: transparent; border: 0;
  color: var(--v220-text-muted);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 2px;
  font-size: 1rem; font-family: inherit;
  cursor: pointer; padding: 4px 2px;
  transition: color .2s ease, transform .15s ease;
}
.v220-bottom-nav-btn i { font-size: 22px; }
.v220-bottom-nav-btn .material-icons-outlined,
.v220-bottom-nav-btn .material-icons { font-size: 24px; }
.v220-bottom-nav-btn:active { transform: scale(0.92); }
.v220-bottom-nav-btn:hover { color: var(--v220-primary-2); }
.v220-bottom-nav-active { color: var(--v220-accent); }
.v220-bottom-nav-active::after {
  content: ""; display: block; width: 26px; height: 3px;
  background: var(--v220-accent); border-radius: 3px; margin-top: 2px;
}
.v220-bottom-nav-promo {
  background: linear-gradient(135deg, var(--v220-primary), var(--v220-accent));
  color: #1B263B; border-radius: 14px 14px 0 0;
  position: relative; top: -8px;
}

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

/* ===================== Desktop ===================== */
@media (min-width: 769px) {
  body { background: radial-gradient(circle at 30% 0%, #2a3a5a 0%, var(--v220-bg) 55%, var(--v220-bg-3) 100%); }
  .v220-container { max-width: 960px; padding: 0 20px; }
  .v220-bottom-nav { display: none; }
  .v220-main { padding-bottom: 30px; }
  .v220-grid { grid-template-columns: repeat(6, 1fr); }
  .v220-feature-grid { grid-template-columns: repeat(4, 1fr); }
  .v220-slide img { height: 320px; }
  .v220-header-actions .v220-icon-btn { display: none; }
}

@media (max-width: 768px) {
  .v220-desktop-only { display: none; }
}
