/* ============================================================
 * arena plus download - design-e3ed.css
 * All custom classes use the vdad- prefix.
 * Mobile-first. Root font 62.5% so 1rem = 10px.
 * Palette: #141414 bg | #E0FFFF light accent | #E9ECEF text | #0000CD brand
 * ============================================================ */

:root {
  --vdad-bg: #141414;
  --vdad-bg-alt: #1d1d24;
  --vdad-bg-card: #20202a;
  --vdad-text: #E9ECEF;
  --vdad-accent: #E0FFFF;
  --vdad-primary: #0000CD;
  --vdad-primary-2: #2a2af0;
  --vdad-muted: #9aa0aa;
  --vdad-border: #2c2c38;
  --vdad-gold: #f5c451;
  --vdad-radius: 1rem;
  --vdad-radius-sm: 0.6rem;
  --vdad-shadow: 0 0.4rem 1.6rem rgba(0, 0, 0, 0.35);
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  padding: 0;
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  background-color: var(--vdad-bg);
  color: var(--vdad-text);
  font-size: 1.5rem;
  line-height: 1.5rem;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--vdad-accent);
  text-decoration: none;
}

p {
  line-height: 1.6;
}

/* ---------- Layout containers ---------- */
.vdad-wrapper {
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
  padding: 0 1.2rem;
}

.vdad-container {
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
}

.vdad-main {
  padding-top: 6rem;
}

@media (max-width: 768px) {
  .vdad-main {
    padding-bottom: 8rem;
  }
}

/* ---------- Header ---------- */
.vdad-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: linear-gradient(180deg, #111118 0%, #141420 100%);
  border-bottom: 0.1rem solid var(--vdad-border);
  box-shadow: var(--vdad-shadow);
}

.vdad-header-inner {
  max-width: 430px;
  margin: 0 auto;
  padding: 0.7rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
}

.vdad-brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  min-width: 0;
}

.vdad-brand img {
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 0.5rem;
}

.vdad-brand-name {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--vdad-accent);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.vdad-header-actions {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.vdad-icon-btn {
  background: transparent;
  border: 0;
  color: var(--vdad-text);
  width: 3.6rem;
  height: 3.6rem;
  border-radius: 0.6rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.8rem;
}

.vdad-icon-btn:hover {
  background: rgba(224, 255, 255, 0.08);
}

/* ---------- Buttons ---------- */
.vdad-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 3.8rem;
  padding: 0 1.2rem;
  border-radius: 2rem;
  font-size: 1.3rem;
  font-weight: 700;
  cursor: pointer;
  border: 0;
  transition: transform 0.15s ease, box-shadow 0.15s ease, opacity 0.15s ease;
}

.vdad-btn:hover {
  transform: translateY(-0.1rem);
}

.vdad-btn-primary {
  background: linear-gradient(135deg, var(--vdad-primary) 0%, var(--vdad-primary-2) 100%);
  color: #ffffff;
  box-shadow: 0 0.4rem 1rem rgba(0, 0, 205, 0.45);
}

.vdad-btn-ghost {
  background: rgba(224, 255, 255, 0.08);
  color: var(--vdad-accent);
  border: 0.1rem solid var(--vdad-border);
}

.vdad-btn-gold {
  background: linear-gradient(135deg, #f5c451 0%, #e09b2c 100%);
  color: #1a1a1a;
  box-shadow: 0 0.4rem 1rem rgba(245, 196, 81, 0.35);
}

.vdad-link-text {
  color: var(--vdad-accent);
  font-weight: 700;
  border-bottom: 0.1rem dashed rgba(224, 255, 255, 0.5);
  padding-bottom: 0.1rem;
}

/* ---------- Mobile slide-down menu ---------- */
.vdad-mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: #111118;
  border-bottom: 0.1rem solid var(--vdad-border);
  transform: translateY(-100%);
  transition: transform 0.28s ease;
  padding: 6rem 1.2rem 1.4rem;
  max-height: 90vh;
  overflow-y: auto;
}

.vdad-mobile-menu.vdad-menu-open {
  transform: translateY(0);
}

.vdad-menu-link {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 1.1rem 0.6rem;
  font-size: 1.35rem;
  color: var(--vdad-text);
  border-bottom: 0.1rem solid rgba(255, 255, 255, 0.06);
}

.vdad-menu-link i,
.vdad-menu-link span.material-icons-outlined {
  color: var(--vdad-accent);
  font-size: 1.8rem;
}

.vdad-menu-cta {
  margin-top: 1rem;
  display: flex;
  gap: 0.6rem;
}

.vdad-menu-cta .vdad-btn {
  flex: 1;
}

/* ---------- Sections / titles ---------- */
.vdad-section {
  padding: 2rem 0 0.5rem;
}

.vdad-title {
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--vdad-accent);
  margin: 0 0 0.4rem;
}

.vdad-subtitle {
  font-size: 1.3rem;
  color: var(--vdad-muted);
  margin: 0 0 1rem;
}

.vdad-h1 {
  font-size: 2rem;
  line-height: 1.3;
  color: var(--vdad-accent);
  margin: 1rem 0;
}

.vdad-card {
  background: var(--vdad-bg-card);
  border: 0.1rem solid var(--vdad-border);
  border-radius: var(--vdad-radius);
  padding: 1.2rem;
  box-shadow: var(--vdad-shadow);
}

/* ---------- Carousel ---------- */
.vdad-carousel {
  position: relative;
  border-radius: var(--vdad-radius);
  overflow: hidden;
  box-shadow: var(--vdad-shadow);
}

.vdad-carousel-track {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
}

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

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

.vdad-carousel-slide.vdad-slide-active {
  opacity: 1;
}

.vdad-carousel-dots {
  position: absolute;
  bottom: 0.8rem;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 0.5rem;
}

.vdad-carousel-dot {
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
  border: 0;
  cursor: pointer;
}

.vdad-carousel-dot.vdad-dot-active {
  background: var(--vdad-accent);
  width: 1.6rem;
  border-radius: 0.4rem;
}

/* ---------- Game grid ---------- */
.vdad-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.8rem;
}

.vdad-game-card {
  background: var(--vdad-bg-card);
  border: 0.1rem solid var(--vdad-border);
  border-radius: var(--vdad-radius-sm);
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.15s ease, border-color 0.15s ease;
  text-align: center;
}

.vdad-game-card:hover {
  transform: translateY(-0.2rem);
  border-color: var(--vdad-accent);
}

.vdad-game-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.vdad-game-name {
  font-size: 1.05rem;
  color: var(--vdad-text);
  padding: 0.5rem 0.3rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.vdad-category-tag {
  display: inline-block;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--vdad-bg);
  background: var(--vdad-accent);
  padding: 0.2rem 0.8rem;
  border-radius: 1rem;
  margin-bottom: 0.8rem;
  text-transform: capitalize;
}

/* ---------- Feature / FAQ / list ---------- */
.vdad-feature-row {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  padding: 0.9rem 0;
  border-bottom: 0.1rem solid var(--vdad-border);
}

.vdad-feature-row:last-child {
  border-bottom: 0;
}

.vdad-feature-row .material-icons {
  color: var(--vdad-accent);
  font-size: 2rem;
}

.vdad-faq-item {
  border-bottom: 0.1rem solid var(--vdad-border);
  padding: 0.8rem 0;
}

.vdad-faq-q {
  font-weight: 700;
  color: var(--vdad-accent);
  margin: 0 0 0.4rem;
  font-size: 1.35rem;
}

.vdad-faq-a {
  margin: 0;
  color: var(--vdad-text);
  font-size: 1.3rem;
  line-height: 1.5;
}

/* ---------- Mini stat cards ---------- */
.vdad-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.7rem;
}

.vdad-stat {
  background: var(--vdad-bg-card);
  border: 0.1rem solid var(--vdad-border);
  border-radius: var(--vdad-radius-sm);
  padding: 0.9rem;
  text-align: center;
}

.vdad-stat-num {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--vdad-accent);
}

.vdad-stat-label {
  font-size: 1.1rem;
  color: var(--vdad-muted);
}

/* ---------- Payment chips / testimonial ---------- */
.vdad-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.vdad-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 0.9rem;
  border-radius: 1.4rem;
  background: rgba(224, 255, 255, 0.06);
  border: 0.1rem solid var(--vdad-border);
  font-size: 1.2rem;
  color: var(--vdad-text);
}

.vdad-testimonial {
  background: var(--vdad-bg-card);
  border-left: 0.3rem solid var(--vdad-accent);
  border-radius: var(--vdad-radius-sm);
  padding: 1rem;
  margin-bottom: 0.8rem;
}

.vdad-testimonial p {
  margin: 0 0 0.5rem;
  font-size: 1.3rem;
}

.vdad-testimonial-name {
  font-size: 1.1rem;
  color: var(--vdad-muted);
}

/* ---------- CTA band ---------- */
.vdad-cta-band {
  background: linear-gradient(135deg, var(--vdad-primary) 0%, #4b0082 100%);
  border-radius: var(--vdad-radius);
  padding: 1.4rem;
  text-align: center;
  margin: 1.6rem 0;
}

.vdad-cta-band h2 {
  color: var(--vdad-accent);
  font-size: 1.6rem;
  margin: 0 0 0.6rem;
}

.vdad-cta-band p {
  color: rgba(255, 255, 255, 0.85);
  margin: 0 0 1rem;
  font-size: 1.3rem;
}

/* ---------- Footer ---------- */
.vdad-footer {
  background: #0e0e14;
  border-top: 0.1rem solid var(--vdad-border);
  padding: 2rem 1.2rem 1.5rem;
  color: var(--vdad-muted);
  font-size: 1.2rem;
}

.vdad-footer-brand {
  color: var(--vdad-text);
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
}

.vdad-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1rem;
  margin: 0.8rem 0;
}

.vdad-footer-links a {
  color: var(--vdad-accent);
  font-size: 1.2rem;
}

.vdad-footer-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin: 1rem 0;
}

.vdad-footer-copy {
  border-top: 0.1rem solid var(--vdad-border);
  padding-top: 1rem;
  margin-top: 1rem;
  font-size: 1.1rem;
  color: var(--vdad-muted);
}

/* ---------- Mobile bottom navigation ---------- */
.vdad-bottom-nav {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1000;
  height: 6.2rem;
  background: linear-gradient(180deg, #16161e 0%, #0e0e14 100%);
  border-top: 0.1rem solid var(--vdad-border);
  display: flex;
  justify-content: space-around;
  align-items: stretch;
  padding: 0.3rem 0;
}

.vdad-bottom-nav-btn {
  flex: 1;
  min-width: 6rem;
  min-height: 6rem;
  background: transparent;
  border: 0;
  color: var(--vdad-muted);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.2rem;
  cursor: pointer;
  font-size: 1.05rem;
  transition: color 0.15s ease, transform 0.15s ease;
}

.vdad-bottom-nav-btn i,
.vdad-bottom-nav-btn span.material-icons,
.vdad-bottom-nav-btn ion-icon {
  font-size: 2.2rem;
}

.vdad-bottom-nav-btn:hover {
  color: var(--vdad-accent);
  transform: translateY(-0.1rem);
}

.vdad-bottom-nav-btn.vdad-nav-active {
  color: var(--vdad-accent);
}

.vdad-bottom-nav-btn.vdad-nav-active::before {
  content: "";
  position: absolute;
  top: 0;
  width: 2.4rem;
  height: 0.25rem;
  border-radius: 0.2rem;
  background: var(--vdad-accent);
}

.vdad-bottom-nav-btn {
  position: relative;
}

/* Desktop: hide bottom nav, widen layout */
@media (min-width: 769px) {
  .vdad-bottom-nav {
    display: none;
  }
  .vdad-wrapper,
  .vdad-header-inner,
  .vdad-container {
    max-width: 760px;
  }
}

/* ---------- Mobile tuning <= 430px ---------- */
@media (max-width: 430px) {
  body {
    font-size: 1.4rem;
  }
  .vdad-wrapper {
    padding: 0 0.9rem;
  }
  .vdad-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.6rem;
  }
  .vdad-game-name {
    font-size: 1rem;
  }
  .vdad-h1 {
    font-size: 1.8rem;
  }
  .vdad-title {
    font-size: 1.55rem;
  }
  .vdad-btn {
    padding: 0 1rem;
    font-size: 1.2rem;
  }
  .vdad-brand-name {
    max-width: 11rem;
  }
  .vdad-stats {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ---------- Back to top ---------- */
.vdad-to-top {
  position: fixed;
  right: 1.2rem;
  bottom: 7.5rem;
  z-index: 900;
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  background: var(--vdad-primary);
  color: #ffffff;
  border: 0;
  cursor: pointer;
  font-size: 1.8rem;
  box-shadow: var(--vdad-shadow);
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (min-width: 769px) {
  .vdad-to-top {
    bottom: 2rem;
  }
}
