/* ===========================================================
 * rr87.click - core stylesheet (basefiles)
 * Class prefix: v211-
 * Palette: #006400 / #2C3E50 / #DA70D6 / #D3D3D3 / #4B0082 / #98FB98
 * Mobile-first, max 430px.
 * =========================================================== */

:root {
  --v211-primary: #006400;
  --v211-deep: #2C3E50;
  --v211-indigo: #4B0082;
  --v211-accent: #DA70D6;
  --v211-mint: #98FB98;
  --v211-light: #D3D3D3;
  --v211-bg: #0f1a14;
  --v211-bg2: #142a1d;
  --v211-card: #1b3526;
  --v211-text: #f5f7f5;
  --v211-muted: #b7c7bc;
  --v211-gold: #ffd76a;
  --v211-radius: 14px;
  --v211-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
}

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

html { font-size: 62.5%; }

html, body {
  background: var(--v211-bg);
  color: var(--v211-text);
  font-family: "Segoe UI", "Be Vietnam Pro", Roboto, Arial, sans-serif;
  line-height: 1.5;
  -webkit-text-size-adjust: 100%;
}

body { max-width: 430px; margin: 0 auto; position: relative; overflow-x: hidden; }

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

a { color: var(--v211-mint); text-decoration: none; }

.v211-wrapper { width: 100%; padding: 0 1.2rem; }
.v211-container { width: 100%; }
.v211-hidden { display: none !important; }

/* ===== Header ===== */
.v211-header {
  position: fixed; top: 0; left: 50%; transform: translateX(-50%);
  width: 100%; max-width: 430px;
  background: linear-gradient(135deg, #003200 0%, #2C3E50 60%, #4B0082 100%);
  border-bottom: 1px solid rgba(218, 112, 214, 0.35);
  z-index: 1000;
  padding: 0.7rem 1rem;
}
.v211-header-row { display: flex; align-items: center; justify-content: space-between; gap: 0.6rem; }
.v211-logo { display: flex; align-items: center; gap: 0.55rem; color: #fff; font-weight: 800; font-size: 1.5rem; }
.v211-logo img { width: 2.6rem; height: 2.6rem; border-radius: 0.6rem; }
.v211-logo span { color: var(--v211-gold); }

.v211-actions { display: flex; align-items: center; gap: 0.5rem; }
.v211-btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 0.4rem;
  border: none; cursor: pointer;
  font-size: 1.25rem; font-weight: 700;
  padding: 0.55rem 1rem; border-radius: 999px;
  transition: transform 0.15s ease, filter 0.15s ease;
}
.v211-btn:active { transform: scale(0.94); }
.v211-btn-register {
  background: linear-gradient(135deg, #DA70D6, #4B0082);
  color: #fff;
  box-shadow: 0 4px 12px rgba(218, 112, 214, 0.45);
}
.v211-btn-login {
  background: transparent; color: var(--v211-mint);
  border: 1.5px solid var(--v211-mint);
}
.v211-menu-btn {
  background: transparent; border: none; color: #fff;
  font-size: 1.6rem; cursor: pointer;
  padding: 0.3rem 0.4rem;
}

/* ===== Nav menu ===== */
.v211-nav-menu {
  max-height: 0; overflow: hidden;
  transition: max-height 0.28s ease;
  background: rgba(0, 0, 0, 0.45);
}
.v211-nav-menu.v211-nav-open { max-height: 520px; }
.v211-nav-menu ul { list-style: none; padding: 0.4rem 1rem 0.8rem; }
.v211-nav-menu li { padding: 0.55rem 0.4rem; border-bottom: 1px solid rgba(255,255,255,0.07); }
.v211-nav-menu a { color: var(--v211-text); font-size: 1.3rem; display: flex; align-items: center; gap: 0.6rem; }
.v211-nav-menu a:hover { color: var(--v211-gold); }

/* ===== Main ===== */
.v211-main { padding-top: 6rem; padding-bottom: 9rem; }
.v211-section { padding: 1.6rem 0; }
.v211-section-title {
  font-size: 1.55rem; font-weight: 800; color: var(--v211-gold);
  margin-bottom: 0.8rem; display: flex; align-items: center; gap: 0.55rem;
}
.v211-section-title i { color: var(--v211-accent); }
.v211-h1 {
  font-size: 1.9rem; line-height: 1.35; font-weight: 800;
  background: linear-gradient(90deg, var(--v211-mint), var(--v211-gold));
  -webkit-background-clip: text; background-clip: text; color: transparent;
  margin-bottom: 0.8rem;
}
.v211-lead { font-size: 1.28rem; color: var(--v211-muted); }

/* ===== Carousel ===== */
.v211-carousel {
  position: relative; border-radius: var(--v211-radius);
  overflow: hidden; box-shadow: var(--v211-shadow);
  margin-bottom: 0.4rem;
}
.v211-slide {
  display: none; position: relative; cursor: pointer;
}
.v211-slide.v211-slide-active { display: block; }
.v211-slide img { width: 100%; height: 17rem; object-fit: cover; }
.v211-slide-cap {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 0.8rem 1rem;
  background: linear-gradient(to top, rgba(0,0,0,0.85), transparent);
  color: #fff; font-size: 1.2rem; font-weight: 600;
}
.v211-dots { display: flex; gap: 0.4rem; justify-content: center; padding: 0.6rem 0; }
.v211-dot {
  width: 0.7rem; height: 0.7rem; border-radius: 50%;
  background: rgba(255,255,255,0.3); cursor: pointer;
}
.v211-dot.v211-dot-active { background: var(--v211-gold); }

/* ===== Category tabs ===== */
.v211-cat-tabs {
  display: flex; gap: 0.4rem; overflow-x: auto; padding: 0.4rem 0 0.8rem;
  scrollbar-width: none;
}
.v211-cat-tabs::-webkit-scrollbar { display: none; }
.v211-cat-tab {
  flex: 0 0 auto; padding: 0.45rem 0.9rem;
  border-radius: 999px; background: var(--v211-card);
  color: var(--v211-text); font-size: 1.15rem; font-weight: 600;
  cursor: pointer; white-space: nowrap; border: 1px solid transparent;
}
.v211-cat-tab.v211-cat-tab-active {
  background: linear-gradient(135deg, #DA70D6, #4B0082);
  color: #fff;
}

/* ===== Game grid ===== */
.v211-game-group { margin-bottom: 1.6rem; }
.v211-game-group-title {
  font-size: 1.3rem; color: var(--v211-accent); font-weight: 700;
  margin-bottom: 0.6rem; border-left: 3px solid var(--v211-gold);
  padding-left: 0.6rem;
}
.v211-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.6rem;
}
.v211-game-card {
  display: flex; flex-direction: column; align-items: center;
  background: var(--v211-card); border-radius: 0.8rem;
  padding: 0.55rem 0.35rem; cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  border: 1px solid rgba(218,112,214,0.15);
}
.v211-game-card:hover { transform: translateY(-2px); box-shadow: var(--v211-shadow); }
.v211-game-card img { width: 100%; height: 6rem; object-fit: cover; border-radius: 0.55rem; }
.v211-game-name {
  margin-top: 0.35rem; font-size: 1rem; text-align: center;
  color: var(--v211-text); line-height: 1.25;
  height: 2.6rem; overflow: hidden;
}

/* ===== Promo banner CTA ===== */
.v211-cta {
  background: linear-gradient(135deg, #006400, #4B0082);
  border-radius: var(--v211-radius); padding: 1.2rem;
  text-align: center; margin: 1.4rem 0;
}
.v211-cta h3 { color: var(--v211-gold); font-size: 1.45rem; margin-bottom: 0.4rem; }
.v211-cta p { color: #fff; font-size: 1.15rem; margin-bottom: 0.7rem; }
.v211-cta-link {
  display: inline-block; padding: 0.6rem 1.4rem;
  background: var(--v211-gold); color: #1a1a1a;
  font-weight: 800; border-radius: 999px; cursor: pointer;
}

/* ===== Feature / info cards ===== */
.v211-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.7rem; }
.v211-card {
  background: var(--v211-card); border-radius: 0.9rem;
  padding: 0.9rem; border: 1px solid rgba(152,251,152,0.15);
}
.v211-card i { font-size: 1.6rem; color: var(--v211-accent); margin-bottom: 0.35rem; }
.v211-card h4 { font-size: 1.2rem; color: var(--v211-gold); margin-bottom: 0.3rem; }
.v211-card p { font-size: 1.1rem; color: var(--v211-muted); }

/* ===== RTP table ===== */
.v211-rtp-table { width: 100%; border-collapse: collapse; font-size: 1.1rem; }
.v211-rtp-table th, .v211-rtp-table td {
  padding: 0.55rem 0.6rem; text-align: left;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.v211-rtp-table th { color: var(--v211-gold); }
.v211-rtp-table td { color: var(--v211-text); }
.v211-rtp-table tr td:last-child { color: var(--v211-mint); font-weight: 700; }

/* ===== Testimonials ===== */
.v211-quote {
  background: var(--v211-card); padding: 0.9rem; border-radius: 0.9rem;
  margin-bottom: 0.6rem; border-left: 3px solid var(--v211-accent);
}
.v211-quote p { font-size: 1.12rem; color: var(--v211-text); font-style: italic; }
.v211-quote span { display: block; margin-top: 0.3rem; color: var(--v211-gold); font-size: 1.05rem; }

/* ===== Winners ===== */
.v211-winners {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.5rem;
}
.v211-winner {
  background: var(--v211-card); padding: 0.55rem 0.7rem; border-radius: 0.6rem;
  font-size: 1.08rem; display: flex; justify-content: space-between; align-items: center;
}
.v211-winner b { color: var(--v211-mint); }

/* ===== Payments ===== */
.v211-payments { display: flex; flex-wrap: wrap; gap: 0.45rem; }
.v211-pay {
  flex: 1 1 30%; background: var(--v211-card); padding: 0.55rem;
  border-radius: 0.55rem; text-align: center; font-size: 1.05rem; color: var(--v211-text);
}
.v211-pay i { color: var(--v211-gold); display: block; font-size: 1.3rem; margin-bottom: 0.2rem; }

/* ===== FAQ ===== */
.v211-faq-item {
  background: var(--v211-card); border-radius: 0.8rem;
  margin-bottom: 0.5rem; overflow: hidden; cursor: pointer;
}
.v211-faq-q {
  padding: 0.7rem 0.9rem; font-size: 1.15rem; font-weight: 700; color: var(--v211-text);
  display: flex; justify-content: space-between; align-items: center;
}
.v211-faq-q i { color: var(--v211-accent); }
.v211-faq-a {
  max-height: 0; overflow: hidden; transition: max-height 0.25s ease;
  padding: 0 0.9rem; font-size: 1.1rem; color: var(--v211-muted);
}
.v211-faq-item.v211-faq-open .v211-faq-a { max-height: 320px; padding: 0 0.9rem 0.8rem; }

/* ===== Footer ===== */
.v211-footer {
  background: linear-gradient(135deg, #0a2a14, #2C3E50);
  padding: 1.6rem 1.2rem 2rem;
  color: var(--v211-muted); font-size: 1.1rem;
  border-top: 2px solid rgba(218,112,214,0.3);
}
.v211-footer-brand { margin-bottom: 0.8rem; color: var(--v211-text); }
.v211-footer-brand b { color: var(--v211-gold); }
.v211-footer-links {
  display: flex; flex-wrap: wrap; gap: 0.45rem 0.9rem; margin: 0.7rem 0;
}
.v211-footer-links a { color: var(--v211-light); font-size: 1.08rem; }
.v211-footer-links a:hover { color: var(--v211-mint); }
.v211-footer-promos {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.5rem; margin: 0.8rem 0;
}
.v211-footer-promos button {
  background: var(--v211-indigo); color: #fff; border: none;
  padding: 0.55rem; border-radius: 0.55rem; font-size: 1.05rem; cursor: pointer;
}
.v211-copyright {
  margin-top: 0.8rem; font-size: 1rem; color: var(--v211-muted); text-align: center;
}

/* ===== Bottom navigation (mobile) ===== */
.v211-bottom-nav {
  position: fixed; bottom: 0; left: 50%; transform: translateX(-50%);
  width: 100%; max-width: 430px;
  background: rgba(10, 25, 16, 0.97);
  border-top: 1px solid rgba(218,112,214,0.35);
  display: flex; justify-content: space-around;
  height: 6rem; z-index: 1000;
  backdrop-filter: blur(8px);
}
.v211-navbtn {
  flex: 1; min-width: 60px; min-height: 60px;
  background: transparent; border: none;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 0.15rem; color: var(--v211-light);
  font-size: 1rem; cursor: pointer;
  transition: color 0.18s ease, transform 0.18s ease;
}
.v211-navbtn:active { transform: scale(0.9); }
.v211-navbtn .material-icons,
.v211-navbtn ion-icon,
.v211-navbtn i { font-size: 2.2rem; }
.v211-navbtn ion-icon { font-size: 2.4rem; }
.v211-navbtn-active { color: var(--v211-gold); }
.v211-navbtn-promo1 { color: var(--v211-mint); }
.v211-navbtn-promo2 { color: var(--v211-accent); }

/* ===== Back to top ===== */
.v211-top-btn {
  position: fixed; right: 1rem; bottom: 7rem;
  width: 3.6rem; height: 3.6rem; border-radius: 50%;
  background: var(--v211-gold); color: #1a1a1a; border: none;
  font-size: 1.5rem; cursor: pointer; opacity: 0; pointer-events: none;
  transition: opacity 0.25s ease; z-index: 999;
  box-shadow: var(--v211-shadow);
}
.v211-top-btn.v211-top-show { opacity: 1; pointer-events: auto; }

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

@media (min-width: 431px) and (max-width: 768px) {
  body { max-width: 430px; }
}
