/* ============================================================
 * good88 bet - layout-f0ed.css
 * All custom classes use the "vd77-" prefix.
 * Mobile-first design, max-width 430px.
 * Color palette: #006400 #4A4A4A #98FB98 #00FF00 #3A3A3A
 * ============================================================ */

:root {
  --vd77-primary: #006400;
  --vd77-primary-dark: #003d00;
  --vd77-bg: #3A3A3A;
  --vd77-bg-dark: #2a2a2a;
  --vd77-text: #98FB98;
  --vd77-accent: #00FF00;
  --vd77-muted: #4A4A4A;
  --vd77-light: #ffffff;
  --vd77-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
  --vd77-radius: 10px;
}

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

html {
  font-size: 62.5%;
}

body {
  font-family: "Segoe UI", "Roboto", "Helvetica Neue", Arial, sans-serif;
  background: var(--vd77-bg-dark);
  color: var(--vd77-text);
  line-height: 1.5rem;
  font-size: 1.4rem;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
}

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

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

.vd77-wrapper {
  max-width: 430px;
  margin: 0 auto;
  background: var(--vd77-bg);
  min-height: 100vh;
  position: relative;
}

/* ---------- Header ---------- */
.vd77-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: linear-gradient(135deg, var(--vd77-primary) 0%, var(--vd77-primary-dark) 100%);
  padding: 0.8rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: var(--vd77-shadow);
}

.vd77-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--vd77-light);
  font-weight: 800;
  font-size: 1.6rem;
}

.vd77-logo img {
  width: 28px;
  height: 28px;
  border-radius: 6px;
}

.vd77-logo span {
  color: var(--vd77-accent);
}

.vd77-header-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.vd77-menu-btn {
  background: rgba(255, 255, 255, 0.12);
  border: none;
  color: var(--vd77-light);
  width: 38px;
  height: 38px;
  border-radius: 8px;
  font-size: 1.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.vd77-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border: none;
  border-radius: var(--vd77-radius);
  font-weight: 700;
  font-size: 1.3rem;
  padding: 0.7rem 1.2rem;
  cursor: pointer;
  min-height: 38px;
  transition: transform 0.15s ease, filter 0.15s ease;
}

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

.vd77-btn-register {
  background: linear-gradient(135deg, var(--vd77-accent) 0%, #00cc00 100%);
  color: #062806;
  box-shadow: 0 2px 8px rgba(0, 255, 0, 0.35);
}

.vd77-btn-login {
  background: var(--vd77-light);
  color: var(--vd77-primary-dark);
}

/* ---------- Mobile menu drawer ---------- */
.vd77-mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 80%;
  max-width: 320px;
  height: 100%;
  background: var(--vd77-bg-dark);
  border-right: 2px solid var(--vd77-primary);
  transform: translateX(-100%);
  transition: transform 0.25s ease;
  z-index: 9999;
  padding: 6rem 1.2rem 2rem;
  overflow-y: auto;
}

.vd77-menu-open {
  transform: translateX(0);
}

.vd77-mobile-menu a {
  display: block;
  padding: 1rem 0.6rem;
  color: var(--vd77-text);
  border-bottom: 1px solid rgba(152, 251, 152, 0.12);
  font-size: 1.4rem;
}

.vd77-mobile-menu a:hover,
.vd77-mobile-menu a:focus {
  background: rgba(0, 255, 0, 0.08);
  color: var(--vd77-accent);
}

.vd77-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 9998;
  display: none;
}

.vd77-overlay.vd77-menu-open {
  display: block;
}

/* ---------- Hero carousel ---------- */
.vd77-carousel {
  position: relative;
  overflow: hidden;
  border-radius: 0 0 14px 14px;
  box-shadow: var(--vd77-shadow);
}

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

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

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

.vd77-slide-active {
  opacity: 1;
}

.vd77-carousel-caption {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  color: var(--vd77-light);
  background: rgba(0, 100, 0, 0.7);
  padding: 0.5rem 0.8rem;
  border-radius: 8px;
  font-weight: 700;
  font-size: 1.3rem;
}

.vd77-carousel-dots {
  position: absolute;
  right: 0.8rem;
  bottom: 0.8rem;
  display: flex;
  gap: 0.4rem;
}

.vd77-carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  border: none;
  cursor: pointer;
}

.vd77-dot-active {
  background: var(--vd77-accent);
}

/* ---------- Main / sections ---------- */
.vd77-main {
  padding: 1.2rem 1rem 8rem;
}

.vd77-section {
  margin-bottom: 2rem;
}

.vd77-section-title {
  font-size: 1.7rem;
  color: var(--vd77-accent);
  border-left: 4px solid var(--vd77-primary);
  padding-left: 0.8rem;
  margin-bottom: 1rem;
  font-weight: 800;
}

.vd77-section-title small {
  color: var(--vd77-text);
  font-weight: 500;
  font-size: 1.2rem;
}

/* ---------- Hero CTA block ---------- */
.vd77-hero-cta {
  background: linear-gradient(135deg, var(--vd77-primary) 0%, #004f00 100%);
  padding: 1.4rem;
  border-radius: 12px;
  margin-bottom: 1.6rem;
  text-align: center;
}

.vd77-hero-cta h1 {
  color: var(--vd77-light);
  font-size: 2rem;
  margin-bottom: 0.6rem;
}

.vd77-hero-cta p {
  color: var(--vd77-text);
  margin-bottom: 1rem;
}

.vd77-hero-cta .vd77-btn {
  font-size: 1.5rem;
  padding: 0.9rem 2rem;
}

/* ---------- Category header ---------- */
.vd77-cat-header {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.8rem;
}

.vd77-cat-header i,
.vd77-cat-header .material-icons,
.vd77-cat-header ion-icon {
  color: var(--vd77-accent);
}

.vd77-cat-header h2 {
  font-size: 1.5rem;
  color: var(--vd77-light);
  font-weight: 700;
}

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

.vd77-game-card {
  background: var(--vd77-bg-dark);
  border-radius: 10px;
  padding: 0.5rem;
  text-align: center;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  border: 1px solid rgba(0, 255, 0, 0.08);
}

.vd77-game-card:hover,
.vd77-game-card:active {
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(0, 255, 0, 0.2);
  border-color: var(--vd77-accent);
}

.vd77-game-card img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 0.4rem;
}

.vd77-game-card .vd77-game-name {
  font-size: 1.1rem;
  color: var(--vd77-text);
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ---------- Info card / features ---------- */
.vd77-card {
  background: var(--vd77-bg-dark);
  border-radius: 12px;
  padding: 1.2rem;
  margin-bottom: 1.2rem;
  border-left: 3px solid var(--vd77-accent);
}

.vd77-card h3 {
  color: var(--vd77-accent);
  margin-bottom: 0.6rem;
  font-size: 1.4rem;
}

.vd77-card p {
  color: var(--vd77-text);
  margin-bottom: 0.6rem;
}

.vd77-feature-list {
  list-style: none;
}

.vd77-feature-list li {
  padding: 0.5rem 0;
  border-bottom: 1px dashed rgba(152, 251, 152, 0.15);
  color: var(--vd77-text);
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.vd77-feature-list li i,
.vd77-feature-list li .material-icons {
  color: var(--vd77-accent);
}

/* ---------- RTP table ---------- */
.vd77-rtp-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--vd77-bg-dark);
  border-radius: 10px;
  overflow: hidden;
}

.vd77-rtp-table th,
.vd77-rtp-table td {
  padding: 0.7rem 0.8rem;
  text-align: left;
  font-size: 1.2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.vd77-rtp-table th {
  background: var(--vd77-primary);
  color: var(--vd77-light);
}

.vd77-rtp-table td.vd77-rtp-high {
  color: var(--vd77-accent);
  font-weight: 700;
}

/* ---------- Testimonials ---------- */
.vd77-testimonial {
  background: var(--vd77-bg-dark);
  border-radius: 10px;
  padding: 1rem;
  margin-bottom: 0.8rem;
}

.vd77-testimonial p {
  font-style: italic;
  color: var(--vd77-text);
  margin-bottom: 0.5rem;
}

.vd77-testimonial .vd77-author {
  color: var(--vd77-accent);
  font-weight: 700;
  font-size: 1.2rem;
}

/* ---------- Payment / winners ---------- */
.vd77-pay-row,
.vd77-winner-row {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.vd77-pay-chip {
  background: var(--vd77-bg-dark);
  padding: 0.5rem 0.8rem;
  border-radius: 20px;
  border: 1px solid var(--vd77-primary);
  color: var(--vd77-text);
  font-size: 1.2rem;
}

.vd77-winner-row {
  justify-content: space-between;
  background: var(--vd77-bg-dark);
  padding: 0.7rem;
  border-radius: 8px;
  margin-bottom: 0.5rem;
}

.vd77-winner-row .vd77-amount {
  color: var(--vd77-accent);
  font-weight: 700;
}

/* ---------- App download CTA ---------- */
.vd77-app-cta {
  background: linear-gradient(135deg, #003d00 0%, var(--vd77-primary) 100%);
  border-radius: 12px;
  padding: 1.2rem;
  text-align: center;
}

.vd77-app-cta h3 {
  color: var(--vd77-accent);
  margin-bottom: 0.6rem;
}

.vd77-app-cta .vd77-btn-row {
  display: flex;
  gap: 0.6rem;
  justify-content: center;
  margin-top: 0.8rem;
}

/* ---------- Inline promotional text link ---------- */
.vd77-link-text {
  color: var(--vd77-accent);
  font-weight: 700;
  text-decoration: underline;
  cursor: pointer;
}

/* ---------- Footer ---------- */
.vd77-footer {
  background: var(--vd77-bg-dark);
  padding: 1.6rem 1.2rem 2rem;
  border-top: 2px solid var(--vd77-primary);
}

.vd77-footer h4 {
  color: var(--vd77-accent);
  margin-bottom: 0.6rem;
  font-size: 1.3rem;
}

.vd77-footer p {
  color: var(--vd77-text);
  margin-bottom: 0.8rem;
  font-size: 1.2rem;
}

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

.vd77-footer-links a {
  background: var(--vd77-bg);
  padding: 0.5rem 0.7rem;
  border-radius: 6px;
  font-size: 1.1rem;
  color: var(--vd77-text);
}

.vd77-footer-promo {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0.8rem 0;
}

.vd77-footer-promo button,
.vd77-footer-promo a {
  background: var(--vd77-accent);
  color: #062806;
  padding: 0.5rem 0.9rem;
  border-radius: 6px;
  font-size: 1.2rem;
  font-weight: 700;
  border: none;
  cursor: pointer;
}

.vd77-footer-copy {
  text-align: center;
  color: var(--vd77-text);
  font-size: 1.1rem;
  border-top: 1px solid rgba(152, 251, 152, 0.12);
  padding-top: 0.8rem;
  margin-top: 0.8rem;
}

/* ---------- Mobile bottom navigation ---------- */
.vd77-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  max-width: 430px;
  margin: 0 auto;
  height: 62px;
  background: linear-gradient(180deg, var(--vd77-primary) 0%, var(--vd77-primary-dark) 100%);
  display: flex;
  justify-content: space-around;
  align-items: center;
  z-index: 1000;
  box-shadow: 0 -2px 12px rgba(0, 0, 0, 0.4);
}

.vd77-bottom-nav-btn {
  flex: 1;
  background: none;
  border: none;
  color: var(--vd77-text);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 60px;
  min-height: 60px;
  font-size: 1rem;
  cursor: pointer;
  gap: 0.2rem;
  transition: transform 0.15s ease, color 0.15s ease;
}

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

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

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

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

  .vd77-wrapper {
    max-width: 768px;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.4);
  }

  .vd77-main {
    padding-bottom: 2rem;
  }
}

/* Ensure mobile has padding so content isn't hidden behind bottom nav */
@media (max-width: 768px) {
  .vd77-main {
    padding-bottom: 80px;
  }
}
