/* JL69 Layout Styles - All classes use v1d1- prefix */
/* Root font size: 62.5% so 1rem = 10px */

:root {
  --v1d1-primary: #9AFF9A;
  --v1d1-secondary: #FF7F50;
  --v1d1-bg: #0C0C0C;
  --v1d1-accent: #FF8000;
  --v1d1-accent-light: #FFB347;
  --v1d1-text: #FFFFFF;
  --v1d1-card-bg: #1A1A1A;
  --v1d1-card-border: #2A2A2A;
  --v1d1-header-bg: rgba(12, 12, 12, 0.95);
  --v1d1-nav-bg: #111111;
  --v1d1-shadow: 0 2px 12px rgba(0, 0, 0, 0.5);
  --v1d1-radius: 8px;
  --v1d1-radius-lg: 12px;
  --v1d1-transition: all 0.3s ease;
}

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

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

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

a {
  color: var(--v1d1-primary);
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
}

/* Header */
.v1d1-header {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  background: var(--v1d1-header-bg);
  backdrop-filter: blur(10px);
  z-index: 1000;
  padding: 0.8rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: var(--v1d1-transition);
}

.v1d1-header-scrolled {
  box-shadow: var(--v1d1-shadow);
  background: rgba(12, 12, 12, 0.98);
}

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

.v1d1-logo {
  width: 28px;
  height: 28px;
  border-radius: 6px;
}

.v1d1-site-name {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--v1d1-primary);
  letter-spacing: 0.5px;
}

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

.v1d1-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.6rem 1.2rem;
  border: none;
  border-radius: var(--v1d1-radius);
  font-size: 1.2rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--v1d1-transition);
  text-decoration: none;
  min-height: 36px;
}

.v1d1-btn-register {
  background: var(--v1d1-primary);
  color: #0C0C0C;
}

.v1d1-btn-register:hover {
  background: #7DDB7D;
  transform: scale(1.05);
}

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

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

.v1d1-menu-btn {
  background: none;
  border: none;
  color: var(--v1d1-text);
  font-size: 2rem;
  cursor: pointer;
  padding: 0.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Overlay */
.v1d1-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: 9998;
  opacity: 0;
  visibility: hidden;
  transition: var(--v1d1-transition);
}

.v1d1-overlay-active {
  opacity: 1;
  visibility: visible;
}

/* Mobile Menu */
.v1d1-mobile-menu {
  position: fixed;
  top: 0;
  right: -280px;
  width: 280px;
  height: 100%;
  background: var(--v1d1-nav-bg);
  z-index: 9999;
  padding: 2rem 1.5rem;
  transition: right 0.35s ease;
  overflow-y: auto;
}

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

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

.v1d1-menu-title {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--v1d1-primary);
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--v1d1-card-border);
}

.v1d1-menu-links {
  list-style: none;
}

.v1d1-menu-links li {
  margin-bottom: 0.3rem;
}

.v1d1-menu-links a {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 1rem;
  color: var(--v1d1-text);
  font-size: 1.4rem;
  border-radius: var(--v1d1-radius);
  transition: var(--v1d1-transition);
}

.v1d1-menu-links a:hover {
  background: rgba(154, 255, 154, 0.08);
  color: var(--v1d1-primary);
}

.v1d1-menu-links a i,
.v1d1-menu-links a .material-icons {
  font-size: 1.8rem;
  width: 24px;
  text-align: center;
}

/* Main Content */
main {
  padding-top: 5.6rem;
}

/* Carousel */
.v1d1-carousel {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: 0 0 var(--v1d1-radius-lg) var(--v1d1-radius-lg);
}

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

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

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

.v1d1-carousel-dots {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 5;
}

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

.v1d1-dot-active {
  background: var(--v1d1-primary);
  width: 20px;
  border-radius: 4px;
}

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

/* Section */
.v1d1-section {
  padding: 2rem 1rem;
}

.v1d1-section-title {
  font-size: 1.8rem;
  font-weight: 800;
  margin-bottom: 1.2rem;
  color: var(--v1d1-text);
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.v1d1-section-title .material-icons {
  color: var(--v1d1-primary);
  font-size: 2.2rem;
}

/* Game Grid */
.v1d1-game-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.8rem;
}

.v1d1-game-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
  transition: var(--v1d1-transition);
  border-radius: var(--v1d1-radius);
  padding: 0.5rem;
}

.v1d1-game-card:hover {
  transform: scale(1.05);
  background: rgba(154, 255, 154, 0.05);
}

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

.v1d1-game-card span {
  font-size: 1rem;
  text-align: center;
  margin-top: 0.3rem;
  color: #CCCCCC;
  line-height: 1.2rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Cards */
.v1d1-card {
  background: var(--v1d1-card-bg);
  border: 1px solid var(--v1d1-card-border);
  border-radius: var(--v1d1-radius-lg);
  padding: 1.5rem;
  margin-bottom: 1.2rem;
}

.v1d1-card-title {
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 0.8rem;
  color: var(--v1d1-primary);
}

.v1d1-card-text {
  font-size: 1.3rem;
  line-height: 1.6rem;
  color: #BBBBBB;
}

/* Promo Button Styles */
.v1d1-promo-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.8rem 1.6rem;
  background: linear-gradient(135deg, var(--v1d1-accent), var(--v1d1-secondary));
  color: #fff;
  font-weight: 700;
  font-size: 1.4rem;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: var(--v1d1-transition);
}

.v1d1-promo-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 15px rgba(255, 128, 0, 0.4);
}

.v1d1-promo-link {
  color: var(--v1d1-accent-light);
  font-weight: 600;
  cursor: pointer;
  transition: var(--v1d1-transition);
}

.v1d1-promo-link:hover {
  color: var(--v1d1-primary);
  text-decoration: underline;
}

/* Winner Showcase */
.v1d1-winner-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.8rem;
  border-bottom: 1px solid var(--v1d1-card-border);
}

.v1d1-winner-item:last-child {
  border-bottom: none;
}

.v1d1-winner-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--v1d1-card-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: var(--v1d1-primary);
}

.v1d1-winner-info {
  flex: 1;
}

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

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

/* Footer */
.v1d1-footer {
  background: var(--v1d1-nav-bg);
  padding: 2rem 1rem;
  padding-bottom: 8rem;
  border-top: 1px solid var(--v1d1-card-border);
}

.v1d1-footer-brand {
  text-align: center;
  margin-bottom: 1.5rem;
}

.v1d1-footer-brand p {
  font-size: 1.2rem;
  color: #888888;
  line-height: 1.5rem;
  margin-bottom: 0.5rem;
}

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

.v1d1-footer-links a {
  font-size: 1.1rem;
  color: #999999;
  transition: var(--v1d1-transition);
}

.v1d1-footer-links a:hover {
  color: var(--v1d1-primary);
}

.v1d1-footer-promo-btns {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem;
  margin-bottom: 1.5rem;
}

.v1d1-footer-promo-btns .v1d1-promo-btn {
  font-size: 1.2rem;
  padding: 0.6rem 1.2rem;
}

.v1d1-footer-copyright {
  text-align: center;
  font-size: 1.1rem;
  color: #666666;
}

/* Bottom Navigation */
.v1d1-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  height: 60px;
  background: var(--v1d1-nav-bg);
  border-top: 1px solid var(--v1d1-card-border);
  display: flex;
  justify-content: space-around;
  align-items: center;
  z-index: 1000;
}

.v1d1-bottom-nav-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 60px;
  min-height: 60px;
  background: none;
  border: none;
  color: #888888;
  cursor: pointer;
  transition: var(--v1d1-transition);
  padding: 0.4rem;
}

.v1d1-bottom-nav-btn:hover,
.v1d1-bottom-nav-btn:focus {
  color: var(--v1d1-primary);
}

.v1d1-bottom-nav-btn i,
.v1d1-bottom-nav-btn .material-icons,
.v1d1-bottom-nav-btn .material-symbols-outlined {
  font-size: 2.2rem;
}

.v1d1-bottom-nav-btn ion-icon {
  font-size: 2.4rem;
}

.v1d1-bottom-nav-btn span {
  font-size: 1rem;
  margin-top: 0.2rem;
}

.v1d1-bottom-nav-btn.v1d1-nav-active {
  color: var(--v1d1-primary);
}

.v1d1-bottom-nav-btn.v1d1-nav-active span {
  color: var(--v1d1-primary);
  font-weight: 600;
}

/* Promo Bottom Buttons */
.v1d1-bottom-nav-btn.v1d1-nav-promo {
  color: var(--v1d1-accent);
}

.v1d1-bottom-nav-btn.v1d1-nav-promo:hover {
  color: var(--v1d1-accent-light);
}

.v1d1-bottom-nav-btn.v1d1-nav-promo span {
  color: var(--v1d1-accent);
}

/* Responsive: Hide bottom nav on desktop */
@media (min-width: 769px) {
  .v1d1-bottom-nav {
    display: none;
  }
  .v1d1-footer {
    padding-bottom: 2rem;
  }
}

/* Mobile bottom padding */
@media (max-width: 768px) {
  main {
    padding-bottom: 80px;
  }
}

/* Category Badge */
.v1d1-cat-badge {
  display: inline-block;
  padding: 0.3rem 0.8rem;
  background: rgba(154, 255, 154, 0.1);
  color: var(--v1d1-primary);
  border-radius: 20px;
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.8rem;
}

/* Feature List */
.v1d1-feature-list {
  list-style: none;
}

.v1d1-feature-list li {
  padding: 0.6rem 0;
  font-size: 1.3rem;
  color: #BBBBBB;
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
}

.v1d1-feature-list li i {
  color: var(--v1d1-primary);
  margin-top: 0.2rem;
}

/* Highlight Box */
.v1d1-highlight-box {
  background: linear-gradient(135deg, rgba(154, 255, 154, 0.08), rgba(255, 128, 0, 0.08));
  border: 1px solid rgba(154, 255, 154, 0.2);
  border-radius: var(--v1d1-radius-lg);
  padding: 1.5rem;
  text-align: center;
  margin: 1rem 0;
}

.v1d1-highlight-box h3 {
  font-size: 1.6rem;
  color: var(--v1d1-primary);
  margin-bottom: 0.6rem;
}

.v1d1-highlight-box p {
  font-size: 1.3rem;
  color: #CCCCCC;
  margin-bottom: 1rem;
}

/* Payment Icons */
.v1d1-payment-row {
  display: flex;
  justify-content: center;
  gap: 1.2rem;
  flex-wrap: wrap;
  margin: 1rem 0;
}

.v1d1-payment-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
  font-size: 1rem;
  color: #999999;
}

.v1d1-payment-item i {
  font-size: 2.4rem;
  color: var(--v1d1-accent-light);
}

/* Testimonial */
.v1d1-testimonial {
  background: var(--v1d1-card-bg);
  border-radius: var(--v1d1-radius);
  padding: 1.2rem;
  margin-bottom: 0.8rem;
  border-left: 3px solid var(--v1d1-primary);
}

.v1d1-testimonial-text {
  font-size: 1.2rem;
  color: #CCCCCC;
  font-style: italic;
  margin-bottom: 0.5rem;
}

.v1d1-testimonial-author {
  font-size: 1.1rem;
  color: var(--v1d1-accent-light);
  font-weight: 600;
}

/* Utilities */
.v1d1-text-center { text-align: center; }
.v1d1-mt-1 { margin-top: 1rem; }
.v1d1-mt-2 { margin-top: 2rem; }
.v1d1-mb-1 { margin-bottom: 1rem; }
.v1d1-mb-2 { margin-bottom: 2rem; }
.v1d1-fw-bold { font-weight: 700; }
.v1d1-text-primary { color: var(--v1d1-primary); }
.v1d1-text-accent { color: var(--v1d1-accent); }
.v1d1-text-accent-light { color: var(--v1d1-accent-light); }

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

.v1d1-faq-q {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--v1d1-primary);
  margin-bottom: 0.5rem;
}

.v1d1-faq-a {
  font-size: 1.2rem;
  color: #BBBBBB;
  line-height: 1.5rem;
}

/* Steps */
.v1d1-steps {
  counter-reset: v1d1-step;
}

.v1d1-step-item {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
  align-items: flex-start;
}

.v1d1-step-num {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  background: var(--v1d1-accent);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  font-weight: 700;
}

.v1d1-step-content h3 {
  font-size: 1.4rem;
  color: var(--v1d1-text);
  margin-bottom: 0.3rem;
}

.v1d1-step-content p {
  font-size: 1.2rem;
  color: #BBBBBB;
}
