/* ===========================================================
   jiliko com login - stylesheet
   All custom classes use prefix: vd8e-
   Palette: #E0F2F1 | #00E5FF | #E0E0E0 | #333333
   Mobile-first, max-width 430px
   =========================================================== */

:root {
  --vd8e-primary: #00E5FF;
  --vd8e-bg: #333333;
  --vd8e-text: #E0F2F1;
  --vd8e-muted: #E0E0E0;
  --vd8e-dark: #2a2a2a;
  --vd8e-darker: #1f1f1f;
  --vd8e-accent: #00E5FF;
  --vd8e-card: #2f3640;
  --vd8e-border: #3d454f;
  --vd8e-gold: #ffd35c;
}

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

html { font-size: 62.5%; }

body {
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  background: var(--vd8e-bg);
  color: var(--vd8e-text);
  line-height: 1.5rem;
  font-size: 1.6rem;
  -webkit-font-smoothing: antialiased;
  max-width: 430px;
  margin: 0 auto;
  position: relative;
  min-height: 100vh;
}

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

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

.vd8e-container { width: 100%; padding: 0 1.2rem; }
.vd8e-wrapper { padding: 1rem 1.2rem; }
.vd8e-main { padding-bottom: 90px; }

/* ---------- Header ---------- */
.vd8e-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: var(--vd8e-darker);
  border-bottom: 2px solid var(--vd8e-primary);
  max-width: 430px;
  margin: 0 auto;
}
.vd8e-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.6rem 1rem;
  gap: 0.6rem;
}
.vd8e-brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--vd8e-text);
  font-weight: 700;
  font-size: 1.5rem;
  flex: 1;
  min-width: 0;
}
.vd8e-brand img { width: 28px; height: 28px; border-radius: 6px; }
.vd8e-brand span {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: var(--vd8e-text);
}
.vd8e-header-actions { display: flex; gap: 0.5rem; align-items: center; }
.vd8e-menu-btn {
  background: transparent;
  border: 1px solid var(--vd8e-border);
  color: var(--vd8e-primary);
  width: 36px; height: 36px;
  border-radius: 8px;
  font-size: 1.8rem;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
}

/* ---------- Buttons ---------- */
.vd8e-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.7rem 1.2rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1.3rem;
  border: none;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  min-height: 38px;
}
.vd8e-btn:active { transform: scale(0.96); }
.vd8e-btn-register {
  background: linear-gradient(135deg, #00E5FF, #00b8d4);
  color: #08222a;
  box-shadow: 0 2px 10px rgba(0,229,255,0.35);
}
.vd8e-btn-login {
  background: transparent;
  color: var(--vd8e-primary);
  border: 1.5px solid var(--vd8e-primary);
}
.vd8e-btn-cta {
  background: linear-gradient(135deg, var(--vd8e-gold), #ff9d3a);
  color: #2a1500;
  padding: 1rem 2rem;
  font-size: 1.5rem;
  width: 100%;
  box-shadow: 0 4px 14px rgba(255,157,58,0.35);
}
.vd8e-link-text { color: var(--vd8e-primary); font-weight: 700; }
.vd8e-link-text strong { color: var(--vd8e-gold); }

/* ---------- Mobile menu ---------- */
.vd8e-mobile-menu {
  position: fixed;
  top: 56px; left: 0; right: 0;
  background: var(--vd8e-darker);
  border-bottom: 2px solid var(--vd8e-primary);
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  z-index: 9999;
  max-width: 430px;
  margin: 0 auto;
}
.vd8e-mobile-menu.vd8e-menu-open { max-height: 520px; }
.vd8e-mobile-menu a {
  display: block;
  padding: 1rem 1.4rem;
  color: var(--vd8e-text);
  border-bottom: 1px solid var(--vd8e-border);
  font-size: 1.4rem;
}
.vd8e-mobile-menu a:active { background: var(--vd8e-card); }

/* ---------- Hero / Carousel ---------- */
.vd8e-hero { margin-top: 60px; }
.vd8e-carousel {
  position: relative;
  width: 100%;
  height: 180px;
  overflow: hidden;
  border-radius: 0 0 14px 14px;
}
.vd8e-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.6s ease;
}
.vd8e-slide img { width: 100%; height: 100%; object-fit: cover; }
.vd8e-slide-active { opacity: 1; }

/* ---------- Sections ---------- */
.vd8e-section { padding: 1.6rem 1.2rem; }
.vd8e-section-title {
  font-size: 1.8rem;
  color: var(--vd8e-text);
  margin-bottom: 0.8rem;
  padding-left: 0.6rem;
  border-left: 4px solid var(--vd8e-primary);
}
.vd8e-section-title strong { color: var(--vd8e-primary); }
.vd8e-h1 {
  font-size: 2rem;
  line-height: 1.3;
  padding: 1rem 1.2rem;
  color: var(--vd8e-text);
}
.vd8e-h1 strong { color: var(--vd8e-primary); }
.vd8e-lead { padding: 0 1.2rem; color: var(--vd8e-muted); font-size: 1.4rem; }

/* ---------- Game grid ---------- */
.vd8e-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.7rem;
}
.vd8e-game-card {
  background: var(--vd8e-card);
  border-radius: 10px;
  padding: 0.5rem;
  text-align: center;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  border: 1px solid var(--vd8e-border);
}
.vd8e-game-card:active {
  transform: scale(0.95);
  box-shadow: 0 0 0 2px var(--vd8e-primary);
}
.vd8e-game-card img {
  width: 100%;
  height: 78px;
  object-fit: cover;
  border-radius: 8px;
}
.vd8e-game-name {
  font-size: 1.15rem;
  color: var(--vd8e-text);
  margin-top: 0.4rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ---------- Cards / Features ---------- */
.vd8e-card {
  background: var(--vd8e-card);
  border-radius: 12px;
  padding: 1rem 1.2rem;
  margin-bottom: 0.9rem;
  border: 1px solid var(--vd8e-border);
}
.vd8e-card h3 {
  font-size: 1.5rem;
  color: var(--vd8e-primary);
  margin-bottom: 0.4rem;
}
.vd8e-card p { color: var(--vd8e-muted); font-size: 1.3rem; }
.vd8e-feature-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.7rem;
}
.vd8e-feature {
  background: var(--vd8e-card);
  padding: 0.9rem;
  border-radius: 10px;
  border: 1px solid var(--vd8e-border);
  text-align: center;
}
.vd8e-feature .icon { font-size: 2.2rem; color: var(--vd8e-primary); }
.vd8e-feature h4 { font-size: 1.25rem; color: var(--vd8e-text); margin: 0.3rem 0; }
.vd8e-feature p { font-size: 1.15rem; color: var(--vd8e-muted); }

/* ---------- RTP table ---------- */
.vd8e-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--vd8e-card);
  border-radius: 10px;
  overflow: hidden;
}
.vd8e-table th, .vd8e-table td {
  padding: 0.6rem 0.5rem;
  font-size: 1.2rem;
  text-align: left;
  border-bottom: 1px solid var(--vd8e-border);
}
.vd8e-table th { background: var(--vd8e-darker); color: var(--vd8e-primary); }
.vd8e-table td { color: var(--vd8e-muted); }

/* ---------- Testimonials ---------- */
.vd8e-quote {
  background: var(--vd8e-card);
  border-left: 4px solid var(--vd8e-gold);
  padding: 0.8rem 1rem;
  border-radius: 8px;
  margin-bottom: 0.7rem;
}
.vd8e-quote p { font-size: 1.25rem; color: var(--vd8e-text); }
.vd8e-quote .who { font-size: 1.1rem; color: var(--vd8e-primary); margin-top: 0.3rem; }

/* ---------- Payment ---------- */
.vd8e-pay-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}
.vd8e-pay {
  background: var(--vd8e-card);
  border: 1px solid var(--vd8e-border);
  padding: 0.6rem 0.9rem;
  border-radius: 8px;
  font-size: 1.2rem;
  color: var(--vd8e-text);
}

/* ---------- Footer ---------- */
.vd8e-footer {
  background: var(--vd8e-darker);
  border-top: 2px solid var(--vd8e-primary);
  padding: 1.4rem 1.2rem 2rem;
  color: var(--vd8e-muted);
  font-size: 1.25rem;
}
.vd8e-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  margin: 0.8rem 0;
}
.vd8e-footer-links a { color: var(--vd8e-primary); font-size: 1.2rem; }
.vd8e-footer-cta { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 0.8rem 0; }
.vd8e-footer small { color: #888; }

/* ---------- Bottom nav ---------- */
.vd8e-bottomnav {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  height: 62px;
  background: var(--vd8e-darker);
  border-top: 2px solid var(--vd8e-primary);
  display: flex;
  justify-content: space-around;
  align-items: center;
  z-index: 1000;
  max-width: 430px;
  margin: 0 auto;
}
.vd8e-bottomnav-btn {
  flex: 1;
  min-width: 60px;
  min-height: 60px;
  background: transparent;
  border: none;
  color: var(--vd8e-muted);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  cursor: pointer;
  font-size: 1rem;
  transition: color 0.15s ease, transform 0.15s ease;
}
.vd8e-bottomnav-btn .ico { font-size: 2.2rem; line-height: 1; }
.vd8e-bottomnav-btn .material-icons { font-size: 2.2rem; }
.vd8e-bottomnav-btn .ion { font-size: 2.2rem; }
.vd8e-bottomnav-btn.vd8e-tap { transform: scale(0.88); color: var(--vd8e-primary); }
.vd8e-bottomnav-active { color: var(--vd8e-primary); }
.vd8e-bottomnav-active .ico,
.vd8e-bottomnav-active .material-icons,
.vd8e-bottomnav-active .ion { color: var(--vd8e-gold); }

/* ---------- Desktop ---------- */
@media (min-width: 769px) {
  .vd8e-bottomnav { display: none; }
  .vd8e-main { padding-bottom: 0; }
}

/* ---------- Mobile tuning ---------- */
@media (max-width: 430px) {
  body { max-width: 100%; }
  .vd8e-grid { grid-template-columns: repeat(3, 1fr); gap: 0.5rem; }
  .vd8e-game-card img { height: 70px; }
  .vd8e-carousel { height: 160px; }
  .vd8e-section-title { font-size: 1.6rem; }
  .vd8e-h1 { font-size: 1.8rem; }
}
@media (max-width: 360px) {
  .vd8e-grid { grid-template-columns: repeat(2, 1fr); }
}
