/* playtime-app-store.css - Mobile-first styles for playtime app store */
/* All custom classes use the vda1- prefix */

:root {
  --vda1-yellow: #FFCC02;
  --vda1-silver: #CCCCCC;
  --vda1-orange: #FFA500;
  --vda1-gold: #B8860B;
  --vda1-bg: #273746;
  --vda1-bg-deep: #1c2833;
  --vda1-ember: #BF360C;
  --vda1-text: #f5f5f5;
  --vda1-muted: #b5b9c2;
  --vda1-card: #2c3e50;
  --vda1-border: rgba(255, 204, 2, 0.18);
}

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

html { font-size: 62.5%; }

body {
  font-family: "Segoe UI", system-ui, -apple-system, Roboto, sans-serif;
  background: linear-gradient(160deg, var(--vda1-bg-deep) 0%, var(--vda1-bg) 100%);
  color: var(--vda1-text);
  line-height: 1.5;
  max-width: 430px;
  margin: 0 auto;
  min-height: 100vh;
}

a { color: var(--vda1-yellow); text-decoration: none; }
img { max-width: 100%; display: block; }

/* ---------- Header ---------- */
.vda1-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(28, 40, 51, 0.96);
  border-bottom: 2px solid var(--vda1-gold);
  box-shadow: 0 2px 10px rgba(0,0,0,0.4);
  max-width: 430px;
  margin: 0 auto;
}
.vda1-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 12px;
  gap: 8px;
}
.vda1-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  font-size: 1.6rem;
  color: var(--vda1-yellow);
  letter-spacing: 0.3px;
}
.vda1-brand img {
  width: 28px; height: 28px;
  border-radius: 6px;
  border: 1px solid var(--vda1-gold);
}
.vda1-menu-btn {
  background: transparent;
  border: 1px solid var(--vda1-border);
  color: var(--vda1-yellow);
  width: 36px; height: 36px;
  border-radius: 8px;
  font-size: 1.8rem;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
}
.vda1-auth { display: flex; gap: 6px; }
.vda1-btn {
  border: none;
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 1.25rem;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.vda1-btn:active { transform: scale(0.96); }
.vda1-btn-register {
  background: linear-gradient(135deg, var(--vda1-orange), var(--vda1-ember));
  color: #fff;
  box-shadow: 0 3px 8px rgba(191, 54, 12, 0.4);
}
.vda1-btn-login {
  background: linear-gradient(135deg, var(--vda1-yellow), var(--vda1-gold));
  color: #273746;
  box-shadow: 0 3px 8px rgba(184, 134, 11, 0.4);
}

/* ---------- Mobile menu ---------- */
.vda1-mobile-menu {
  position: fixed;
  top: 56px; left: 0; right: 0;
  background: var(--vda1-bg-deep);
  border-bottom: 1px solid var(--vda1-border);
  z-index: 9999;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  max-width: 430px;
  margin: 0 auto;
}
.vda1-mobile-menu.vda1-menu-open { max-height: 460px; }
.vda1-mobile-menu ul { list-style: none; padding: 6px 0; }
.vda1-mobile-menu li a {
  display: block;
  padding: 12px 18px;
  color: var(--vda1-text);
  font-size: 1.35rem;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}
.vda1-mobile-menu li a:active { background: rgba(255,204,2,0.08); }

/* ---------- Layout ---------- */
main.vda1-main {
  padding-top: 64px;
  padding-bottom: 80px;
}
.vda1-section {
  padding: 16px 14px;
}
.vda1-section h2 {
  font-size: 1.7rem;
  color: var(--vda1-yellow);
  margin-bottom: 10px;
  border-left: 4px solid var(--vda1-orange);
  padding-left: 8px;
}
.vda1-section h3 {
  font-size: 1.4rem;
  color: var(--vda1-orange);
  margin: 12px 0 6px;
}
.vda1-section p {
  font-size: 1.3rem;
  color: var(--vda1-muted);
  margin-bottom: 8px;
}

/* ---------- Carousel ---------- */
.vda1-carousel {
  position: relative;
  margin: 12px 0;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(0,0,0,0.45);
}
.vda1-slide {
  display: none;
  position: relative;
  cursor: pointer;
}
.vda1-slide.vda1-slide-active { display: block; }
.vda1-slide img { width: 100%; height: 180px; object-fit: cover; }
.vda1-slide-caption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(transparent, rgba(0,0,0,0.75));
  padding: 22px 14px 12px;
  font-weight: 700;
  font-size: 1.4rem;
  color: var(--vda1-yellow);
}

/* ---------- Hero CTA ---------- */
.vda1-hero-cta {
  text-align: center;
  padding: 14px;
}
.vda1-hero-cta h1 {
  font-size: 2rem;
  color: var(--vda1-yellow);
  line-height: 1.25;
  margin-bottom: 10px;
}
.vda1-hero-cta p { margin-bottom: 12px; }
.vda1-cta-big {
  display: inline-block;
  background: linear-gradient(135deg, var(--vda1-orange), var(--vda1-ember));
  color: #fff;
  font-weight: 800;
  font-size: 1.5rem;
  padding: 12px 28px;
  border-radius: 999px;
  box-shadow: 0 4px 14px rgba(191,54,12,0.5);
}

/* ---------- Game grid ---------- */
.vda1-game-block { margin-bottom: 16px; }
.vda1-game-block-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1.5rem;
  color: var(--vda1-yellow);
  margin: 10px 0 8px;
  font-weight: 700;
}
.vda1-game-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}
.vda1-game-card {
  background: var(--vda1-card);
  border: 1px solid var(--vda1-border);
  border-radius: 10px;
  padding: 6px;
  text-align: center;
  cursor: pointer;
  transition: transform 0.15s ease, border-color 0.15s ease;
}
.vda1-game-card:active {
  transform: scale(0.95);
  border-color: var(--vda1-yellow);
}
.vda1-game-card img {
  width: 100%;
  height: 64px;
  object-fit: cover;
  border-radius: 6px;
  margin-bottom: 4px;
}
.vda1-game-card span {
  display: block;
  font-size: 1rem;
  color: var(--vda1-silver);
  line-height: 1.2;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* ---------- Cards / features ---------- */
.vda1-card {
  background: var(--vda1-card);
  border: 1px solid var(--vda1-border);
  border-radius: 12px;
  padding: 14px;
  margin-bottom: 12px;
}
.vda1-feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.vda1-pill {
  display: inline-block;
  background: rgba(255,204,2,0.12);
  color: var(--vda1-yellow);
  border: 1px solid var(--vda1-border);
  border-radius: 999px;
  padding: 4px 12px;
  font-size: 1.15rem;
  margin: 3px;
}
.vda1-inline-link {
  color: var(--vda1-orange);
  font-weight: 700;
  text-decoration: underline;
}

/* ---------- Testimonials ---------- */
.vda1-testimonial {
  background: var(--vda1-card);
  border-left: 4px solid var(--vda1-orange);
  border-radius: 8px;
  padding: 10px 12px;
  margin-bottom: 8px;
}
.vda1-testimonial strong { color: var(--vda1-yellow); }

/* ---------- FAQ ---------- */
.vda1-faq-item {
  background: var(--vda1-card);
  border: 1px solid var(--vda1-border);
  border-radius: 10px;
  margin-bottom: 8px;
  overflow: hidden;
}
.vda1-faq-q {
  padding: 12px;
  font-weight: 700;
  color: var(--vda1-yellow);
  cursor: pointer;
  font-size: 1.3rem;
}
.vda1-faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  padding: 0 12px;
  color: var(--vda1-muted);
  font-size: 1.2rem;
}
.vda1-faq-open .vda1-faq-a { max-height: 260px; padding: 0 12px 12px; }

/* ---------- Payment ---------- */
.vda1-pay-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.vda1-pay-row .vda1-pill { background: rgba(255,165,0,0.12); color: var(--vda1-orange); }

/* ---------- Footer ---------- */
.vda1-footer {
  background: var(--vda1-bg-deep);
  border-top: 2px solid var(--vda1-gold);
  padding: 18px 14px;
  font-size: 1.2rem;
  color: var(--vda1-muted);
}
.vda1-footer h4 {
  color: var(--vda1-yellow);
  font-size: 1.35rem;
  margin-bottom: 8px;
}
.vda1-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 8px 0 12px;
}
.vda1-footer-links a {
  color: var(--vda1-silver);
  font-size: 1.15rem;
  padding: 4px 8px;
  border: 1px solid var(--vda1-border);
  border-radius: 6px;
}
.vda1-promo-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 8px 0;
}
.vda1-promo-row .vda1-btn { font-size: 1.1rem; padding: 6px 10px; }
.vda1-copyright { font-size: 1.1rem; margin-top: 8px; color: var(--vda1-silver); }

/* ---------- Bottom nav ---------- */
.vda1-bottom-nav {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  height: 62px;
  background: linear-gradient(180deg, rgba(44,62,80,0.98), rgba(28,40,51,0.98));
  border-top: 2px solid var(--vda1-gold);
  display: flex;
  justify-content: space-around;
  align-items: center;
  z-index: 1000;
  max-width: 430px;
  margin: 0 auto;
  box-shadow: 0 -3px 12px rgba(0,0,0,0.4);
}
.vda1-navbtn {
  flex: 1;
  background: transparent;
  border: none;
  color: var(--vda1-silver);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 60px;
  min-height: 60px;
  font-size: 1rem;
  cursor: pointer;
  transition: color 0.15s ease, transform 0.15s ease;
  gap: 2px;
}
.vda1-navbtn .vda1-nav-ico { font-size: 22px; }
.vda1-navbtn:active { transform: scale(0.92); }
.vda1-navbtn-active { color: var(--vda1-yellow); }
.vda1-navbtn-active .material-icons-text,
.vda1-navbtn-active .vda1-nav-ico { color: var(--vda1-orange); }

/* ---------- Responsive ---------- */
@media (min-width: 769px) {
  .vda1-bottom-nav { display: none; }
  body { max-width: 768px; }
  .vda1-header, .vda1-mobile-menu { max-width: 768px; }
  main.vda1-main { padding-bottom: 24px; }
}
