/* ============================================================
 * PPGaming Theme (theme-71ad.css)
 * Prefix: vd9f-
 * Palette: #FF8C00 / #E65100 / #E0F2F1 / #1C2833 / #8B7355 / #F5F5F5
 * Mobile-first. Max design width 430px.
 * ============================================================ */

:root {
  --vd9f-primary: #FF8C00;
  --vd9f-primary-dark: #E65100;
  --vd9f-mint: #E0F2F1;
  --vd9f-bg: #1C2833;
  --vd9f-bg-2: #141c25;
  --vd9f-card: #22323f;
  --vd9f-brown: #8B7355;
  --vd9f-light: #F5F5F5;
  --vd9f-text: #f3f6f8;
  --vd9f-muted: #a9b4bd;
  --vd9f-gold: #FFD27A;
  --vd9f-radius: 12px;
  --vd9f-shadow: 0 6px 22px rgba(0, 0, 0, 0.35);
}

* {
  box-sizing: border-box;
}

html {
  font-size: 62.5%;
}

body {
  margin: 0;
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  background: var(--vd9f-bg);
  color: var(--vd9f-text);
  line-height: 1.5rem;
  font-size: 1.5rem;
  max-width: 430px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
  overflow-x: hidden;
}

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

a {
  color: var(--vd9f-primary);
  text-decoration: none;
}

.vd9f-container {
  width: 100%;
  padding: 0 1.4rem;
}

.vd9f-wrapper {
  padding-top: 6.4rem;
  padding-bottom: 8rem;
}

main {
  padding-bottom: 80px;
}

/* ---------- Header ---------- */
.vd9f-header {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  background: var(--vd9f-bg-2);
  border-bottom: 2px solid var(--vd9f-primary);
  z-index: 1000;
  box-shadow: var(--vd9f-shadow);
}

.vd9f-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.7rem 1.2rem;
  gap: 0.8rem;
}

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

.vd9f-brand img,
.vd9f-brand .vd9f-logo {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  object-fit: cover;
}

.vd9f-brand-name {
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--vd9f-primary);
  letter-spacing: 0.4px;
  white-space: nowrap;
}

.vd9f-brand-name span {
  color: var(--vd9f-light);
}

.vd9f-header-actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.vd9f-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 38px;
  padding: 0 1.2rem;
  border: none;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1.35rem;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.vd9f-btn:active {
  transform: scale(0.96);
}

.vd9f-btn-register {
  background: linear-gradient(135deg, var(--vd9f-primary), var(--vd9f-primary-dark));
  color: #fff;
  box-shadow: 0 4px 12px rgba(255, 140, 0, 0.4);
}

.vd9f-btn-login {
  background: transparent;
  color: var(--vd9f-light);
  border: 1.5px solid var(--vd9f-primary);
}

.vd9f-menu-trigger {
  background: transparent;
  border: none;
  color: var(--vd9f-light);
  font-size: 2rem;
  cursor: pointer;
  padding: 0.4rem 0.6rem;
}

/* ---------- Mobile menu ---------- */
.vd9f-mobile-menu {
  position: fixed;
  top: 6rem;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  background: var(--vd9f-bg-2);
  border-bottom: 1px solid #2a3a48;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  z-index: 9999;
}

.vd9f-mobile-menu.vd9f-menu-open {
  max-height: 420px;
  padding: 0.6rem 1.2rem 1rem;
}

.vd9f-mobile-menu a {
  display: block;
  padding: 0.9rem 0.4rem;
  color: var(--vd9f-light);
  border-bottom: 1px dashed #2c3a48;
  font-size: 1.45rem;
}

.vd9f-mobile-menu a:last-child {
  border-bottom: none;
}

/* ---------- Carousel ---------- */
.vd9f-carousel {
  position: relative;
  border-radius: var(--vd9f-radius);
  overflow: hidden;
  margin: 1.2rem 0;
  box-shadow: var(--vd9f-shadow);
}

.vd9f-slide {
  display: none;
  position: relative;
}

.vd9f-slide.vd9f-slide-active {
  display: block;
}

.vd9f-slide img {
  width: 100%;
  height: 190px;
  object-fit: cover;
}

.vd9f-slide-caption {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  padding: 1rem 1.2rem;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.78));
  color: #fff;
}

.vd9f-slide-caption strong {
  font-size: 1.7rem;
  color: var(--vd9f-primary);
}

.vd9f-dots {
  position: absolute;
  bottom: 0.8rem;
  right: 1rem;
  display: flex;
  gap: 0.5rem;
}

.vd9f-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
}

.vd9f-dot.vd9f-dot-active {
  background: var(--vd9f-primary);
}

/* ---------- Sections ---------- */
.vd9f-section {
  margin: 2rem 0;
}

.vd9f-section-title {
  font-size: 1.9rem;
  font-weight: 800;
  margin: 0 0 1rem;
  padding-left: 0.8rem;
  border-left: 4px solid var(--vd9f-primary);
  color: var(--vd9f-light);
}

.vd9f-section-title em {
  color: var(--vd9f-primary);
  font-style: normal;
}

.vd9f-h1 {
  font-size: 2.4rem;
  line-height: 1.25;
  margin: 1.4rem 0;
  color: var(--vd9f-light);
}

.vd9f-h1 em {
  color: var(--vd9f-primary);
  font-style: normal;
}

.vd9f-lead {
  color: var(--vd9f-muted);
  font-size: 1.45rem;
}

.vd9f-text-link {
  color: var(--vd9f-primary);
  font-weight: 700;
  border-bottom: 1px dotted var(--vd9f-primary);
}

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

.vd9f-game-card {
  background: var(--vd9f-card);
  border-radius: var(--vd9f-radius);
  overflow: hidden;
  text-align: center;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  border: 1px solid #2a3a48;
}

.vd9f-game-card:active {
  transform: scale(0.96);
}

.vd9f-game-card img {
  width: 100%;
  height: 92px;
  object-fit: cover;
}

.vd9f-game-name {
  font-size: 1.2rem;
  color: var(--vd9f-light);
  padding: 0.4rem 0.3rem 0.6rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ---------- Cards / panels ---------- */
.vd9f-card {
  background: var(--vd9f-card);
  border-radius: var(--vd9f-radius);
  padding: 1.4rem;
  margin: 1rem 0;
  border: 1px solid #2a3a48;
}

.vd9f-card h3 {
  margin: 0 0 0.6rem;
  color: var(--vd9f-primary);
  font-size: 1.6rem;
}

.vd9f-card p {
  color: var(--vd9f-muted);
  margin: 0 0 0.8rem;
  font-size: 1.4rem;
}

/* ---------- Steps ---------- */
.vd9f-steps {
  counter-reset: step;
  padding: 0;
  list-style: none;
}

.vd9f-steps li {
  position: relative;
  padding: 0.8rem 0 0.8rem 3.4rem;
  border-bottom: 1px dashed #2c3a48;
  color: var(--vd9f-muted);
  font-size: 1.4rem;
}

.vd9f-steps li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0.6rem;
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 50%;
  background: var(--vd9f-primary);
  color: #fff;
  font-weight: 700;
  text-align: center;
  line-height: 2.6rem;
}

/* ---------- RTP table ---------- */
.vd9f-rtp-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 1.35rem;
}

.vd9f-rtp-table th,
.vd9f-rtp-table td {
  padding: 0.7rem 0.6rem;
  border-bottom: 1px solid #2a3a48;
  text-align: left;
}

.vd9f-rtp-table th {
  color: var(--vd9f-primary);
}

.vd9f-rtp-table td:last-child {
  color: var(--vd9f-gold);
  font-weight: 700;
}

/* ---------- Features ---------- */
.vd9f-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.8rem;
}

.vd9f-feature {
  background: var(--vd9f-card);
  padding: 1rem;
  border-radius: var(--vd9f-radius);
  border-left: 3px solid var(--vd9f-primary);
}

.vd9f-feature h4 {
  margin: 0 0 0.4rem;
  font-size: 1.4rem;
  color: var(--vd9f-light);
}

.vd9f-feature p {
  margin: 0;
  font-size: 1.25rem;
  color: var(--vd9f-muted);
}

/* ---------- Testimonials ---------- */
.vd9f-testi {
  background: var(--vd9f-card);
  border-radius: var(--vd9f-radius);
  padding: 1rem 1.2rem;
  margin: 0.6rem 0;
  border-left: 3px solid var(--vd9f-gold);
}

.vd9f-testi p {
  margin: 0 0 0.4rem;
  font-size: 1.35rem;
  color: var(--vd9f-text);
}

.vd9f-testi span {
  color: var(--vd9f-gold);
  font-weight: 700;
  font-size: 1.25rem;
}

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

.vd9f-chip {
  background: var(--vd9f-card);
  border: 1px solid #2c3a48;
  border-radius: 999px;
  padding: 0.5rem 1rem;
  font-size: 1.25rem;
  color: var(--vd9f-light);
}

/* ---------- Winners ---------- */
.vd9f-winners {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.6rem;
}

.vd9f-winner {
  background: var(--vd9f-card);
  border-radius: 8px;
  padding: 0.6rem 0.8rem;
  font-size: 1.25rem;
}

.vd9f-winner b {
  color: var(--vd9f-gold);
}

/* ---------- FAQ ---------- */
.vd9f-faq {
  background: var(--vd9f-card);
  border-radius: var(--vd9f-radius);
  padding: 1rem 1.2rem;
  margin: 0.6rem 0;
}

.vd9f-faq h4 {
  margin: 0 0 0.4rem;
  color: var(--vd9f-primary);
  font-size: 1.45rem;
}

.vd9f-faq p {
  margin: 0;
  color: var(--vd9f-muted);
  font-size: 1.35rem;
}

/* ---------- Footer ---------- */
.vd9f-footer {
  background: var(--vd9f-bg-2);
  border-top: 2px solid var(--vd9f-primary);
  padding: 2rem 1.4rem 6rem;
  color: var(--vd9f-muted);
  font-size: 1.35rem;
}

.vd9f-footer-brand {
  color: var(--vd9f-text);
  margin-bottom: 1.2rem;
}

.vd9f-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  margin: 1rem 0;
}

.vd9f-footer-links a {
  color: var(--vd9f-light);
  font-size: 1.3rem;
}

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

.vd9f-footer-promo button,
.vd9f-footer-promo a {
  flex: 1 1 45%;
  text-align: center;
  padding: 0.7rem 0.6rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--vd9f-primary), var(--vd9f-primary-dark));
  color: #fff;
  font-weight: 700;
  border: none;
  font-size: 1.3rem;
}

.vd9f-partners {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.6rem;
  margin: 1rem 0;
}

.vd9f-partner-logo {
  min-height: 34px;
  border-radius: 8px;
  background: #1d2a35;
  border: 1px solid #2c3a48;
  color: var(--vd9f-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  font-weight: 800;
}

.vd9f-copyright {
  text-align: center;
  color: #6c7a85;
  font-size: 1.2rem;
  margin-top: 1.4rem;
}

/* ---------- Bottom nav ---------- */
.vd9f-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  height: 62px;
  background: var(--vd9f-bg-2);
  border-top: 2px solid var(--vd9f-primary);
  display: flex;
  justify-content: space-around;
  align-items: center;
  z-index: 1000;
}

.vd9f-bottom-nav-btn {
  flex: 1;
  min-width: 60px;
  min-height: 60px;
  background: transparent;
  border: none;
  color: var(--vd9f-light);
  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;
}

.vd9f-bottom-nav-btn:active {
  transform: scale(0.92);
}

.vd9f-bottom-nav-btn .material-icons,
.vd9f-bottom-nav-btn ion-icon,
.vd9f-bottom-nav-btn i {
  font-size: 22px;
}

.vd9f-bottom-nav-btn.vd9f-nav-active {
  color: var(--vd9f-primary);
}

.vd9f-bottom-nav-btn.is-promo {
  color: var(--vd9f-gold);
}

/* ---------- Desktop ---------- */
@media (min-width: 769px) {
  .vd9f-bottom-nav {
    display: none;
  }

  main,
  .vd9f-wrapper {
    padding-bottom: 0;
  }

  .vd9f-footer {
    padding-bottom: 2rem;
  }
}
