/**
 * zs777.cfd - Core Stylesheet
 * Prefix: v2ad-
 * Mobile-first design with Hot Pink + Cadet Blue palette
 */

/* ===== CSS Variables ===== */
:root {
  --v2ad-primary: #FF69B4;
  --v2ad-secondary: #5F9EA0;
  --v2ad-accent: #00CED1;
  --v2ad-bg: #141414;
  --v2ad-bg-light: #1e1e1e;
  --v2ad-bg-card: #222222;
  --v2ad-text: #E0FFFF;
  --v2ad-text-muted: #a0b0b0;
  --v2ad-border: #333333;
  --v2ad-radius: 10px;
  --v2ad-radius-sm: 6px;
  --v2ad-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

/* ===== Reset & Base ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  background: var(--v2ad-bg);
  color: var(--v2ad-text);
  line-height: 1.6;
  max-width: 430px;
  margin: 0 auto;
  min-height: 100vh;
  overflow-x: hidden;
}
a { color: var(--v2ad-primary); text-decoration: none; transition: color 0.3s; }
a:hover { color: var(--v2ad-accent); }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }

/* ===== Header ===== */
.v2ad-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
  border-bottom: 2px solid var(--v2ad-primary);
  padding: 10px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.v2ad-header-left {
  display: flex;
  align-items: center;
  gap: 10px;
}
.v2ad-logo {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  object-fit: contain;
}
.v2ad-site-name {
  font-size: 1.25rem;
  font-weight: 800;
  background: linear-gradient(90deg, var(--v2ad-primary), var(--v2ad-accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.v2ad-header-right {
  display: flex;
  align-items: center;
  gap: 8px;
}
.v2ad-btn-register {
  background: linear-gradient(135deg, var(--v2ad-primary), #ff8dc7);
  color: #fff;
  border: none;
  padding: 7px 16px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
}
.v2ad-btn-register:hover { transform: scale(1.05); box-shadow: 0 0 12px rgba(255,105,180,0.5); }
.v2ad-btn-login {
  background: transparent;
  color: var(--v2ad-accent);
  border: 1.5px solid var(--v2ad-accent);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}
.v2ad-btn-login:hover { background: var(--v2ad-accent); color: var(--v2ad-bg); }
.v2ad-hamburger {
  background: none;
  border: none;
  color: var(--v2ad-text);
  font-size: 1.4rem;
  cursor: pointer;
  padding: 4px;
  display: flex;
  align-items: center;
}

/* ===== Mobile Menu ===== */
.v2ad-mobile-menu {
  position: fixed;
  top: 0;
  right: -280px;
  width: 280px;
  height: 100vh;
  background: #1a1a2e;
  z-index: 9999;
  transition: right 0.35s ease;
  padding: 20px;
  overflow-y: auto;
}
.v2ad-menu-active { right: 0 !important; }
.v2ad-menu-close {
  background: none;
  border: none;
  color: var(--v2ad-text);
  font-size: 1.6rem;
  cursor: pointer;
  float: right;
  margin-bottom: 20px;
}
.v2ad-menu-links { clear: both; padding-top: 10px; }
.v2ad-menu-links a {
  display: block;
  padding: 12px 0;
  color: var(--v2ad-text);
  font-size: 0.95rem;
  border-bottom: 1px solid var(--v2ad-border);
  transition: color 0.2s, padding-left 0.2s;
}
.v2ad-menu-links a:hover {
  color: var(--v2ad-primary);
  padding-left: 8px;
}
.v2ad-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: 9998;
  display: none;
}
.v2ad-overlay-active { display: block !important; }

/* ===== Carousel ===== */
.v2ad-carousel {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: 0 0 var(--v2ad-radius) var(--v2ad-radius);
}
.v2ad-slide {
  display: none;
  width: 100%;
  cursor: pointer;
}
.v2ad-slide img {
  width: 100%;
  height: auto;
  aspect-ratio: 16/7;
  object-fit: cover;
}
.v2ad-dots {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
}
.v2ad-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: background 0.3s;
}
.v2ad-dot-active { background: var(--v2ad-primary); }

/* ===== Main Content ===== */
.v2ad-main {
  padding: 16px;
  padding-bottom: 30px;
}
@media (max-width: 768px) {
  .v2ad-main { padding-bottom: 90px; }
}

/* ===== Section Titles ===== */
.v2ad-section-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--v2ad-text);
  margin: 24px 0 12px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--v2ad-primary);
  display: flex;
  align-items: center;
  gap: 8px;
}
.v2ad-section-title .material-icons {
  color: var(--v2ad-primary);
  font-size: 1.4rem;
}

/* ===== Game Grid ===== */
.v2ad-game-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-bottom: 8px;
}
.v2ad-game-card {
  background: var(--v2ad-bg-card);
  border-radius: var(--v2ad-radius-sm);
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  border: 1px solid var(--v2ad-border);
}
.v2ad-game-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(255, 105, 180, 0.2);
  border-color: var(--v2ad-primary);
}
.v2ad-game-card img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}
.v2ad-game-card p {
  font-size: 0.65rem;
  text-align: center;
  padding: 4px 2px;
  color: var(--v2ad-text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ===== Content Sections ===== */
.v2ad-content-block {
  background: var(--v2ad-bg-light);
  border-radius: var(--v2ad-radius);
  padding: 20px;
  margin: 16px 0;
  border: 1px solid var(--v2ad-border);
}
.v2ad-content-block h2 {
  color: var(--v2ad-primary);
  font-size: 1.15rem;
  margin-bottom: 12px;
}
.v2ad-content-block h3 {
  color: var(--v2ad-accent);
  font-size: 1rem;
  margin: 14px 0 8px;
}
.v2ad-content-block p {
  color: var(--v2ad-text-muted);
  font-size: 0.88rem;
  line-height: 1.7;
  margin-bottom: 10px;
}
.v2ad-content-block ul {
  padding-left: 20px;
  list-style: disc;
}
.v2ad-content-block ul li {
  color: var(--v2ad-text-muted);
  font-size: 0.88rem;
  margin-bottom: 6px;
}

/* ===== CTA Block ===== */
.v2ad-cta {
  background: linear-gradient(135deg, var(--v2ad-primary), #ff45a1);
  border-radius: var(--v2ad-radius);
  padding: 24px 20px;
  text-align: center;
  margin: 20px 0;
}
.v2ad-cta h2 {
  color: #fff;
  font-size: 1.3rem;
  margin-bottom: 8px;
}
.v2ad-cta p {
  color: rgba(255,255,255,0.9);
  font-size: 0.9rem;
  margin-bottom: 16px;
}
.v2ad-cta-btn {
  display: inline-block;
  background: #fff;
  color: var(--v2ad-primary);
  padding: 12px 32px;
  border-radius: 25px;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  border: none;
}
.v2ad-cta-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

/* ===== Features Grid ===== */
.v2ad-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin: 16px 0;
}
.v2ad-feature-item {
  background: var(--v2ad-bg-card);
  border-radius: var(--v2ad-radius-sm);
  padding: 16px 12px;
  text-align: center;
  border: 1px solid var(--v2ad-border);
  transition: border-color 0.3s;
}
.v2ad-feature-item:hover { border-color: var(--v2ad-accent); }
.v2ad-feature-item i,
.v2ad-feature-item .material-icons {
  font-size: 1.6rem;
  color: var(--v2ad-accent);
  margin-bottom: 8px;
  display: block;
}
.v2ad-feature-item h3 {
  font-size: 0.9rem;
  color: var(--v2ad-text);
  margin-bottom: 4px;
}
.v2ad-feature-item p {
  font-size: 0.75rem;
  color: var(--v2ad-text-muted);
}

/* ===== Footer ===== */
.v2ad-footer {
  background: #0d0d0d;
  padding: 30px 16px 20px;
  border-top: 2px solid var(--v2ad-secondary);
}
.v2ad-footer-brand {
  text-align: center;
  margin-bottom: 20px;
}
.v2ad-footer-brand p {
  color: var(--v2ad-text-muted);
  font-size: 0.82rem;
  line-height: 1.6;
}
.v2ad-footer-promo {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin: 16px 0;
}
.v2ad-footer-promo a {
  background: var(--v2ad-primary);
  color: #fff;
  padding: 6px 14px;
  border-radius: 16px;
  font-size: 0.78rem;
  font-weight: 600;
  transition: background 0.2s;
}
.v2ad-footer-promo a:hover { background: #ff45a1; }
.v2ad-footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin: 16px 0;
}
.v2ad-footer-links a {
  color: var(--v2ad-text-muted);
  font-size: 0.78rem;
  transition: color 0.2s;
}
.v2ad-footer-links a:hover { color: var(--v2ad-accent); }
.v2ad-footer-copy {
  text-align: center;
  color: #555;
  font-size: 0.72rem;
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px solid #222;
}
.v2ad-footer-partners {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin: 12px 0;
}
.v2ad-footer-partners img {
  height: 24px;
  opacity: 0.6;
  filter: grayscale(0.5);
}

/* ===== Bottom Navigation ===== */
.v2ad-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  height: 60px;
  background: linear-gradient(180deg, #1a1a2e 0%, #0d0d1a 100%);
  border-top: 1.5px solid var(--v2ad-primary);
  display: flex;
  justify-content: space-around;
  align-items: center;
  z-index: 1000;
  padding: 4px 0;
}
.v2ad-bottom-nav-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 58px;
  min-height: 52px;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--v2ad-text-muted);
  transition: color 0.25s, transform 0.2s;
  gap: 2px;
  position: relative;
}
.v2ad-bottom-nav-btn::after {
  content: '';
  position: absolute;
  bottom: 0;
  width: 30px;
  height: 3px;
  border-radius: 2px;
  background: transparent;
  transition: background 0.25s;
}
.v2ad-bottom-nav-btn:hover {
  color: var(--v2ad-primary);
  transform: scale(1.08);
}
.v2ad-bottom-nav-btn:hover::after { background: var(--v2ad-primary); }
.v2ad-bottom-nav-btn i,
.v2ad-bottom-nav-btn .material-icons,
.v2ad-bottom-nav-btn .bi {
  font-size: 22px;
}
.v2ad-bottom-nav-btn span {
  font-size: 10px;
  font-weight: 500;
}
@media (min-width: 769px) {
  .v2ad-bottom-nav { display: none; }
}

/* ===== Animations ===== */
.v2ad-animate {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.v2ad-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== Utility ===== */
.v2ad-text-center { text-align: center; }
.v2ad-mt-16 { margin-top: 16px; }
.v2ad-mb-16 { margin-bottom: 16px; }
.v2ad-hidden { display: none; }

/* ===== Help Page Styles ===== */
.v2ad-help-hero {
  background: linear-gradient(135deg, var(--v2ad-primary), var(--v2ad-accent));
  padding: 30px 16px;
  text-align: center;
}
.v2ad-help-hero h1 {
  font-size: 1.4rem;
  color: #fff;
  margin-bottom: 8px;
}
.v2ad-help-hero p {
  color: rgba(255,255,255,0.9);
  font-size: 0.9rem;
}
.v2ad-step-list {
  counter-reset: step;
  padding: 0;
}
.v2ad-step-item {
  counter-increment: step;
  background: var(--v2ad-bg-card);
  border-radius: var(--v2ad-radius-sm);
  padding: 16px;
  margin-bottom: 12px;
  border-left: 3px solid var(--v2ad-primary);
  position: relative;
}
.v2ad-step-item::before {
  content: counter(step);
  position: absolute;
  top: -10px;
  left: -16px;
  background: var(--v2ad-primary);
  color: #fff;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
}
.v2ad-step-item h3 {
  color: var(--v2ad-accent);
  font-size: 0.95rem;
  margin-bottom: 6px;
}
.v2ad-step-item p {
  color: var(--v2ad-text-muted);
  font-size: 0.85rem;
  line-height: 1.6;
}
.v2ad-faq-item {
  background: var(--v2ad-bg-card);
  border-radius: var(--v2ad-radius-sm);
  margin-bottom: 10px;
  padding: 14px 16px;
  border: 1px solid var(--v2ad-border);
}
.v2ad-faq-item h3 {
  color: var(--v2ad-primary);
  font-size: 0.92rem;
  margin-bottom: 6px;
}
.v2ad-faq-item p {
  color: var(--v2ad-text-muted);
  font-size: 0.84rem;
  line-height: 1.6;
}

/* ===== Desktop Override ===== */
@media (min-width: 769px) {
  body { max-width: 430px; }
  .v2ad-hamburger { display: none; }
}
