/* 6Jl Ph - Core Stylesheet */
/* All classes use v3d3- prefix for namespace isolation */
/* Mobile-first: max-width 430px, root font 62.5% */

:root {
  --v3d3-primary: #262626;
  --v3d3-accent: #FA8072;
  --v3d3-secondary: #00695C;
  --v3d3-text: #E0FFFF;
  --v3d3-bg: #262626;
  --v3d3-card: #1a1a1a;
  --v3d3-border: #3a3a3a;
  --v3d3-shadow: rgba(250, 128, 114, 0.15);
}

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

html {
  font-size: 62.5%;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  background-color: var(--v3d3-bg);
  color: var(--v3d3-text);
  line-height: 1.5rem;
  font-size: 1.4rem;
  max-width: 430px;
  margin: 0 auto;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ===== HEADER ===== */
.v3d3-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--v3d3-primary);
  border-bottom: 1px solid var(--v3d3-border);
  max-width: 430px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1rem;
  height: 5rem;
}

.v3d3-header-left {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.v3d3-logo {
  width: 28px;
  height: 28px;
  border-radius: 4px;
}

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

.v3d3-header-right {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.v3d3-btn-register,
.v3d3-btn-login {
  padding: 0.5rem 1rem;
  border: none;
  border-radius: 2rem;
  font-size: 1.2rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.v3d3-btn-register {
  background: var(--v3d3-accent);
  color: #fff;
}

.v3d3-btn-register:hover {
  background: #e0705f;
  transform: scale(1.05);
}

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

.v3d3-btn-login:hover {
  background: rgba(250, 128, 114, 0.1);
}

.v3d3-menu-toggle {
  background: none;
  border: none;
  color: var(--v3d3-text);
  font-size: 2rem;
  cursor: pointer;
  padding: 0.4rem;
  line-height: 1;
}

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

.v3d3-overlay-active {
  display: block;
}

.v3d3-mobile-menu {
  position: fixed;
  top: 0;
  right: -260px;
  width: 260px;
  height: 100%;
  background: #1a1a1a;
  z-index: 9999;
  transition: right 0.3s ease;
  padding: 2rem 1.5rem;
  overflow-y: auto;
}

.v3d3-menu-active {
  right: 0;
}

.v3d3-menu-close {
  background: none;
  border: none;
  color: var(--v3d3-text);
  font-size: 2.2rem;
  cursor: pointer;
  position: absolute;
  top: 1rem;
  right: 1rem;
}

.v3d3-menu-nav {
  list-style: none;
  margin-top: 3rem;
}

.v3d3-menu-nav li {
  border-bottom: 1px solid var(--v3d3-border);
}

.v3d3-menu-nav a {
  display: block;
  padding: 1.2rem 0;
  color: var(--v3d3-text);
  text-decoration: none;
  font-size: 1.4rem;
  transition: color 0.2s;
}

.v3d3-menu-nav a:hover {
  color: var(--v3d3-accent);
}

/* ===== CAROUSEL ===== */
.v3d3-carousel {
  position: relative;
  width: 100%;
  overflow: hidden;
  margin-top: 5rem;
  border-radius: 0 0 1rem 1rem;
}

.v3d3-carousel-slide {
  display: none;
  width: 100%;
  cursor: pointer;
}

.v3d3-slide-active {
  display: block;
}

.v3d3-carousel-slide img {
  width: 100%;
  height: auto;
  display: block;
}

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

.v3d3-carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: background 0.3s;
  border: none;
}

.v3d3-dot-active {
  background: var(--v3d3-accent);
}

/* ===== CONTAINER ===== */
.v3d3-container {
  padding: 0 1rem;
  max-width: 430px;
  margin: 0 auto;
}

/* ===== SECTION ===== */
.v3d3-section {
  padding: 2rem 1rem;
}

.v3d3-section-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--v3d3-accent);
  margin-bottom: 1.2rem;
  padding-bottom: 0.6rem;
  border-bottom: 2px solid var(--v3d3-secondary);
}

.v3d3-section-title i {
  margin-right: 0.5rem;
}

/* ===== GAME GRID ===== */
.v3d3-game-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.8rem;
}

.v3d3-game-item {
  text-align: center;
  cursor: pointer;
  transition: transform 0.2s ease;
  background: var(--v3d3-card);
  border-radius: 0.8rem;
  padding: 0.5rem;
  border: 1px solid var(--v3d3-border);
}

.v3d3-game-item:hover {
  transform: scale(1.05);
  border-color: var(--v3d3-accent);
}

.v3d3-game-item img {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 0.6rem;
  object-fit: cover;
}

.v3d3-game-item span {
  display: block;
  font-size: 1rem;
  color: var(--v3d3-text);
  margin-top: 0.3rem;
  line-height: 1.2;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* ===== H1 TITLE ===== */
.v3d3-main-title {
  font-size: 2rem;
  font-weight: 800;
  color: var(--v3d3-accent);
  text-align: center;
  padding: 1.5rem 1rem 0.5rem;
  line-height: 1.3;
}

/* ===== CONTENT BLOCKS ===== */
.v3d3-content-block {
  background: var(--v3d3-card);
  border-radius: 1rem;
  padding: 1.5rem;
  margin: 1rem;
  border: 1px solid var(--v3d3-border);
}

.v3d3-content-block h2 {
  font-size: 1.6rem;
  color: var(--v3d3-accent);
  margin-bottom: 0.8rem;
}

.v3d3-content-block h3 {
  font-size: 1.4rem;
  color: var(--v3d3-secondary);
  color: #4db6ac;
  margin-bottom: 0.6rem;
  margin-top: 1rem;
}

.v3d3-content-block p {
  color: var(--v3d3-text);
  line-height: 1.6;
  margin-bottom: 0.8rem;
  font-size: 1.3rem;
}

/* ===== CTA BUTTON ===== */
.v3d3-cta-btn {
  display: inline-block;
  background: linear-gradient(135deg, var(--v3d3-accent), #e0705f);
  color: #fff;
  padding: 1rem 2.5rem;
  border-radius: 3rem;
  font-size: 1.5rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: transform 0.2s, box-shadow 0.2s;
  text-align: center;
}

.v3d3-cta-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 15px var(--v3d3-shadow);
}

.v3d3-cta-center {
  text-align: center;
  padding: 1.5rem 0;
}

/* ===== TESTIMONIALS ===== */
.v3d3-testimonial {
  background: var(--v3d3-card);
  border-radius: 1rem;
  padding: 1.2rem;
  margin: 0.8rem 1rem;
  border-left: 3px solid var(--v3d3-accent);
}

.v3d3-testimonial p {
  font-size: 1.2rem;
  color: var(--v3d3-text);
  font-style: italic;
  line-height: 1.5;
}

.v3d3-testimonial cite {
  display: block;
  margin-top: 0.5rem;
  color: var(--v3d3-accent);
  font-size: 1.1rem;
  font-style: normal;
}

/* ===== PAYMENT ICONS ===== */
.v3d3-payment-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  padding: 1rem;
}

.v3d3-payment-item {
  background: var(--v3d3-card);
  border: 1px solid var(--v3d3-border);
  border-radius: 0.6rem;
  padding: 0.6rem 1rem;
  font-size: 1.1rem;
  color: var(--v3d3-text);
}

/* ===== FAQ ===== */
.v3d3-faq-item {
  background: var(--v3d3-card);
  border-radius: 0.8rem;
  padding: 1.2rem;
  margin-bottom: 0.8rem;
  border: 1px solid var(--v3d3-border);
}

.v3d3-faq-item strong {
  display: block;
  color: var(--v3d3-accent);
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
}

.v3d3-faq-item p {
  color: var(--v3d3-text);
  font-size: 1.2rem;
  line-height: 1.5;
}

/* ===== WINNER SHOWCASE ===== */
.v3d3-winner-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.8rem 1rem;
  background: var(--v3d3-card);
  border-radius: 0.6rem;
  margin-bottom: 0.5rem;
  border: 1px solid var(--v3d3-border);
}

.v3d3-winner-name {
  color: var(--v3d3-text);
  font-size: 1.2rem;
}

.v3d3-winner-amount {
  color: var(--v3d3-accent);
  font-weight: 700;
  font-size: 1.3rem;
}

.v3d3-winner-game {
  color: #4db6ac;
  font-size: 1.1rem;
}

/* ===== FOOTER ===== */
.v3d3-footer {
  background: #111;
  padding: 2rem 1rem 1rem;
  margin-top: 2rem;
  border-top: 2px solid var(--v3d3-accent);
}

.v3d3-footer-brand {
  font-size: 1.2rem;
  color: var(--v3d3-text);
  line-height: 1.5;
  margin-bottom: 1.2rem;
  opacity: 0.85;
}

.v3d3-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  justify-content: center;
  margin: 1rem 0;
}

.v3d3-footer-links a {
  color: var(--v3d3-accent);
  text-decoration: none;
  font-size: 1.2rem;
  padding: 0.4rem 0.8rem;
  background: var(--v3d3-card);
  border-radius: 0.4rem;
  border: 1px solid var(--v3d3-border);
  transition: background 0.2s;
}

.v3d3-footer-links a:hover {
  background: var(--v3d3-accent);
  color: #fff;
}

.v3d3-footer-promo {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  justify-content: center;
  margin: 1rem 0;
}

.v3d3-footer-promo button {
  background: var(--v3d3-accent);
  color: #fff;
  border: none;
  padding: 0.6rem 1.2rem;
  border-radius: 2rem;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s;
}

.v3d3-footer-promo button:hover {
  transform: scale(1.05);
}

.v3d3-footer-copyright {
  text-align: center;
  color: var(--v3d3-text);
  font-size: 1.1rem;
  opacity: 0.5;
  padding-top: 1rem;
  border-top: 1px solid var(--v3d3-border);
  margin-top: 1rem;
}

.v3d3-partner-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.8rem;
  margin: 1rem 0;
  opacity: 0.6;
}

.v3d3-partner-logos img {
  height: 24px;
  filter: grayscale(1);
}

/* ===== BOTTOM NAV ===== */
.v3d3-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: #111;
  border-top: 1px solid var(--v3d3-border);
  display: flex;
  justify-content: space-around;
  align-items: center;
  height: 60px;
  max-width: 430px;
  margin: 0 auto;
  padding: 0 0.3rem;
}

.v3d3-bottom-nav-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 60px;
  min-height: 54px;
  background: none;
  border: none;
  color: var(--v3d3-text);
  cursor: pointer;
  transition: all 0.2s ease;
  padding: 0.3rem;
  border-radius: 0.5rem;
}

.v3d3-bottom-nav-btn:hover,
.v3d3-bottom-nav-btn:active {
  color: var(--v3d3-accent);
  background: rgba(250, 128, 114, 0.1);
  transform: scale(1.08);
}

.v3d3-bottom-nav-btn .material-icons,
.v3d3-bottom-nav-btn ion-icon,
.v3d3-bottom-nav-btn i {
  font-size: 22px;
  margin-bottom: 2px;
}

.v3d3-bottom-nav-btn span {
  font-size: 1rem;
  line-height: 1.1;
}

.v3d3-bottom-nav-btn.v3d3-nav-active {
  color: var(--v3d3-accent);
}

/* ===== DESKTOP HIDE BOTTOM NAV ===== */
@media (min-width: 769px) {
  .v3d3-bottom-nav {
    display: none;
  }
}

/* ===== MOBILE BOTTOM PADDING ===== */
@media (max-width: 768px) {
  main {
    padding-bottom: 80px;
  }
  .v3d3-footer {
    padding-bottom: 80px;
  }
}

/* ===== UTILITIES ===== */
.v3d3-text-accent {
  color: var(--v3d3-accent);
  font-weight: 600;
}

.v3d3-text-secondary {
  color: #4db6ac;
}

.v3d3-mt-1 { margin-top: 0.5rem; }
.v3d3-mt-2 { margin-top: 1rem; }
.v3d3-mt-3 { margin-top: 1.5rem; }
.v3d3-mb-1 { margin-bottom: 0.5rem; }
.v3d3-mb-2 { margin-bottom: 1rem; }
.v3d3-mb-3 { margin-bottom: 1.5rem; }

.v3d3-text-center { text-align: center; }
.v3d3-text-sm { font-size: 1.1rem; }

.v3d3-affiliate-text {
  color: var(--v3d3-accent);
  text-decoration: underline;
  cursor: pointer;
  font-weight: 600;
}

.v3d3-internal-link {
  color: #4db6ac;
  text-decoration: underline;
}

.v3d3-internal-link:hover {
  color: var(--v3d3-accent);
}

/* ===== FEATURE CARDS ===== */
.v3d3-feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.8rem;
  padding: 0 1rem;
}

.v3d3-feature-card {
  background: var(--v3d3-card);
  border-radius: 0.8rem;
  padding: 1rem;
  text-align: center;
  border: 1px solid var(--v3d3-border);
  cursor: pointer;
  transition: border-color 0.2s;
}

.v3d3-feature-card:hover {
  border-color: var(--v3d3-accent);
}

.v3d3-feature-card i,
.v3d3-feature-card .material-icons {
  font-size: 2.4rem;
  color: var(--v3d3-accent);
  margin-bottom: 0.5rem;
}

.v3d3-feature-card p {
  font-size: 1.1rem;
  color: var(--v3d3-text);
}

/* ===== APP DOWNLOAD ===== */
.v3d3-app-cta {
  background: linear-gradient(135deg, var(--v3d3-secondary), #004D40);
  border-radius: 1rem;
  padding: 1.5rem;
  margin: 1rem;
  text-align: center;
}

.v3d3-app-cta h3 {
  color: var(--v3d3-accent);
  font-size: 1.6rem;
  margin-bottom: 0.8rem;
}

.v3d3-app-cta p {
  color: var(--v3d3-text);
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

/* ===== ACHIEVEMENTS ===== */
.v3d3-achievement-row {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.8rem;
  background: var(--v3d3-card);
  border-radius: 0.6rem;
  margin-bottom: 0.5rem;
  border: 1px solid var(--v3d3-border);
}

.v3d3-achievement-icon {
  font-size: 2rem;
  color: var(--v3d3-accent);
}

.v3d3-achievement-text {
  flex: 1;
}

.v3d3-achievement-text strong {
  display: block;
  color: var(--v3d3-accent);
  font-size: 1.2rem;
}

.v3d3-achievement-text span {
  font-size: 1rem;
  color: var(--v3d3-text);
  opacity: 0.7;
}

/* ===== RTP TABLE ===== */
.v3d3-rtp-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
}

.v3d3-rtp-item {
  background: var(--v3d3-card);
  border-radius: 0.6rem;
  padding: 0.6rem;
  text-align: center;
  border: 1px solid var(--v3d3-border);
}

.v3d3-rtp-item strong {
  display: block;
  color: var(--v3d3-accent);
  font-size: 1.1rem;
}

.v3d3-rtp-item span {
  font-size: 1rem;
  color: #4db6ac;
}
