/**
 * 47777bdt.css - Core Stylesheet
 * Class prefix: vf27-
 * Color palette: #1A1A2E (bg), #C9C9FF (text), accent variations
 * Root font: 62.5% for rem-based sizing
 */

:root {
  --vf27-primary: #C9C9FF;
  --vf27-bg: #1A1A2E;
  --vf27-text: #C9C9FF;
  --vf27-accent: #FFD700;
  --vf27-accent2: #00E5FF;
  --vf27-dark: #0D0D1A;
  --vf27-card: #252547;
  --vf27-card2: #1E1E3A;
  --vf27-border: #3A3A5C;
  --vf27-gradient: linear-gradient(135deg, #1A1A2E 0%, #2D2D5E 100%);
  --vf27-radius: 0.8rem;
  --vf27-radius-sm: 0.5rem;
  --vf27-shadow: 0 2px 12px rgba(0,0,0,0.3);
  --vf27-header-h: 5.6rem;
  --vf27-bottom-h: 6rem;
}

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

html { font-size: 62.5%; scroll-behavior: smooth; }

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: var(--vf27-bg);
  color: var(--vf27-text);
  font-size: 1.4rem;
  line-height: 1.5rem;
  min-height: 100vh;
  overflow-x: hidden;
}

a { color: var(--vf27-accent); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; height: auto; display: block; }

/* ===== HEADER ===== */
.vf27-header {
  position: fixed; top: 0; left: 0; right: 0;
  height: var(--vf27-header-h);
  background: var(--vf27-dark);
  border-bottom: 1px solid var(--vf27-border);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 1.2rem;
  z-index: 1000;
  box-shadow: var(--vf27-shadow);
}

.vf27-header-left {
  display: flex; align-items: center; gap: 0.8rem;
}

.vf27-logo {
  width: 3.2rem; height: 3.2rem; border-radius: 50%;
  object-fit: cover;
}

.vf27-brand {
  font-size: 1.6rem; font-weight: 700;
  color: var(--vf27-accent);
  letter-spacing: 0.5px;
}

.vf27-header-right {
  display: flex; align-items: center; gap: 0.6rem;
}

.vf27-btn-register, .vf27-btn-login {
  padding: 0.6rem 1.4rem; border: none; border-radius: var(--vf27-radius-sm);
  font-size: 1.2rem; font-weight: 600; cursor: pointer;
  transition: all 0.2s ease; min-height: 3.6rem;
}

.vf27-btn-register {
  background: linear-gradient(135deg, #FFD700, #FFA500);
  color: #1A1A2E;
}

.vf27-btn-register:hover { transform: scale(1.05); box-shadow: 0 0 12px rgba(255,215,0,0.5); }

.vf27-btn-login {
  background: transparent; color: var(--vf27-primary);
  border: 1px solid var(--vf27-primary);
}

.vf27-btn-login:hover { background: rgba(201,201,255,0.1); }

.vf27-menu-toggle {
  background: none; border: none; color: var(--vf27-primary);
  font-size: 2.2rem; cursor: pointer; padding: 0.4rem;
  display: flex; align-items: center;
}

/* ===== MOBILE MENU ===== */
.vf27-menu-overlay {
  display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.6); z-index: 9998;
}

.vf27-mobile-menu {
  position: fixed; top: 0; left: 0; bottom: 0;
  width: 26rem; background: var(--vf27-dark);
  transform: translateX(-100%); transition: transform 0.3s ease;
  z-index: 9999; overflow-y: auto; padding-top: 1rem;
}

.vf27-menu-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1rem 1.4rem; border-bottom: 1px solid var(--vf27-border);
}

.vf27-menu-close {
  background: none; border: none; color: var(--vf27-primary);
  font-size: 2rem; cursor: pointer;
}

.vf27-menu-links {
  list-style: none; padding: 0.5rem 0;
}

.vf27-menu-links li a {
  display: flex; align-items: center; gap: 1rem;
  padding: 1.2rem 1.6rem; color: var(--vf27-text);
  font-size: 1.4rem; transition: background 0.2s;
  border-bottom: 1px solid rgba(58,58,92,0.4);
}

.vf27-menu-links li a:hover {
  background: var(--vf27-card); text-decoration: none;
}

/* ===== MAIN CONTENT ===== */
.vf27-main {
  margin-top: var(--vf27-header-h);
  padding-bottom: 2rem;
}

@media (max-width: 768px) {
  .vf27-main { padding-bottom: calc(var(--vf27-bottom-h) + 2rem); }
}

.vf27-container {
  max-width: 430px; margin: 0 auto; padding: 0 1rem;
}

/* ===== CAROUSEL ===== */
.vf27-carousel {
  position: relative; overflow: hidden;
  border-radius: var(--vf27-radius); margin: 1rem 0;
  aspect-ratio: 16/9;
}

.vf27-slide {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  opacity: 0; transition: opacity 0.6s ease;
  cursor: pointer;
}

.vf27-slide-active { opacity: 1; }

.vf27-slide img { width: 100%; height: 100%; object-fit: cover; }

.vf27-carousel-dots {
  position: absolute; bottom: 1rem; left: 50%;
  transform: translateX(-50%); display: flex; gap: 0.6rem;
}

.vf27-slide-dot {
  width: 0.8rem; height: 0.8rem; border-radius: 50%;
  background: rgba(255,255,255,0.4); cursor: pointer;
  transition: all 0.3s;
}

.vf27-dot-active { background: var(--vf27-accent); transform: scale(1.3); }

/* ===== HEADINGS ===== */
.vf27-h1 {
  font-size: 2rem; font-weight: 800; color: var(--vf27-accent);
  text-align: center; margin: 2rem 0 1rem; line-height: 1.3;
}

.vf27-h2 {
  font-size: 1.7rem; font-weight: 700; color: var(--vf27-accent);
  margin: 2rem 0 1rem; padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--vf27-accent2);
}

.vf27-h3 {
  font-size: 1.5rem; font-weight: 600; color: var(--vf27-primary);
  margin: 1.5rem 0 0.8rem;
}

/* ===== GAME GRID ===== */
.vf27-section-title {
  font-size: 1.5rem; font-weight: 700; color: var(--vf27-accent);
  margin: 1.5rem 0 1rem; display: flex; align-items: center; gap: 0.6rem;
}

.vf27-game-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.8rem;
}

@media (min-width: 381px) {
  .vf27-game-grid { grid-template-columns: repeat(5, 1fr); }
}

.vf27-game-card {
  display: flex; flex-direction: column; align-items: center;
  cursor: pointer; transition: transform 0.2s;
}

.vf27-game-card:hover { transform: translateY(-3px); }

.vf27-game-card img {
  width: 100%; aspect-ratio: 1; object-fit: cover;
  border-radius: var(--vf27-radius-sm);
  border: 1px solid var(--vf27-border);
}

.vf27-game-name {
  font-size: 1rem; text-align: center; margin-top: 0.3rem;
  color: var(--vf27-text); line-height: 1.2;
  overflow: hidden; text-overflow: ellipsis;
  white-space: nowrap; max-width: 100%;
}

/* ===== CONTENT CARDS ===== */
.vf27-card {
  background: var(--vf27-card); border-radius: var(--vf27-radius);
  padding: 1.4rem; margin: 1rem 0;
  border: 1px solid var(--vf27-border);
}

.vf27-card p { margin: 0.5rem 0; line-height: 1.6; }

.vf27-card-highlight {
  background: linear-gradient(135deg, var(--vf27-card), var(--vf27-card2));
  border-left: 3px solid var(--vf27-accent);
}

/* ===== PROMO BUTTON ===== */
.vf27-promo-btn {
  display: inline-block;
  background: linear-gradient(135deg, #FFD700, #FFA500);
  color: #1A1A2E; font-weight: 700; font-size: 1.3rem;
  padding: 1rem 2rem; border-radius: var(--vf27-radius);
  cursor: pointer; border: none; text-align: center;
  transition: all 0.2s; box-shadow: 0 4px 15px rgba(255,215,0,0.3);
}

.vf27-promo-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 20px rgba(255,215,0,0.5);
  text-decoration: none;
}

.vf27-promo-link {
  color: var(--vf27-accent); font-weight: 700;
  text-decoration: underline; cursor: pointer;
}

.vf27-promo-link:hover { color: #FFA500; }

/* ===== FOOTER ===== */
.vf27-footer {
  background: var(--vf27-dark);
  border-top: 1px solid var(--vf27-border);
  padding: 2rem 1rem 1rem; text-align: center;
}

.vf27-footer-desc {
  font-size: 1.2rem; color: rgba(201,201,255,0.7);
  margin-bottom: 1.5rem; line-height: 1.5;
}

.vf27-footer-links {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 0.6rem; margin-bottom: 1.5rem;
}

.vf27-footer-links a {
  display: inline-block; padding: 0.5rem 1rem;
  background: var(--vf27-card); border-radius: var(--vf27-radius-sm);
  font-size: 1.1rem; color: var(--vf27-primary);
  border: 1px solid var(--vf27-border); transition: all 0.2s;
}

.vf27-footer-links a:hover {
  background: var(--vf27-card2); text-decoration: none;
  border-color: var(--vf27-accent);
}

.vf27-copyright {
  font-size: 1rem; color: rgba(201,201,255,0.5);
  border-top: 1px solid var(--vf27-border);
  padding-top: 1rem; margin-top: 1rem;
}

/* ===== BOTTOM NAV ===== */
.vf27-bottom-nav {
  position: fixed; bottom: 0; left: 0; right: 0;
  height: var(--vf27-bottom-h);
  background: var(--vf27-dark);
  border-top: 1px solid var(--vf27-border);
  display: flex; justify-content: space-around; align-items: center;
  z-index: 1000;
  box-shadow: 0 -2px 12px rgba(0,0,0,0.4);
}

.vf27-bottom-btn {
  display: flex; flex-direction: column; align-items: center;
  justify-content: center; min-width: 5.5rem; min-height: 5rem;
  background: none; border: none; color: rgba(201,201,255,0.6);
  cursor: pointer; transition: all 0.2s; gap: 0.2rem;
  -webkit-tap-highlight-color: transparent;
}

.vf27-bottom-btn:hover, .vf27-bottom-btn:focus {
  color: var(--vf27-accent);
}

.vf27-bottom-btn .vf27-bnav-icon { font-size: 2.2rem; line-height: 1; }
.vf27-bottom-btn .vf27-bnav-text { font-size: 1rem; line-height: 1; }

.vf27-bottom-active {
  color: var(--vf27-accent) !important;
}

.vf27-bottom-active .vf27-bnav-icon {
  transform: scale(1.15);
  filter: drop-shadow(0 0 4px rgba(255,215,0,0.5));
}

@media (min-width: 769px) {
  .vf27-bottom-nav { display: none; }
  .vf27-main { padding-bottom: 2rem; }
}

/* ===== UTILITIES ===== */
.vf27-text-center { text-align: center; }
.vf27-mt-1 { margin-top: 1rem; }
.vf27-mt-2 { margin-top: 2rem; }
.vf27-mb-1 { margin-bottom: 1rem; }
.vf27-mb-2 { margin-bottom: 2rem; }
.vf27-flex-center { display: flex; justify-content: center; align-items: center; }
.vf27-gap-1 { gap: 1rem; }

.vf27-badge {
  display: inline-block; padding: 0.2rem 0.6rem;
  background: var(--vf27-accent); color: var(--vf27-bg);
  font-size: 0.9rem; font-weight: 700; border-radius: 0.3rem;
}

.vf27-divider {
  border: none; border-top: 1px solid var(--vf27-border);
  margin: 1.5rem 0;
}

/* ===== TESTIMONIAL ===== */
.vf27-testimonial {
  background: var(--vf27-card); border-radius: var(--vf27-radius);
  padding: 1.2rem; margin: 0.6rem 0;
  border-left: 3px solid var(--vf27-accent2);
}

.vf27-testimonial-name {
  font-weight: 700; color: var(--vf27-accent); font-size: 1.2rem;
}

.vf27-testimonial-text {
  font-size: 1.2rem; color: rgba(201,201,255,0.8); margin-top: 0.4rem;
  line-height: 1.5;
}

/* ===== PAYMENT / WINNER GRID ===== */
.vf27-icon-grid {
  display: flex; flex-wrap: wrap; gap: 0.8rem;
  justify-content: center;
}

.vf27-icon-item {
  display: flex; flex-direction: column; align-items: center;
  gap: 0.3rem; padding: 0.6rem; background: var(--vf27-card);
  border-radius: var(--vf27-radius-sm); min-width: 6rem;
  border: 1px solid var(--vf27-border);
}

.vf27-icon-item span {
  font-size: 1rem; color: rgba(201,201,255,0.7);
}

/* ===== WINNER LIST ===== */
.vf27-winner-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 0.6rem 0; border-bottom: 1px solid rgba(58,58,92,0.3);
  font-size: 1.2rem;
}

.vf27-winner-amount { color: var(--vf27-accent); font-weight: 700; }
