/* ==========================================================================
   bingo plus games - theme-3d2f.css
   Prefix: w3d2f-  |  Hash: 3d2fbfd0
   Palette: #BA55D3 | #DDA0DD | #1C2833 | #FFB74D | #FFEB3B
   ========================================================================== */

:root {
  --w3d2f-purple: #BA55D3;
  --w3d2f-pink: #DDA0DD;
  --w3d2f-bg: #1C2833;
  --w3d2f-orange: #FFB74D;
  --w3d2f-yellow: #FFEB3B;
  --w3d2f-bg2: #141c26;
  --w3d2f-card: #202b39;
  --w3d2f-text: #f5f6fa;
  --w3d2f-muted: #b8b9c5;
  --w3d2f-radius: 14px;
  --w3d2f-shadow: 0 6px 22px rgba(0, 0, 0, 0.35);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
body {
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  background: var(--w3d2f-bg);
  color: var(--w3d2f-text);
  line-height: 1.5;
  font-size: 15px;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--w3d2f-pink); text-decoration: none; }

/* ============ Header ============ */
.w3d2f-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  background: linear-gradient(90deg, #1C2833 0%, #2a1c3a 100%);
  border-bottom: 2px solid var(--w3d2f-purple);
  box-shadow: 0 2px 12px rgba(0,0,0,0.4);
}
.w3d2f-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  font-size: 17px;
  color: var(--w3d2f-yellow);
  letter-spacing: 0.3px;
}
.w3d2f-brand .w3d2f-logo {
  width: 30px; height: 30px; border-radius: 8px;
  background: linear-gradient(135deg, var(--w3d2f-purple), var(--w3d2f-orange));
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 16px;
}
.w3d2f-actions { display: flex; gap: 8px; align-items: center; }
.w3d2f-btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 14px;
  border-radius: 30px;
  font-weight: 700;
  font-size: 13px;
  border: none;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  min-height: 36px;
}
.w3d2f-btn:hover { transform: translateY(-1px); }
.w3d2f-btn-login {
  background: transparent;
  color: var(--w3d2f-text);
  border: 1.5px solid var(--w3d2f-pink);
}
.w3d2f-btn-register {
  background: linear-gradient(90deg, var(--w3d2f-orange), var(--w3d2f-yellow));
  color: #1C2833;
  box-shadow: 0 3px 10px rgba(255,183,77,0.4);
}

/* Hamburger for mobile menu */
.w3d2f-burger {
  display: inline-flex;
  width: 38px; height: 38px;
  border-radius: 10px;
  background: rgba(186,85,211,0.18);
  border: 1px solid rgba(221,160,221,0.4);
  align-items: center; justify-content: center;
  color: var(--w3d2f-text);
  cursor: pointer;
  margin-left: 6px;
}

/* Expandable top nav */
.w3d2f-topnav {
  background: var(--w3d2f-bg2);
  border-bottom: 1px solid rgba(186,85,211,0.3);
  display: none;
  flex-wrap: wrap;
  padding: 8px 12px;
  gap: 4px;
}
.w3d2f-nav-open { display: flex; }
.w3d2f-topnav a {
  flex: 1 1 45%;
  padding: 8px 10px;
  border-radius: 8px;
  font-size: 13px;
  color: var(--w3d2f-text);
  background: rgba(255,255,255,0.03);
}
.w3d2f-topnav a:hover { background: rgba(186,85,211,0.2); color: var(--w3d2f-yellow); }
.w3d2f-quicknav{display:grid;grid-template-columns:repeat(2,1fr);gap:8px;padding:10px 12px;background:rgba(20,28,38,.96);border-bottom:1px solid rgba(186,85,211,.32)}
.w3d2f-quicknav a{display:flex;align-items:center;justify-content:center;min-height:38px;padding:8px;border-radius:10px;background:rgba(255,255,255,.05);color:var(--w3d2f-text);font-size:13px;font-weight:700;text-align:center;border:1px solid rgba(221,160,221,.16)}
.w3d2f-quicknav a:hover{background:rgba(186,85,211,.22);color:var(--w3d2f-yellow)}

/* ============ Hero ============ */
.w3d2f-hero {
  position: relative;
  padding: 26px 16px 32px;
  background:
    radial-gradient(circle at 20% 20%, rgba(186,85,211,0.35), transparent 55%),
    radial-gradient(circle at 85% 60%, rgba(255,183,77,0.25), transparent 55%),
    linear-gradient(180deg, #241433 0%, #1C2833 100%);
  text-align: center;
  overflow: hidden;
}
.w3d2f-hero h1 {
  font-size: 26px;
  line-height: 1.25;
  color: #fff;
  margin-bottom: 10px;
}
.w3d2f-hero h1 span { color: var(--w3d2f-yellow); }
.w3d2f-hero p {
  font-size: 14px;
  color: var(--w3d2f-muted);
  max-width: 560px;
  margin: 0 auto 18px;
}
.w3d2f-cta-row {
  display: flex; gap: 10px; justify-content: center; flex-wrap: wrap;
}
.w3d2f-cta {
  padding: 12px 22px;
  border-radius: 30px;
  font-weight: 800;
  font-size: 15px;
  cursor: pointer;
  border: none;
}
.w3d2f-cta-primary {
  background: linear-gradient(90deg, var(--w3d2f-orange), var(--w3d2f-yellow));
  color: #1C2833;
  box-shadow: 0 6px 16px rgba(255,183,77,0.45);
}
.w3d2f-cta-ghost {
  background: transparent;
  color: var(--w3d2f-text);
  border: 2px solid var(--w3d2f-purple);
}

/* Stat strip */
.w3d2f-stats {
  display: flex;
  justify-content: space-around;
  padding: 14px 10px;
  background: var(--w3d2f-bg2);
  border-bottom: 1px solid rgba(186,85,211,0.2);
}
.w3d2f-stat { text-align: center; }
.w3d2f-stat b {
  display: block;
  font-size: 18px;
  color: var(--w3d2f-yellow);
}
.w3d2f-stat small { color: var(--w3d2f-muted); font-size: 11px; }

/* ============ Sections ============ */
main { padding-bottom: 90px; }
.w3d2f-section {
  padding: 22px 14px;
  max-width: 1100px;
  margin: 0 auto;
}
.w3d2f-section h2 {
  font-size: 20px;
  color: var(--w3d2f-orange);
  margin-bottom: 12px;
  display: flex; align-items: center; gap: 8px;
}
.w3d2f-section p {
  color: var(--w3d2f-muted);
  margin-bottom: 10px;
  font-size: 14px;
}
.w3d2f-section a { color: var(--w3d2f-pink); }

/* Tabs */
.w3d2f-tabs {
  display: flex; gap: 6px; overflow-x: auto;
  padding-bottom: 8px; margin-bottom: 12px;
  -webkit-overflow-scrolling: touch;
}
.w3d2f-tab {
  padding: 7px 14px;
  border-radius: 20px;
  background: var(--w3d2f-card);
  color: var(--w3d2f-muted);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  border: 1px solid transparent;
}
.w3d2f-tab-active {
  background: linear-gradient(90deg, var(--w3d2f-purple), var(--w3d2f-pink));
  color: #fff;
  border-color: var(--w3d2f-yellow);
}

/* Game grid */
.w3d2f-panel { display: none; }
.w3d2f-panel-active { display: block; }
.w3d2f-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.w3d2f-card {
  background: var(--w3d2f-card);
  border-radius: 10px;
  overflow: hidden;
  position: relative;
  box-shadow: var(--w3d2f-shadow);
  transition: transform 0.15s ease;
}
.w3d2f-card:active { transform: scale(0.97); }
.w3d2f-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  background: #0e1520;
}
.w3d2f-card .w3d2f-name {
  font-size: 11px;
  padding: 5px 6px;
  color: var(--w3d2f-text);
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Feature list */
.w3d2f-features {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}
.w3d2f-feature {
  display: flex; gap: 12px; align-items: flex-start;
  background: var(--w3d2f-card);
  padding: 14px;
  border-radius: var(--w3d2f-radius);
  border-left: 3px solid var(--w3d2f-orange);
}
.w3d2f-feature .w3d2f-ico {
  font-size: 22px; color: var(--w3d2f-yellow);
}
.w3d2f-feature h3 { font-size: 15px; margin-bottom: 4px; color: #fff; }
.w3d2f-feature p { margin: 0; font-size: 13px; }

/* Steps */
.w3d2f-steps { counter-reset: step; }
.w3d2f-step {
  position: relative;
  padding: 12px 12px 12px 50px;
  background: var(--w3d2f-card);
  border-radius: 10px;
  margin-bottom: 8px;
  counter-increment: step;
}
.w3d2f-step::before {
  content: counter(step);
  position: absolute; left: 12px; top: 12px;
  width: 28px; height: 28px;
  background: linear-gradient(135deg, var(--w3d2f-purple), var(--w3d2f-orange));
  color: #fff;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800;
}
.w3d2f-step b { color: var(--w3d2f-yellow); }

/* FAQ */
.w3d2f-faq details {
  background: var(--w3d2f-card);
  border-radius: 10px;
  margin-bottom: 8px;
  padding: 10px 14px;
  border: 1px solid rgba(186,85,211,0.18);
}
.w3d2f-faq summary {
  cursor: pointer; font-weight: 600; color: #fff;
  font-size: 14px;
  list-style: none;
}
.w3d2f-faq summary::-webkit-details-marker { display: none; }
.w3d2f-faq details[open] summary { color: var(--w3d2f-yellow); }
.w3d2f-faq p { margin-top: 8px; }

/* Reveal animation */
.w3d2f-reveal { opacity: 0; transform: translateY(16px); transition: all 0.45s ease; }
.w3d2f-reveal.w3d2f-in { opacity: 1; transform: none; }

/* Promo banner */
.w3d2f-promo {
  background: linear-gradient(90deg, var(--w3d2f-purple), var(--w3d2f-orange));
  border-radius: var(--w3d2f-radius);
  padding: 16px;
  text-align: center;
  color: #fff;
  margin: 8px 0;
}
.w3d2f-promo h3 { color: var(--w3d2f-yellow); margin-bottom: 6px; }
.w3d2f-promo .w3d2f-cta {
  margin-top: 10px;
  background: #1C2833;
  color: var(--w3d2f-yellow);
}

/* ============ Footer ============ */
.w3d2f-footer {
  background: var(--w3d2f-bg2);
  padding: 24px 14px 16px;
  border-top: 2px solid var(--w3d2f-purple);
}
.w3d2f-foot-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  max-width: 1000px;
  margin: 0 auto;
}
.w3d2f-foot-cols h4 {
  color: var(--w3d2f-orange);
  font-size: 14px;
  margin-bottom: 8px;
}
.w3d2f-foot-cols a {
  display: block;
  color: var(--w3d2f-muted);
  font-size: 12.5px;
  padding: 3px 0;
}
.w3d2f-foot-cols a:hover { color: var(--w3d2f-yellow); }
.w3d2f-foot-bottom {
  text-align: center;
  margin-top: 18px;
  padding-top: 12px;
  border-top: 1px solid rgba(255,255,255,0.06);
  color: var(--w3d2f-muted);
  font-size: 12px;
}
.w3d2f-disclaimer {
  font-size: 11px;
  color: #8a8b99;
  text-align: center;
  margin-top: 10px;
  line-height: 1.6;
}

/* ============ Mobile bottom nav ============ */
.w3d2f-bnav {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 1000;
  height: 62px;
  background: linear-gradient(180deg, #241433 0%, #1C2833 100%);
  border-top: 2px solid var(--w3d2f-purple);
  display: flex;
  justify-content: space-around;
  align-items: center;
  box-shadow: 0 -3px 14px rgba(0,0,0,0.4);
}
.w3d2f-bnav-btn {
  flex: 1;
  min-width: 60px;
  min-height: 60px;
  background: transparent;
  border: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  color: var(--w3d2f-muted);
  font-size: 11px;
  cursor: pointer;
  position: relative;
  transition: color 0.18s ease, transform 0.18s ease;
}
.w3d2f-bnav-btn:active { transform: scale(0.92); }
.w3d2f-bnav-btn .w3d2f-bnav-ico { font-size: 22px; line-height: 1; }
.w3d2f-bnav-active { color: var(--w3d2f-yellow); }
.w3d2f-bnav-active::after {
  content: '';
  position: absolute; bottom: 6px;
  width: 22px; height: 3px;
  background: var(--w3d2f-yellow);
  border-radius: 3px;
}
.w3d2f-bnav-promo {
  color: var(--w3d2f-orange);
  font-weight: 700;
}
.w3d2f-bnav-promo .w3d2f-bnav-ico { color: var(--w3d2f-yellow); }

/* ============ Mobile menu overlay ============ */
.w3d2f-menu {
  position: fixed;
  top: 0; right: -100%;
  width: 78%; max-width: 320px;
  height: 100%;
  background: var(--w3d2f-bg2);
  z-index: 9999;
  padding: 70px 18px 30px;
  transition: right 0.28s ease;
  overflow-y: auto;
  border-left: 2px solid var(--w3d2f-purple);
}
.w3d2f-menu-open { right: 0; }
.w3d2f-menu a {
  display: block;
  padding: 12px 10px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  color: var(--w3d2f-text);
  font-size: 14px;
}
.w3d2f-menu a:hover { color: var(--w3d2f-yellow); }
.w3d2f-menu-close {
  position: absolute;
  top: 14px; right: 14px;
  background: transparent; border: none; color: #fff;
  font-size: 22px; cursor: pointer;
}
.w3d2f-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.55);
  z-index: 9998;
  display: none;
}
.w3d2f-menu-open ~ .w3d2f-overlay { display: block; }
.w3d2f-noscroll { overflow: hidden; }

/* ============ Responsive ============ */
@media (min-width: 431px) {
  .w3d2f-grid { grid-template-columns: repeat(4, 1fr); }
  .w3d2f-features { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 769px) {
  body { font-size: 16px; }
  .w3d2f-hero h1 { font-size: 36px; }
  .w3d2f-hero p { font-size: 16px; }
  .w3d2f-burger { display: none; }
  .w3d2f-topnav {
    display: flex !important;
    flex-wrap: nowrap;
    justify-content: center;
    padding: 10px 12px;
  }
  .w3d2f-topnav a { flex: 0 0 auto; }
  .w3d2f-grid { grid-template-columns: repeat(6, 1fr); }
  .w3d2f-features { grid-template-columns: repeat(3, 1fr); }
  .w3d2f-foot-cols { grid-template-columns: repeat(4, 1fr); }
  .w3d2f-bnav { display: none; }
  main { padding-bottom: 30px; }
}
@media (max-width: 430px) {
  .w3d2f-hero h1 { font-size: 22px; }
  .w3d2f-section h2 { font-size: 18px; }
  .w3d2f-brand { font-size: 15px; }
  .w3d2f-btn { padding: 7px 11px; font-size: 12px; }
  .w3d2f-grid { grid-template-columns: repeat(3, 1fr); gap: 6px; }
}
@media (max-width: 360px) {
  .w3d2f-grid { grid-template-columns: repeat(2, 1fr); }
}
