/*!
 * pg gaming - style.css
 * Site: pggaming.click
 * All custom classes use the "vc9a-" prefix.
 * Mobile-first responsive design (max-width: 430px primary target).
 */

:root {
  --vc9a-primary: #8B4513;       /* saddle brown brand */
  --vc9a-accent: #1E90FF;        /* interactive blue */
  --vc9a-gold: #F5DEB3;          /* warm sand */
  --vc9a-gold-soft: #FFDEAD;     /* navajo white */
  --vc9a-bg: #1E1E1E;            /* dark backdrop */
  --vc9a-bg-2: #2a2118;          /* brown-tinted surface */
  --vc9a-card: #262017;
  --vc9a-text: #F5DEB3;
  --vc9a-text-soft: #d8c7a0;
  --vc9a-text-muted: #9b8c6a;
  --vc9a-border: rgba(245, 222, 179, 0.14);
  --vc9a-shadow: 0 6px 24px rgba(0, 0, 0, 0.45);
  --vc9a-radius: 14px;
  --vc9a-radius-sm: 10px;
}

* { box-sizing: border-box; }

html {
  font-size: 62.5%;            /* 1rem = 10px */
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

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

img { max-width: 100%; display: block; }
a { color: var(--vc9a-accent); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3 { line-height: 1.25; margin: 0 0 0.6em; color: #fff; }
h1 { font-size: 2.4rem; }
h2 { font-size: 2.0rem; }
h3 { font-size: 1.7rem; }
p { margin: 0 0 1em; }

.vc9a-container {
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
  padding: 0 1.2rem;
}

.vc9a-wrapper { padding: 1.4rem 0; }

.vc9a-section { padding: 2.4rem 0; }

/* ===== Header ===== */
.vc9a-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: linear-gradient(180deg, rgba(30,30,30,0.98), rgba(30,30,30,0.92));
  border-bottom: 1px solid var(--vc9a-border);
  backdrop-filter: blur(8px);
}

.vc9a-header-inner {
  max-width: 430px;
  margin: 0 auto;
  padding: 0.6rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.vc9a-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #fff;
  font-weight: 700;
  font-size: 1.5rem;
  flex: 1;
  min-width: 0;
}

.vc9a-brand img { width: 28px; height: 28px; border-radius: 6px; }
.vc9a-brand-name {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.vc9a-brand-name b { color: var(--vc9a-gold); }

.vc9a-menu-toggle {
  background: transparent;
  border: 1px solid var(--vc9a-border);
  color: var(--vc9a-gold);
  width: 38px; height: 38px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.vc9a-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border: none;
  border-radius: 999px;
  padding: 0.7rem 1.2rem;
  font-size: 1.35rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, opacity .15s ease;
  min-height: 40px;
}
.vc9a-btn:hover { text-decoration: none; transform: translateY(-1px); }
.vc9a-btn:active { transform: scale(0.97); }

.vc9a-btn-register {
  background: linear-gradient(135deg, #FFB400, #FF8A00);
  color: #1E1E1E;
  box-shadow: 0 4px 14px rgba(255, 180, 0, 0.35);
}
.vc9a-btn-login {
  background: var(--vc9a-accent);
  color: #fff;
  box-shadow: 0 4px 14px rgba(30, 144, 255, 0.35);
}

.vc9a-header-actions { display: flex; align-items: center; gap: 0.4rem; }
.vc9a-header-actions .vc9a-btn { padding: 0.55rem 0.9rem; font-size: 1.25rem; }

/* ===== Mobile menu (expandable) ===== */
.vc9a-mobile-menu {
  position: relative;
  z-index: 9999;
  max-height: 0;
  overflow: hidden;
  background: var(--vc9a-bg-2);
  transition: max-height .28s ease;
  border-top: 1px solid var(--vc9a-border);
}
.vc9a-mobile-menu.vc9a-menu-open { max-height: 480px; }
.vc9a-mobile-menu ul {
  list-style: none;
  margin: 0;
  padding: 0.4rem 1rem 0.8rem;
}
.vc9a-mobile-menu li { border-bottom: 1px solid var(--vc9a-border); }
.vc9a-mobile-menu li:last-child { border-bottom: 0; }
.vc9a-mobile-menu a {
  display: block;
  padding: 0.9rem 0.4rem;
  color: var(--vc9a-gold);
  font-weight: 600;
}

/* ===== Main ===== */
.vc9a-main {
  padding-top: 64px;       /* header clearance */
  padding-bottom: 80px;   /* bottom nav clearance */
  min-height: 70vh;
}

/* ===== Hero carousel ===== */
.vc9a-carousel {
  position: relative;
  overflow: hidden;
  border-radius: var(--vc9a-radius);
  box-shadow: var(--vc9a-shadow);
  margin: 1.2rem 0;
}
.vc9a-carousel-track {
  display: flex;
  transition: transform .6s ease;
}
.vc9a-carousel-slide {
  flex: 0 0 100%;
  position: relative;
}
.vc9a-carousel-slide img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}
.vc9a-carousel-cap {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 1rem 1.2rem;
  background: linear-gradient(0deg, rgba(0,0,0,.85), rgba(0,0,0,0));
  color: #fff;
}
.vc9a-carousel-cap b { color: var(--vc9a-gold); }

/* ===== Game grid ===== */
.vc9a-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.7rem;
}
.vc9a-card {
  background: var(--vc9a-card);
  border: 1px solid var(--vc9a-border);
  border-radius: var(--vc9a-radius-sm);
  overflow: hidden;
  text-align: center;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.vc9a-card:hover {
  transform: translateY(-2px);
  border-color: var(--vc9a-accent);
  box-shadow: var(--vc9a-shadow);
  text-decoration: none;
}
.vc9a-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  background: #111;
}
.vc9a-card-name {
  display: block;
  font-size: 1.15rem;
  color: var(--vc9a-text);
  padding: 0.4rem 0.3rem 0.55rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ===== Section title ===== */
.vc9a-section-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 1.6rem 0 0.8rem;
  color: var(--vc9a-gold);
  font-size: 1.8rem;
  font-weight: 700;
}
.vc9a-section-title i { color: var(--vc9a-accent); }

/* ===== Info / features blocks ===== */
.vc9a-info-card {
  background: var(--vc9a-card);
  border: 1px solid var(--vc9a-border);
  border-radius: var(--vc9a-radius);
  padding: 1.2rem;
  margin-bottom: 1rem;
}
.vc9a-info-card h3 { color: var(--vc9a-gold); }
.vc9a-info-card p { color: var(--vc9a-text-soft); }

.vc9a-feature-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.7rem;
}
.vc9a-feature {
  background: var(--vc9a-card);
  border: 1px solid var(--vc9a-border);
  border-radius: var(--vc9a-radius-sm);
  padding: 1rem;
  text-align: center;
}
.vc9a-feature i { font-size: 2.4rem; color: var(--vc9a-accent); margin-bottom: 0.4rem; }
.vc9a-feature b { color: var(--vc9a-gold); display: block; font-size: 1.3rem; }

/* Inline promotional text link */
.vc9a-promo-link {
  color: #FFB400;
  font-weight: 700;
  text-decoration: underline;
}

/* Play-now banner */
.vc9a-play-banner {
  background: linear-gradient(135deg, #8B4513, #1E90FF);
  color: #fff;
  padding: 1.4rem;
  border-radius: var(--vc9a-radius);
  text-align: center;
  margin: 1.4rem 0;
  box-shadow: var(--vc9a-shadow);
}
.vc9a-play-banner h2 { color: #fff; }
.vc9a-play-banner .vc9a-btn {
  background: #FFB400;
  color: #1E1E1E;
  margin-top: 0.6rem;
  padding: 0.9rem 2rem;
  font-size: 1.5rem;
}

/* Testimonials */
.vc9a-testimonials { display: grid; gap: 0.8rem; }
.vc9a-testimonial {
  background: var(--vc9a-card);
  border-left: 3px solid var(--vc9a-accent);
  border-radius: var(--vc9a-radius-sm);
  padding: 1rem;
}
.vc9a-testimonial .vc9a-stars { color: #FFB400; margin-bottom: 0.3rem; }
.vc9a-testimonial small { color: var(--vc9a-text-muted); }

/* Payment chips */
.vc9a-chips { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.vc9a-chip {
  background: var(--vc9a-card);
  border: 1px solid var(--vc9a-border);
  border-radius: 999px;
  padding: 0.45rem 0.9rem;
  font-size: 1.2rem;
  color: var(--vc9a-text-soft);
  display: inline-flex; align-items: center; gap: 0.35rem;
}
.vc9a-chip i { color: var(--vc9a-accent); }

/* FAQ */
.vc9a-faq dt {
  font-weight: 700;
  color: var(--vc9a-gold);
  margin-top: 0.8rem;
}
.vc9a-faq dd { margin: 0.2rem 0 0.8rem; color: var(--vc9a-text-soft); }

/* ===== Footer ===== */
.vc9a-footer {
  background: var(--vc9a-bg-2);
  border-top: 1px solid var(--vc9a-border);
  padding: 2rem 0 1.4rem;
  margin-top: 2rem;
  color: var(--vc9a-text-soft);
}
.vc9a-footer-links {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.5rem 0.8rem;
  margin: 0.8rem 0;
}
.vc9a-footer-links a {
  color: var(--vc9a-gold);
  font-size: 1.25rem;
}
.vc9a-footer-promos {
  display: flex; flex-wrap: wrap; gap: 0.5rem;
  margin: 0.8rem 0;
}
.vc9a-footer-promos .vc9a-btn { font-size: 1.2rem; padding: 0.5rem 0.9rem; }
.vc9a-footer-copy {
  border-top: 1px solid var(--vc9a-border);
  padding-top: 0.8rem;
  font-size: 1.15rem;
  color: var(--vc9a-text-muted);
  text-align: center;
}

/* ===== Bottom navigation (mobile only) ===== */
.vc9a-bottom-nav {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 1000;
  height: 60px;
  background: linear-gradient(180deg, #2a2118, #1E1E1E);
  border-top: 1px solid var(--vc9a-border);
  display: flex;
  justify-content: space-around;
  align-items: stretch;
  box-shadow: 0 -4px 18px rgba(0,0,0,0.4);
}
.vc9a-bottom-nav-btn {
  flex: 1;
  min-width: 60px;
  min-height: 60px;
  background: transparent;
  border: 0;
  color: var(--vc9a-text-soft);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  font-size: 1.05rem;
  cursor: pointer;
  transition: color .15s ease, transform .15s ease;
  padding: 0;
}
.vc9a-bottom-nav-btn i,
.vc9a-bottom-nav-btn .material-icons,
.vc9a-bottom-nav-btn ion-icon {
  font-size: 22px;
}
.vc9a-bottom-nav-btn:hover { color: var(--vc9a-gold); }
.vc9a-bottom-nav-btn:active { transform: scale(0.94); }
.vc9a-bottom-nav-btn.vc9a-active { color: var(--vc9a-accent); }
.vc9a-bottom-nav-btn.vc9a-promo {
  color: #FFB400;
  position: relative;
}
.vc9a-bottom-nav-btn.vc9a-promo::after {
  content: "";
  position: absolute;
  top: 6px; right: 14px;
  width: 8px; height: 8px;
  background: #FF4D4D;
  border-radius: 50%;
}

/* ===== Reveal animation ===== */
.vc9a-reveal { opacity: 0; transform: translateY(12px); transition: opacity .5s ease, transform .5s ease; }
.vc9a-reveal.vc9a-revealed { opacity: 1; transform: none; }

/* ===== Desktop ===== */
@media (min-width: 769px) {
  .vc9a-bottom-nav { display: none; }
  .vc9a-main { padding-bottom: 0; }
  .vc9a-container { max-width: 960px; }
  .vc9a-grid { grid-template-columns: repeat(6, 1fr); }
  .vc9a-feature-row { grid-template-columns: repeat(4, 1fr); }
}

/* ===== Small phones ===== */
@media (max-width: 360px) {
  .vc9a-grid { grid-template-columns: repeat(2, 1fr); }
  h1 { font-size: 2.0rem; }
  .vc9a-brand-name { font-size: 1.35rem; }
}

/* 430px primary target tuning */
@media (max-width: 430px) {
  .vc9a-header-actions .vc9a-btn { padding: 0.5rem 0.8rem; }
}
