/**
 * xbey.click - Core Stylesheet
 * CSS class prefix: vdd8-
 * Color palette: #E6E6FA | #E0E0E0 | #006400 | #212F3D | #6A5ACD | #87CEFA
 * Dark backgrounds, light text for readability
 */

/* === CSS Variables === */
:root {
  --vdd8-primary: #6A5ACD;
  --vdd8-secondary: #006400;
  --vdd8-bg-dark: #212F3D;
  --vdd8-bg-darker: #1a252f;
  --vdd8-bg-card: #2c3e50;
  --vdd8-bg-card-hover: #34495e;
  --vdd8-text-light: #E6E6FA;
  --vdd8-text-muted: #E0E0E0;
  --vdd8-accent: #87CEFA;
  --vdd8-accent-glow: #6A5ACD;
  --vdd8-success: #006400;
  --vdd8-gold: #f0c040;
  --vdd8-border: rgba(106, 90, 205, 0.3);
  --vdd8-radius: 8px;
  --vdd8-radius-lg: 12px;
  --vdd8-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
  --vdd8-transition: all 0.3s ease;
  font-size: 62.5%;
}

/* === Reset & Base === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  background: var(--vdd8-bg-dark);
  color: var(--vdd8-text-light);
  line-height: 1.5rem;
  font-size: 1.6rem;
  max-width: 430px;
  margin: 0 auto;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--vdd8-accent); text-decoration: none; transition: var(--vdd8-transition); }
a:hover { color: var(--vdd8-text-light); }
img { max-width: 100%; height: auto; display: block; }

/* === Header === */
.vdd8-header {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  z-index: 1000;
  background: linear-gradient(135deg, var(--vdd8-bg-darker) 0%, var(--vdd8-bg-dark) 100%);
  border-bottom: 1px solid var(--vdd8-border);
  transition: var(--vdd8-transition);
}
.vdd8-header-scrolled {
  background: rgba(26, 37, 47, 0.96);
  box-shadow: var(--vdd8-shadow);
}
.vdd8-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.8rem 1.2rem;
  min-height: 5.2rem;
}
.vdd8-logo-area {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}
.vdd8-logo-area img {
  width: 28px;
  height: 28px;
  border-radius: 6px;
}
.vdd8-logo-area span {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--vdd8-text-light);
  letter-spacing: 0.5px;
}
.vdd8-header-actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.vdd8-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.6rem 1.4rem;
  border-radius: var(--vdd8-radius);
  font-size: 1.3rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: var(--vdd8-transition);
  min-height: 3.6rem;
}
.vdd8-btn-register {
  background: linear-gradient(135deg, var(--vdd8-primary), #7c6ddb);
  color: #fff;
  box-shadow: 0 2px 8px rgba(106, 90, 205, 0.4);
}
.vdd8-btn-register:hover { transform: scale(1.05); box-shadow: 0 4px 12px rgba(106, 90, 205, 0.6); }
.vdd8-btn-login {
  background: transparent;
  color: var(--vdd8-accent);
  border: 1px solid var(--vdd8-accent);
}
.vdd8-btn-login:hover { background: rgba(135, 206, 250, 0.1); }
.vdd8-menu-toggle {
  background: transparent;
  border: none;
  color: var(--vdd8-text-light);
  font-size: 2rem;
  cursor: pointer;
  padding: 0.4rem;
  transition: var(--vdd8-transition);
  display: flex;
  align-items: center;
  justify-content: center;
}
.vdd8-toggle-active { transform: rotate(90deg); }

/* === Mobile Menu === */
.vdd8-menu-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 9998;
  opacity: 0;
  visibility: hidden;
  transition: var(--vdd8-transition);
}
.vdd8-overlay-active { opacity: 1; visibility: visible; }
.vdd8-mobile-menu {
  position: fixed;
  top: 0; right: -280px;
  width: 280px;
  height: 100vh;
  background: var(--vdd8-bg-darker);
  z-index: 9999;
  transition: right 0.35s ease;
  overflow-y: auto;
  padding: 2rem 0;
}
.vdd8-menu-active { right: 0; }
.vdd8-menu-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 1.5rem 1.5rem;
  border-bottom: 1px solid var(--vdd8-border);
}
.vdd8-menu-header span {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--vdd8-text-light);
}
.vdd8-menu-close {
  background: transparent;
  border: none;
  color: var(--vdd8-text-muted);
  font-size: 2rem;
  cursor: pointer;
}
.vdd8-menu-nav { padding: 1rem 0; }
.vdd8-menu-nav a {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.2rem 1.5rem;
  color: var(--vdd8-text-muted);
  font-size: 1.4rem;
  transition: var(--vdd8-transition);
}
.vdd8-menu-nav a:hover {
  background: rgba(106, 90, 205, 0.15);
  color: var(--vdd8-text-light);
}
.vdd8-menu-nav a i, .vdd8-menu-nav a .material-icons {
  font-size: 2rem;
  width: 2.4rem;
  text-align: center;
}

/* === Main Content === */
.vdd8-main {
  padding-top: 5.2rem;
  min-height: 100vh;
}

/* === Slider === */
.vdd8-slider {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: 0 0 var(--vdd8-radius) var(--vdd8-radius);
}
.vdd8-slide {
  display: none;
  width: 100%;
  cursor: pointer;
  position: relative;
}
.vdd8-slide-active { display: block; }
.vdd8-slide img {
  width: 100%;
  height: auto;
  min-height: 180px;
  object-fit: cover;
}
.vdd8-slide-dots {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 5;
}
.vdd8-slide-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: var(--vdd8-transition);
  border: none;
}
.vdd8-dot-active {
  background: var(--vdd8-primary);
  transform: scale(1.3);
}

/* === Sections === */
.vdd8-section {
  padding: 2rem 1.2rem;
}
.vdd8-section-title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--vdd8-text-light);
  margin-bottom: 1.2rem;
  padding-bottom: 0.6rem;
  border-bottom: 2px solid var(--vdd8-primary);
  display: flex;
  align-items: center;
  gap: 0.8rem;
}
.vdd8-section-title i {
  color: var(--vdd8-accent);
  font-size: 2.2rem;
}

/* === Category Title === */
.vdd8-cat-title {
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--vdd8-accent);
  margin: 1.5rem 0 1rem;
  padding-left: 0.8rem;
  border-left: 3px solid var(--vdd8-primary);
}

/* === Game Grid === */
.vdd8-game-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.8rem;
}
.vdd8-game-item {
  text-align: center;
  cursor: pointer;
  transition: var(--vdd8-transition);
  border-radius: var(--vdd8-radius);
  padding: 0.5rem;
  background: var(--vdd8-bg-card);
}
.vdd8-game-item:hover {
  transform: translateY(-3px);
  background: var(--vdd8-bg-card-hover);
  box-shadow: 0 4px 12px rgba(106, 90, 205, 0.3);
}
.vdd8-game-item img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: var(--vdd8-radius);
  margin-bottom: 0.4rem;
}
.vdd8-game-item span {
  font-size: 1.1rem;
  color: var(--vdd8-text-muted);
  display: block;
  line-height: 1.3rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* === Content Cards === */
.vdd8-card {
  background: var(--vdd8-bg-card);
  border-radius: var(--vdd8-radius-lg);
  padding: 1.5rem;
  margin-bottom: 1.2rem;
  border: 1px solid var(--vdd8-border);
  transition: var(--vdd8-transition);
}
.vdd8-card:hover { border-color: var(--vdd8-primary); }
.vdd8-card-title {
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--vdd8-text-light);
  margin-bottom: 0.8rem;
}
.vdd8-card p {
  font-size: 1.3rem;
  color: var(--vdd8-text-muted);
  line-height: 1.8rem;
  margin-bottom: 0.8rem;
}

/* === Promo Link Styles === */
.vdd8-promo-link {
  color: var(--vdd8-gold);
  font-weight: 700;
  cursor: pointer;
  transition: var(--vdd8-transition);
  text-decoration: underline;
}
.vdd8-promo-link:hover { color: var(--vdd8-text-light); }
.vdd8-promo-btn {
  display: inline-block;
  background: linear-gradient(135deg, var(--vdd8-primary), #8b7ddb);
  color: #fff;
  padding: 1rem 2.4rem;
  border-radius: var(--vdd8-radius);
  font-size: 1.5rem;
  font-weight: 700;
  cursor: pointer;
  border: none;
  text-align: center;
  transition: var(--vdd8-transition);
  box-shadow: 0 3px 10px rgba(106, 90, 205, 0.4);
}
.vdd8-promo-btn:hover { transform: scale(1.05); box-shadow: 0 5px 15px rgba(106, 90, 205, 0.6); }

/* === Footer === */
.vdd8-footer {
  background: var(--vdd8-bg-darker);
  padding: 2.5rem 1.2rem 7rem;
  border-top: 1px solid var(--vdd8-border);
}
.vdd8-footer-brand {
  font-size: 1.3rem;
  color: var(--vdd8-text-muted);
  line-height: 1.8rem;
  margin-bottom: 1.5rem;
}
.vdd8-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 1.5rem;
}
.vdd8-footer-links a {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: var(--vdd8-bg-card);
  border-radius: var(--vdd8-radius);
  color: var(--vdd8-text-muted);
  font-size: 1.2rem;
  transition: var(--vdd8-transition);
}
.vdd8-footer-links a:hover { background: var(--vdd8-bg-card-hover); color: var(--vdd8-text-light); }
.vdd8-footer-copy {
  font-size: 1.2rem;
  color: rgba(224, 224, 224, 0.5);
  text-align: center;
  padding-top: 1rem;
  border-top: 1px solid var(--vdd8-border);
}

/* === Bottom Navigation === */
.vdd8-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  height: 60px;
  background: linear-gradient(180deg, var(--vdd8-bg-darker), #151e27);
  display: flex;
  justify-content: space-around;
  align-items: center;
  z-index: 1000;
  border-top: 1px solid var(--vdd8-border);
  box-shadow: 0 -2px 12px rgba(0, 0, 0, 0.4);
}
.vdd8-bottom-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 60px;
  min-height: 60px;
  background: transparent;
  border: none;
  color: var(--vdd8-text-muted);
  cursor: pointer;
  transition: var(--vdd8-transition);
  padding: 0.4rem;
  position: relative;
}
.vdd8-bottom-btn i,
.vdd8-bottom-btn .material-icons {
  font-size: 22px;
  margin-bottom: 2px;
}
.vdd8-bottom-btn span {
  font-size: 1rem;
  line-height: 1.2rem;
}
.vdd8-bottom-btn:hover,
.vdd8-bottom-btn:focus {
  color: var(--vdd8-primary);
  transform: scale(1.1);
}
.vdd8-bottom-btn-active {
  color: var(--vdd8-accent) !important;
}
.vdd8-bottom-btn-active::after {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 3px;
  background: var(--vdd8-primary);
  border-radius: 0 0 3px 3px;
}

/* === Data Table (RTP/Stats) === */
.vdd8-data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 1.2rem;
}
.vdd8-data-table th {
  background: var(--vdd8-primary);
  color: #fff;
  padding: 0.6rem 0.8rem;
  text-align: left;
  font-weight: 600;
}
.vdd8-data-table td {
  padding: 0.5rem 0.8rem;
  border-bottom: 1px solid var(--vdd8-border);
  color: var(--vdd8-text-muted);
}
.vdd8-data-table tr:hover td {
  background: rgba(106, 90, 205, 0.1);
}

/* === Testimonials === */
.vdd8-testimonial {
  background: var(--vdd8-bg-card);
  border-radius: var(--vdd8-radius);
  padding: 1.2rem;
  margin-bottom: 0.8rem;
  border-left: 3px solid var(--vdd8-primary);
}
.vdd8-testimonial-name {
  font-weight: 600;
  color: var(--vdd8-accent);
  font-size: 1.3rem;
  margin-bottom: 0.4rem;
}
.vdd8-testimonial-text {
  font-size: 1.2rem;
  color: var(--vdd8-text-muted);
  line-height: 1.6rem;
}

/* === Winner Showcase === */
.vdd8-winner-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.8rem;
  background: var(--vdd8-bg-card);
  border-radius: var(--vdd8-radius);
  margin-bottom: 0.6rem;
}
.vdd8-winner-item img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
}
.vdd8-winner-info { flex: 1; }
.vdd8-winner-name {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--vdd8-text-light);
}
.vdd8-winner-amount {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--vdd8-gold);
}

/* === Utility Classes === */
.vdd8-text-center { text-align: center; }
.vdd8-mt-1 { margin-top: 1rem; }
.vdd8-mb-1 { margin-bottom: 1rem; }
.vdd8-mt-2 { margin-top: 2rem; }
.vdd8-mb-2 { margin-bottom: 2rem; }
.vdd8-hidden { display: none !important; }
.vdd8-badge {
  display: inline-block;
  padding: 0.2rem 0.6rem;
  background: var(--vdd8-primary);
  color: #fff;
  border-radius: 4px;
  font-size: 1rem;
  font-weight: 600;
}

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