/**
 * jilliph.sbs - Main Stylesheet
 * Prefix: v3d3-
 * Mobile-first design: sky blue + papaya whip on dark navy
 */

/* CSS Variables */
:root {
  --v3d3-primary: #87CEEB;
  --v3d3-bg: #0F0F23;
  --v3d3-text: #FFEFD5;
  --v3d3-accent: #87CEEB;
  --v3d3-highlight: #FFEFD5;
  --v3d3-light-bg: #1A1A3E;
  --v3d3-dark-bg: #080818;
  --v3d3-border: #2A2A4E;
  --v3d3-font-size: 62.5%;
}

/* Reset & Base */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: var(--v3d3-font-size); scroll-behavior: smooth; }
body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: var(--v3d3-bg);
  color: var(--v3d3-text);
  line-height: 1.5rem;
  max-width: 430px;
  margin: 0 auto;
  overflow-x: hidden;
  -webkit-text-size-adjust: 100%;
}
a { color: var(--v3d3-primary); text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }

/* Container */
.v3d3-container {
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
  padding: 0 1.2rem;
}

/* ===== HEADER ===== */
.v3d3-header {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  height: 5.6rem;
  background: linear-gradient(135deg, #0a0a1e 0%, #141438 100%);
  border-bottom: 1px solid var(--v3d3-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1rem;
  z-index: 1000;
}
.v3d3-header-left {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.v3d3-logo {
  width: 3rem;
  height: 3rem;
  border-radius: 0.6rem;
}
.v3d3-site-name {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--v3d3-primary);
  letter-spacing: 0.5px;
}
.v3d3-header-right {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.v3d3-btn-register {
  background: var(--v3d3-primary);
  color: var(--v3d3-dark-bg);
  font-size: 1.2rem;
  font-weight: 700;
  padding: 0.5rem 1.2rem;
  border-radius: 2rem;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
}
.v3d3-btn-register:hover {
  background: #a8dff5;
  transform: scale(1.05);
}
.v3d3-btn-login {
  background: transparent;
  color: var(--v3d3-highlight);
  font-size: 1.2rem;
  font-weight: 600;
  padding: 0.5rem 1.2rem;
  border-radius: 2rem;
  border: 1px solid var(--v3d3-highlight);
  cursor: pointer;
  transition: all 0.2s;
}
.v3d3-btn-login:hover {
  background: rgba(255,239,213,0.1);
}
.v3d3-hamburger {
  display: flex;
  flex-direction: column;
  gap: 4px;
  cursor: pointer;
  padding: 0.4rem;
  margin-left: 0.4rem;
}
.v3d3-hamburger span {
  display: block;
  width: 2rem;
  height: 2px;
  background: var(--v3d3-highlight);
  border-radius: 2px;
  transition: all 0.3s;
}

/* ===== MOBILE MENU ===== */
.v3d3-menu-overlay {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.6);
  z-index: 9998;
}
.v3d3-overlay-active { display: block; }
.v3d3-mobile-menu {
  position: fixed;
  top: 0; right: -280px;
  width: 280px;
  height: 100%;
  background: linear-gradient(180deg, #0d0d28, #1a1a4a);
  z-index: 9999;
  transition: right 0.35s ease;
  padding-top: 6rem;
  overflow-y: auto;
}
.v3d3-menu-active { right: 0; }
.v3d3-mobile-menu .v3d3-menu-close {
  position: absolute;
  top: 1.5rem; right: 1.5rem;
  font-size: 2rem;
  color: var(--v3d3-highlight);
  cursor: pointer;
  background: none;
  border: none;
}
.v3d3-mobile-menu-link {
  display: block;
  padding: 1.2rem 2rem;
  color: var(--v3d3-text);
  font-size: 1.4rem;
  border-bottom: 1px solid var(--v3d3-border);
  transition: background 0.2s;
}
.v3d3-mobile-menu-link:hover {
  background: rgba(135,206,235,0.1);
  color: var(--v3d3-primary);
}

/* ===== CAROUSEL ===== */
.v3d3-carousel {
  position: relative;
  width: 100%;
  margin-top: 5.6rem;
  overflow: hidden;
  border-radius: 0 0 1rem 1rem;
}
.v3d3-slide {
  display: none;
  width: 100%;
  cursor: pointer;
}
.v3d3-slide-active { display: block; }
.v3d3-slide img {
  width: 100%;
  height: auto;
  aspect-ratio: 430/200;
  object-fit: cover;
}
.v3d3-carousel-dots {
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
}
.v3d3-carousel-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(255,239,213,0.4);
  cursor: pointer;
  transition: background 0.3s;
}
.v3d3-dot-active {
  background: var(--v3d3-primary);
}

/* ===== SECTION HEADINGS ===== */
.v3d3-section-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--v3d3-highlight);
  margin: 2rem 0 1rem;
  padding-left: 1rem;
  border-left: 3px solid var(--v3d3-primary);
}

/* ===== GAME GRID ===== */
.v3d3-game-section {
  padding: 1rem 0;
}
.v3d3-game-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.8rem;
  padding: 0 0.6rem;
}
.v3d3-game-item {
  text-align: center;
  cursor: pointer;
  transition: transform 0.2s;
}
.v3d3-game-item:hover {
  transform: scale(1.06);
}
.v3d3-game-item img {
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
  border-radius: 0.8rem;
  border: 1px solid var(--v3d3-border);
}
.v3d3-game-name {
  font-size: 1rem;
  color: var(--v3d3-text);
  margin-top: 0.3rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* ===== CONTENT CARDS ===== */
.v3d3-card {
  background: var(--v3d3-light-bg);
  border-radius: 1rem;
  padding: 1.6rem;
  margin: 1.2rem 0;
  border: 1px solid var(--v3d3-border);
}
.v3d3-card h2 {
  font-size: 1.7rem;
  color: var(--v3d3-primary);
  margin-bottom: 1rem;
}
.v3d3-card h3 {
  font-size: 1.4rem;
  color: var(--v3d3-highlight);
  margin: 1rem 0 0.5rem;
}
.v3d3-card p {
  font-size: 1.3rem;
  line-height: 1.6;
  color: var(--v3d3-text);
  margin-bottom: 0.8rem;
}

/* ===== PROMO BUTTONS ===== */
.v3d3-promo-btn {
  display: inline-block;
  background: linear-gradient(135deg, var(--v3d3-primary), #5fb3d4);
  color: var(--v3d3-dark-bg);
  font-size: 1.3rem;
  font-weight: 700;
  padding: 1rem 2rem;
  border-radius: 2.5rem;
  cursor: pointer;
  border: none;
  transition: all 0.25s;
  text-align: center;
  margin: 0.5rem 0;
}
.v3d3-promo-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(135,206,235,0.3);
}
.v3d3-promo-link {
  color: var(--v3d3-primary);
  font-weight: 700;
  cursor: pointer;
  text-decoration: underline;
}
.v3d3-promo-link:hover {
  color: #a8dff5;
}

/* ===== WINNERS TABLE ===== */
.v3d3-winners-list {
  width: 100%;
}
.v3d3-winner-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.8rem 0;
  border-bottom: 1px solid var(--v3d3-border);
  font-size: 1.2rem;
}
.v3d3-winner-name { color: var(--v3d3-highlight); }
.v3d3-winner-game { color: var(--v3d3-primary); flex: 1; text-align: center; }
.v3d3-winner-amount { color: #50fa7b; font-weight: 700; }

/* ===== PAYMENT ICONS ===== */
.v3d3-payment-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  justify-content: center;
  margin: 1rem 0;
}
.v3d3-payment-item {
  background: var(--v3d3-dark-bg);
  border: 1px solid var(--v3d3-border);
  border-radius: 0.6rem;
  padding: 0.6rem 1.2rem;
  font-size: 1.1rem;
  color: var(--v3d3-text);
}

/* ===== TESTIMONIALS ===== */
.v3d3-testimonial {
  background: var(--v3d3-dark-bg);
  border-radius: 0.8rem;
  padding: 1.2rem;
  margin: 0.8rem 0;
  border-left: 3px solid var(--v3d3-primary);
}
.v3d3-testimonial-text {
  font-size: 1.2rem;
  font-style: italic;
  color: var(--v3d3-text);
  margin-bottom: 0.5rem;
}
.v3d3-testimonial-author {
  font-size: 1.1rem;
  color: var(--v3d3-primary);
  font-weight: 600;
}

/* ===== FOOTER ===== */
.v3d3-footer {
  background: var(--v3d3-dark-bg);
  padding: 2rem 1.2rem;
  margin-top: 2rem;
  border-top: 1px solid var(--v3d3-border);
  text-align: center;
}
.v3d3-footer-brand {
  font-size: 1.2rem;
  color: var(--v3d3-text);
  margin-bottom: 1rem;
  line-height: 1.6;
}
.v3d3-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  margin: 1rem 0;
}
.v3d3-footer-links a {
  font-size: 1.1rem;
  color: var(--v3d3-primary);
  padding: 0.3rem 0.6rem;
}
.v3d3-footer-copyright {
  font-size: 1rem;
  color: rgba(255,239,213,0.5);
  margin-top: 1rem;
}

/* ===== BOTTOM NAV ===== */
.v3d3-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  height: 60px;
  background: linear-gradient(180deg, #0d0d2e, #08081a);
  border-top: 1px solid var(--v3d3-border);
  display: flex;
  justify-content: space-around;
  align-items: center;
  z-index: 1000;
  padding: 0 0.3rem;
}
.v3d3-nav-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 60px;
  min-height: 56px;
  color: rgba(255,239,213,0.6);
  cursor: pointer;
  transition: all 0.2s;
  background: none;
  border: none;
  padding: 0.2rem;
}
.v3d3-nav-btn:hover,
.v3d3-nav-btn:focus {
  color: var(--v3d3-primary);
  transform: scale(1.1);
}
.v3d3-nav-btn-icon {
  font-size: 2.2rem;
  margin-bottom: 0.1rem;
}
.v3d3-nav-btn-text {
  font-size: 1rem;
  color: inherit;
}
.v3d3-nav-active {
  color: var(--v3d3-primary) !important;
}
.v3d3-nav-active .v3d3-nav-btn-text {
  font-weight: 700;
}

/* ===== MAIN CONTENT AREA ===== */
main {
  padding-top: 5.6rem;
  padding-bottom: 1rem;
}

/* ===== FAQ STYLES ===== */
.v3d3-faq-item {
  border-bottom: 1px solid var(--v3d3-border);
  padding: 1.2rem 0;
}
.v3d3-faq-q {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--v3d3-primary);
  margin-bottom: 0.5rem;
}
.v3d3-faq-a {
  font-size: 1.3rem;
  color: var(--v3d3-text);
  line-height: 1.6;
}

/* ===== GUIDE STEPS ===== */
.v3d3-step {
  display: flex;
  gap: 1rem;
  margin: 1rem 0;
  align-items: flex-start;
}
.v3d3-step-num {
  background: var(--v3d3-primary);
  color: var(--v3d3-dark-bg);
  font-weight: 700;
  font-size: 1.3rem;
  width: 2.8rem;
  height: 2.8rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.v3d3-step-content {
  font-size: 1.3rem;
  color: var(--v3d3-text);
  line-height: 1.6;
}
.v3d3-step-title {
  font-weight: 700;
  color: var(--v3d3-highlight);
  margin-bottom: 0.3rem;
}

/* ===== INTERNAL LINK ===== */
.v3d3-internal-link {
  color: var(--v3d3-primary);
  text-decoration: underline;
  font-weight: 600;
}
.v3d3-internal-link:hover {
  color: #a8dff5;
}

/* ===== RESPONSIVE ===== */
@media (min-width: 769px) {
  .v3d3-bottom-nav { display: none; }
  .v3d3-hamburger { display: none; }
  body { max-width: 430px; }
}
@media (max-width: 768px) {
  main { padding-bottom: 80px; }
}
