/* ==========================================================================
   w188n.click core layout stylesheet
   Prefix: gb2f-
   Palette: #40E0D0 | #F08080 | #FA8072 | #00695C | #333333
   ========================================================================== */

:root {
  --gb2f-primary: #40E0D0;
  --gb2f-coral: #F08080;
  --gb2f-salmon: #FA8072;
  --gb2f-teal: #00695C;
  --gb2f-dark: #333333;
  --gb2f-darker: #1f2a2e;
  --gb2f-card: #2a3a3e;
  --gb2f-text: #f5fbfa;
  --gb2f-muted: #a8c4c0;
  --gb2f-gold: #ffd479;
  --gb2f-radius: 14px;
  --gb2f-shadow: 0 6px 22px rgba(0, 0, 0, .28);
}

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

html { font-size: 62.5%; scroll-behavior: smooth; }

body {
  font-family: "Segoe UI", "Roboto", "Helvetica Neue", Arial, sans-serif;
  background: radial-gradient(circle at top, #0d2a2a 0%, var(--gb2f-darker) 55%, #14181a 100%);
  color: var(--gb2f-text);
  line-height: 1.5;
  max-width: 430px;
  margin: 0 auto;
  min-height: 100vh;
  -webkit-tap-highlight-color: transparent;
}

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

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

/* ---------- Header ---------- */
.gb2f-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: linear-gradient(110deg, var(--gb2f-teal), var(--gb2f-dark));
  border-bottom: 2px solid var(--gb2f-primary);
  box-shadow: 0 2px 12px rgba(0,0,0,.35);
}
.gb2f-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 12px;
  gap: 8px;
}
.gb2f-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}
.gb2f-logo {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--gb2f-primary), var(--gb2f-coral));
  display: grid;
  place-items: center;
  font-weight: 800;
  color: #0d2a2a;
  font-size: 16px;
  flex-shrink: 0;
}
.gb2f-brand-name {
  font-size: 17px;
  font-weight: 800;
  color: var(--gb2f-primary);
  letter-spacing: .5px;
  white-space: nowrap;
}
.gb2f-brand-name span { color: var(--gb2f-coral); }
.gb2f-header-actions {
  display: flex;
  align-items: center;
  gap: 6px;
}
.gb2f-menu-btn {
  background: transparent;
  border: 1px solid var(--gb2f-primary);
  color: var(--gb2f-primary);
  width: 34px;
  height: 34px;
  border-radius: 8px;
  font-size: 18px;
  display: grid;
  place-items: center;
  cursor: pointer;
}
.gb2f-btn {
  border: none;
  cursor: pointer;
  font-weight: 700;
  border-radius: 20px;
  padding: 8px 16px;
  font-size: 13px;
  transition: transform .15s ease, filter .15s ease;
}
.gb2f-btn:active { transform: scale(.96); }
.gb2f-btn-login {
  background: transparent;
  color: var(--gb2f-primary);
  border: 1.5px solid var(--gb2f-primary);
}
.gb2f-btn-register {
  background: linear-gradient(135deg, var(--gb2f-coral), var(--gb2f-salmon));
  color: #1f2a2e;
  box-shadow: 0 3px 10px rgba(240,128,128,.35);
}

/* ---------- Mobile menu drawer ---------- */
.gb2f-menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.55);
  z-index: 9998;
  display: none;
}
.gb2f-menu-overlay.gb2f-open { display: block; }
.gb2f-drawer {
  position: fixed;
  top: 0;
  right: -85%;
  width: 80%;
  max-width: 320px;
  height: 100%;
  background: linear-gradient(160deg, var(--gb2f-teal), var(--gb2f-darker));
  z-index: 9999;
  padding: 18px 16px;
  transition: right .3s ease;
  overflow-y: auto;
}
.gb2f-drawer.gb2f-open { right: 0; }
.gb2f-drawer h3 {
  font-size: 16px;
  color: var(--gb2f-primary);
  margin-bottom: 12px;
  letter-spacing: .5px;
}
.gb2f-drawer a {
  display: block;
  padding: 10px 12px;
  color: var(--gb2f-text);
  border-bottom: 1px solid rgba(255,255,255,.06);
  font-size: 14px;
}
.gb2f-drawer a:hover { background: rgba(64,224,208,.12); }
.gb2f-drawer-close {
  background: transparent;
  border: none;
  color: var(--gb2f-coral);
  font-size: 22px;
  float: right;
  cursor: pointer;
}

/* ---------- Layout ---------- */
.gb2f-main { padding: 12px; padding-bottom: 88px; }
.gb2f-section { margin: 18px 0; }
.gb2f-section-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 17px;
  font-weight: 800;
  color: var(--gb2f-text);
  margin-bottom: 10px;
  padding-left: 10px;
  border-left: 4px solid var(--gb2f-primary);
}
.gb2f-section-title em {
  font-style: normal;
  color: var(--gb2f-coral);
}

/* ---------- Carousel ---------- */
.gb2f-carousel {
  position: relative;
  border-radius: var(--gb2f-radius);
  overflow: hidden;
  box-shadow: var(--gb2f-shadow);
  margin-bottom: 16px;
}
.gb2f-carousel-track {
  display: flex;
  transition: transform .45s ease;
}
.gb2f-slide {
  min-width: 100%;
  position: relative;
  cursor: pointer;
}
.gb2f-slide img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}
.gb2f-slide-cap {
  position: absolute;
  left: 12px;
  bottom: 12px;
  background: rgba(0,0,0,.55);
  backdrop-filter: blur(3px);
  padding: 6px 12px;
  border-radius: 18px;
  font-size: 12px;
  color: #fff;
}
.gb2f-carousel-dots {
  position: absolute;
  bottom: 8px;
  right: 12px;
  display: flex;
  gap: 6px;
}
.gb2f-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,.5);
  cursor: pointer;
}
.gb2f-dot.gb2f-active { background: var(--gb2f-coral); }

/* ---------- Hero ---------- */
.gb2f-hero {
  background: linear-gradient(135deg, rgba(0,105,92,.85), rgba(51,51,51,.85));
  border: 1px solid rgba(64,224,208,.25);
  padding: 16px;
  border-radius: var(--gb2f-radius);
  text-align: center;
  margin-bottom: 16px;
}
.gb2f-hero h1 {
  font-size: 22px;
  line-height: 1.3;
  color: var(--gb2f-text);
  margin-bottom: 8px;
}
.gb2f-hero h1 b { color: var(--gb2f-primary); }
.gb2f-hero p {
  font-size: 13px;
  color: var(--gb2f-muted);
  margin-bottom: 12px;
}
.gb2f-cta-row {
  display: flex;
  gap: 8px;
  justify-content: center;
  flex-wrap: wrap;
}
.gb2f-cta {
  background: linear-gradient(135deg, var(--gb2f-coral), var(--gb2f-salmon));
  color: #1f2a2e;
  padding: 10px 22px;
  border-radius: 22px;
  font-weight: 800;
  font-size: 14px;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(240,128,128,.4);
}
.gb2f-cta.ghost {
  background: transparent;
  color: var(--gb2f-primary);
  border: 1.5px solid var(--gb2f-primary);
  box-shadow: none;
}

/* ---------- Game grid ---------- */
.gb2f-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.gb2f-card {
  background: var(--gb2f-card);
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(64,224,208,.12);
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease;
  text-align: center;
}
.gb2f-card:hover, .gb2f-card:active {
  transform: translateY(-3px);
  box-shadow: 0 8px 18px rgba(64,224,208,.18);
  border-color: var(--gb2f-primary);
}
.gb2f-card-img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  background: #0d2a2a;
}
.gb2f-card-name {
  font-size: 11px;
  color: var(--gb2f-text);
  padding: 6px 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.gb2f-card-tag {
  display: inline-block;
  font-size: 9px;
  background: var(--gb2f-coral);
  color: #1f2a2e;
  padding: 1px 6px;
  border-radius: 6px;
  margin-bottom: 4px;
  font-weight: 700;
}

/* ---------- Category banner ---------- */
.gb2f-cat-banner {
  background: linear-gradient(110deg, rgba(240,128,128,.18), rgba(64,224,208,.18));
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 12px;
  color: var(--gb2f-muted);
  margin-bottom: 10px;
  border-left: 3px solid var(--gb2f-coral);
}

/* ---------- Info / content modules ---------- */
.gb2f-panel {
  background: var(--gb2f-card);
  border-radius: var(--gb2f-radius);
  padding: 14px;
  border: 1px solid rgba(64,224,208,.12);
  margin-bottom: 12px;
}
.gb2f-panel h2 {
  font-size: 16px;
  color: var(--gb2f-primary);
  margin-bottom: 8px;
}
.gb2f-panel h3 {
  font-size: 14px;
  color: var(--gb2f-coral);
  margin: 10px 0 6px;
}
.gb2f-panel p {
  font-size: 13px;
  color: var(--gb2f-muted);
  margin-bottom: 8px;
}
.gb2f-panel ul { padding-left: 18px; color: var(--gb2f-muted); font-size: 13px; }
.gb2f-panel ul li { margin-bottom: 4px; }

.gb2f-steps {
  display: grid;
  gap: 8px;
}
.gb2f-step {
  display: flex;
  gap: 10px;
  background: rgba(64,224,208,.06);
  padding: 8px 10px;
  border-radius: 10px;
  align-items: flex-start;
}
.gb2f-step-num {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--gb2f-coral);
  color: #1f2a2e;
  font-weight: 800;
  font-size: 12px;
  display: grid;
  place-items: center;
}
.gb2f-step p { margin: 0; font-size: 12px; color: var(--gb2f-text); }

/* ---------- Feature list ---------- */
.gb2f-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}
.gb2f-feature {
  background: rgba(0,105,92,.25);
  padding: 10px;
  border-radius: 10px;
  text-align: center;
}
.gb2f-feature .material-icons,
.gb2f-feature i {
  font-size: 22px;
  color: var(--gb2f-primary);
  margin-bottom: 4px;
}
.gb2f-feature b { font-size: 12px; color: var(--gb2f-text); display: block; }
.gb2f-feature small { font-size: 10px; color: var(--gb2f-muted); }

/* ---------- Testimonials ---------- */
.gb2f-quote {
  background: rgba(64,224,208,.07);
  border-left: 3px solid var(--gb2f-primary);
  padding: 8px 10px;
  border-radius: 8px;
  margin-bottom: 8px;
  font-size: 12px;
  color: var(--gb2f-muted);
}
.gb2f-quote b { color: var(--gb2f-coral); display: block; margin-bottom: 2px; font-size: 12px; }

/* ---------- Winners ---------- */
.gb2f-winners {
  display: grid;
  gap: 6px;
}
.gb2f-winner {
  display: flex;
  justify-content: space-between;
  padding: 6px 10px;
  background: rgba(51,51,51,.5);
  border-radius: 8px;
  font-size: 12px;
}
.gb2f-winner b { color: var(--gb2f-gold); }
.gb2f-winner span { color: var(--gb2f-muted); }

/* ---------- Payment ---------- */
.gb2f-pay-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
}
.gb2f-pay {
  background: rgba(255,255,255,.06);
  padding: 6px 10px;
  border-radius: 8px;
  font-size: 11px;
  color: var(--gb2f-muted);
  border: 1px solid rgba(255,255,255,.08);
}

/* ---------- App CTA ---------- */
.gb2f-app-cta {
  background: linear-gradient(135deg, var(--gb2f-teal), var(--gb2f-dark));
  border: 1px solid var(--gb2f-primary);
  border-radius: var(--gb2f-radius);
  padding: 14px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.gb2f-app-cta-icon {
  font-size: 36px;
  color: var(--gb2f-coral);
}
.gb2f-app-cta div b { font-size: 14px; color: var(--gb2f-primary); display: block; }
.gb2f-app-cta div p { font-size: 11px; color: var(--gb2f-muted); margin: 2px 0 6px; }

/* ---------- Footer ---------- */
.gb2f-footer {
  background: linear-gradient(160deg, var(--gb2f-teal), var(--gb2f-darker));
  padding: 18px 12px 24px;
  border-top: 2px solid var(--gb2f-primary);
  margin-top: 16px;
}
.gb2f-footer-links {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 6px;
  margin-bottom: 14px;
}
.gb2f-footer-links a {
  color: var(--gb2f-muted);
  font-size: 12px;
  padding: 4px 0;
}
.gb2f-footer-promo {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}
.gb2f-footer-promo button {
  flex: 1 1 45%;
  background: linear-gradient(135deg, var(--gb2f-coral), var(--gb2f-salmon));
  color: #1f2a2e;
  border: none;
  border-radius: 16px;
  padding: 8px 10px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}
.gb2f-footer-brand {
  font-size: 12px;
  color: var(--gb2f-muted);
  line-height: 1.6;
  margin-bottom: 8px;
}
.gb2f-footer-brand b { color: var(--gb2f-primary); }
.gb2f-copy {
  text-align: center;
  font-size: 11px;
  color: rgba(255,255,255,.45);
  border-top: 1px solid rgba(255,255,255,.08);
  padding-top: 10px;
}

/* ---------- Bottom nav (mobile only) ---------- */
.gb2f-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  height: 62px;
  background: linear-gradient(180deg, var(--gb2f-teal), var(--gb2f-darker));
  border-top: 2px solid var(--gb2f-primary);
  display: flex;
  justify-content: space-around;
  align-items: stretch;
  z-index: 1000;
  box-shadow: 0 -4px 14px rgba(0,0,0,.4);
}
.gb2f-nav-btn {
  flex: 1;
  background: transparent;
  border: none;
  color: var(--gb2f-muted);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  cursor: pointer;
  font-size: 10px;
  min-width: 60px;
  min-height: 60px;
  transition: color .15s ease, transform .15s ease;
  position: relative;
}
.gb2f-nav-btn .material-icons,
.gb2f-nav-btn i,
.gb2f-nav-btn ion-icon {
  font-size: 22px;
}
.gb2f-nav-btn:hover, .gb2f-nav-btn:active { color: var(--gb2f-coral); transform: translateY(-2px); }
.gb2f-nav-btn.gb2f-active { color: var(--gb2f-primary); }
.gb2f-nav-btn.gb2f-active::after {
  content: '';
  position: absolute;
  bottom: 4px;
  width: 22px;
  height: 3px;
  border-radius: 3px;
  background: var(--gb2f-coral);
}

/* ---------- Hide bottom nav on desktop ---------- */
@media (min-width: 769px) {
  .gb2f-bottom-nav { display: none; }
  body { max-width: 430px; }
}

/* ---------- Utility ---------- */
.gb2f-text-link {
  color: var(--gb2f-coral);
  font-weight: 700;
  border-bottom: 1px dashed var(--gb2f-coral);
}
.gb2f-badge {
  display: inline-block;
  background: var(--gb2f-primary);
  color: #1f2a2e;
  font-size: 10px;
  padding: 2px 8px;
  border-radius: 6px;
  font-weight: 700;
}
