/**
 * fb009.click - Main Stylesheet
 * Prefix: gd72-
 * Color Palette: #DEB887 (Burlywood) | #0C0C0C (Dark) | #DEE2E6 (Light Gray)
 */

/* CSS Variables */
:root {
  --gd72-primary: #DEB887;
  --gd72-primary-dark: #C4A06E;
  --gd72-primary-light: #E8CFA0;
  --gd72-bg: #0C0C0C;
  --gd72-bg-card: #1A1A1A;
  --gd72-bg-section: #111111;
  --gd72-text: #DEE2E6;
  --gd72-text-muted: #8A8F94;
  --gd72-text-dark: #6C757D;
  --gd72-accent: #DEB887;
  --gd72-accent-hover: #C4A06E;
  --gd72-border: #2A2A2A;
  --gd72-shadow: rgba(222, 184, 135, 0.15);
  --gd72-radius: 8px;
  --gd72-radius-lg: 12px;
  --gd72-header-h: 56px;
  --gd72-bottom-nav-h: 60px;
  font-size: 62.5%;
}

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

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

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, sans-serif;
  background: var(--gd72-bg);
  color: var(--gd72-text);
  font-size: 1.5rem;
  line-height: 1.5;
  min-height: 100vh;
  overflow-x: hidden;
}

a { color: var(--gd72-primary); text-decoration: none; }
a:hover { color: var(--gd72-primary-light); }
img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }

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

.gd72-wrapper {
  width: 100%;
  padding-top: var(--gd72-header-h);
}

/* ========== HEADER ========== */
.gd72-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--gd72-header-h);
  background: var(--gd72-bg);
  border-bottom: 1px solid var(--gd72-border);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1.2rem;
  transition: box-shadow 0.3s ease;
}

.gd72-header-scrolled {
  box-shadow: 0 2px 12px var(--gd72-shadow);
}

.gd72-header-left {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.gd72-logo {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  object-fit: contain;
}

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

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

.gd72-btn-register,
.gd72-btn-login {
  padding: 0.5rem 1.2rem;
  border: none;
  border-radius: var(--gd72-radius);
  font-size: 1.3rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  min-height: 36px;
  min-width: 64px;
}

.gd72-btn-register {
  background: var(--gd72-primary);
  color: var(--gd72-bg);
}

.gd72-btn-register:hover {
  background: var(--gd72-primary-dark);
  transform: scale(1.03);
}

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

.gd72-btn-login:hover {
  background: var(--gd72-primary);
  color: var(--gd72-bg);
}

.gd72-menu-toggle {
  background: none;
  border: none;
  color: var(--gd72-text);
  font-size: 2.2rem;
  cursor: pointer;
  padding: 0.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  min-height: 36px;
  transition: transform 0.2s;
}

.gd72-toggle-active { transform: rotate(90deg); }

/* ========== MOBILE MENU ========== */
.gd72-menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 9998;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

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

.gd72-mobile-menu {
  position: fixed;
  top: 0;
  right: -280px;
  width: 280px;
  height: 100%;
  background: var(--gd72-bg-card);
  z-index: 9999;
  transition: right 0.3s ease;
  padding: 2rem 1.6rem;
  overflow-y: auto;
}

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

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

.gd72-menu-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--gd72-primary);
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--gd72-border);
}

.gd72-menu-list {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.gd72-menu-link {
  display: block;
  padding: 1rem 1.2rem;
  color: var(--gd72-text);
  font-size: 1.5rem;
  border-radius: var(--gd72-radius);
  transition: all 0.2s;
}

.gd72-menu-link:hover {
  background: rgba(222, 184, 135, 0.1);
  color: var(--gd72-primary);
}

/* ========== CAROUSEL ========== */
.gd72-carousel {
  position: relative;
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
  overflow: hidden;
  border-radius: var(--gd72-radius-lg);
  aspect-ratio: 16/9;
}

.gd72-carousel-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.6s ease;
  cursor: pointer;
}

.gd72-slide-active { opacity: 1; }

.gd72-carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

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

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

.gd72-dot-active {
  background: var(--gd72-primary);
  transform: scale(1.3);
}

/* ========== GAME GRID ========== */
.gd72-section {
  padding: 2rem 0;
}

.gd72-section-title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--gd72-primary);
  margin-bottom: 1.4rem;
  padding-left: 1rem;
  border-left: 3px solid var(--gd72-primary);
}

.gd72-game-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.gd72-game-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  transition: transform 0.2s;
  text-align: center;
}

.gd72-game-item:hover { transform: translateY(-2px); }

.gd72-game-img {
  width: 72px;
  height: 72px;
  border-radius: var(--gd72-radius);
  object-fit: cover;
  border: 1px solid var(--gd72-border);
  transition: border-color 0.2s;
}

.gd72-game-item:hover .gd72-game-img {
  border-color: var(--gd72-primary);
}

.gd72-game-name {
  font-size: 1.1rem;
  color: var(--gd72-text);
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ========== CARDS ========== */
.gd72-card {
  background: var(--gd72-bg-card);
  border: 1px solid var(--gd72-border);
  border-radius: var(--gd72-radius-lg);
  padding: 1.6rem;
  margin-bottom: 1.2rem;
}

.gd72-card-title {
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--gd72-primary);
  margin-bottom: 1rem;
}

.gd72-card-text {
  font-size: 1.4rem;
  color: var(--gd72-text);
  line-height: 1.6;
  margin-bottom: 1rem;
}

.gd72-card-text:last-child { margin-bottom: 0; }

/* ========== PROMO BUTTONS ========== */
.gd72-btn-promo {
  display: inline-block;
  background: var(--gd72-primary);
  color: var(--gd72-bg);
  padding: 1rem 2.4rem;
  border-radius: var(--gd72-radius);
  font-size: 1.5rem;
  font-weight: 700;
  cursor: pointer;
  border: none;
  transition: all 0.2s ease;
  text-align: center;
  min-height: 44px;
}

.gd72-btn-promo:hover {
  background: var(--gd72-primary-dark);
  transform: scale(1.03);
}

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

.gd72-btn-outline:hover {
  background: var(--gd72-primary);
  color: var(--gd72-bg);
}

.gd72-text-link {
  color: var(--gd72-primary);
  font-weight: 600;
  cursor: pointer;
  transition: color 0.2s;
  border-bottom: 1px solid transparent;
}

.gd72-text-link:hover {
  color: var(--gd72-primary-light);
  border-bottom-color: var(--gd72-primary-light);
}

/* ========== FOOTER ========== */
.gd72-footer {
  background: var(--gd72-bg-card);
  border-top: 1px solid var(--gd72-border);
  padding: 2rem 0 1.5rem;
  margin-top: 3rem;
}

.gd72-footer-brand {
  font-size: 1.4rem;
  color: var(--gd72-text-muted);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.gd72-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-bottom: 1.5rem;
}

.gd72-footer-link {
  padding: 0.5rem 1.2rem;
  background: var(--gd72-bg-section);
  border: 1px solid var(--gd72-border);
  border-radius: var(--gd72-radius);
  color: var(--gd72-text);
  font-size: 1.3rem;
  transition: all 0.2s;
}

.gd72-footer-link:hover {
  border-color: var(--gd72-primary);
  color: var(--gd72-primary);
}

.gd72-footer-copy {
  font-size: 1.2rem;
  color: var(--gd72-text-dark);
  text-align: center;
  padding-top: 1rem;
  border-top: 1px solid var(--gd72-border);
}

/* ========== BOTTOM NAVIGATION ========== */
.gd72-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: var(--gd72-bottom-nav-h);
  background: var(--gd72-bg-card);
  border-top: 1px solid var(--gd72-border);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-around;
  padding: 0 0.4rem;
}

.gd72-bottom-nav-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 60px;
  min-height: 52px;
  background: none;
  border: none;
  color: var(--gd72-text-muted);
  cursor: pointer;
  gap: 0.3rem;
  transition: all 0.2s;
  padding: 0.4rem;
  border-radius: var(--gd72-radius);
  position: relative;
}

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

.gd72-bottom-nav-btn:active {
  transform: scale(0.92);
}

.gd72-nav-active::after {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 24px;
  height: 2px;
  background: var(--gd72-primary);
  border-radius: 1px;
}

.gd72-bottom-nav-icon {
  font-size: 2.2rem;
  line-height: 1;
}

.gd72-bottom-nav-text {
  font-size: 1rem;
  font-weight: 500;
  line-height: 1;
}

/* ========== UTILITIES ========== */
.gd72-text-center { text-align: center; }
.gd72-mt-1 { margin-top: 1rem; }
.gd72-mt-2 { margin-top: 2rem; }
.gd72-mb-1 { margin-bottom: 1rem; }
.gd72-mb-2 { margin-bottom: 2rem; }
.gd72-py-1 { padding-top: 1rem; padding-bottom: 1rem; }
.gd72-py-2 { padding-top: 2rem; padding-bottom: 2rem; }

.gd72-highlight {
  color: var(--gd72-primary);
  font-weight: 700;
}

.gd72-divider {
  border: none;
  border-top: 1px solid var(--gd72-border);
  margin: 2rem 0;
}

.gd72-badge {
  display: inline-block;
  background: var(--gd72-primary);
  color: var(--gd72-bg);
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
  font-size: 1.1rem;
  font-weight: 600;
}

/* ========== TESTIMONIALS ========== */
.gd72-testimonial {
  background: var(--gd72-bg-section);
  border: 1px solid var(--gd72-border);
  border-radius: var(--gd72-radius-lg);
  padding: 1.4rem;
  margin-bottom: 1rem;
}

.gd72-testimonial-user {
  font-weight: 700;
  color: var(--gd72-primary);
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
}

.gd72-testimonial-text {
  font-size: 1.3rem;
  color: var(--gd72-text);
  line-height: 1.5;
}

/* ========== PAYMENT GRID ========== */
.gd72-payment-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  justify-content: center;
}

.gd72-payment-item {
  background: var(--gd72-bg-section);
  border: 1px solid var(--gd72-border);
  border-radius: var(--gd72-radius);
  padding: 0.6rem 1.2rem;
  font-size: 1.2rem;
  color: var(--gd72-text);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

/* ========== WINNERS TABLE ========== */
.gd72-winners-list {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.gd72-winner-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.8rem 1rem;
  background: var(--gd72-bg-section);
  border-radius: var(--gd72-radius);
  border: 1px solid var(--gd72-border);
}

.gd72-winner-name {
  font-weight: 600;
  color: var(--gd72-primary);
  font-size: 1.3rem;
}

.gd72-winner-game {
  font-size: 1.2rem;
  color: var(--gd72-text-muted);
}

.gd72-winner-amount {
  font-weight: 700;
  color: var(--gd72-primary);
  font-size: 1.4rem;
}

/* ========== RESPONSIVE ========== */
@media (min-width: 769px) {
  .gd72-bottom-nav { display: none; }
  .gd72-menu-toggle { display: none; }

  .gd72-container { max-width: 430px; }

  .gd72-header { justify-content: center; gap: 1rem; }
}

@media (max-width: 768px) {
  .gd72-wrapper {
    padding-bottom: 80px;
  }
}

@media (max-width: 360px) {
  .gd72-game-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.8rem;
  }

  .gd72-game-img {
    width: 64px;
    height: 64px;
  }
}
