/* ==========================================================================
   tt88 zin - Core base stylesheet
   All custom classes use the "vdc2-" prefix to avoid namespace clashes.
   Palette: #228B22 | #0F0F23 | #2E8B57 | #006400
   ========================================================================== */

:root {
  --vdc2-primary: #228B22;
  --vdc2-bg: #0F0F23;
  --vdc2-accent: #2E8B57;
  --vdc2-deep: #006400;
  --vdc2-gold: #F5C518;
  --vdc2-text: #F4FFF4;
  --vdc2-muted: #A9C7A9;
  --vdc2-card: #161634;
  --vdc2-border: rgba(120, 220, 150, 0.18);
  --vdc2-radius: 14px;
  --vdc2-shadow: 0 6px 22px rgba(0, 0, 0, 0.35);
  font-size: 62.5%;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: radial-gradient(1200px 600px at 50% -10%, #17371c 0%, var(--vdc2-bg) 60%);
  color: var(--vdc2-text);
  font-family: "Be Vietnam Pro", "Segoe UI", Roboto, system-ui, sans-serif;
  font-size: 1.6rem;
  line-height: 1.5;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.vdc2-container {
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
  padding: 0 14px;
}
@media (min-width: 768px) {
  .vdc2-container { max-width: 1100px; padding: 0 24px; }
}

/* ===================== Header ===================== */
.vdc2-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: linear-gradient(135deg, var(--vdc2-deep), var(--vdc2-bg) 75%);
  border-bottom: 1px solid var(--vdc2-border);
  box-shadow: 0 2px 12px rgba(0,0,0,0.35);
}
.vdc2-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  height: 58px;
}
.vdc2-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  font-size: 1.8rem;
  color: var(--vdc2-text);
  letter-spacing: .3px;
}
.vdc2-logo img {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  object-fit: cover;
}
.vdc2-logo .vdc2-logo-badge {
  background: linear-gradient(135deg, var(--vdc2-gold), #ff8a00);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.vdc2-header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}
.vdc2-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1.35rem;
  border: none;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, filter .15s ease;
  white-space: nowrap;
}
.vdc2-btn:active { transform: scale(.96); }
.vdc2-btn-login {
  background: rgba(255,255,255,0.08);
  color: var(--vdc2-text);
  border: 1px solid var(--vdc2-border);
}
.vdc2-btn-register {
  background: linear-gradient(135deg, var(--vdc2-gold), #ff9a00);
  color: #2a1500;
  box-shadow: 0 4px 14px rgba(245,197,24,.35);
}
.vdc2-btn-register:hover { filter: brightness(1.06); }

.vdc2-menu-burger {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--vdc2-border);
  color: var(--vdc2-text);
  font-size: 1.9rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

/* ===================== Mobile menu ===================== */
.vdc2-mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 82%;
  max-width: 320px;
  height: 100vh;
  background: linear-gradient(160deg, #0c1f12, var(--vdc2-bg));
  z-index: 9999;
  padding: 22px 18px;
  transition: right .28s ease;
  overflow-y: auto;
  border-left: 1px solid var(--vdc2-border);
}
.vdc2-mobile-menu.vdc2-is-open { right: 0; }
.vdc2-menu-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
}
.vdc2-menu-head strong { font-size: 1.7rem; color: var(--vdc2-gold); }
.vdc2-menu-close {
  background: rgba(255,255,255,.08);
  border: none;
  color: #fff;
  width: 36px; height: 36px;
  border-radius: 50%;
  font-size: 1.8rem;
  cursor: pointer;
}
.vdc2-mobile-menu ul { list-style: none; padding: 0; margin: 0; }
.vdc2-mobile-menu li { margin: 6px 0; }
.vdc2-mobile-menu a {
  display: block;
  padding: 12px 14px;
  border-radius: 10px;
  background: rgba(255,255,255,.04);
  border: 1px solid transparent;
  font-weight: 600;
}
.vdc2-mobile-menu a:hover, .vdc2-mobile-menu a:focus {
  background: rgba(46,139,87,.18);
  border-color: var(--vdc2-border);
}
.vdc2-menu-cta {
  margin-top: 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.vdc2-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,.55);
  z-index: 9998;
  opacity: 0; visibility: hidden;
  transition: opacity .25s ease;
}
.vdc2-overlay.vdc2-is-open { opacity: 1; visibility: visible; }

/* ===================== Hero / Carousel ===================== */
main { padding-top: 14px; }
@media (max-width: 768px) {
  main { padding-bottom: 84px; }
}

.vdc2-carousel {
  position: relative;
  border-radius: var(--vdc2-radius);
  overflow: hidden;
  box-shadow: var(--vdc2-shadow);
  margin-bottom: 18px;
}
.vdc2-carousel-track { position: relative; }
.vdc2-carousel-slide {
  position: relative;
  display: none;
}
.vdc2-carousel-slide.vdc2-active { display: block; }
.vdc2-carousel-slide img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}
@media (min-width: 768px) {
  .vdc2-carousel-slide img { height: 380px; }
}
.vdc2-carousel-cap {
  position: absolute;
  left: 14px; bottom: 14px; right: 14px;
  background: linear-gradient(0deg, rgba(0,0,0,.78), transparent);
  padding: 28px 14px 12px;
  border-radius: 12px;
}
.vdc2-carousel-cap h2 {
  margin: 0 0 6px;
  font-size: 1.8rem;
  color: #fff;
}
.vdc2-carousel-cap p { margin: 0 0 10px; color: var(--vdc2-muted); font-size: 1.3rem; }
.vdc2-carousel-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: linear-gradient(135deg, var(--vdc2-gold), #ff8a00);
  color: #2a1500;
  padding: 8px 16px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1.3rem;
}
.vdc2-carousel-dots {
  position: absolute;
  bottom: 8px; left: 0; right: 0;
  display: flex; justify-content: center;
  gap: 6px;
}
.vdc2-carousel-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,.4);
  border: none; cursor: pointer;
}
.vdc2-carousel-dot.vdc2-active { background: var(--vdc2-gold); transform: scale(1.25); }

/* ===================== Section titles ===================== */
.vdc2-section { margin: 26px 0; }
.vdc2-section-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.7rem;
  font-weight: 800;
  margin: 0 0 14px;
  padding-left: 12px;
  border-left: 4px solid var(--vdc2-gold);
  color: #fff;
}
.vdc2-section-title .material-icons,
.vdc2-section-title i { color: var(--vdc2-gold); font-size: 22px; }
.vdc2-section-sub { color: var(--vdc2-muted); margin: -6px 0 14px; font-size: 1.35rem; }

/* ===================== Game grid ===================== */
.vdc2-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
@media (min-width: 540px) { .vdc2-grid { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 768px) { .vdc2-grid { grid-template-columns: repeat(6, 1fr); gap: 16px; } }

.vdc2-card {
  background: var(--vdc2-card);
  border: 1px solid var(--vdc2-border);
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.vdc2-card:hover, .vdc2-card:focus {
  transform: translateY(-3px);
  border-color: var(--vdc2-gold);
  box-shadow: 0 8px 20px rgba(245,197,24,.15);
}
.vdc2-card-img {
  position: relative;
  aspect-ratio: 1 / 1;
  background: #0a1a0e;
}
.vdc2-card-img img { width: 100%; height: 100%; object-fit: cover; }
.vdc2-card-tag {
  position: absolute;
  top: 6px; left: 6px;
  background: linear-gradient(135deg, var(--vdc2-deep), var(--vdc2-primary));
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 6px;
  text-transform: uppercase;
  letter-spacing: .4px;
}
.vdc2-card-name {
  padding: 7px 8px;
  font-size: 1.2rem;
  font-weight: 600;
  color: #fff;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.vdc2-card-hot {
  position: absolute;
  top: 6px; right: 6px;
  color: #ff3b3b;
  font-size: 1.4rem;
  filter: drop-shadow(0 1px 3px rgba(0,0,0,.6));
}

/* ===================== Promo CTA bar ===================== */
.vdc2-promo {
  background: linear-gradient(135deg, var(--vdc2-deep), var(--vdc2-accent));
  border-radius: var(--vdc2-radius);
  padding: 18px;
  margin: 22px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  box-shadow: var(--vdc2-shadow);
  border: 1px solid var(--vdc2-border);
}
.vdc2-promo-text h3 { margin: 0 0 4px; font-size: 1.7rem; color: #fff; }
.vdc2-promo-text p { margin: 0; color: #e9ffe9; font-size: 1.3rem; }
.vdc2-promo .vdc2-btn { flex-shrink: 0; }

/* ===================== Info / feature blocks ===================== */
.vdc2-info-card {
  background: var(--vdc2-card);
  border: 1px solid var(--vdc2-border);
  border-radius: var(--vdc2-radius);
  padding: 16px;
  margin-bottom: 14px;
}
.vdc2-info-card h3 { margin: 0 0 8px; font-size: 1.55rem; color: var(--vdc2-gold); }
.vdc2-info-card p { margin: 0 0 10px; color: var(--vdc2-muted); font-size: 1.35rem; }
.vdc2-info-card a { color: var(--vdc2-gold); text-decoration: underline; }
.vdc2-info-card a:hover { color: #fff; }

.vdc2-feature-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}
@media (min-width: 768px) { .vdc2-feature-row { grid-template-columns: repeat(3, 1fr); } }

.vdc2-testimonial {
  background: var(--vdc2-card);
  border-radius: 12px;
  padding: 14px;
  border-left: 3px solid var(--vdc2-gold);
  margin-bottom: 10px;
}
.vdc2-testimonial .vdc2-stars { color: var(--vdc2-gold); margin-bottom: 6px; font-size: 1.3rem; }
.vdc2-testimonial p { margin: 0 0 6px; color: #e9ffe9; font-size: 1.3rem; }
.vdc2-testimonial strong { color: var(--vdc2-gold); }

/* ===================== Footer ===================== */
.vdc2-footer {
  background: linear-gradient(180deg, var(--vdc2-bg), #050812);
  border-top: 1px solid var(--vdc2-border);
  padding: 26px 0 30px;
  margin-top: 28px;
}
.vdc2-footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}
@media (min-width: 768px) { .vdc2-footer-grid { grid-template-columns: 2fr 1fr 1fr; } }
.vdc2-footer h4 { color: var(--vdc2-gold); margin: 0 0 10px; font-size: 1.45rem; }
.vdc2-footer p { color: var(--vdc2-muted); font-size: 1.3rem; margin: 0 0 10px; }
.vdc2-footer ul { list-style: none; padding: 0; margin: 0; }
.vdc2-footer li { margin-bottom: 6px; }
.vdc2-footer a { color: #cfe9d2; font-size: 1.3rem; }
.vdc2-footer a:hover { color: var(--vdc2-gold); }
.vdc2-footer-buttons {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin: 14px 0;
}
.vdc2-copyright {
  border-top: 1px solid var(--vdc2-border);
  margin-top: 18px;
  padding-top: 14px;
  text-align: center;
  color: var(--vdc2-muted);
  font-size: 1.2rem;
}

/* ===================== Mobile bottom nav ===================== */
.vdc2-bottom-nav {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  height: 62px;
  background: linear-gradient(180deg, #0d2415, #061008);
  border-top: 1px solid var(--vdc2-border);
  display: flex;
  justify-content: space-around;
  align-items: stretch;
  z-index: 1000;
  box-shadow: 0 -4px 18px rgba(0,0,0,.45);
}
.vdc2-bottom-nav a {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  min-width: 60px;
  min-height: 60px;
  color: var(--vdc2-muted);
  font-size: 1.05rem;
  font-weight: 600;
  position: relative;
  transition: color .15s ease, transform .15s ease;
}
.vdc2-bottom-nav a i,
.vdc2-bottom-nav a .material-icons {
  font-size: 22px;
}
.vdc2-bottom-nav a:active { transform: scale(.92); }
.vdc2-bottom-nav a.vdc2-current { color: var(--vdc2-gold); }
.vdc2-bottom-nav a.vdc2-current::after {
  content: '';
  position: absolute;
  top: 0; left: 30%; right: 30%;
  height: 3px;
  background: var(--vdc2-gold);
  border-radius: 0 0 4px 4px;
}
.vdc2-bottom-nav .vdc2-bn-promo {
  color: var(--vdc2-gold);
}
@media (min-width: 769px) {
  .vdc2-bottom-nav { display: none; }
}

/* Desktop nav (hidden on mobile) */
.vdc2-desktop-nav {
  display: none;
}
@media (min-width: 769px) {
  .vdc2-desktop-nav {
    display: flex;
    gap: 18px;
    align-items: center;
  }
  .vdc2-desktop-nav a {
    color: #d6f0da;
    font-size: 1.35rem;
    font-weight: 600;
  }
  .vdc2-desktop-nav a:hover { color: var(--vdc2-gold); }
}

/* Utility */
.vdc2-text-link {
  color: var(--vdc2-gold);
  font-weight: 700;
  text-decoration: underline;
}
.vdc2-text-link:hover { color: #fff; }
.vdc2-sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
