/* ============================================================
   f8net - design.css  (core base stylesheet)
   All custom classes use the "v6fa-" prefix.
   Palette: #008B8B | #141414 | #00B8D4 | #F8F8FF | #DDA0DD
   ============================================================ */

:root {
  --v6fa-primary: #008B8B;
  --v6fa-dark: #141414;
  --v6fa-accent: #00B8D4;
  --v6fa-light: #F8F8FF;
  --v6fa-pink: #DDA0DD;
  --v6fa-bg: #0f1c1c;
  --v6fa-bg-soft: #173031;
  --v6fa-text: #F8F8FF;
  --v6fa-muted: #9fb3b3;
  --v6fa-border: rgba(0,184,212,0.22);
  --v6fa-shadow: 0 6px 18px rgba(0,0,0,0.45);

  --v6fa-radius: 12px;
  --v6fa-radius-sm: 8px;
  --v6fa-maxw: 430px;
}

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

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

body {
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  background: var(--v6fa-bg);
  color: var(--v6fa-text);
  line-height: 1.5rem;
  font-size: 1.4rem;
  max-width: var(--v6fa-maxw);
  margin: 0 auto;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: var(--v6fa-accent); text-decoration: none; }

.v6fa-container { width: 100%; padding: 0 1.2rem; }
.v6fa-wrapper { max-width: var(--v6fa-maxw); margin: 0 auto; position: relative; }

/* ---------------------------------------------------------- HEADER */
.v6fa-header {
  position: sticky; top: 0; z-index: 1000;
  background: linear-gradient(135deg, var(--v6fa-dark), #0a1a1a);
  border-bottom: 1px solid var(--v6fa-border);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.8rem 1.2rem;
  min-height: 52px;
}
.v6fa-brand { display: flex; align-items: center; gap: 0.7rem; min-width: 0; }
.v6fa-brand img { width: 28px; height: 28px; border-radius: 6px; }
.v6fa-brand-name {
  font-size: 1.7rem; font-weight: 800; letter-spacing: 0.4px;
  background: linear-gradient(90deg, var(--v6fa-accent), var(--v6fa-pink));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.v6fa-nav-actions { display: flex; align-items: center; gap: 0.55rem; }
.v6fa-menu-btn {
  background: transparent; border: 1px solid var(--v6fa-border);
  color: var(--v6fa-light); width: 38px; height: 38px; border-radius: 8px;
  display: flex; align-items: center; justify-content: center; cursor: pointer;
}
.v6fa-btn {
  border: none; border-radius: 20px; cursor: pointer;
  font-size: 1.25rem; font-weight: 700; padding: 0.55rem 1.1rem;
  min-height: 38px; transition: transform 0.15s ease, filter 0.15s ease;
}
.v6fa-btn:active { transform: scale(0.95); }
.v6fa-btn-register {
  background: linear-gradient(90deg, var(--v6fa-primary), var(--v6fa-accent));
  color: #fff;
}
.v6fa-btn-login {
  background: transparent; border: 1.5px solid var(--v6fa-accent);
  color: var(--v6fa-accent);
}

/* ---------------------------------------------------------- MOBILE MENU */
.v6fa-menu-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,0.55);
  z-index: 9999; opacity: 0; pointer-events: none; transition: opacity 0.25s;
}
.v6fa-overlay-show { opacity: 1; pointer-events: auto; }
#v6fa-mobile-menu {
  position: fixed; top: 0; left: 0; bottom: 0; width: 78%; max-width: 320px;
  background: var(--v6fa-dark); z-index: 9999; padding: 1.4rem;
  transform: translateX(-105%); transition: transform 0.28s ease;
  overflow-y: auto;
}
.v6fa-menu-open { transform: translateX(0) !important; }
.v6fa-menu-title {
  font-size: 1.5rem; font-weight: 700; color: var(--v6fa-accent);
  padding: 0.6rem 0 1rem; border-bottom: 1px solid var(--v6fa-border); margin-bottom: 0.8rem;
}
.v6fa-menu-link {
  display: block; padding: 0.95rem 0.4rem; color: var(--v6fa-light);
  border-bottom: 1px solid rgba(255,255,255,0.05); font-size: 1.3rem;
}
.v6fa-menu-link:active { color: var(--v6fa-pink); }
.v6fa-menu-close {
  position: absolute; top: 0.6rem; right: 0.8rem;
  background: transparent; border: none; color: var(--v6fa-light);
  font-size: 2rem; cursor: pointer; line-height: 1;
}

/* ---------------------------------------------------------- HERO / CAROUSEL */
.v6fa-carousel {
  position: relative; overflow: hidden; border-radius: var(--v6fa-radius);
  margin: 1rem 0; background: var(--v6fa-bg-soft);
}
.v6fa-slide {
  display: none; cursor: pointer; position: relative;
}
.v6fa-slide-active { display: block; }
.v6fa-slide img { width: 100%; height: 180px; object-fit: cover; }
.v6fa-slide-caption {
  position: absolute; left: 0; right: 0; bottom: 0;
  background: linear-gradient(0deg, rgba(20,20,20,0.92), transparent);
  padding: 1rem 1.2rem 0.9rem; font-size: 1.35rem; font-weight: 700; color: #fff;
}
.v6fa-carousel-dots {
  position: absolute; bottom: 0.6rem; left: 50%; transform: translateX(-50%);
  display: flex; gap: 0.5rem;
}
.v6fa-carousel-dot {
  width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,0.4);
}
.v6fa-dot-active { background: var(--v6fa-accent); }

/* ---------------------------------------------------------- SECTIONS */
main { padding-bottom: 80px; }
.v6fa-section { margin: 1.6rem 0; }
.v6fa-section-title {
  font-size: 1.7rem; font-weight: 800; color: var(--v6fa-light);
  border-left: 4px solid var(--v6fa-accent); padding-left: 0.7rem; margin-bottom: 0.9rem;
}
.v6fa-h1 {
  font-size: 2rem; font-weight: 800; line-height: 2.4rem; margin: 1.2rem 0;
  background: linear-gradient(90deg, var(--v6fa-accent), var(--v6fa-pink));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.v6fa-h2 { font-size: 1.6rem; font-weight: 700; margin: 1.1rem 0 0.6rem; color: var(--v6fa-light); }
.v6fa-h3 { font-size: 1.35rem; font-weight: 700; margin: 0.8rem 0 0.4rem; color: var(--v6fa-accent); }
.v6fa-p { margin: 0.5rem 0; color: var(--v6fa-muted); }
.v6fa-text-accent { color: var(--v6fa-accent); font-weight: 700; }
.v6fa-promo-text {
  color: var(--v6fa-pink); font-weight: 700; cursor: pointer;
}
.v6fa-promo-text:hover { text-decoration: underline; }

/* ---------------------------------------------------------- GAME GRID */
.v6fa-cat-tabs { display: flex; gap: 0.5rem; overflow-x: auto; padding: 0.4rem 0 0.8rem; }
.v6fa-cat-tab {
  flex: 0 0 auto; padding: 0.4rem 1rem; border-radius: 16px;
  background: var(--v6fa-bg-soft); color: var(--v6fa-muted);
  font-size: 1.2rem; font-weight: 600; cursor: pointer; border: 1px solid transparent;
}
.v6fa-cat-tab:active, .v6fa-cat-tab:hover { color: var(--v6fa-accent); border-color: var(--v6fa-border); }
.v6fa-game-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.7rem;
}
.v6fa-game-card {
  background: var(--v6fa-bg-soft); border: 1px solid var(--v6fa-border);
  border-radius: var(--v6fa-radius-sm); padding: 0.5rem; text-align: center;
  cursor: pointer; transition: transform 0.15s ease, box-shadow 0.15s ease;
  overflow: hidden;
}
.v6fa-game-card:active { transform: scale(0.96); box-shadow: var(--v6fa-shadow); }
.v6fa-game-card img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 6px; }
.v6fa-game-name {
  font-size: 1.05rem; margin-top: 0.35rem; color: var(--v6fa-light);
  font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.v6fa-cat-label {
  font-size: 1.4rem; font-weight: 800; color: var(--v6fa-pink);
  margin: 1.4rem 0 0.6rem; display: flex; align-items: center; gap: 0.5rem;
}

/* ---------------------------------------------------------- INFO CARDS */
.v6fa-card {
  background: var(--v6fa-bg-soft); border: 1px solid var(--v6fa-border);
  border-radius: var(--v6fa-radius); padding: 1.1rem; margin: 0.8rem 0;
  box-shadow: var(--v6fa-shadow);
}
.v6fa-features { display: grid; gap: 0.8rem; }
.v6fa-feature {
  display: flex; gap: 0.8rem; align-items: flex-start;
}
.v6fa-feature-ico { font-size: 2.2rem; color: var(--v6fa-accent); flex: 0 0 auto; }
.v6fa-feature-body h3 { margin: 0 0 0.2rem; }
.v6fa-feature-body p { margin: 0; }

/* ---------------------------------------------------------- CTA */
.v6fa-cta {
  display: block; width: 100%; padding: 1.1rem; text-align: center;
  background: linear-gradient(90deg, var(--v6fa-primary), var(--v6fa-accent));
  color: #fff; font-weight: 800; font-size: 1.45rem; border-radius: 26px;
  border: none; cursor: pointer; margin: 1rem 0;
}
.v6fa-cta:active { transform: scale(0.98); }
.v6fa-cta-ghost {
  background: transparent; border: 2px solid var(--v6fa-accent); color: var(--v6fa-accent);
}

/* ---------------------------------------------------------- RTP / STATS */
.v6fa-rtp-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 0.6rem; }
.v6fa-rtp-item {
  background: var(--v6fa-bg-soft); border: 1px solid var(--v6fa-border);
  border-radius: var(--v6fa-radius-sm); padding: 0.7rem; text-align: center;
}
.v6fa-rtp-val { font-size: 1.7rem; font-weight: 800; color: var(--v6fa-pink); }
.v6fa-rtp-name { font-size: 1.05rem; color: var(--v6fa-muted); margin-top: 0.2rem; }

/* ---------------------------------------------------------- TESTIMONIALS */
.v6fa-testi { padding: 0.9rem; background: var(--v6fa-bg-soft); border-left: 3px solid var(--v6fa-accent); border-radius: 6px; margin: 0.6rem 0; }
.v6fa-testi-author { font-size: 1.15rem; font-weight: 700; color: var(--v6fa-light); margin-bottom: 0.3rem; }
.v6fa-stars { color: #FFD166; font-size: 1.2rem; }

/* ---------------------------------------------------------- PAYMENT */
.v6fa-pay-row { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.v6fa-pay-chip {
  padding: 0.5rem 1rem; background: var(--v6fa-bg-soft); border: 1px solid var(--v6fa-border);
  border-radius: 20px; font-size: 1.15rem; color: var(--v6fa-light); font-weight: 600;
}

/* ---------------------------------------------------------- WINNERS */
.v6fa-winner {
  display: flex; justify-content: space-between; padding: 0.6rem 0;
  border-bottom: 1px dashed rgba(255,255,255,0.07); font-size: 1.2rem;
}
.v6fa-winner:last-child { border-bottom: none; }
.v6fa-winner-amt { color: var(--v6fa-pink); font-weight: 700; }

/* ---------------------------------------------------------- FOOTER */
.v6fa-footer {
  background: var(--v6fa-dark); padding: 1.6rem 1.2rem 2.4rem;
  border-top: 1px solid var(--v6fa-border); margin-top: 1.5rem;
}
.v6fa-footer-brand { font-size: 1.5rem; font-weight: 800; color: var(--v6fa-accent); margin-bottom: 0.5rem; }
.v6fa-footer p { color: var(--v6fa-muted); font-size: 1.2rem; }
.v6fa-footer-links {
  display: flex; flex-wrap: wrap; gap: 0.4rem 0.9rem; margin: 1rem 0;
}
.v6fa-footer-links a { color: var(--v6fa-muted); font-size: 1.15rem; }
.v6fa-footer-links a:hover { color: var(--v6fa-accent); }
.v6fa-footer-promos { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 0.8rem 0; }
.v6fa-footer-promos button {
  padding: 0.45rem 0.9rem; border-radius: 16px; font-size: 1.1rem; font-weight: 700;
  border: none; cursor: pointer; color: #fff;
  background: linear-gradient(90deg, var(--v6fa-primary), var(--v6fa-accent));
}
.v6fa-copyright { margin-top: 1rem; font-size: 1.1rem; color: var(--v6fa-muted); text-align: center; }

/* ---------------------------------------------------------- BOTTOM NAV */
.v6fa-bottom-nav {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 1000;
  max-width: var(--v6fa-maxw); margin: 0 auto;
  height: 60px; display: flex; justify-content: space-around; align-items: center;
  background: linear-gradient(180deg, #0a1a1a, var(--v6fa-dark));
  border-top: 1px solid var(--v6fa-border);
}
.v6fa-nav-btn {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  min-width: 60px; min-height: 60px; flex: 1;
  background: transparent; border: none; color: var(--v6fa-muted); cursor: pointer;
  font-size: 1rem; gap: 2px; transition: color 0.18s ease, transform 0.18s ease;
}
.v6fa-nav-btn ico, .v6fa-nav-btn .material-icons-outlined,
.v6fa-nav-btn ion-icon { font-size: 22px; }
.v6fa-nav-btn:active { transform: scale(0.9); color: var(--v6fa-accent); }
.v6fa-nav-btn.active { color: var(--v6fa-accent); }
.v6fa-nav-btn-promo { color: var(--v6fa-pink); }

/* ---------------------------------------------------------- REVEAL ANIM */
.v6fa-reveal { opacity: 0; transform: translateY(14px); transition: opacity 0.5s ease, transform 0.5s ease; }
.v6fa-revealed { opacity: 1; transform: translateY(0); }

/* ---------------------------------------------------------- DESKTOP */
@media (min-width: 769px) {
  .v6fa-bottom-nav { display: none; }
  body { max-width: 760px; }
  main { padding-bottom: 1rem; }
}
@media (min-width: 431px) and (max-width: 768px) {
  body { max-width: 430px; }
}