/*!
 * Game Zone (game-zone.sbs) - Core stylesheet
 * File: css/design-99cb.css
 * All custom classes use the gcbf- prefix.
 * Mobile-first: primary container width is max-width: 430px.
 */
:root {
  --gcbf-primary: #2E8B57;
  --gcbf-primary-dark: #1f6e42;
  --gcbf-primary-light: #3fae6f;
  --gcbf-bg: #1E1E1E;
  --gcbf-bg-2: #262626;
  --gcbf-bg-3: #303030;
  --gcbf-text: #f4f4f4;
  --gcbf-text-muted: #b8b8b8;
  --gcbf-accent: #ffd24c;
  --gcbf-accent-2: #ff5a5f;
  --gcbf-border: rgba(255, 255, 255, 0.08);
  --gcbf-radius: 14px;
  --gcbf-radius-sm: 10px;
  --gcbf-shadow: 0 6px 22px rgba(0, 0, 0, 0.35);
  --gcbf-header-h: 58px;
  --gcbf-bottomnav-h: 62px;
}

/* ---- Base ---- */
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html, body {
  margin: 0;
  padding: 0;
  background: var(--gcbf-bg);
  color: var(--gcbf-text);
  font-family: "Helvetica Neue", Arial, "Segoe UI", Roboto, system-ui, sans-serif;
  font-size: 62.5%; /* 1rem = 10px */
  line-height: 1.5rem;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--gcbf-primary-light); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ---- Layout containers ---- */
.gcbf-wrapper {
  width: 100%;
  max-width: 430px; /* mobile-first primary width */
  margin: 0 auto;
  position: relative;
}
.gcbf-container {
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
  padding: 0 1.2rem;
}
main { display: block; }

/* ---- Header ---- */
.gcbf-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--gcbf-header-h);
  background: linear-gradient(180deg, #18281f 0%, #1E1E1E 100%);
  border-bottom: 1px solid var(--gcbf-border);
  box-shadow: var(--gcbf-shadow);
}
.gcbf-header-inner {
  max-width: 430px;
  margin: 0 auto;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1rem;
}
.gcbf-brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--gcbf-text);
  font-weight: 800;
  font-size: 1.7rem;
  letter-spacing: 0.02em;
}
.gcbf-brand img { width: 30px; height: 30px; border-radius: 6px; }
.gcbf-brand .gcbf-brand-accent { color: var(--gcbf-primary-light); }
.gcbf-header-actions { display: flex; align-items: center; gap: 0.5rem; }
.gcbf-menu-btn {
  background: transparent;
  border: 1px solid var(--gcbf-border);
  color: var(--gcbf-text);
  width: 40px; height: 40px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.8rem;
}

/* ---- Buttons ---- */
.gcbf-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border: none;
  cursor: pointer;
  font-weight: 700;
  border-radius: 999px;
  font-size: 1.35rem;
  padding: 0.75rem 1.4rem;
  min-height: 40px;
  transition: transform 0.15s ease, filter 0.15s ease;
  text-decoration: none;
}
.gcbf-btn:hover { transform: translateY(-1px); text-decoration: none; }
.gcbf-btn-primary { background: var(--gcbf-primary); color: #fff; }
.gcbf-btn-primary:hover { background: var(--gcbf-primary-dark); }
.gcbf-btn-accent { background: var(--gcbf-accent); color: #1E1E1E; }
.gcbf-btn-accent:hover { filter: brightness(1.05); }
.gcbf-btn-ghost {
  background: transparent;
  color: var(--gcbf-text);
  border: 1px solid var(--gcbf-border);
}
.gcbf-btn-block { display: flex; width: 100%; }

/* ---- Mobile expandable menu ---- */
.gcbf-mobile-menu {
  position: fixed;
  top: var(--gcbf-header-h);
  left: 0; right: 0;
  z-index: 9999;
  background: var(--gcbf-bg-2);
  border-bottom: 1px solid var(--gcbf-border);
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.32s ease;
}
.gcbf-mobile-menu.gcbf-is-open { max-height: 80vh; overflow-y: auto; }
.gcbf-mobile-menu ul { list-style: none; margin: 0; padding: 0.4rem 0; }
.gcbf-mobile-menu li a {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 1rem 1.4rem;
  color: var(--gcbf-text);
  font-size: 1.4rem;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}
.gcbf-mobile-menu li a:hover { background: rgba(46,139,87,0.15); text-decoration: none; }

/* ---- Spacer for fixed header ---- */
.gcbf-top-spacer { height: var(--gcbf-header-h); }

/* ---- Hero / Carousel ---- */
.gcbf-hero {
  margin-top: 0.6rem;
  padding: 0 1.2rem;
}
.gcbf-carousel {
  position: relative;
  border-radius: var(--gcbf-radius);
  overflow: hidden;
  background: var(--gcbf-bg-2);
  box-shadow: var(--gcbf-shadow);
}
.gcbf-slides { position: relative; }
.gcbf-slide {
  position: relative;
  display: none;
  cursor: pointer;
}
.gcbf-slide.gcbf-is-active { display: block; }
.gcbf-slide img { width: 100%; height: 190px; object-fit: cover; }
.gcbf-slide-cap {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 1.4rem 1.2rem 1.2rem;
  background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.75) 100%);
  color: #fff;
}
.gcbf-slide-cap h2 { margin: 0 0 0.3rem; font-size: 1.9rem; font-weight: 800; }
.gcbf-slide-cap p { margin: 0; font-size: 1.25rem; color: #e8e8e8; }
.gcbf-carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.45);
  color: #fff;
  border: none;
  width: 34px; height: 34px;
  border-radius: 50%;
  font-size: 1.6rem;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
}
.gcbf-carousel-arrow.gcbf-prev { left: 8px; }
.gcbf-carousel-arrow.gcbf-next { right: 8px; }
.gcbf-dots {
  position: absolute;
  bottom: 8px; left: 0; right: 0;
  display: flex; justify-content: center; gap: 6px;
  z-index: 2;
}
.gcbf-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: rgba(255,255,255,0.45);
  border: none; cursor: pointer; padding: 0;
}
.gcbf-dot.gcbf-is-active { background: var(--gcbf-primary-light); width: 18px; border-radius: 6px; }

/* ---- Section base ---- */
.gcbf-section { padding: 1.6rem 1.2rem; }
.gcbf-section-alt { background: var(--gcbf-bg-2); }
.gcbf-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}
.gcbf-section-head h2 {
  margin: 0;
  font-size: 1.7rem;
  font-weight: 800;
  color: #fff;
}
.gcbf-section-head .gcbf-more { font-size: 1.2rem; color: var(--gcbf-primary-light); }

/* ---- H1 ---- */
.gcbf-page-title {
  font-size: 2.1rem;
  font-weight: 800;
  margin: 0 0 0.4rem;
  color: #fff;
}
.gcbf-lead {
  font-size: 1.3rem;
  color: var(--gcbf-text-muted);
  margin: 0 0 1rem;
}

/* ---- Game grid ---- */
.gcbf-game-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.7rem;
}
.gcbf-game-card {
  background: var(--gcbf-bg-3);
  border-radius: var(--gcbf-radius-sm);
  overflow: hidden;
  cursor: pointer;
  border: 1px solid var(--gcbf-border);
  transition: transform 0.15s ease, border-color 0.15s ease;
  text-align: center;
}
.gcbf-game-card:hover {
  transform: translateY(-2px);
  border-color: var(--gcbf-primary);
  text-decoration: none;
}
.gcbf-game-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  background: #000;
}
.gcbf-game-name {
  display: block;
  font-size: 1.15rem;
  color: var(--gcbf-text);
  padding: 0.45rem 0.3rem 0.6rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ---- Category chip filter ---- */
.gcbf-catbar {
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  padding: 0.5rem 1.2rem;
  -webkit-overflow-scrolling: touch;
}
.gcbf-catbar::-webkit-scrollbar { display: none; }
.gcbf-chip {
  flex: 0 0 auto;
  padding: 0.55rem 1.1rem;
  border-radius: 999px;
  background: var(--gcbf-bg-3);
  color: var(--gcbf-text);
  font-size: 1.25rem;
  font-weight: 600;
  border: 1px solid var(--gcbf-border);
  cursor: pointer;
  text-decoration: none;
}
.gcbf-chip:hover { text-decoration: none; background: rgba(46,139,87,0.25); }

/* ---- Feature / info card ---- */
.gcbf-card {
  background: var(--gcbf-bg-3);
  border-radius: var(--gcbf-radius);
  padding: 1.2rem;
  border: 1px solid var(--gcbf-border);
}
.gcbf-card h3 { margin: 0 0 0.5rem; font-size: 1.5rem; color: #fff; }
.gcbf-card p { margin: 0; font-size: 1.3rem; color: var(--gcbf-text-muted); }
.gcbf-feature-grid { display: grid; grid-template-columns: 1fr; gap: 0.8rem; }
.gcbf-icon-row {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--gcbf-border);
}
.gcbf-icon-row:last-child { border-bottom: none; }
.gcbf-icon-row .gcbf-ic {
  width: 36px; height: 36px;
  flex: 0 0 36px;
  border-radius: 10px;
  background: rgba(46,139,87,0.18);
  color: var(--gcbf-primary-light);
  display: flex; align-items: center; justify-content: center;
  font-size: 2rem;
}
.gcbf-icon-row h4 { margin: 0 0 0.2rem; font-size: 1.4rem; color: #fff; }
.gcbf-icon-row p { margin: 0; font-size: 1.25rem; color: var(--gcbf-text-muted); }

/* ---- RTP table ---- */
.gcbf-rtp-table { width: 100%; border-collapse: collapse; font-size: 1.25rem; }
.gcbf-rtp-table th, .gcbf-rtp-table td {
  padding: 0.6rem 0.5rem;
  text-align: left;
  border-bottom: 1px solid var(--gcbf-border);
}
.gcbf-rtp-table th { color: var(--gcbf-text-muted); font-weight: 600; }
.gcbf-rtp-table td { color: var(--gcbf-text); }
.gcbf-rtp-pct { color: var(--gcbf-accent); font-weight: 800; }

/* ---- Testimonials ---- */
.gcbf-testi {
  background: var(--gcbf-bg-3);
  border-radius: var(--gcbf-radius);
  padding: 1rem;
  margin-bottom: 0.7rem;
  border-left: 3px solid var(--gcbf-primary);
}
.gcbf-testi .gcbf-stars { color: var(--gcbf-accent); font-size: 1.2rem; }
.gcbf-testi p { margin: 0.4rem 0 0.4rem; font-size: 1.25rem; color: var(--gcbf-text); }
.gcbf-testi .gcbf-testi-by { font-size: 1.15rem; color: var(--gcbf-text-muted); }

/* ---- Winners strip ---- */
.gcbf-winner {
  display: flex;
  justify-content: space-between;
  padding: 0.55rem 0.8rem;
  background: var(--gcbf-bg-3);
  border-radius: 8px;
  margin-bottom: 0.45rem;
  font-size: 1.2rem;
}
.gcbf-winner .gcbf-amount { color: var(--gcbf-accent); font-weight: 800; }

/* ---- Payment row ---- */
.gcbf-pay-row { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.gcbf-pay {
  flex: 0 0 auto;
  background: var(--gcbf-bg-3);
  padding: 0.55rem 0.9rem;
  border-radius: 8px;
  font-size: 1.2rem;
  border: 1px solid var(--gcbf-border);
  display: inline-flex; align-items: center; gap: 0.4rem;
}

/* ---- Promo CTA banner ---- */
.gcbf-cta {
  background: linear-gradient(135deg, var(--gcbf-primary) 0%, var(--gcbf-primary-dark) 100%);
  color: #fff;
  border-radius: var(--gcbf-radius);
  padding: 1.4rem;
  text-align: center;
  box-shadow: var(--gcbf-shadow);
}
.gcbf-cta h3 { margin: 0 0 0.4rem; font-size: 1.7rem; }
.gcbf-cta p { margin: 0 0 1rem; font-size: 1.25rem; color: rgba(255,255,255,0.92); }
.gcbf-cta .gcbf-btn { display: inline-flex; }

/* ---- Footer ---- */
.gcbf-footer {
  background: var(--gcbf-bg-2);
  padding: 1.8rem 1.2rem 1rem;
  border-top: 1px solid var(--gcbf-border);
}
.gcbf-footer-brand {
  font-size: 1.35rem;
  color: var(--gcbf-text-muted);
  margin-bottom: 1rem;
  line-height: 1.6rem;
}
.gcbf-footer-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.4rem 0.8rem;
  margin-bottom: 1rem;
}
.gcbf-footer-links a { font-size: 1.2rem; color: var(--gcbf-text-muted); }
.gcbf-footer-promos {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0.8rem 0 1rem;
}
.gcbf-footer-promos .gcbf-btn { font-size: 1.2rem; padding: 0.55rem 1rem; }
.gcbf-footer-copy {
  text-align: center;
  font-size: 1.15rem;
  color: var(--gcbf-text-muted);
  padding-top: 0.6rem;
  border-top: 1px solid var(--gcbf-border);
}

/* ---- Bottom navigation ---- */
.gcbf-bottomnav {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--gcbf-bottomnav-h);
  background: #181818;
  border-top: 1px solid var(--gcbf-border);
  display: flex;
  justify-content: space-around;
  align-items: stretch;
}
.gcbf-bottomnav-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  color: var(--gcbf-text-muted);
  font-size: 1.05rem;
  text-decoration: none;
  min-width: 60px;
  min-height: 60px;
  cursor: pointer;
  background: none;
  border: none;
  transition: color 0.15s ease, transform 0.15s ease;
}
.gcbf-bottomnav-item .material-icons,
.gcbf-bottomnav-item i { font-size: 24px; }
.gcbf-bottomnav-item:hover { text-decoration: none; color: #fff; }
.gcbf-bottomnav-item:active { transform: scale(0.92); }
.gcbf-bottomnav-item.gcbf-is-current { color: var(--gcbf-primary-light); }
.gcbf-bottomnav-item.gcbf-nav-cta {
  color: #fff;
  background: linear-gradient(180deg, transparent 0%, rgba(46,139,87,0.22) 100%);
}
.gcbf-bottomnav-item.gcbf-nav-cta .material-icons,
.gcbf-bottomnav-item.gcbf-nav-cta i { color: var(--gcbf-accent); }

/* ---- Back to top ---- */
.gcbf-back-top {
  position: fixed;
  right: 14px;
  bottom: calc(var(--gcbf-bottomnav-h) + 14px);
  z-index: 900;
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--gcbf-primary);
  color: #fff;
  border: none;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  font-size: 2rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}
.gcbf-back-top.gcbf-is-visible { opacity: 1; visibility: visible; }

/* ---- Promo text link ---- */
.gcbf-promo-link {
  color: var(--gcbf-accent);
  font-weight: 800;
  cursor: pointer;
}
.gcbf-promo-link:hover { text-decoration: underline; }

/* ---- Article paragraph spacing ---- */
.gcbf-prose p { margin: 0 0 0.9rem; font-size: 1.3rem; color: var(--gcbf-text); line-height: 1.6rem; }
.gcbf-prose h3 { margin: 1.2rem 0 0.5rem; font-size: 1.5rem; color: #fff; }

/* ---- Desktop / larger screens ---- */
@media (min-width: 768px) {
  body { background: #111; }
  .gcbf-wrapper, .gcbf-container, .gcbf-header-inner, .gcbf-footer { max-width: 430px; }
  .gcbf-bottomnav { display: none; }
  .gcbf-back-top { display: none; }
}
@media (max-width: 768px) {
  main { padding-bottom: calc(var(--gcbf-bottomnav-h) + 12px); }
}
@media (max-width: 360px) {
  .gcbf-game-grid { grid-template-columns: repeat(2, 1fr); }
  .gcbf-page-title { font-size: 1.9rem; }
}
