/**
 * xx99.click - Core CSS Stylesheet
 * All classes use prefix "v20d-" for namespace isolation
 * Color palette: #FF8C00 | #40E0D0 | #FFBF00 | #2D2D2D | #FF9500
 * Mobile-first design, max-width 430px
 */

:root {
  --v20d-primary: #FF8C00;
  --v20d-secondary: #40E0D0;
  --v20d-accent: #FFBF00;
  --v20d-bg: #1A1A2E;
  --v20d-bg-dark: #16213E;
  --v20d-bg-card: #1F2940;
  --v20d-text: #F0F0F0;
  --v20d-text-muted: #A0AEC0;
  --v20d-highlight: #FF9500;
  --v20d-border: #2D3A5C;
  --v20d-radius: 10px;
  --v20d-shadow: 0 4px 15px rgba(0,0,0,0.3);
  font-size: 62.5%;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: var(--v20d-bg);
  color: var(--v20d-text);
  font-size: 1.5rem;
  line-height: 1.5;
  max-width: 430px;
  margin: 0 auto;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--v20d-secondary); text-decoration: none; }
a:hover { color: var(--v20d-accent); }
img { max-width: 100%; height: auto; display: block; }

/* ========== HEADER ========== */
.v20d-header {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  height: 56px;
  background: linear-gradient(135deg, #1A1A2E 0%, #16213E 100%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 12px;
  z-index: 1000;
  border-bottom: 2px solid var(--v20d-primary);
  box-shadow: var(--v20d-shadow);
}

.v20d-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}

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

.v20d-logo span {
  font-size: 1.8rem;
  font-weight: 700;
  background: linear-gradient(90deg, var(--v20d-primary), var(--v20d-accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.v20d-header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.v20d-btn-register {
  background: linear-gradient(135deg, var(--v20d-primary), var(--v20d-highlight));
  color: #fff;
  border: none;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 1.3rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  min-height: 32px;
}

.v20d-btn-register:hover {
  transform: scale(1.05);
  box-shadow: 0 0 12px rgba(255,140,0,0.5);
}

.v20d-btn-login {
  background: transparent;
  color: var(--v20d-secondary);
  border: 1.5px solid var(--v20d-secondary);
  padding: 5px 14px;
  border-radius: 20px;
  font-size: 1.3rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  min-height: 32px;
}

.v20d-btn-login:hover {
  background: var(--v20d-secondary);
  color: var(--v20d-bg);
}

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

/* ========== MOBILE MENU ========== */
.v20d-menu-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.6);
  z-index: 9998;
}

.v20d-mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 260px;
  height: 100%;
  background: var(--v20d-bg-dark);
  z-index: 9999;
  transform: translateX(-100%);
  transition: transform 0.3s ease;
  padding: 20px 0;
  overflow-y: auto;
}

.v20d-mobile-menu-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 16px 20px;
  border-bottom: 1px solid var(--v20d-border);
}

.v20d-mobile-menu-header span {
  font-size: 2rem;
  font-weight: 700;
  color: var(--v20d-primary);
}

.v20d-mobile-menu nav {
  padding: 10px 0;
}

.v20d-mobile-menu a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 20px;
  color: var(--v20d-text);
  font-size: 1.4rem;
  transition: all 0.2s;
  border-left: 3px solid transparent;
}

.v20d-mobile-menu a:hover,
.v20d-mobile-menu a:active {
  background: rgba(255,140,0,0.1);
  border-left-color: var(--v20d-primary);
  color: var(--v20d-primary);
}

.v20d-mobile-menu a .material-icons {
  font-size: 20px;
  color: var(--v20d-secondary);
}

/* ========== CAROUSEL ========== */
.v20d-carousel {
  position: relative;
  width: 100%;
  height: 180px;
  overflow: hidden;
  margin-top: 56px;
}

.v20d-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.6s ease;
  cursor: pointer;
}

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

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

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

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

.v20d-dot-active {
  background: var(--v20d-primary);
}

/* ========== MAIN CONTENT ========== */
main {
  padding: 0 12px 20px;
  min-height: 60vh;
}

.v20d-section {
  margin-bottom: 20px;
}

.v20d-section-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--v20d-accent);
  margin-bottom: 12px;
  padding-bottom: 6px;
  border-bottom: 2px solid var(--v20d-primary);
  display: flex;
  align-items: center;
  gap: 8px;
}

.v20d-section-title i {
  color: var(--v20d-primary);
}

/* ========== GAME GRID ========== */
.v20d-category-title {
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--v20d-secondary);
  margin: 16px 0 10px;
  padding-left: 8px;
  border-left: 3px solid var(--v20d-accent);
}

.v20d-game-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-bottom: 12px;
}

.v20d-game-item {
  text-align: center;
  cursor: pointer;
  transition: transform 0.2s;
}

.v20d-game-item:hover {
  transform: scale(1.05);
}

.v20d-game-item img {
  width: 70px;
  height: 70px;
  border-radius: 12px;
  margin: 0 auto 4px;
  border: 2px solid var(--v20d-border);
  object-fit: cover;
  transition: border-color 0.2s;
}

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

.v20d-game-name {
  font-size: 1.1rem;
  color: var(--v20d-text-muted);
  line-height: 1.3;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* ========== CONTENT CARDS ========== */
.v20d-card {
  background: var(--v20d-bg-card);
  border-radius: var(--v20d-radius);
  padding: 16px;
  margin-bottom: 14px;
  border: 1px solid var(--v20d-border);
}

.v20d-card h2, .v20d-card h3 {
  color: var(--v20d-accent);
  margin-bottom: 8px;
}

.v20d-card p {
  color: var(--v20d-text-muted);
  font-size: 1.35rem;
  line-height: 1.6;
  margin-bottom: 8px;
}

.v20d-card ul {
  padding-left: 18px;
  color: var(--v20d-text-muted);
  font-size: 1.35rem;
}

.v20d-card li {
  margin-bottom: 4px;
  line-height: 1.5;
}

/* ========== PROMO BUTTONS ========== */
.v20d-promo-btn {
  display: inline-block;
  background: linear-gradient(135deg, var(--v20d-primary), var(--v20d-highlight));
  color: #fff;
  padding: 10px 24px;
  border-radius: 25px;
  font-size: 1.4rem;
  font-weight: 700;
  cursor: pointer;
  border: none;
  transition: all 0.25s;
  text-align: center;
  box-shadow: 0 4px 12px rgba(255,140,0,0.3);
}

.v20d-promo-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(255,140,0,0.5);
}

.v20d-promo-link {
  color: var(--v20d-primary);
  font-weight: 700;
  cursor: pointer;
  text-decoration: underline;
  transition: color 0.2s;
}

.v20d-promo-link:hover {
  color: var(--v20d-accent);
}

/* ========== FOOTER ========== */
.v20d-footer {
  background: var(--v20d-bg-dark);
  padding: 20px 16px;
  text-align: center;
  border-top: 2px solid var(--v20d-primary);
  margin-top: 20px;
}

.v20d-footer-brand {
  font-size: 1.3rem;
  color: var(--v20d-text-muted);
  line-height: 1.6;
  margin-bottom: 12px;
}

.v20d-footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-bottom: 14px;
}

.v20d-footer-links a {
  background: var(--v20d-bg-card);
  color: var(--v20d-text);
  padding: 6px 12px;
  border-radius: 16px;
  font-size: 1.2rem;
  border: 1px solid var(--v20d-border);
  transition: all 0.2s;
}

.v20d-footer-links a:hover {
  background: var(--v20d-primary);
  color: #fff;
  border-color: var(--v20d-primary);
}

.v20d-footer-copy {
  font-size: 1.2rem;
  color: var(--v20d-text-muted);
  margin-top: 10px;
}

/* ========== BOTTOM NAV ========== */
.v20d-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  height: 60px;
  background: linear-gradient(180deg, #1F2940 0%, #16213E 100%);
  display: flex;
  justify-content: space-around;
  align-items: center;
  z-index: 1000;
  border-top: 2px solid var(--v20d-primary);
  box-shadow: 0 -2px 15px rgba(0,0,0,0.4);
}

.v20d-bottom-nav-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  color: var(--v20d-text-muted);
  font-size: 1rem;
  cursor: pointer;
  min-width: 60px;
  min-height: 54px;
  transition: all 0.2s;
  gap: 2px;
  border-radius: 8px;
  padding: 4px 2px;
}

.v20d-bottom-nav-btn i,
.v20d-bottom-nav-btn .material-icons,
.v20d-bottom-nav-btn ion-icon,
.v20d-bottom-nav-btn bi {
  font-size: 22px;
  transition: all 0.2s;
}

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

.v20d-bottom-nav-btn:hover,
.v20d-bottom-nav-btn:active,
.v20d-bottom-nav-active {
  color: var(--v20d-primary);
  background: rgba(255,140,0,0.1);
}

.v20d-bottom-nav-btn:hover i,
.v20d-bottom-nav-btn:active i,
.v20d-bottom-nav-active i {
  transform: scale(1.15);
}

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

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

/* ========== UTILITIES ========== */
.v20d-text-center { text-align: center; }
.v20d-mt-10 { margin-top: 10px; }
.v20d-mb-10 { margin-bottom: 10px; }
.v20d-mb-16 { margin-bottom: 16px; }
.v20d-hidden { display: none; }
.v20d-flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
}
.v20d-gap-8 { gap: 8px; }

.v20d-badge {
  display: inline-block;
  background: var(--v20d-primary);
  color: #fff;
  padding: 2px 8px;
  border-radius: 10px;
  font-size: 1.1rem;
  font-weight: 600;
}

.v20d-divider {
  height: 1px;
  background: var(--v20d-border);
  margin: 14px 0;
}

.v20d-img-responsive {
  width: 100%;
  border-radius: var(--v20d-radius);
  margin: 10px 0;
}

.v20d-winner-list {
  list-style: none;
  padding: 0;
}

.v20d-winner-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 12px;
  background: var(--v20d-bg-card);
  border-radius: 8px;
  margin-bottom: 6px;
  border: 1px solid var(--v20d-border);
}

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

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

.v20d-payment-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin: 10px 0;
}

.v20d-payment-item {
  background: var(--v20d-bg-card);
  border: 1px solid var(--v20d-border);
  border-radius: 8px;
  padding: 8px 14px;
  font-size: 1.3rem;
  color: var(--v20d-text-muted);
}

.v20d-testimonial {
  background: var(--v20d-bg-card);
  border-radius: var(--v20d-radius);
  padding: 12px;
  margin-bottom: 10px;
  border-left: 3px solid var(--v20d-secondary);
}

.v20d-testimonial p {
  font-style: italic;
  color: var(--v20d-text-muted);
  margin-bottom: 4px;
}

.v20d-testimonial cite {
  color: var(--v20d-accent);
  font-size: 1.2rem;
}
