/* ============================================================
 * bingo plus net - design-3182.css
 * Mobile-first CSS for bingoplusnet.click
 * All classes use the pg31- prefix. Palette:
 * #3A3A3A | #4DB6AC | #FF8C00 | #00E5FF | #36454F
 * ============================================================ */

:root {
  --pg31-bg: #36454F;
  --pg31-bg-deep: #2b3740;
  --pg31-bg-soft: #3A3A3A;
  --pg31-primary: #4DB6AC;
  --pg31-accent: #FF8C00;
  --pg31-cyan: #00E5FF;
  --pg31-text: #F4F7F8;
  --pg31-text-muted: #B8C5CC;
  --pg31-card: rgba(255, 255, 255, 0.04);
  --pg31-border: rgba(77, 182, 172, 0.25);
  --pg31-radius: 14px;
  --pg31-shadow: 0 8px 22px rgba(0, 0, 0, 0.35);
  --pg31-header-h: 56px;
  --pg31-bottom-h: 60px;
}

* { box-sizing: border-box; }
html { font-size: 62.5%; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: "Segoe UI", "Helvetica Neue", Roboto, Arial, sans-serif;
  background: linear-gradient(160deg, var(--pg31-bg) 0%, var(--pg31-bg-deep) 100%);
  color: var(--pg31-text);
  line-height: 1.5rem;
  font-size: 1.5rem;
  min-height: 100vh;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--pg31-cyan); text-decoration: none; }
a:hover { color: var(--pg31-accent); }
h1, h2, h3, h4 { color: #fff; margin: 0 0 0.8rem; line-height: 1.3; }
h1 { font-size: 2.2rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.7rem; }
h4 { font-size: 1.5rem; }
p { margin: 0 0 1rem; color: var(--pg31-text-muted); }

/* -------- Layout helpers -------- */
.pg31-container { width: 100%; max-width: 430px; margin: 0 auto; padding: 0 1.2rem; }
.pg31-wrapper { padding-top: var(--pg31-header-h); }
.pg31-section { padding: 2.2rem 0; }
.pg31-section-alt {
  background: rgba(0, 0, 0, 0.18);
  border-top: 1px solid var(--pg31-border);
  border-bottom: 1px solid var(--pg31-border);
}
.pg31-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.pg31-grid-3 { grid-template-columns: repeat(3, 1fr); }
.pg31-text-center { text-align: center; }
.pg31-highlight { color: var(--pg31-accent); font-weight: 700; }
.pg31-cyan-text { color: var(--pg31-cyan); font-weight: 700; }
.pg31-tag {
  display: inline-block;
  background: rgba(255, 140, 0, 0.15);
  color: var(--pg31-accent);
  border: 1px solid rgba(255, 140, 0, 0.35);
  border-radius: 999px;
  padding: 0.3rem 1rem;
  font-size: 1.2rem;
  margin-bottom: 0.8rem;
}

/* -------- Header -------- */
.pg31-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--pg31-header-h);
  background: linear-gradient(90deg, rgba(54,69,79,0.97) 0%, rgba(42,55,64,0.97) 100%);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--pg31-border);
  z-index: 1000;
  transition: all 0.25s ease;
}
.pg31-header-inner {
  height: 100%;
  max-width: 430px;
  margin: 0 auto;
  padding: 0 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
}
.pg31-header-shrink { height: 48px; box-shadow: 0 4px 14px rgba(0,0,0,0.4); }
.pg31-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: #fff;
  font-weight: 700;
  font-size: 1.5rem;
}
.pg31-logo img { width: 28px; height: 28px; border-radius: 6px; }
.pg31-logo .pg31-logo-text span { color: var(--pg31-accent); }
.pg31-header-actions { display: flex; align-items: center; gap: 0.5rem; }
.pg31-icon-btn {
  background: transparent;
  border: none;
  color: #fff;
  font-size: 2rem;
  padding: 0.4rem;
  cursor: pointer;
  border-radius: 8px;
  transition: background 0.2s;
}
.pg31-icon-btn:hover { background: rgba(77, 182, 172, 0.18); }

/* -------- Buttons -------- */
.pg31-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border: none;
  border-radius: 10px;
  padding: 0.9rem 1.4rem;
  font-size: 1.4rem;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.2s;
  min-height: 40px;
}
.pg31-btn:hover { transform: translateY(-1px); }
.pg31-btn-register { background: linear-gradient(135deg, var(--pg31-accent) 0%, #ff6f00 100%); color: #fff; box-shadow: 0 4px 14px rgba(255, 140, 0, 0.4); }
.pg31-btn-login { background: linear-gradient(135deg, var(--pg31-primary) 0%, #00897B 100%); color: #fff; box-shadow: 0 4px 14px rgba(77, 182, 172, 0.4); }
.pg31-btn-cta { background: linear-gradient(135deg, var(--pg31-cyan) 0%, var(--pg31-primary) 100%); color: #0a1820; box-shadow: 0 6px 18px rgba(0, 229, 255, 0.35); }
.pg31-btn-block { display: flex; width: 100%; }

/* -------- Mobile menu drawer -------- */
.pg31-mobile-menu {
  position: fixed;
  top: 0; right: -100%;
  width: 80%;
  max-width: 320px;
  height: 100vh;
  background: var(--pg31-bg-deep);
  border-left: 1px solid var(--pg31-border);
  padding: 5rem 1.5rem 2rem;
  transition: right 0.28s ease;
  z-index: 9999;
  overflow-y: auto;
}
.pg31-mobile-menu.pg31-menu-open { right: 0; box-shadow: -8px 0 30px rgba(0,0,0,0.5); }
.pg31-mobile-menu h3 { font-size: 1.4rem; color: var(--pg31-accent); text-transform: uppercase; letter-spacing: 1px; margin-top: 1.6rem; margin-bottom: 0.6rem; }
.pg31-mobile-menu a { display: block; padding: 0.8rem 0.6rem; border-bottom: 1px solid rgba(255,255,255,0.05); color: var(--pg31-text); font-size: 1.4rem; }
.pg31-mobile-menu a:hover { color: var(--pg31-cyan); background: rgba(0,229,255,0.06); }
.pg31-menu-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.55); opacity: 0; pointer-events: none; transition: opacity 0.25s; z-index: 9998; }
.pg31-menu-overlay.pg31-menu-open { opacity: 1; pointer-events: auto; }
.pg31-menu-close { position: absolute; top: 1rem; right: 1rem; background: transparent; border: none; color: #fff; font-size: 2.4rem; cursor: pointer; }

/* -------- Carousel -------- */
.pg31-carousel { position: relative; border-radius: var(--pg31-radius); overflow: hidden; box-shadow: var(--pg31-shadow); margin-bottom: 1rem; }
.pg31-carousel-track { position: relative; height: 180px; }
.pg31-carousel-slide { position: absolute; inset: 0; opacity: 0; transition: opacity 0.6s ease; cursor: pointer; }
.pg31-carousel-slide img { width: 100%; height: 100%; object-fit: cover; }
.pg31-carousel-slide.pg31-slide-active { opacity: 1; }
.pg31-carousel-caption { position: absolute; left: 0; right: 0; bottom: 0; padding: 1.4rem 1rem 1rem; background: linear-gradient(transparent, rgba(0,0,0,0.85)); color: #fff; font-weight: 700; }
.pg31-carousel-caption small { display: block; color: var(--pg31-accent); font-size: 1.1rem; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; }
.pg31-carousel-dots { position: absolute; bottom: 8px; right: 12px; display: flex; gap: 6px; z-index: 2; }
.pg31-carousel-dot { width: 8px; height: 8px; background: rgba(255,255,255,0.45); border-radius: 50%; cursor: pointer; border: none; padding: 0; }
.pg31-carousel-dot.pg31-dot-active { background: var(--pg31-accent); }

/* -------- Hero -------- */
.pg31-hero {
  background: radial-gradient(circle at 30% 20%, rgba(77,182,172,0.18), transparent 60%), radial-gradient(circle at 80% 60%, rgba(255,140,0,0.18), transparent 60%);
  padding: 1.6rem 1.2rem;
  border-radius: var(--pg31-radius);
  border: 1px solid var(--pg31-border);
  text-align: center;
  margin-bottom: 1.4rem;
}
.pg31-hero h1 { font-size: 2.4rem; margin-bottom: 0.6rem; }
.pg31-hero p { color: var(--pg31-text-muted); margin-bottom: 1.2rem; }

/* -------- Game section -------- */
.pg31-section-title { display: flex; align-items: center; gap: 0.6rem; margin-bottom: 1rem; font-size: 1.9rem; }
.pg31-section-title i { color: var(--pg31-accent); }
.pg31-section-title .pg31-bar { flex: 1; height: 2px; background: linear-gradient(90deg, var(--pg31-primary), transparent); margin-left: 0.8rem; }
.pg31-filter-bar { display: flex; gap: 0.5rem; overflow-x: auto; padding-bottom: 0.6rem; margin-bottom: 1rem; scrollbar-width: none; }
.pg31-filter-bar::-webkit-scrollbar { display: none; }
.pg31-filter-btn { flex-shrink: 0; background: rgba(255,255,255,0.06); border: 1px solid var(--pg31-border); color: var(--pg31-text-muted); padding: 0.5rem 1.2rem; border-radius: 999px; font-size: 1.3rem; cursor: pointer; }
.pg31-filter-btn.pg31-filter-active { background: var(--pg31-primary); color: #fff; border-color: var(--pg31-primary); }
.pg31-game-group { margin-bottom: 1.6rem; }
.pg31-game-group h3 { font-size: 1.6rem; color: var(--pg31-cyan); margin-bottom: 0.8rem; border-left: 4px solid var(--pg31-accent); padding-left: 0.8rem; }
.pg31-game-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.6rem; }
.pg31-game-card { background: var(--pg31-card); border: 1px solid rgba(255,255,255,0.05); border-radius: 10px; padding: 0.5rem; text-align: center; cursor: pointer; transition: transform 0.2s, border-color 0.2s; display: block; color: var(--pg31-text); }
.pg31-game-card:hover { transform: translateY(-3px); border-color: var(--pg31-primary); box-shadow: 0 6px 14px rgba(77,182,172,0.25); }
.pg31-game-card img { width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 8px; margin-bottom: 0.4rem; }
.pg31-game-card span { display: block; font-size: 1.15rem; color: var(--pg31-text-muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* -------- Info cards / features / list -------- */
.pg31-card { background: var(--pg31-card); border: 1px solid var(--pg31-border); border-radius: var(--pg31-radius); padding: 1.2rem; margin-bottom: 1rem; }
.pg31-card h3 { color: var(--pg31-cyan); margin-bottom: 0.6rem; }
.pg31-feature-list { list-style: none; padding: 0; margin: 0; }
.pg31-feature-list li { display: flex; gap: 0.8rem; align-items: flex-start; padding: 0.6rem 0; border-bottom: 1px solid rgba(255,255,255,0.05); color: var(--pg31-text-muted); }
.pg31-feature-list li:last-child { border-bottom: none; }
.pg31-feature-list i { color: var(--pg31-primary); font-size: 1.8rem; flex-shrink: 0; }

/* -------- Stats / numbers / RTP -------- */
.pg31-stats-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.6rem; margin: 1rem 0; }
.pg31-stat { text-align: center; background: rgba(0,229,255,0.06); border: 1px solid rgba(0,229,255,0.18); border-radius: 10px; padding: 0.8rem 0.4rem; }
.pg31-stat strong { display: block; color: var(--pg31-cyan); font-size: 1.8rem; }
.pg31-stat span { font-size: 1.1rem; color: var(--pg31-text-muted); }

/* -------- Testimonials / payment / faq -------- */
.pg31-testimonial { background: var(--pg31-card); border-left: 3px solid var(--pg31-accent); border-radius: 10px; padding: 1rem; margin-bottom: 0.8rem; }
.pg31-testimonial p { margin: 0 0 0.4rem; font-style: italic; }
.pg31-testimonial .pg31-author { color: var(--pg31-accent); font-weight: 700; font-size: 1.2rem; }
.pg31-chips { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 0.6rem; }
.pg31-chip { display: inline-flex; align-items: center; gap: 0.4rem; background: rgba(77,182,172,0.12); border: 1px solid var(--pg31-border); color: #fff; padding: 0.5rem 1rem; border-radius: 999px; font-size: 1.2rem; }
.pg31-faq-item { background: var(--pg31-card); border: 1px solid var(--pg31-border); border-radius: 10px; padding: 1rem; margin-bottom: 0.6rem; }
.pg31-faq-item h4 { color: var(--pg31-accent); font-size: 1.4rem; margin-bottom: 0.4rem; }
.pg31-faq-item p { margin: 0; font-size: 1.35rem; }

/* -------- Footer -------- */
.pg31-footer { background: #1f2a31; border-top: 2px solid var(--pg31-primary); padding: 2rem 0 6.5rem; margin-top: 2rem; }
.pg31-footer-links { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.4rem 1rem; margin: 1rem 0; }
.pg31-footer-links a { color: var(--pg31-text-muted); font-size: 1.3rem; padding: 0.3rem 0; }
.pg31-footer-links a:hover { color: var(--pg31-cyan); }
.pg31-footer-promos { display: flex; flex-direction: column; gap: 0.6rem; margin: 1.2rem 0; }
.pg31-copyright { text-align: center; color: var(--pg31-text-muted); font-size: 1.2rem; padding-top: 1rem; border-top: 1px solid rgba(255,255,255,0.08); }

/* -------- Bottom navigation -------- */
.pg31-bottom-nav {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  height: var(--pg31-bottom-h);
  background: linear-gradient(180deg, rgba(54,69,79,0.98) 0%, rgba(31,42,49,0.99) 100%);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--pg31-border);
  display: flex;
  justify-content: space-around;
  align-items: center;
  z-index: 1000;
  box-shadow: 0 -4px 16px rgba(0,0,0,0.4);
}
.pg31-nav-btn { flex: 1; background: transparent; border: none; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; min-width: 60px; min-height: var(--pg31-bottom-h); color: var(--pg31-text-muted); cursor: pointer; padding: 0.4rem 0.2rem; transition: color 0.2s, transform 0.15s; text-decoration: none; }
.pg31-nav-btn i, .pg31-nav-btn .material-icons, .pg31-nav-btn ion-icon { font-size: 22px; }
.pg31-nav-btn span { font-size: 1rem; font-weight: 600; }
.pg31-nav-btn:hover { color: var(--pg31-cyan); transform: translateY(-2px); }
.pg31-nav-btn.pg31-nav-active { color: var(--pg31-accent); }
.pg31-nav-btn:active { transform: scale(0.92); }

/* -------- Reveal / back-to-top / desktop nav -------- */
.pg31-reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.5s ease, transform 0.5s ease; }
.pg31-reveal.pg31-reveal-show { opacity: 1; transform: translateY(0); }
.pg31-totop { position: fixed; bottom: calc(var(--pg31-bottom-h) + 12px); right: 14px; width: 40px; height: 40px; border-radius: 50%; background: var(--pg31-accent); border: none; color: #fff; font-size: 1.8rem; cursor: pointer; z-index: 999; box-shadow: 0 4px 12px rgba(255,140,0,0.5); display: flex; align-items: center; justify-content: center; }
.pg31-desktop-nav { display: none; gap: 1.2rem; align-items: center; }

/* -------- Responsive rules -------- */
@media (min-width: 769px) {
  body { background: linear-gradient(160deg, #2b3740 0%, #1c252c 100%); }
  .pg31-container { max-width: 960px; padding: 0 2rem; }
  .pg31-grid { grid-template-columns: repeat(3, 1fr); }
  .pg31-grid-3 { grid-template-columns: repeat(6, 1fr); }
  .pg31-game-grid { grid-template-columns: repeat(6, 1fr); }
  .pg31-carousel-track { height: 320px; }
  .pg31-header-inner { max-width: 960px; }
  .pg31-bottom-nav { display: none; }
  .pg31-footer { padding-bottom: 2rem; }
  .pg31-totop { bottom: 24px; }
  .pg31-footer-links { grid-template-columns: repeat(4, 1fr); }
  .pg31-hero h1 { font-size: 3rem; }
  .pg31-desktop-nav { display: flex; }
  .pg31-desktop-nav a { color: var(--pg31-text-muted); font-size: 1.35rem; padding: 0.4rem 0.2rem; }
  .pg31-desktop-nav a:hover { color: var(--pg31-cyan); }
}

@media (max-width: 768px) {
  .pg31-wrapper { padding-bottom: calc(var(--pg31-bottom-h) + 20px); }
}
