/* ============================================================
 * okbet app login - Core Stylesheet
 * Prefix: pg66-
 * Palette: #006400 / #ADFF2F / #1A1A2E / #008000 / #B8860B
 * Mobile-first: max-width 430px viewport target
 * ============================================================ */

:root {
  --pg66-primary: #008000;
  --pg66-dark-green: #006400;
  --pg66-acid: #ADFF2F;
  --pg66-bg: #1A1A2E;
  --pg66-gold: #B8860B;
  --pg66-text: #f4f6f4;
  --pg66-muted: #aab1c2;
  --pg66-card: #232342;
  --pg66-card-2: #2a2a52;
  --pg66-border: rgba(173, 255, 47, 0.18);
  --pg66-radius: 14px;
  --pg66-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
}

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

html {
  font-size: 62.5%;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  font-family: "Segoe UI", "Helvetica Neue", Roboto, Arial, sans-serif;
  background: var(--pg66-bg);
  color: var(--pg66-text);
  line-height: 1.5rem;
  font-size: 1.4rem;
  overflow-x: hidden;
  padding-top: 56px;
}

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

/* ---------- Layout containers ---------- */
.pg66-container {
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
  padding: 0 14px;
}

.pg66-wrapper {
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
}

.pg66-section {
  padding: 22px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.pg66-section-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--pg66-acid);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.pg66-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

/* ---------- Header ---------- */
.pg66-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: linear-gradient(90deg, var(--pg66-dark-green), var(--pg66-primary));
  border-bottom: 2px solid var(--pg66-acid);
  height: 56px;
}

.pg66-header-inner {
  max-width: 430px;
  margin: 0 auto;
  height: 100%;
  padding: 0 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
}

.pg66-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  font-weight: 800;
  font-size: 1.5rem;
  text-decoration: none;
  flex: 1;
  min-width: 0;
}
.pg66-logo img { width: 28px; height: 28px; border-radius: 6px; }
.pg66-logo span {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.pg66-header-actions { display: flex; align-items: center; gap: 6px; }

.pg66-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 36px;
  padding: 0 12px;
  border: none;
  border-radius: 8px;
  font-size: 1.25rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform .15s, filter .15s;
  color: #fff;
}
.pg66-btn:hover { transform: translateY(-1px); filter: brightness(1.08); text-decoration: none; }

.pg66-btn-login { background: rgba(255,255,255,0.16); border: 1px solid rgba(255,255,255,0.35); }
.pg66-btn-register { background: var(--pg66-gold); color: #1A1A2E; }

.pg66-menu-toggle {
  background: transparent;
  border: 0;
  color: #fff;
  font-size: 2rem;
  cursor: pointer;
  padding: 4px 6px;
  line-height: 1;
}

/* ---------- Mobile slide-down menu ---------- */
.pg66-mobile-menu {
  position: fixed;
  top: 56px; left: 0; right: 0;
  z-index: 9999;
  background: var(--pg66-bg);
  border-bottom: 2px solid var(--pg66-acid);
  padding: 8px 14px 14px;
  max-height: 0;
  overflow: hidden;
  transition: max-height .25s ease;
}
.pg66-mobile-menu.pg66-menu-open { max-height: 480px; }
.pg66-mobile-menu a {
  display: block;
  padding: 10px 8px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  color: var(--pg66-text);
  font-weight: 600;
}
.pg66-mobile-menu a:last-child { border-bottom: 0; }

/* ---------- Carousel ---------- */
.pg66-carousel {
  position: relative;
  border-radius: var(--pg66-radius);
  overflow: hidden;
  box-shadow: var(--pg66-shadow);
  margin-bottom: 14px;
}
.pg66-slide {
  display: none;
  position: relative;
  cursor: pointer;
}
.pg66-slide.pg66-slide-active { display: block; }
.pg66-slide img { width: 100%; height: 200px; object-fit: cover; }
.pg66-slide-caption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 12px;
  background: linear-gradient(transparent, rgba(0,0,0,0.75));
  font-size: 1.4rem;
  font-weight: 700;
  color: #fff;
}
.pg66-dots {
  position: absolute;
  bottom: 8px; right: 10px;
  display: flex; gap: 5px;
}
.pg66-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.5);
  cursor: pointer;
}
.pg66-dot.pg66-dot-active { background: var(--pg66-acid); }

/* ---------- Hero / H1 ---------- */
.pg66-hero { padding: 6px 0 10px; }
.pg66-hero h1 {
  font-size: 2.1rem;
  line-height: 1.25;
  color: #fff;
  margin-bottom: 8px;
}
.pg66-hero h1 em { color: var(--pg66-acid); font-style: normal; }
.pg66-hero p { color: var(--pg66-muted); font-size: 1.3rem; }

/* ---------- Promo CTA bar ---------- */
.pg66-cta-bar {
  display: flex;
  gap: 8px;
  margin: 12px 0;
}
.pg66-cta-bar .pg66-btn { flex: 1; }

/* ---------- Cards / sections ---------- */
.pg66-card {
  background: var(--pg66-card);
  border: 1px solid var(--pg66-border);
  border-radius: var(--pg66-radius);
  padding: 14px;
  box-shadow: var(--pg66-shadow);
}

.pg66-card h2 {
  font-size: 1.6rem;
  color: var(--pg66-acid);
  margin-bottom: 8px;
}
.pg66-card h3 {
  font-size: 1.35rem;
  color: #fff;
  margin: 10px 0 6px;
}
.pg66-card p { color: var(--pg66-muted); margin-bottom: 8px; }

/* Inline promotional text link */
.pg66-promo-link {
  color: var(--pg66-acid);
  font-weight: 800;
  cursor: pointer;
}
.pg66-promo-link:hover { text-decoration: underline; }

/* ---------- Game grid ---------- */
.pg66-game-block { margin-bottom: 18px; }
.pg66-game-block-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}
.pg66-game-block-head h2 {
  font-size: 1.55rem;
  color: #fff;
  text-transform: capitalize;
}
.pg66-game-block-head h2 i { color: var(--pg66-acid); margin-right: 6px; }

.pg66-game-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.pg66-game-item {
  display: block;
  background: var(--pg66-card-2);
  border: 1px solid var(--pg66-border);
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
  transition: transform .15s, border-color .15s;
  text-align: center;
}
.pg66-game-item:hover {
  transform: translateY(-2px);
  border-color: var(--pg66-acid);
  text-decoration: none;
}
.pg66-game-item img {
  width: 100%;
  height: 78px;
  object-fit: cover;
}
.pg66-game-item span {
  display: block;
  font-size: 1.1rem;
  color: #fff;
  padding: 5px 4px;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ---------- RTP table ---------- */
.pg66-rtp-row {
  display: flex;
  justify-content: space-between;
  padding: 6px 0;
  border-bottom: 1px dashed rgba(255,255,255,0.08);
  font-size: 1.25rem;
}
.pg66-rtp-row:last-child { border-bottom: 0; }
.pg66-rtp-row b { color: var(--pg66-acid); }

/* ---------- Testimonials ---------- */
.pg66-testi {
  background: var(--pg66-card-2);
  border-left: 3px solid var(--pg66-acid);
  border-radius: 8px;
  padding: 10px 12px;
  margin-bottom: 8px;
}
.pg66-testi .pg66-stars { color: var(--pg66-gold); margin-bottom: 4px; }
.pg66-testi p { color: #e6e9f2; font-size: 1.2rem; margin: 0; }
.pg66-testi .pg66-author { color: var(--pg66-muted); font-size: 1.1rem; margin-top: 4px; }

/* ---------- Payment / winners lists ---------- */
.pg66-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.pg66-chip {
  background: var(--pg66-card-2);
  border: 1px solid var(--pg66-border);
  border-radius: 20px;
  padding: 5px 10px;
  font-size: 1.15rem;
  color: #fff;
}

.pg66-win-row {
  display: flex;
  justify-content: space-between;
  padding: 6px 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  font-size: 1.2rem;
}
.pg66-win-row:last-child { border-bottom: 0; }
.pg66-win-row b { color: var(--pg66-gold); }

/* ---------- FAQ ---------- */
.pg66-faq-item {
  border-bottom: 1px solid rgba(255,255,255,0.08);
  padding: 8px 0;
}
.pg66-faq-item h3 {
  font-size: 1.3rem;
  color: #fff;
  margin-bottom: 4px;
}
.pg66-faq-item p { color: var(--pg66-muted); font-size: 1.2rem; margin: 0; }

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

/* ---------- Footer ---------- */
.pg66-footer {
  background: #11112a;
  border-top: 2px solid var(--pg66-acid);
  padding: 22px 0 90px;
  margin-top: 10px;
}
.pg66-footer p { color: var(--pg66-muted); font-size: 1.2rem; margin-bottom: 10px; }
.pg66-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 10px 0;
}
.pg66-footer-links a {
  background: var(--pg66-card);
  border: 1px solid var(--pg66-border);
  border-radius: 6px;
  padding: 5px 9px;
  font-size: 1.1rem;
  color: #fff;
}
.pg66-footer-copy {
  font-size: 1.1rem;
  color: var(--pg66-muted);
  margin-top: 10px;
  text-align: center;
}

/* ---------- Bottom navigation (mobile only) ---------- */
.pg66-bottom-nav {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 1000;
  height: 60px;
  background: linear-gradient(180deg, var(--pg66-primary), var(--pg66-dark-green));
  border-top: 2px solid var(--pg66-acid);
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 4px 0 2px;
}
.pg66-nav-btn {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 60px;
  min-height: 56px;
  color: #fff;
  font-size: 1rem;
  background: transparent;
  border: 0;
  cursor: pointer;
  gap: 2px;
  transition: transform .15s, color .15s;
}
.pg66-nav-btn .material-icons,
.pg66-nav-btn .ion-icon,
.pg66-nav-btn i {
  font-size: 22px;
}
.pg66-nav-btn span { font-size: 1rem; }
.pg66-nav-btn:hover { transform: scale(1.06); color: var(--pg66-acid); text-decoration: none; }
.pg66-nav-btn.pg66-nav-active { color: var(--pg66-acid); }
.pg66-nav-badge {
  position: absolute;
  top: 4px; right: 18px;
  background: var(--pg66-gold);
  color: #1A1A2E;
  border-radius: 50%;
  font-size: 0.9rem;
  min-width: 16px; height: 16px;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700;
}

/* ---------- Desktop: hide bottom nav, expand container ---------- */
@media (min-width: 769px) {
  .pg66-bottom-nav { display: none; }
  .pg66-container, .pg66-wrapper { max-width: 900px; }
  body { padding-top: 64px; }
  .pg66-game-grid { grid-template-columns: repeat(6, 1fr); }
  .pg66-grid { grid-template-columns: repeat(4, 1fr); }
  .pg66-header-inner { max-width: 900px; }
}

/* ---------- Mobile (max 430px) tuning ---------- */
@media (max-width: 430px) {
  html { font-size: 58%; }
  body { padding-bottom: 80px; }
  main { padding-bottom: 80px; }
  .pg66-hero h1 { font-size: 1.85rem; }
  .pg66-game-grid { grid-template-columns: repeat(3, 1fr); gap: 6px; }
  .pg66-game-item img { height: 64px; }
  .pg66-slide img { height: 170px; }
  .pg66-btn { padding: 0 10px; font-size: 1.15rem; }
  .pg66-section-title { font-size: 1.6rem; }
  .pg66-logo span { max-width: 120px; }
}

@media (max-width: 360px) {
  .pg66-game-grid { grid-template-columns: repeat(2, 1fr); }
  .pg66-grid { grid-template-columns: 1fr; }
}
