/* ===========================================================
   go bingo plus - design-d31d.css
   Mobile-first stylesheet for gobingoplus.click
   Palette: #708090 | #BDC3C7 | #1A1A2E
   All custom classes use prefix: g1d5-
   =========================================================== */

:root {
  --g1d5-primary: #708090;
  --g1d5-secondary: #BDC3C7;
  --g1d5-bg: #1A1A2E;
  --g1d5-bg-soft: #232347;
  --g1d5-text: #F5F6FA;
  --g1d5-muted: #BDC3C7;
  --g1d5-accent: #FFB648;
  --g1d5-accent-2: #4DD0A8;
  --g1d5-border: rgba(189, 195, 199, 0.18);
  --g1d5-radius: 14px;
  --g1d5-radius-sm: 10px;
  --g1d5-shadow: 0 8px 24px rgba(0, 0, 0, 0.32);
}

* { box-sizing: border-box; }

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

html, body {
  margin: 0;
  padding: 0;
  font-size: 62.5%;
  background: var(--g1d5-bg);
  color: var(--g1d5-text);
  font-family: "Inter", "Segoe UI", system-ui, -apple-system, Arial, sans-serif;
  line-height: 1.5rem;
  overflow-x: hidden;
}

body {
  background: radial-gradient(circle at 20% 0%, #232347 0%, #1A1A2E 55%);
  min-height: 100vh;
}

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

a { color: var(--g1d5-accent-2); text-decoration: none; }
a:hover { color: var(--g1d5-accent); }

.g1d5-wrapper {
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
  padding: 0 1.4rem;
}

.g1d5-container { width: 100%; }

/* ---------- Header ---------- */
.g1d5-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(26, 26, 46, 0.96);
  border-bottom: 1px solid var(--g1d5-border);
  backdrop-filter: blur(8px);
}

.g1d5-header-inner {
  max-width: 430px;
  margin: 0 auto;
  padding: 0.7rem 1.2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
}

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

.g1d5-brand img {
  width: 28px; height: 28px;
  border-radius: 8px;
  object-fit: cover;
}

.g1d5-brand-name {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--g1d5-text);
  letter-spacing: 0.2px;
  white-space: nowrap;
}
.g1d5-brand-name span { color: var(--g1d5-accent); }

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

.g1d5-menu-toggle {
  background: transparent;
  border: 1px solid var(--g1d5-border);
  color: var(--g1d5-text);
  width: 38px; height: 38px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.g1d5-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  font-size: 1.3rem;
  font-weight: 700;
  padding: 0.65rem 1.1rem;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
  min-height: 38px;
}
.g1d5-btn:hover { transform: translateY(-1px); }
.g1d5-btn:active { transform: scale(0.97); }

.g1d5-btn-login {
  background: transparent;
  color: var(--g1d5-text);
  border: 1px solid var(--g1d5-secondary);
}
.g1d5-btn-register {
  background: linear-gradient(135deg, var(--g1d5-accent), #ff8a3a);
  color: #1A1A2E;
  box-shadow: 0 6px 16px rgba(255, 182, 72, 0.35);
}
.g1d5-btn-cta {
  background: linear-gradient(135deg, var(--g1d5-accent-2), #2bb688);
  color: #1A1A2E;
  padding: 1rem 2rem;
  font-size: 1.5rem;
  width: 100%;
  box-shadow: 0 8px 22px rgba(77, 208, 168, 0.35);
}

.g1d5-text-link {
  font-weight: 700;
  color: var(--g1d5-accent);
  border-bottom: 1px dashed currentColor;
  cursor: pointer;
}

/* ---------- Mobile menu ---------- */
.g1d5-mobile-menu {
  position: fixed;
  top: 56px; left: 0; right: 0;
  background: rgba(26, 26, 46, 0.98);
  border-bottom: 1px solid var(--g1d5-border);
  z-index: 9999;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.28s ease;
}
.g1d5-mobile-menu.g1d5-menu-open { max-height: 460px; }
.g1d5-mobile-menu ul {
  list-style: none;
  margin: 0; padding: 0.4rem 1.2rem 1rem;
}
.g1d5-mobile-menu li { border-bottom: 1px solid var(--g1d5-border); }
.g1d5-mobile-menu a {
  display: block;
  padding: 1rem 0.4rem;
  color: var(--g1d5-text);
  font-size: 1.4rem;
  font-weight: 600;
}

/* ---------- Main / sections ---------- */
.g1d5-main { padding-top: 64px; padding-bottom: 0; }
@media (max-width: 768px) {
  .g1d5-main { padding-bottom: 84px; }
}

.g1d5-section { padding: 2.4rem 0; }
.g1d5-section-alt { background: rgba(35, 35, 71, 0.55); border-radius: var(--g1d5-radius); padding: 1.8rem; margin: 1.2rem 0; }

.g1d5-h1 {
  font-size: 2.4rem;
  line-height: 1.35;
  margin: 1.4rem 0 0.8rem;
  font-weight: 800;
}
.g1d5-h2 {
  font-size: 1.9rem;
  font-weight: 800;
  margin: 2rem 0 0.8rem;
  color: var(--g1d5-text);
}
.g1d5-h2 .accent { color: var(--g1d5-accent); }
.g1d5-h3 {
  font-size: 1.55rem;
  font-weight: 700;
  margin: 1.2rem 0 0.5rem;
  color: var(--g1d5-secondary);
}
.g1d5-p { font-size: 1.35rem; line-height: 1.5; color: var(--g1d5-muted); margin: 0.6rem 0; }
.g1d5-p b { color: var(--g1d5-text); }

/* ---------- Carousel ---------- */
.g1d5-carousel {
  position: relative;
  border-radius: var(--g1d5-radius);
  overflow: hidden;
  box-shadow: var(--g1d5-shadow);
  margin: 1rem 0;
  aspect-ratio: 16/9;
}
.g1d5-slide {
  position: absolute; inset: 0;
  opacity: 0;
  transition: opacity 0.6s ease;
  cursor: pointer;
}
.g1d5-slide img { width: 100%; height: 100%; object-fit: cover; }
.g1d5-slide.g1d5-slide-active { opacity: 1; }

/* ---------- Game grid ---------- */
.g1d5-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.9rem;
}
@media (min-width: 380px) {
  .g1d5-grid { grid-template-columns: repeat(4, 1fr); gap: 1rem; }
}
.g1d5-card {
  background: var(--g1d5-bg-soft);
  border: 1px solid var(--g1d5-border);
  border-radius: var(--g1d5-radius-sm);
  padding: 0.6rem;
  text-align: center;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}
.g1d5-card:hover {
  transform: translateY(-2px);
  border-color: var(--g1d5-accent);
  box-shadow: var(--g1d5-shadow);
}
.g1d5-card img {
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 0.4rem;
}
.g1d5-card-name {
  font-size: 1.05rem;
  color: var(--g1d5-text);
  font-weight: 600;
  line-height: 1.2;
  word-break: break-word;
}

.g1d5-category-title {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 1.7rem;
  font-weight: 800;
  margin: 1.8rem 0 1rem;
  color: var(--g1d5-text);
}
.g1d5-category-title i { color: var(--g1d5-accent); }

/* ---------- Feature list ---------- */
.g1d5-feature-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.9rem;
  margin: 1rem 0;
}
.g1d5-feature {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  background: var(--g1d5-bg-soft);
  border: 1px solid var(--g1d5-border);
  padding: 1.1rem;
  border-radius: var(--g1d5-radius-sm);
}
.g1d5-feature i { font-size: 2.2rem; color: var(--g1d5-accent-2); margin-top: 0.2rem; }
.g1d5-feature b { color: var(--g1d5-text); font-size: 1.35rem; }
.g1d5-feature p { margin: 0.3rem 0 0; color: var(--g1d5-muted); font-size: 1.2rem; }

/* ---------- RTP / stats ---------- */
.g1d5-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.8rem;
  margin: 1rem 0;
}
.g1d5-stat {
  background: var(--g1d5-bg-soft);
  border: 1px solid var(--g1d5-border);
  border-radius: var(--g1d5-radius-sm);
  padding: 1rem;
  text-align: center;
}
.g1d5-stat-num { font-size: 2.1rem; font-weight: 800; color: var(--g1d5-accent); }
.g1d5-stat-label { font-size: 1.15rem; color: var(--g1d5-muted); }

/* ---------- Testimonials ---------- */
.g1d5-testimonials { display: grid; gap: 0.9rem; margin: 1rem 0; }
.g1d5-testimonial {
  background: var(--g1d5-bg-soft);
  border-left: 3px solid var(--g1d5-accent);
  padding: 1.1rem;
  border-radius: var(--g1d5-radius-sm);
}
.g1d5-testimonial p { margin: 0 0 0.4rem; color: var(--g1d5-text); font-size: 1.25rem; }
.g1d5-testimonial .who { font-size: 1.1rem; color: var(--g1d5-secondary); }

/* ---------- Payment / winners ---------- */
.g1d5-chips { display: flex; flex-wrap: wrap; gap: 0.6rem; margin: 1rem 0; }
.g1d5-chip {
  background: var(--g1d5-bg-soft);
  border: 1px solid var(--g1d5-border);
  color: var(--g1d5-text);
  padding: 0.55rem 0.9rem;
  border-radius: 999px;
  font-size: 1.15rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

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

/* ---------- Footer ---------- */
.g1d5-footer {
  background: rgba(26, 26, 46, 0.98);
  border-top: 1px solid var(--g1d5-border);
  padding: 2.2rem 1.4rem 1.5rem;
  margin-top: 1.6rem;
}
.g1d5-footer p { color: var(--g1d5-muted); font-size: 1.2rem; line-height: 1.5; margin: 0.4rem 0; }
.g1d5-footer-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.4rem 0.8rem;
  margin: 1rem 0;
}
.g1d5-footer-links a { font-size: 1.18rem; color: var(--g1d5-secondary); }
.g1d5-footer-promo {
  display: flex; flex-wrap: wrap; gap: 0.6rem; margin: 1rem 0;
}
.g1d5-footer-promo .g1d5-btn { flex: 1; min-width: 120px; }
.g1d5-copyright { font-size: 1.1rem; color: var(--g1d5-muted); margin-top: 1rem; }

/* ---------- Bottom navigation (mobile) ---------- */
.g1d5-bottomnav {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 1000;
  height: 62px;
  background: rgba(26, 26, 46, 0.98);
  border-top: 1px solid var(--g1d5-border);
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 0.3rem 0.2rem;
}
.g1d5-bottomnav a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 60px;
  min-height: 58px;
  color: var(--g1d5-secondary);
  font-size: 1.05rem;
  gap: 0.2rem;
  border-radius: 10px;
  transition: color 0.2s ease, transform 0.2s ease;
}
.g1d5-bottomnav a i { font-size: 22px; }
.g1d5-bottomnav a:active { transform: scale(0.9); }
.g1d5-bottomnav a.g1d5-bottomnav-active { color: var(--g1d5-accent); }
.g1d5-bottomnav a.g1d5-bottomnav-promo { color: var(--g1d5-accent-2); }
.g1d5-bottomnav .g1d5-badge {
  position: absolute; top: 4px; right: 18px;
  background: var(--g1d5-accent);
  color: #1A1A2E;
  font-size: 0.9rem;
  font-weight: 700;
  border-radius: 999px;
  padding: 0 0.35rem;
  min-width: 16px; height: 16px;
  line-height: 16px;
  text-align: center;
}
.g1d5-bottomnav a { position: relative; }

@media (min-width: 769px) {
  .g1d5-bottomnav { display: none; }
  .g1d5-main { padding-bottom: 0; }
  .g1d5-wrapper { max-width: 760px; }
  .g1d5-grid { grid-template-columns: repeat(6, 1fr); }
  .g1d5-stats { grid-template-columns: repeat(4, 1fr); }
}

/* ---------- Mobile fine-tuning ---------- */
@media (max-width: 430px) {
  html, body { font-size: 60%; }
  .g1d5-h1 { font-size: 2.1rem; }
  .g1d5-h2 { font-size: 1.7rem; }
  .g1d5-brand-name { font-size: 1.35rem; }
  .g1d5-btn { padding: 0.55rem 0.9rem; font-size: 1.2rem; }
  .g1d5-grid { gap: 0.7rem; }
  .g1d5-card { padding: 0.4rem; }
  .g1d5-card-name { font-size: 1rem; }
  .g1d5-section { padding: 1.8rem 0; }
  .g1d5-footer-links { grid-template-columns: 1fr; }
}

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