/* =====================================================================
 * 123a.homes - stylesheet
 * Class prefix : v6fa-
 * Palette ref  : #EEEEEE | #B0E0E6 | #ADD8E6 | #141414
 * ===================================================================== */

/* ---------- Design tokens ---------- */
:root {
  --v6fa-primary: #B0E0E6;
  --v6fa-secondary: #ADD8E6;
  --v6fa-bg: #141414;
  --v6fa-bg-2: #1c1c1c;
  --v6fa-bg-3: #262626;
  --v6fa-text: #EEEEEE;
  --v6fa-text-dim: #b9b9b9;
  --v6fa-accent: #F5C518;
  --v6fa-accent-2: #FF7A45;
  --v6fa-success: #2ecc71;
  --v6fa-border: rgba(176, 224, 230, 0.18);
  --v6fa-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
  --v6fa-radius: 12px;
  --v6fa-radius-sm: 8px;
  --v6fa-radius-lg: 18px;
  --v6fa-header-h: 60px;
  --v6fa-bottom-h: 64px;
}

/* ---------- Reset ---------- */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 62.5%; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Segoe UI', 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--v6fa-bg);
  color: var(--v6fa-text);
  line-height: 1.5;
  font-size: 1.5rem;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--v6fa-primary); text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul, ol { list-style: none; }
body.v6fa-no-scroll { overflow: hidden; }

/* ---------- Layout ---------- */
.v6fa-container { width: 100%; max-width: 430px; margin: 0 auto; padding: 0 12px; position: relative; }
.v6fa-wrapper { width: 100%; min-height: 100vh; }
.v6fa-section { padding: 22px 0; }
.v6fa-section-title {
  font-size: 2rem; font-weight: 800; margin: 18px 0 12px; padding-left: 10px;
  border-left: 4px solid var(--v6fa-accent); line-height: 1.25;
}
.v6fa-section-title small {
  display: block; font-size: 1.25rem; color: var(--v6fa-text-dim);
  font-weight: 500; margin-top: 4px;
}
.v6fa-main { padding-bottom: calc(var(--v6fa-bottom-h) + 16px); }

/* ---------- Header ---------- */
.v6fa-header {
  position: fixed; top: 0; left: 0; right: 0; height: var(--v6fa-header-h);
  background: linear-gradient(135deg, #1a1a1a 0%, #141414 100%);
  border-bottom: 1px solid var(--v6fa-border);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 12px; z-index: 1000; box-shadow: var(--v6fa-shadow);
}
.v6fa-logo { display: flex; align-items: center; gap: 8px; }
.v6fa-logo img { width: 30px; height: 30px; border-radius: 6px; }
.v6fa-logo-text { font-size: 1.9rem; font-weight: 800; color: var(--v6fa-text); letter-spacing: 0.5px; }
.v6fa-logo-text span { color: var(--v6fa-accent); }
.v6fa-header-actions { display: flex; align-items: center; gap: 8px; }

/* ---------- Buttons ---------- */
.v6fa-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  padding: 8px 14px; border-radius: 999px; font-weight: 700; font-size: 1.3rem;
  min-height: 38px; transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.v6fa-btn:active { transform: scale(0.95); }
.v6fa-btn-login {
  background: transparent; color: var(--v6fa-text);
  border: 1px solid var(--v6fa-primary);
}
.v6fa-btn-register {
  background: linear-gradient(135deg, var(--v6fa-accent) 0%, #e6a800 100%);
  color: #141414; box-shadow: 0 4px 12px rgba(245, 197, 24, 0.4);
}
.v6fa-menu-toggle {
  width: 38px; height: 38px; display: none; align-items: center;
  justify-content: center; font-size: 2.1rem; color: var(--v6fa-text);
}

/* ---------- Desktop nav ---------- */
.v6fa-nav { display: none; gap: 18px; align-items: center; }
.v6fa-nav a { font-size: 1.4rem; color: var(--v6fa-text-dim); transition: color 0.15s; }
.v6fa-nav a:hover { color: var(--v6fa-accent); }

/* ---------- Mobile slide-in menu ---------- */
.v6fa-mobile-menu {
  position: fixed; top: 0; right: -100%; width: 82%; max-width: 320px;
  height: 100vh; background: #1a1a1a; padding: 70px 18px 24px;
  z-index: 9999; transition: right 0.3s ease; overflow-y: auto;
  border-left: 1px solid var(--v6fa-border);
}
.v6fa-mobile-menu.v6fa-menu-open { right: 0; }
.v6fa-mobile-menu a {
  display: block; padding: 12px 14px; font-size: 1.5rem; font-weight: 600;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06); color: var(--v6fa-text);
  border-radius: 8px;
}
.v6fa-mobile-menu a:active { background: rgba(176, 224, 230, 0.08); }
.v6fa-mobile-menu a i { width: 22px; text-align: center; margin-right: 6px; color: var(--v6fa-primary); }
.v6fa-mobile-menu-close {
  position: absolute; top: 14px; right: 14px; width: 36px; height: 36px;
  font-size: 2.2rem; color: var(--v6fa-text); line-height: 1;
}
.v6fa-menu-overlay {
  position: fixed; inset: 0; background: rgba(0, 0, 0, 0.6); z-index: 9998;
  opacity: 0; pointer-events: none; transition: opacity 0.3s;
}
.v6fa-menu-overlay.v6fa-menu-open { opacity: 1; pointer-events: auto; }

/* ---------- Carousel ---------- */
.v6fa-carousel {
  position: relative; margin-top: calc(var(--v6fa-header-h) + 12px);
  border-radius: var(--v6fa-radius); overflow: hidden; box-shadow: var(--v6fa-shadow);
}
.v6fa-carousel-track { position: relative; min-height: 180px; }
.v6fa-carousel-slide {
  display: block; opacity: 0; transition: opacity 0.5s ease;
  position: absolute; top: 0; left: 0; width: 100%; pointer-events: none;
}
.v6fa-carousel-slide img { width: 100%; height: 180px; object-fit: cover; }
.v6fa-carousel-slide.v6fa-slide-active { opacity: 1; position: relative; pointer-events: auto; }
.v6fa-carousel-dots {
  position: absolute; bottom: 10px; left: 0; right: 0; display: flex;
  justify-content: center; gap: 6px; z-index: 2;
}
.v6fa-carousel-dot {
  width: 8px; height: 8px; border-radius: 50%; background: rgba(255, 255, 255, 0.4);
  transition: all 0.25s ease;
}
.v6fa-carousel-dot.v6fa-dot-active { background: var(--v6fa-accent); width: 22px; border-radius: 4px; }

/* ---------- Hero intro ---------- */
.v6fa-hero-intro { margin-top: 16px; }
.v6fa-hero-intro h1 {
  font-size: 2.3rem; font-weight: 800; line-height: 1.25; margin-bottom: 10px;
  background: linear-gradient(90deg, var(--v6fa-text) 0%, var(--v6fa-primary) 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.v6fa-hero-intro p { font-size: 1.35rem; color: var(--v6fa-text-dim); line-height: 1.7; }

/* ---------- Game category header ---------- */
.v6fa-cat-header {
  display: flex; align-items: center; justify-content: space-between; margin: 26px 0 12px;
  padding: 10px 12px; background: linear-gradient(135deg, rgba(176,224,230,0.12), rgba(245,197,24,0.08));
  border-radius: var(--v6fa-radius-sm); border: 1px solid var(--v6fa-border);
}
.v6fa-cat-title {
  font-size: 1.7rem; font-weight: 800; display: flex; align-items: center; gap: 8px;
}
.v6fa-cat-title i, .v6fa-cat-title .material-symbols-outlined {
  color: var(--v6fa-accent); font-size: 2.2rem;
}
.v6fa-cat-count {
  font-size: 1.15rem; color: var(--v6fa-text-dim); background: var(--v6fa-bg-3);
  padding: 4px 10px; border-radius: 999px;
}

/* ---------- Filter chips ---------- */
.v6fa-filter-row { display: flex; gap: 6px; overflow-x: auto; padding: 4px 0 10px; }
.v6fa-filter-chip {
  flex: 0 0 auto; padding: 6px 14px; border-radius: 999px; background: var(--v6fa-bg-2);
  border: 1px solid var(--v6fa-border); font-size: 1.2rem; font-weight: 600; color: var(--v6fa-text-dim);
}
.v6fa-filter-chip.v6fa-chip-active { background: var(--v6fa-accent); color: #141414; border-color: var(--v6fa-accent); }

/* ---------- Game grid ---------- */
.v6fa-game-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.v6fa-game-card {
  background: var(--v6fa-bg-2); border-radius: var(--v6fa-radius-sm); padding: 8px;
  text-align: center; display: flex; flex-direction: column; align-items: center; gap: 6px;
  border: 1px solid var(--v6fa-border); transition: transform 0.15s ease, border-color 0.15s;
}
.v6fa-game-card:active { transform: scale(0.95); border-color: var(--v6fa-accent); }
.v6fa-game-card img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 6px; }
.v6fa-game-name { font-size: 1.15rem; color: var(--v6fa-text); font-weight: 600; line-height: 1.2; }

/* ---------- Generic cards ---------- */
.v6fa-card {
  background: var(--v6fa-bg-2); border: 1px solid var(--v6fa-border);
  border-radius: var(--v6fa-radius); padding: 14px; margin-bottom: 12px;
}
.v6fa-card h3 { font-size: 1.5rem; color: var(--v6fa-accent); margin-bottom: 8px; font-weight: 700; }
.v6fa-card p { font-size: 1.3rem; color: var(--v6fa-text-dim); line-height: 1.7; }
.v6fa-card ul li {
  padding: 6px 0 6px 20px; font-size: 1.3rem; color: var(--v6fa-text-dim);
  position: relative; line-height: 1.6;
}
.v6fa-card ul li:before { content: '▸'; color: var(--v6fa-accent); position: absolute; left: 0; }

/* ---------- Inline promo link + CTA ---------- */
.v6fa-link-inline { color: var(--v6fa-accent); font-weight: 700; text-decoration: underline; }
.v6fa-cta {
  display: flex; align-items: center; justify-content: center; gap: 8px; text-align: center;
  padding: 14px; margin: 16px 0; background: linear-gradient(135deg, var(--v6fa-accent) 0%, #e6a800 100%);
  color: #141414; font-weight: 800; font-size: 1.6rem; border-radius: var(--v6fa-radius);
  box-shadow: 0 6px 18px rgba(245, 197, 24, 0.35);
}
.v6fa-cta:active { transform: scale(0.98); }
.v6fa-cta i { font-size: 1.8rem; }

/* ---------- Info grid (features) ---------- */
.v6fa-info-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.v6fa-info-item {
  background: var(--v6fa-bg-2); border: 1px solid var(--v6fa-border);
  border-radius: var(--v6fa-radius-sm); padding: 14px 10px; text-align: center;
}
.v6fa-info-item i, .v6fa-info-item .material-symbols-outlined {
  font-size: 2.6rem; color: var(--v6fa-primary); margin-bottom: 6px; display: inline-block;
}
.v6fa-info-item strong { display: block; font-size: 1.35rem; color: var(--v6fa-text); margin-bottom: 4px; }
.v6fa-info-item span { font-size: 1.15rem; color: var(--v6fa-text-dim); line-height: 1.4; }

/* ---------- Steps ---------- */
.v6fa-steps { counter-reset: step; }
.v6fa-steps li {
  padding: 10px 0 10px 38px; position: relative; font-size: 1.3rem;
  color: var(--v6fa-text-dim); border-bottom: 1px solid rgba(255, 255, 255, 0.04); line-height: 1.6;
}
.v6fa-steps li:before {
  content: counter(step); counter-increment: step; position: absolute; left: 0; top: 8px;
  width: 26px; height: 26px; background: var(--v6fa-accent); color: #141414;
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 1.2rem;
}
.v6fa-steps li strong { color: var(--v6fa-text); }

/* ---------- Testimonials ---------- */
.v6fa-testimonial {
  background: var(--v6fa-bg-2); border-left: 3px solid var(--v6fa-primary);
  border-radius: 8px; padding: 12px 14px; margin-bottom: 10px;
}
.v6fa-testimonial p { font-size: 1.3rem; color: var(--v6fa-text); font-style: italic; line-height: 1.6; }
.v6fa-testimonial .v6fa-stars { color: var(--v6fa-accent); margin: 4px 0; font-size: 1.2rem; }
.v6fa-testimonial .v6fa-author { color: var(--v6fa-primary); font-size: 1.2rem; font-weight: 700; }

/* ---------- Payment ---------- */
.v6fa-pay-grid { display: flex; flex-wrap: wrap; gap: 8px; }
.v6fa-pay-item {
  background: var(--v6fa-bg-2); border: 1px solid var(--v6fa-border);
  padding: 8px 12px; border-radius: 8px; font-size: 1.2rem; font-weight: 600;
  display: flex; align-items: center; gap: 6px;
}
.v6fa-pay-item i, .v6fa-pay-item .material-symbols-outlined { color: var(--v6fa-secondary); font-size: 1.6rem; }

/* ---------- Winners table ---------- */
.v6fa-winner-row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 8px 10px; border-bottom: 1px solid rgba(255, 255, 255, 0.05); font-size: 1.25rem;
}
.v6fa-winner-row:last-child { border-bottom: none; }
.v6fa-winner-name { color: var(--v6fa-text); font-weight: 600; }
.v6fa-winner-game { color: var(--v6fa-text-dim); font-size: 1.15rem; }
.v6fa-winner-amount { color: var(--v6fa-success); font-weight: 800; }

/* ---------- FAQ ---------- */
.v6fa-faq { border: 1px solid var(--v6fa-border); border-radius: var(--v6fa-radius-sm); margin-bottom: 8px; overflow: hidden; }
.v6fa-faq summary {
  padding: 12px 14px; font-size: 1.35rem; font-weight: 700; cursor: pointer;
  background: var(--v6fa-bg-2); list-style: none; display: flex; justify-content: space-between; align-items: center;
}
.v6fa-faq summary:after { content: '+'; color: var(--v6fa-accent); font-size: 1.8rem; font-weight: 800; }
.v6fa-faq[open] summary:after { content: '−'; }
.v6fa-faq p { padding: 12px 14px; font-size: 1.25rem; color: var(--v6fa-text-dim); line-height: 1.6; }

/* ---------- Footer ---------- */
.v6fa-footer {
  background: #0e0e0e; border-top: 1px solid var(--v6fa-border);
  padding: 26px 0 90px; margin-top: 24px;
}
.v6fa-footer h4 { font-size: 1.5rem; color: var(--v6fa-text); margin-bottom: 10px; }
.v6fa-footer-brand { font-size: 1.3rem; color: var(--v6fa-text-dim); line-height: 1.7; margin-bottom: 14px; }
.v6fa-footer-links { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.v6fa-footer-links a {
  display: inline-block; padding: 6px 12px; font-size: 1.2rem; font-weight: 600;
  background: var(--v6fa-bg-2); border: 1px solid var(--v6fa-border); border-radius: 999px;
}
.v6fa-footer-links a:hover { color: var(--v6fa-accent); border-color: var(--v6fa-accent); }
.v6fa-footer-copy { font-size: 1.15rem; color: #777; padding-top: 12px; border-top: 1px solid rgba(255, 255, 255, 0.05); }

/* ---------- Mobile bottom navigation ---------- */
.v6fa-bottom-nav {
  position: fixed; bottom: 0; left: 0; right: 0; height: var(--v6fa-bottom-h);
  background: linear-gradient(180deg, #1a1a1a 0%, #0a0a0a 100%);
  border-top: 1px solid var(--v6fa-border); display: flex;
  justify-content: space-around; align-items: center; z-index: 1000;
  box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.5);
}
.v6fa-bottom-nav-btn {
  flex: 1; min-width: 60px; min-height: 60px; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 2px; color: var(--v6fa-text-dim);
  transition: color 0.15s ease, transform 0.15s ease; position: relative;
}
.v6fa-bottom-nav-btn i,
.v6fa-bottom-nav-btn .material-symbols-outlined { font-size: 2.3rem; line-height: 1; }
.v6fa-bottom-nav-btn span { font-size: 1rem; font-weight: 600; }
.v6fa-bottom-nav-btn:active { transform: scale(0.92); }
.v6fa-bottom-nav-btn:hover,
.v6fa-bottom-nav-btn.v6fa-nav-active { color: var(--v6fa-accent); }
.v6fa-bottom-nav-btn.v6fa-nav-promo i,
.v6fa-bottom-nav-btn.v6fa-nav-promo .material-symbols-outlined { color: var(--v6fa-primary); }
.v6fa-nav-badge {
  position: absolute; top: 6px; right: 18px; min-width: 16px; height: 16px;
  padding: 0 4px; background: var(--v6fa-accent-2); color: #fff; border-radius: 999px;
  font-size: 0.95rem; font-weight: 800; display: flex; align-items: center; justify-content: center;
}

/* ---------- Responsive ---------- */
@media (min-width: 769px) {
  .v6fa-container { max-width: 760px; }
  .v6fa-menu-toggle { display: none; }
  .v6fa-nav { display: flex; }
  .v6fa-bottom-nav { display: none; }
  .v6fa-footer { padding-bottom: 26px; }
  .v6fa-game-grid { grid-template-columns: repeat(6, 1fr); }
  .v6fa-info-grid { grid-template-columns: repeat(4, 1fr); }
  .v6fa-carousel-slide img { height: 320px; }
  .v6fa-carousel-track { min-height: 320px; }
  .v6fa-main { padding-bottom: 24px; }
}

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