/*!
 * gamezone-apk.css
 * Core stylesheet for gamezone apk (gamezone-apk.click)
 * All custom classes use the "v100-" prefix to avoid collisions.
 * Mobile-first design, max viewport width 430px for primary layout.
 * Code comments in English only.
 */

/* ===== Design Tokens ===== */
:root {
  --v100-primary: #4DB6AC;       /* brand teal */
  --v100-secondary: #004D40;     /* deep teal */
  --v100-accent: #191970;        /* midnight blue */
  --v100-dark: #34495E;          /* slate */
  --v100-bg: #0a1f2b;            /* page background */
  --v100-bg-soft: #102a36;
  --v100-text: #F0FDFF;          /* near-white text */
  --v100-muted: #9fb6c2;
  --v100-gold: #ffcf5c;
  --v100-danger: #ff5a7a;
  --v100-radius: 14px;
  --v100-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
}

/* ===== Reset ===== */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { font-size: 62.5%; -webkit-text-size-adjust: 100%; }
body {
  font-family: "Segoe UI", "Helvetica Neue", Roboto, Arial, sans-serif;
  background: var(--v100-bg);
  color: var(--v100-text);
  line-height: 1.5rem;
  font-size: 1.6rem;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--v100-primary); text-decoration: none; }
a:hover { color: var(--v100-gold); }
ul { list-style: none; }

/* ===== Layout helpers ===== */
.v100-container {
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
  padding: 0 1.2rem;
}
.v100-wrapper {
  padding-top: 6rem;
  padding-bottom: 2rem;
}
.v100-grid {
  display: grid;
  gap: 1rem;
}
.v100-section {
  margin: 2rem 0;
}

/* ===== Header ===== */
.v100-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: linear-gradient(135deg, var(--v100-accent), var(--v100-secondary));
  border-bottom: 2px solid var(--v100-primary);
  box-shadow: var(--v100-shadow);
}
.v100-header-inner {
  max-width: 430px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.6rem 1rem;
}
.v100-brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--v100-text);
  font-weight: 700;
  font-size: 1.6rem;
}
.v100-brand img { width: 28px; height: 28px; border-radius: 6px; }
.v100-brand small { display: block; font-size: 1.0rem; color: var(--v100-primary); font-weight: 500; }
.v100-header-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* ===== Buttons ===== */
.v100-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.7rem 1.2rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1.3rem;
  border: none;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.2s ease;
  min-height: 36px;
}
.v100-btn:active { transform: scale(0.95); }
.v100-btn-primary {
  background: linear-gradient(135deg, var(--v100-gold), #ff9a3c);
  color: #2a1500;
  box-shadow: 0 4px 12px rgba(255, 180, 60, 0.35);
}
.v100-btn-secondary {
  background: var(--v100-primary);
  color: #00231d;
}
.v100-btn-ghost {
  background: transparent;
  border: 1.5px solid var(--v100-primary);
  color: var(--v100-text);
}
.v100-btn-block {
  display: flex;
  width: 100%;
  justify-content: center;
}
.v100-icon-btn {
  background: transparent;
  border: none;
  color: var(--v100-text);
  font-size: 1.8rem;
  padding: 0.5rem;
  cursor: pointer;
  border-radius: 8px;
}
.v100-icon-btn:active { background: rgba(255,255,255,0.1); }

/* ===== Mobile dropdown menu ===== */
.v100-mobile-menu {
  position: fixed;
  top: 5.6rem; left: 0; right: 0;
  background: var(--v100-bg-soft);
  border-bottom: 2px solid var(--v100-primary);
  z-index: 9999;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}
.v100-mobile-menu.v100-menu-open { max-height: 480px; }
.v100-mobile-menu ul { padding: 0.8rem 1.2rem; }
.v100-mobile-menu li { margin: 0.4rem 0; }
.v100-mobile-menu a {
  display: block;
  padding: 1rem 1.2rem;
  background: var(--v100-dark);
  border-radius: 10px;
  color: var(--v100-text);
  font-weight: 600;
}
.v100-mobile-menu a:hover { background: var(--v100-secondary); color: var(--v100-gold); }

/* ===== Carousel ===== */
.v100-carousel {
  position: relative;
  border-radius: var(--v100-radius);
  overflow: hidden;
  box-shadow: var(--v100-shadow);
  margin: 1rem 0;
}
.v100-carousel-track { position: relative; height: 180px; }
.v100-carousel-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.6s ease;
}
.v100-carousel-slide img { width: 100%; height: 180px; object-fit: cover; }
.v100-carousel-slide.v100-slide-active { opacity: 1; }
.v100-carousel-overlay {
  position: absolute;
  left: 1rem; right: 1rem; bottom: 1rem;
  background: rgba(0, 0, 0, 0.55);
  border-radius: 10px;
  padding: 0.6rem 0.9rem;
  color: var(--v100-text);
}
.v100-carousel-overlay strong { color: var(--v100-gold); display: block; font-size: 1.4rem; }
.v100-carousel-dots {
  position: absolute;
  bottom: 0.6rem; left: 0; right: 0;
  display: flex; justify-content: center; gap: 0.4rem;
}
.v100-carousel-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: rgba(255,255,255,0.5); cursor: pointer;
}
.v100-carousel-dot.v100-dot-active { background: var(--v100-gold); }

/* ===== Section headings ===== */
.v100-section-title {
  font-size: 1.9rem;
  font-weight: 800;
  color: var(--v100-text);
  margin: 1.4rem 0 0.8rem;
  display: flex; align-items: center; gap: 0.6rem;
}
.v100-section-title i { color: var(--v100-gold); }
.v100-section-sub { color: var(--v100-muted); margin-bottom: 1rem; font-size: 1.35rem; }

/* ===== Cards ===== */
.v100-card {
  background: var(--v100-bg-soft);
  border: 1px solid rgba(77,182,172,0.18);
  border-radius: var(--v100-radius);
  padding: 1.2rem;
  box-shadow: var(--v100-shadow);
}
.v100-card h3 { color: var(--v100-primary); margin-bottom: 0.4rem; font-size: 1.5rem; }

/* ===== Game grid ===== */
.v100-game-cat { margin: 1.6rem 0; }
.v100-game-cat-title {
  font-size: 1.5rem;
  color: var(--v100-gold);
  margin-bottom: 0.7rem;
  font-weight: 700;
  text-transform: capitalize;
  display: flex; align-items: center; gap: 0.5rem;
}
.v100-game-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.7rem;
}
.v100-game-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: var(--v100-dark);
  border-radius: 10px;
  padding: 0.5rem;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.v100-game-item:hover { transform: translateY(-3px); box-shadow: var(--v100-shadow); }
.v100-game-item img { width: 64px; height: 64px; object-fit: cover; border-radius: 8px; }
.v100-game-item span {
  display: block;
  margin-top: 0.4rem;
  font-size: 1.05rem;
  color: var(--v100-text);
  line-height: 1.2rem;
  height: 2.4rem;
  overflow: hidden;
}

/* ===== Features grid ===== */
.v100-feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.8rem;
}
.v100-feature {
  background: var(--v100-dark);
  border-radius: 12px;
  padding: 1rem;
  text-align: center;
}
.v100-feature i { font-size: 2.4rem; color: var(--v100-gold); }
.v100-feature h4 { margin: 0.4rem 0 0.2rem; font-size: 1.3rem; }
.v100-feature p { font-size: 1.1rem; color: var(--v100-muted); }

/* ===== RTP table ===== */
.v100-rtp-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 1.2rem;
}
.v100-rtp-table th, .v100-rtp-table td {
  border: 1px solid rgba(77,182,172,0.2);
  padding: 0.5rem 0.6rem;
  text-align: left;
}
.v100-rtp-table th { background: var(--v100-secondary); color: var(--v100-text); }
.v100-rtp-bar {
  height: 6px; border-radius: 4px;
  background: rgba(255,255,255,0.1);
  overflow: hidden;
}
.v100-rtp-bar span { display: block; height: 100%; background: linear-gradient(90deg, var(--v100-primary), var(--v100-gold)); }

/* ===== Testimonials ===== */
.v100-testimonial {
  background: var(--v100-dark);
  border-left: 4px solid var(--v100-gold);
  border-radius: 8px;
  padding: 0.9rem 1rem;
  margin-bottom: 0.7rem;
}
.v100-testimonial p { font-style: italic; color: var(--v100-text); }
.v100-testimonial cite { display: block; margin-top: 0.4rem; color: var(--v100-primary); font-size: 1.1rem; }

/* ===== Payment row ===== */
.v100-payment-row {
  display: flex; gap: 0.6rem; flex-wrap: wrap;
}
.v100-payment-chip {
  background: var(--v100-dark);
  border-radius: 999px;
  padding: 0.5rem 1rem;
  font-size: 1.15rem;
  color: var(--v100-text);
  display: inline-flex; align-items: center; gap: 0.4rem;
}

/* ===== Promo CTA banner ===== */
.v100-cta {
  background: linear-gradient(135deg, var(--v100-accent), var(--v100-secondary));
  border-radius: var(--v100-radius);
  padding: 1.4rem;
  text-align: center;
  margin: 1.6rem 0;
  border: 1px solid var(--v100-primary);
}
.v100-cta h3 { color: var(--v100-gold); margin-bottom: 0.5rem; font-size: 1.7rem; }
.v100-cta p { color: var(--v100-text); margin-bottom: 0.9rem; }

/* ===== Footer ===== */
.v100-footer {
  background: var(--v100-bg-soft);
  border-top: 2px solid var(--v100-primary);
  padding: 1.6rem 1.2rem 2rem;
  margin-top: 2rem;
}
.v100-footer-brand { color: var(--v100-text); font-weight: 700; font-size: 1.4rem; margin-bottom: 0.4rem; }
.v100-footer-desc { color: var(--v100-muted); font-size: 1.2rem; margin-bottom: 0.8rem; }
.v100-footer-links {
  display: flex; flex-wrap: wrap; gap: 0.4rem 0.8rem;
  margin: 0.8rem 0;
}
.v100-footer-links a {
  color: var(--v100-primary);
  font-size: 1.15rem;
  text-decoration: underline;
}
.v100-footer-promos {
  display: flex; flex-wrap: wrap; gap: 0.5rem;
  margin: 0.8rem 0;
}
.v100-copyright { color: var(--v100-muted); font-size: 1.1rem; margin-top: 0.8rem; }

/* ===== Bottom navigation ===== */
.v100-bottom-nav {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  height: 62px;
  background: linear-gradient(135deg, var(--v100-accent), var(--v100-secondary));
  border-top: 2px solid var(--v100-primary);
  display: flex;
  justify-content: space-around;
  align-items: center;
  z-index: 1000;
  box-shadow: 0 -4px 14px rgba(0,0,0,0.4);
}
.v100-bottom-nav-btn {
  flex: 1;
  background: transparent;
  border: none;
  color: var(--v100-text);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  min-width: 60px;
  min-height: 60px;
  font-size: 1.05rem;
  cursor: pointer;
  transition: transform 0.15s ease, color 0.2s ease;
}
.v100-bottom-nav-btn i, .v100-bottom-nav-btn .material-icons-outlined {
  font-size: 24px;
}
.v100-bottom-nav-btn:active { transform: scale(0.92); color: var(--v100-gold); }
.v100-bottom-nav-btn.v100-nav-active { color: var(--v100-gold); }
.v100-nav-badge {
  position: absolute;
  top: 6px; right: 18px;
  background: var(--v100-danger);
  color: #fff;
  font-size: 0.9rem;
  padding: 0 5px;
  border-radius: 999px;
  line-height: 1.4rem;
}

/* ===== Reveal animation ===== */
.v100-reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.v100-reveal.v100-revealed { opacity: 1; transform: translateY(0); }

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

/* Hide bottom nav on desktop */
@media (min-width: 769px) {
  .v100-bottom-nav { display: none; }
}

/* ===== 430px fine-tune ===== */
@media (max-width: 430px) {
  .v100-game-grid { grid-template-columns: repeat(3, 1fr); gap: 0.5rem; }
  .v100-game-item img { width: 58px; height: 58px; }
  .v100-feature-grid { grid-template-columns: repeat(2, 1fr); }
  .v100-carousel-track { height: 150px; }
  .v100-carousel-slide img { height: 150px; }
  .v100-section-title { font-size: 1.7rem; }
}

@media (max-width: 360px) {
  .v100-game-item span { font-size: 0.95rem; }
}
