/* TotoOne - Main Stylesheet */
/* Prefix: v986- */
/* Color Palette: #26A69A (teal) | #FFB347 (orange) | #2C3E50 (dark bg) | #F0FDFF (white text) | #00B8D4 (cyan) */

:root {
  --v986-primary: #26A69A;
  --v986-accent: #FFB347;
  --v986-bg: #2C3E50;
  --v986-text: #F0FDFF;
  --v986-cyan: #00B8D4;
  --v986-bg-light: #34495E;
  --v986-bg-dark: #1a252f;
  --v986-border: rgba(38,166,154,0.3);
  --v986-shadow: 0 2px 12px rgba(0,0,0,0.3);
  --v986-radius: 8px;
}

/* Reset & Base */
html { font-size: 62.5%; scroll-behavior: smooth; }
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: var(--v986-bg);
  color: var(--v986-text);
  line-height: 1.6rem;
  font-size: 1.5rem;
  max-width: 430px;
  margin: 0 auto;
  overflow-x: hidden;
  -webkit-tap-highlight-color: transparent;
}

/* Container */
.v986-container { max-width: 430px; margin: 0 auto; padding: 0 1.2rem; }

/* Header */
.v986-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: linear-gradient(135deg, var(--v986-bg-dark), var(--v986-bg));
  border-bottom: 2px solid var(--v986-primary);
  max-width: 430px; margin: 0 auto;
}
.v986-header-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.8rem 1.2rem; max-width: 430px; margin: 0 auto;
}
.v986-logo { display: flex; align-items: center; gap: 0.6rem; text-decoration: none; }
.v986-logo img { width: 28px; height: 28px; border-radius: 4px; }
.v986-logo-text { color: var(--v986-primary); font-size: 1.6rem; font-weight: 700; letter-spacing: 0.5px; }
.v986-header-actions { display: flex; align-items: center; gap: 0.6rem; }
.v986-btn-register {
  background: var(--v986-accent); color: var(--v986-bg-dark); border: none;
  padding: 0.5rem 1.2rem; border-radius: 20px; font-size: 1.2rem; font-weight: 700;
  cursor: pointer; transition: all 0.3s;
}
.v986-btn-register:hover { background: #ffc366; transform: scale(1.05); }
.v986-btn-login {
  background: transparent; color: var(--v986-cyan); border: 1.5px solid var(--v986-cyan);
  padding: 0.5rem 1.2rem; border-radius: 20px; font-size: 1.2rem; font-weight: 600;
  cursor: pointer; transition: all 0.3s;
}
.v986-btn-login:hover { background: rgba(0,184,212,0.15); }
.v986-menu-toggle {
  background: none; border: none; color: var(--v986-text);
  font-size: 2rem; cursor: pointer; padding: 0.3rem;
}

/* Mobile Menu Overlay */
.v986-menu-overlay {
  display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.6); z-index: 9998;
}
.v986-mobile-menu {
  position: fixed; top: 0; right: 0; bottom: 0; width: 260px;
  background: var(--v986-bg-dark); z-index: 9999;
  transform: translateX(100%); transition: transform 0.3s ease;
  padding: 2rem 1.5rem; overflow-y: auto;
}
.v986-mobile-menu-title {
  font-size: 1.8rem; color: var(--v986-primary); margin-bottom: 1.5rem;
  padding-bottom: 1rem; border-bottom: 1px solid var(--v986-border);
}
.v986-mobile-menu a {
  display: block; padding: 0.9rem 0; color: var(--v986-text);
  text-decoration: none; font-size: 1.4rem; border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: color 0.2s;
}
.v986-mobile-menu a:hover { color: var(--v986-primary); }
.v986-menu-close {
  position: absolute; top: 1rem; right: 1rem; background: none;
  border: none; color: var(--v986-text); font-size: 2.2rem; cursor: pointer;
}

/* Carousel */
.v986-carousel { position: relative; margin-top: 52px; overflow: hidden; }
.v986-carousel-slide {
  display: none; opacity: 0; transition: opacity 0.5s ease; cursor: pointer;
}
.v986-carousel-slide img { width: 100%; height: auto; display: block; }
.v986-carousel-dots {
  position: absolute; bottom: 10px; left: 50%; transform: translateX(-50%);
  display: flex; gap: 6px;
}
.v986-carousel-dot {
  width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,0.4);
  cursor: pointer; border: none; transition: all 0.3s;
}
.v986-dot-active { background: var(--v986-accent); width: 20px; border-radius: 4px; }

/* Main Content */
.v986-main { padding: 1.5rem 0 2rem; }
.v986-section { margin-bottom: 2rem; }
.v986-section-title {
  font-size: 1.8rem; font-weight: 700; color: var(--v986-primary);
  margin-bottom: 1rem; padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--v986-accent);
}

/* Game Grid */
.v986-game-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.8rem;
}
.v986-game-item {
  text-align: center; cursor: pointer; transition: transform 0.2s;
  border-radius: var(--v986-radius); overflow: hidden;
}
.v986-game-item:hover { transform: translateY(-3px); }
.v986-game-item img {
  width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--v986-radius);
  border: 2px solid transparent; transition: border-color 0.2s;
}
.v986-game-item:hover img { border-color: var(--v986-primary); }
.v986-game-name {
  font-size: 1.1rem; margin-top: 0.3rem; color: var(--v986-text);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

/* Category Header */
.v986-cat-header {
  display: flex; align-items: center; gap: 0.8rem; margin-bottom: 0.8rem;
}
.v986-cat-icon { color: var(--v986-accent); font-size: 2rem; }
.v986-cat-title {
  font-size: 1.5rem; font-weight: 600; color: var(--v986-cyan);
}

/* Cards & Modules */
.v986-card {
  background: var(--v986-bg-light); border-radius: var(--v986-radius);
  padding: 1.5rem; margin-bottom: 1rem; border: 1px solid var(--v986-border);
}
.v986-card-title {
  font-size: 1.6rem; font-weight: 700; color: var(--v986-accent); margin-bottom: 0.8rem;
}
.v986-card-text { font-size: 1.3rem; line-height: 1.8rem; color: rgba(240,253,255,0.85); }

/* Promo Button */
.v986-promo-btn {
  display: inline-block; background: linear-gradient(135deg, var(--v986-primary), var(--v986-cyan));
  color: #fff; padding: 0.8rem 2rem; border-radius: 25px; font-size: 1.4rem;
  font-weight: 700; text-decoration: none; cursor: pointer; border: none;
  transition: all 0.3s; text-align: center;
}
.v986-promo-btn:hover { transform: scale(1.05); box-shadow: 0 4px 15px rgba(38,166,154,0.4); }
.v986-promo-link {
  color: var(--v986-accent); font-weight: 600; cursor: pointer;
  text-decoration: underline; transition: color 0.2s;
}
.v986-promo-link:hover { color: var(--v986-cyan); }

/* Testimonial */
.v986-testimonial {
  background: linear-gradient(135deg, var(--v986-bg-light), var(--v986-bg));
  border-radius: var(--v986-radius); padding: 1.2rem; margin-bottom: 0.8rem;
  border-left: 3px solid var(--v986-primary);
}
.v986-testimonial-author { font-size: 1.2rem; color: var(--v986-accent); font-weight: 600; }
.v986-testimonial-text { font-size: 1.3rem; color: rgba(240,253,255,0.8); margin-top: 0.4rem; }

/* Winner Showcase */
.v986-winner-item {
  display: flex; align-items: center; gap: 0.8rem;
  padding: 0.6rem 0; border-bottom: 1px solid rgba(255,255,255,0.05);
}
.v986-winner-amount { color: var(--v986-accent); font-weight: 700; font-size: 1.3rem; }
.v986-winner-game { color: var(--v986-text); font-size: 1.2rem; flex: 1; }
.v986-winner-time { color: rgba(240,253,255,0.5); font-size: 1.1rem; }

/* Payment Methods */
.v986-payment-grid {
  display: flex; flex-wrap: wrap; gap: 0.8rem; justify-content: center;
}
.v986-payment-item {
  background: var(--v986-bg-light); padding: 0.6rem 1.2rem;
  border-radius: 20px; font-size: 1.2rem; color: var(--v986-text);
  border: 1px solid var(--v986-border);
}

/* Footer */
.v986-footer {
  background: var(--v986-bg-dark); padding: 2rem 1.2rem 1rem;
  border-top: 2px solid var(--v986-primary); margin-top: 2rem;
}
.v986-footer-brand { font-size: 1.3rem; color: rgba(240,253,255,0.7); line-height: 1.8rem; margin-bottom: 1.5rem; }
.v986-footer-links { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-bottom: 1.5rem; }
.v986-footer-link {
  background: var(--v986-bg-light); color: var(--v986-primary); padding: 0.4rem 1rem;
  border-radius: 15px; font-size: 1.1rem; cursor: pointer; text-decoration: none;
  border: 1px solid var(--v986-border); transition: all 0.2s;
}
.v986-footer-link:hover { background: var(--v986-primary); color: #fff; }
.v986-footer-nav { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-bottom: 1rem; }
.v986-footer-nav a { color: rgba(240,253,255,0.6); text-decoration: none; font-size: 1.2rem; }
.v986-footer-nav a:hover { color: var(--v986-primary); }
.v986-copyright {
  text-align: center; font-size: 1.1rem; color: rgba(240,253,255,0.4);
  padding-top: 1rem; border-top: 1px solid rgba(255,255,255,0.08);
}

/* Bottom Nav */
.v986-bottom-nav {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 1000;
  background: linear-gradient(180deg, var(--v986-bg-dark), #0d1520);
  border-top: 2px solid var(--v986-primary);
  max-width: 430px; margin: 0 auto;
  display: flex; justify-content: space-around; align-items: center;
  height: 60px; padding: 0 0.4rem;
}
.v986-bottom-btn {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  min-width: 60px; min-height: 56px; background: none; border: none;
  color: rgba(240,253,255,0.6); cursor: pointer; transition: all 0.2s;
  padding: 0.3rem; gap: 0.2rem;
}
.v986-bottom-btn:hover { color: var(--v986-primary); transform: scale(1.1); }
.v986-bottom-btn .v986-bnav-icon { font-size: 22px; line-height: 1; }
.v986-bottom-btn .v986-bnav-text { font-size: 1rem; line-height: 1; }
.v986-bottom-btn.v986-active { color: var(--v986-accent); }

/* Stats bar */
.v986-stats-bar {
  display: flex; justify-content: space-around; padding: 1rem;
  background: var(--v986-bg-light); border-radius: var(--v986-radius);
  margin-bottom: 1rem;
}
.v986-stat-item { text-align: center; }
.v986-stat-value { font-size: 1.6rem; font-weight: 700; color: var(--v986-accent); }
.v986-stat-label { font-size: 1.1rem; color: rgba(240,253,255,0.6); }

/* FAQ */
.v986-faq-item { margin-bottom: 0.8rem; }
.v986-faq-q {
  font-size: 1.4rem; font-weight: 600; color: var(--v986-cyan); margin-bottom: 0.3rem;
}
.v986-faq-a { font-size: 1.3rem; color: rgba(240,253,255,0.8); line-height: 1.7rem; }

/* Responsive */
@media (max-width: 768px) {
  .v986-main { padding-bottom: 80px; }
  .v986-footer { padding-bottom: 80px; }
}
@media (min-width: 769px) {
  .v986-bottom-nav { display: none; }
}
