/* ============================================================
   Big Bunny Casino - layout-ef05.css
   Brand palette: #1C2833 (dark) / #BDB76B (gold accent)
   All custom classes use g053- prefix
   Mobile-first, max-width 430px primary, scales up to desktop
   ============================================================ */

/* ---------- Root tokens ---------- */
:root {
  --g053-primary: #BDB76B;
  --g053-bg: #1C2833;
  --g053-text: #f5f3e3;
  --g053-dark: #1C2833;
  --g053-dark-2: #243445;
  --g053-dark-3: #0f1820;
  --g053-gold: #BDB76B;
  --g053-gold-2: #d8d290;
  --g053-gold-deep: #a39a4e;
  --g053-cream: #f5f3e3;
  --g053-white: #ffffff;
  --g053-muted: #9aa3ab;
  --g053-line: rgba(189, 183, 107, 0.22);
  --g053-red: #c0392b;
  --g053-green: #2e8b57;
  --g053-shadow: 0 6px 22px rgba(0, 0, 0, 0.35);
  --g053-radius: 14px;
  --g053-radius-sm: 10px;
}

/* ---------- Reset ---------- */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 62.5%; -webkit-text-size-adjust: 100%; }
body {
  font-family: "Segoe UI", "Helvetica Neue", Arial, "PingFang SC", sans-serif;
  background: var(--g053-dark);
  color: var(--g053-cream);
  line-height: 1.5;
  font-size: 1.5rem;
  min-height: 100vh;
  overflow-x: hidden;
}
a { color: var(--g053-gold-2); text-decoration: none; }
a:hover { color: var(--g053-gold); text-decoration: underline; }
img { max-width: 100%; display: block; }
ul, ol { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }

.g053-no-scroll { overflow: hidden; }

/* ---------- Layout containers ---------- */
.g053-wrap {
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
  position: relative;
}
@media (min-width: 768px) {
  .g053-wrap { max-width: 960px; }
}
@media (min-width: 1024px) {
  .g053-wrap { max-width: 1180px; }
}

/* ---------- Header ---------- */
.g053-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: linear-gradient(180deg, var(--g053-dark-3) 0%, rgba(28,40,51,0.96) 100%);
  border-bottom: 1px solid var(--g053-line);
  backdrop-filter: blur(8px);
}
.g053-header-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.g053-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--g053-cream);
  font-weight: 700;
  font-size: 1.7rem;
}
.g053-brand img { width: 34px; height: 34px; border-radius: 8px; }
.g053-brand .g053-brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.g053-brand .g053-brand-text small { color: var(--g053-gold); font-size: 1rem; font-weight: 500; letter-spacing: 0.5px; }

.g053-header-actions { display: flex; align-items: center; gap: 8px; }
.g053-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 9px 14px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 1.35rem;
  min-height: 38px;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  white-space: nowrap;
}
.g053-btn:active { transform: scale(0.96); }
.g053-btn-login {
  background: transparent;
  color: var(--g053-cream);
  border: 1px solid var(--g053-line);
}
.g053-btn-login:hover { background: rgba(189,183,107,0.10); color: var(--g053-gold-2); text-decoration: none; }
.g053-btn-register {
  background: linear-gradient(135deg, var(--g053-gold) 0%, var(--g053-gold-deep) 100%);
  color: var(--g053-dark);
  font-weight: 700;
  box-shadow: 0 4px 14px rgba(189,183,107,0.35);
}
.g053-btn-register:hover { text-decoration: none; color: var(--g053-dark-3); }

.g053-menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px; height: 38px;
  border-radius: 10px;
  color: var(--g053-gold-2);
  border: 1px solid var(--g053-line);
  font-size: 1.8rem;
}

/* Desktop nav */
.g053-desktop-nav { display: none; align-items: center; gap: 18px; }
.g053-desktop-nav a {
  color: var(--g053-cream);
  font-size: 1.35rem;
  font-weight: 500;
  padding: 6px 4px;
  border-bottom: 2px solid transparent;
}
.g053-desktop-nav a:hover { color: var(--g053-gold-2); border-bottom-color: var(--g053-gold); text-decoration: none; }

@media (min-width: 769px) {
  .g053-menu-toggle { display: none; }
  .g053-desktop-nav { display: flex; }
}

/* ---------- Mobile menu ---------- */
.g053-menu-backdrop {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.55);
  z-index: 9998;
  opacity: 0; pointer-events: none;
  transition: opacity 0.25s ease;
}
.g053-menu-backdrop.g053-show { opacity: 1; pointer-events: auto; }
.g053-mobile-menu {
  position: fixed;
  top: 0; right: -280px;
  width: 270px;
  height: 100vh;
  background: var(--g053-dark-2);
  z-index: 9999;
  padding: 70px 18px 30px;
  transition: right 0.28s ease;
  overflow-y: auto;
  border-left: 1px solid var(--g053-line);
}
.g053-mobile-menu.g053-open { right: 0; }
.g053-mobile-menu-close {
  position: absolute;
  top: 14px; right: 14px;
  width: 36px; height: 36px;
  border-radius: 10px;
  color: var(--g053-gold-2);
  font-size: 1.8rem;
  border: 1px solid var(--g053-line);
}
.g053-mobile-menu h4 {
  color: var(--g053-gold);
  font-size: 1.25rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin: 14px 0 8px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--g053-line);
}
.g053-mobile-menu a {
  display: block;
  padding: 11px 10px;
  color: var(--g053-cream);
  font-size: 1.4rem;
  border-radius: 8px;
  transition: background 0.15s ease;
}
.g053-mobile-menu a:hover { background: rgba(189,183,107,0.12); text-decoration: none; color: var(--g053-gold-2); }
.g053-mobile-menu .g053-menu-cta {
  margin-top: 18px;
  text-align: center;
  background: linear-gradient(135deg, var(--g053-gold) 0%, var(--g053-gold-deep) 100%);
  color: var(--g053-dark);
  font-weight: 700;
}

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

/* ---------- Hero carousel ---------- */
.g053-hero {
  position: relative;
  margin: 14px 0 18px;
  padding: 0 12px;
}
.g053-hero-track {
  position: relative;
  border-radius: var(--g053-radius);
  overflow: hidden;
  box-shadow: var(--g053-shadow);
  background: var(--g053-dark-3);
}
.g053-hero-slide {
  position: relative;
  display: none;
  min-height: 200px;
}
.g053-hero-slide.g053-active { display: block; }
.g053-hero-slide img { width: 100%; height: 220px; object-fit: cover; }
@media (min-width: 768px) {
  .g053-hero-slide img { height: 360px; }
}
.g053-hero-caption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 18px 16px;
  background: linear-gradient(0deg, rgba(15,24,32,0.92) 0%, rgba(15,24,32,0.0) 100%);
}
.g053-hero-caption h2 {
  color: var(--g053-gold-2);
  font-size: 1.9rem;
  font-weight: 700;
  margin-bottom: 4px;
}
.g053-hero-caption p { color: var(--g053-cream); font-size: 1.3rem; margin-bottom: 8px; }
.g053-hero-cta { margin-top: 6px; }

.g053-hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(15,24,32,0.7);
  color: var(--g053-gold-2);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.8rem;
  z-index: 2;
}
.g053-hero-arrow.g053-prev { left: 8px; }
.g053-hero-arrow.g053-next { right: 8px; }
.g053-hero-dots {
  display: flex; gap: 6px;
  justify-content: center;
  padding: 10px 0 4px;
}
.g053-hero-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(189,183,107,0.35);
  cursor: pointer;
  transition: background 0.15s ease;
}
.g053-hero-dot.g053-active { background: var(--g053-gold); }

/* ---------- Sections ---------- */
.g053-section { padding: 18px 12px; }
.g053-section-head {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 14px;
  gap: 10px;
}
.g053-section-head h2 {
  font-size: 1.7rem;
  color: var(--g053-gold-2);
  font-weight: 700;
  position: relative;
  padding-left: 14px;
}
.g053-section-head h2::before {
  content: ""; position: absolute; left: 0; top: 4px; bottom: 4px;
  width: 4px; background: var(--g053-gold); border-radius: 2px;
}
.g053-section-head .g053-more { color: var(--g053-gold); font-size: 1.25rem; }

/* ---------- Filter tabs ---------- */
.g053-filter-bar {
  display: flex; gap: 8px;
  overflow-x: auto;
  padding: 6px 0 14px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.g053-filter-bar::-webkit-scrollbar { display: none; }
.g053-filter-tab {
  flex: 0 0 auto;
  padding: 8px 16px;
  border-radius: 999px;
  background: var(--g053-dark-2);
  color: var(--g053-cream);
  font-size: 1.3rem;
  font-weight: 600;
  border: 1px solid var(--g053-line);
  transition: background 0.15s ease, color 0.15s ease;
  white-space: nowrap;
}
.g053-filter-tab:hover { text-decoration: none; color: var(--g053-gold-2); }
.g053-filter-tab.g053-active {
  background: linear-gradient(135deg, var(--g053-gold) 0%, var(--g053-gold-deep) 100%);
  color: var(--g053-dark);
  border-color: transparent;
}

/* ---------- Game grid ---------- */
.g053-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
@media (min-width: 560px) { .g053-grid { grid-template-columns: repeat(4, 1fr); gap: 12px; } }
@media (min-width: 900px) { .g053-grid { grid-template-columns: repeat(6, 1fr); } }

.g053-card {
  background: var(--g053-dark-2);
  border: 1px solid var(--g053-line);
  border-radius: var(--g053-radius-sm);
  overflow: hidden;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
  display: block;
  position: relative;
}
.g053-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--g053-shadow);
  border-color: var(--g053-gold);
  text-decoration: none;
}
.g053-card-img {
  position: relative;
  aspect-ratio: 1 / 1;
  background: var(--g053-dark-3);
  overflow: hidden;
}
.g053-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s ease; }
.g053-card:hover .g053-card-img img { transform: scale(1.06); }
.g053-card-tag {
  position: absolute; top: 6px; left: 6px;
  background: rgba(192,57,43,0.92);
  color: #fff;
  font-size: 1rem;
  padding: 2px 6px;
  border-radius: 4px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.g053-card-tag.g053-tag-hot { background: linear-gradient(135deg, #e74c3c, #c0392b); }
.g053-card-tag.g053-tag-new { background: linear-gradient(135deg, #27ae60, #2e8b57); }
.g053-card-tag.g053-tag-vip { background: linear-gradient(135deg, var(--g053-gold), var(--g053-gold-deep)); color: var(--g053-dark); }
.g053-card-play {
  position: absolute; inset: 0;
  background: rgba(15,24,32,0.55);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: opacity 0.2s ease;
  color: var(--g053-gold-2);
  font-size: 2.4rem;
}
.g053-card:hover .g053-card-play { opacity: 1; }
.g053-card-title {
  padding: 8px 8px 10px;
  text-align: center;
  font-size: 1.2rem;
  color: var(--g053-cream);
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ---------- Feature blocks ---------- */
.g053-feature-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}
@media (min-width: 768px) {
  .g053-feature-row { grid-template-columns: repeat(3, 1fr); }
}
.g053-feature {
  background: linear-gradient(160deg, var(--g053-dark-2) 0%, var(--g053-dark-3) 100%);
  border: 1px solid var(--g053-line);
  border-radius: var(--g053-radius);
  padding: 18px 14px;
  text-align: center;
}
.g053-feature .g053-feature-icon {
  width: 56px; height: 56px;
  margin: 0 auto 10px;
  border-radius: 50%;
  background: rgba(189,183,107,0.12);
  display: flex; align-items: center; justify-content: center;
  color: var(--g053-gold);
  font-size: 2.4rem;
}
.g053-feature h3 { color: var(--g053-gold-2); font-size: 1.5rem; margin-bottom: 6px; }
.g053-feature p { color: var(--g053-cream); font-size: 1.3rem; opacity: 0.9; }

/* ---------- Steps ---------- */
.g053-steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  counter-reset: step;
}
@media (min-width: 768px) { .g053-steps { grid-template-columns: repeat(4, 1fr); } }
.g053-step {
  background: var(--g053-dark-2);
  border: 1px solid var(--g053-line);
  border-radius: var(--g053-radius);
  padding: 16px 14px;
  position: relative;
  counter-increment: step;
}
.g053-step::before {
  content: counter(step);
  display: inline-flex;
  width: 30px; height: 30px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--g053-gold) 0%, var(--g053-gold-deep) 100%);
  color: var(--g053-dark);
  font-weight: 700;
  align-items: center; justify-content: center;
  margin-bottom: 8px;
  font-size: 1.4rem;
}
.g053-step h4 { color: var(--g053-gold-2); font-size: 1.4rem; margin-bottom: 4px; }
.g053-step p { color: var(--g053-cream); font-size: 1.25rem; opacity: 0.9; }

/* ---------- SEO content article ---------- */
.g053-article {
  background: var(--g053-dark-2);
  border: 1px solid var(--g053-line);
  border-radius: var(--g053-radius);
  padding: 20px 16px;
}
.g053-article h2 {
  color: var(--g053-gold-2);
  font-size: 1.8rem;
  margin-bottom: 10px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--g053-line);
}
.g053-article h3 {
  color: var(--g053-gold);
  font-size: 1.5rem;
  margin: 16px 0 6px;
}
.g053-article p {
  color: var(--g053-cream);
  font-size: 1.4rem;
  margin-bottom: 10px;
  line-height: 1.65;
  opacity: 0.95;
}
.g053-article ul { padding-left: 18px; margin-bottom: 10px; }
.g053-article ul li {
  list-style: disc;
  color: var(--g053-cream);
  font-size: 1.35rem;
  margin-bottom: 5px;
  opacity: 0.95;
}
.g053-article a { color: var(--g053-gold-2); text-decoration: underline; }

/* ---------- FAQ ---------- */
.g053-faq-item {
  background: var(--g053-dark-2);
  border: 1px solid var(--g053-line);
  border-radius: var(--g053-radius-sm);
  margin-bottom: 10px;
  overflow: hidden;
}
.g053-faq-q {
  width: 100%;
  text-align: left;
  padding: 14px 14px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 10px;
  color: var(--g053-cream);
  font-size: 1.4rem;
  font-weight: 600;
}
.g053-faq-q .g053-faq-icon { color: var(--g053-gold); font-size: 1.6rem; transition: transform 0.2s ease; }
.g053-faq-item.g053-open .g053-faq-icon { transform: rotate(45deg); }
.g053-faq-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease;
  padding: 0 14px;
  color: var(--g053-cream);
  font-size: 1.32rem;
  line-height: 1.6;
}
.g053-faq-item.g053-open .g053-faq-panel { padding: 0 14px 14px; }

/* ---------- Promo banner CTA ---------- */
.g053-cta-banner {
  background: linear-gradient(135deg, var(--g053-gold-deep) 0%, var(--g053-gold) 100%);
  border-radius: var(--g053-radius);
  padding: 22px 16px;
  text-align: center;
  color: var(--g053-dark-3);
  margin: 14px 12px;
  box-shadow: var(--g053-shadow);
}
.g053-cta-banner h3 { font-size: 1.8rem; font-weight: 800; margin-bottom: 6px; }
.g053-cta-banner p { font-size: 1.3rem; margin-bottom: 12px; opacity: 0.9; }
.g053-cta-banner .g053-btn {
  background: var(--g053-dark);
  color: var(--g053-gold-2);
  padding: 11px 26px;
  font-size: 1.4rem;
}
.g053-cta-banner .g053-btn:hover { color: var(--g053-gold); text-decoration: none; }

/* ---------- Partners strip ---------- */
.g053-partners {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  padding: 6px 0;
}
@media (min-width: 600px) { .g053-partners { grid-template-columns: repeat(5, 1fr); } }
@media (min-width: 900px) { .g053-partners { grid-template-columns: repeat(7, 1fr); } }
.g053-partners img {
  background: var(--g053-dark-2);
  border: 1px solid var(--g053-line);
  border-radius: 8px;
  padding: 6px;
  width: 100%;
  height: auto;
  opacity: 0.85;
  transition: opacity 0.15s ease;
}
.g053-partners img:hover { opacity: 1; }

/* ---------- Footer ---------- */
.g053-footer {
  background: var(--g053-dark-3);
  border-top: 1px solid var(--g053-line);
  padding: 26px 14px 18px;
  color: var(--g053-cream);
}
.g053-footer-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
@media (min-width: 768px) { .g053-footer-cols { grid-template-columns: repeat(4, 1fr); } }
.g053-footer h4 {
  color: var(--g053-gold);
  font-size: 1.35rem;
  margin-bottom: 10px;
  letter-spacing: 0.5px;
}
.g053-footer a {
  display: block;
  color: var(--g053-cream);
  font-size: 1.25rem;
  padding: 4px 0;
  opacity: 0.85;
}
.g053-footer a:hover { color: var(--g053-gold-2); text-decoration: none; opacity: 1; }
.g053-footer p { font-size: 1.25rem; opacity: 0.8; margin-bottom: 8px; line-height: 1.6; }
.g053-footer-bottom {
  margin-top: 20px;
  padding-top: 14px;
  border-top: 1px solid var(--g053-line);
  text-align: center;
  font-size: 1.15rem;
  color: var(--g053-muted);
}
.g053-footer-pay {
  display: flex; flex-wrap: wrap; gap: 6px;
  margin-top: 8px;
}
.g053-footer-pay span {
  display: inline-block;
  padding: 4px 8px;
  background: var(--g053-dark-2);
  border: 1px solid var(--g053-line);
  border-radius: 6px;
  font-size: 1.1rem;
  color: var(--g053-gold-2);
}

/* ---------- Bottom nav (mobile only) ---------- */
.g053-bottom-nav {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 1000;
  background: linear-gradient(0deg, var(--g053-dark-3) 0%, rgba(28,40,51,0.98) 100%);
  border-top: 1px solid var(--g053-line);
  display: flex;
  justify-content: space-around;
  align-items: stretch;
  height: 62px;
  padding: 4px 0 calc(env(safe-area-inset-bottom, 0px) + 4px);
}
.g053-bottom-nav-btn {
  flex: 1;
  min-width: 60px;
  min-height: 56px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  color: var(--g053-muted);
  font-size: 1.05rem;
  font-weight: 500;
  transition: color 0.15s ease, transform 0.15s ease;
}
.g053-bottom-nav-btn .g053-bn-icon {
  font-size: 2.2rem;
  line-height: 1;
  transition: transform 0.18s ease, color 0.18s ease;
}
.g053-bottom-nav-btn:hover { color: var(--g053-gold-2); text-decoration: none; }
.g053-bottom-nav-btn:hover .g053-bn-icon { transform: translateY(-2px); color: var(--g053-gold); }
.g053-bottom-nav-btn.g053-current { color: var(--g053-gold); }
.g053-bottom-nav-btn.g053-current .g053-bn-icon { color: var(--g053-gold); }
.g053-bottom-nav-btn.g053-bn-promo {
  position: relative;
}
.g053-bottom-nav-btn.g053-bn-promo .g053-bn-icon {
  background: linear-gradient(135deg, var(--g053-gold) 0%, var(--g053-gold-deep) 100%);
  color: var(--g053-dark);
  width: 42px; height: 42px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin-top: -18px;
  box-shadow: 0 4px 14px rgba(189,183,107,0.45);
  font-size: 2.2rem;
}
@media (min-width: 769px) { .g053-bottom-nav { display: none; } }

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

/* ---------- Utility ---------- */
.g053-text-center { text-align: center; }
.g053-mt-12 { margin-top: 12px; }
.g053-mt-18 { margin-top: 18px; }
.g053-hidden { display: none !important; }
.g053-breadcrumb {
  padding: 10px 14px 0;
  font-size: 1.2rem;
  color: var(--g053-muted);
}
.g053-breadcrumb a { color: var(--g053-gold-2); }
