/* ===========================================================
   113b.click - theme-a91f.css
   Mobile-first casino/slots theme for 113b.
   Palette: wheat(#F5DEB3) / gold(#FFD700) /
            dark(#0D1117) / burlywood(#DEB887)
   All custom classes use the g1f6- prefix.
   =========================================================== */

:root {
  --g1f6-primary: #FFD700;
  --g1f6-secondary: #DEB887;
  --g1f6-wheat: #F5DEB3;
  --g1f6-bg: #0D1117;
  --g1f6-bg-soft: #161b22;
  --g1f6-bg-card: #1c2230;
  --g1f6-text: #F5DEB3;
  --g1f6-text-strong: #FFF8E1;
  --g1f6-text-muted: #C9B98F;
  --g1f6-border: #2a3040;
  --g1f6-success: #4ade80;
  --g1f6-danger: #f87171;
  --g1f6-grad-gold: linear-gradient(135deg, #FFD700 0%, #DEB887 100%);
  --g1f6-grad-dark: linear-gradient(180deg, #0D1117 0%, #161b22 100%);
  --g1f6-shadow: 0 0.4rem 1.6rem rgba(0, 0, 0, 0.55);
  --g1f6-radius: 1rem;
  --g1f6-radius-sm: 0.6rem;
}

* { box-sizing: border-box; }

html { font-size: 62.5%; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: "Segoe UI", "Roboto", system-ui, -apple-system, sans-serif;
  background: var(--g1f6-bg);
  color: var(--g1f6-text);
  line-height: 1.5;
  font-size: 1.5rem;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: var(--g1f6-primary); text-decoration: none; }
a:hover { color: var(--g1f6-wheat); }

h1, h2, h3, h4 { color: var(--g1f6-text-strong); line-height: 1.25; margin: 0 0 0.8em; }
h1 { font-size: 2rem; }
h2 { font-size: 1.8rem; }
h3 { font-size: 1.55rem; }
p { margin: 0 0 1em; }

.g1f6-container {
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
  padding: 0 1.2rem;
}

.g1f6-wrapper { padding-bottom: 8.5rem; }

/* ================= HEADER ================= */
.g1f6-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: var(--g1f6-grad-dark);
  border-bottom: 0.2rem solid var(--g1f6-primary);
  box-shadow: var(--g1f6-shadow);
}

.g1f6-header-inner {
  max-width: 430px;
  margin: 0 auto;
  padding: 0.6rem 1.2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
}

.g1f6-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 800;
  font-size: 1.6rem;
  color: var(--g1f6-primary);
  letter-spacing: 0.05em;
}
.g1f6-logo img { width: 2.8rem; height: 2.8rem; border-radius: 0.5rem; }
.g1f6-logo span { color: var(--g1f6-wheat); }

.g1f6-header-actions { display: flex; align-items: center; gap: 0.5rem; }

.g1f6-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border: none;
  cursor: pointer;
  font-weight: 700;
  font-size: 1.3rem;
  padding: 0.7rem 1.2rem;
  border-radius: 999px;
  transition: transform .15s ease, opacity .15s ease, box-shadow .15s ease;
  min-height: 3.6rem;
  line-height: 1;
}
.g1f6-btn:active { transform: scale(0.95); }

.g1f6-btn--primary { background: var(--g1f6-grad-gold); color: #0D1117; box-shadow: 0 0.3rem 0.8rem rgba(255,215,0,0.35); }
.g1f6-btn--ghost { background: transparent; color: var(--g1f6-text-strong); border: 0.15rem solid var(--g1f6-secondary); }
.g1f6-btn--block { width: 100%; }
.g1f6-btn--lg { font-size: 1.5rem; padding: 1rem 1.6rem; min-height: 4.4rem; }

.g1f6-menu-btn {
  background: transparent;
  border: 0.15rem solid var(--g1f6-secondary);
  color: var(--g1f6-text-strong);
  width: 3.6rem; height: 3.6rem;
  border-radius: 0.6rem;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem;
  cursor: pointer;
}

/* ================= MOBILE MENU ================= */
.g1f6-mobile-menu {
  position: fixed;
  top: 0; right: -100%;
  width: 80%;
  max-width: 320px;
  height: 100vh;
  background: var(--g1f6-bg-soft);
  z-index: 9999;
  padding: 2rem 1.5rem;
  transition: right .3s ease;
  overflow-y: auto;
  border-left: 0.2rem solid var(--g1f6-primary);
}
.g1f6-mobile-menu--open { right: 0; }
.g1f6-mobile-menu h3 { color: var(--g1f6-primary); font-size: 1.4rem; text-transform: uppercase; letter-spacing: 0.08em; margin-top: 1.5rem; }
.g1f6-mobile-menu a {
  display: block;
  padding: 1rem 0.6rem;
  border-bottom: 0.1rem solid var(--g1f6-border);
  color: var(--g1f6-text-strong);
  font-size: 1.4rem;
}
.g1f6-mobile-menu a:hover { background: rgba(255,215,0,0.08); color: var(--g1f6-primary); }
.g1f6-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.6);
  z-index: 9998;
  display: none;
}
.g1f6-overlay--show { display: block; }
.g1f6-close-btn {
  background: transparent; border: none; color: var(--g1f6-text-strong);
  font-size: 2.2rem; cursor: pointer; float: right;
}

/* ================= HERO ================= */
.g1f6-hero { margin-top: 6rem; padding-top: 0.5rem; }
.g1f6-carousel {
  position: relative;
  border-radius: var(--g1f6-radius);
  overflow: hidden;
  box-shadow: var(--g1f6-shadow);
}
.g1f6-slide {
  display: none;
  position: relative;
  cursor: pointer;
}
.g1f6-slide--active { display: block; }
.g1f6-slide img { width: 100%; height: 18rem; object-fit: cover; }
.g1f6-slide-caption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 1rem;
  background: linear-gradient(transparent, rgba(0,0,0,0.85));
  color: var(--g1f6-text-strong);
}
.g1f6-slide-caption b { color: var(--g1f6-primary); }
.g1f6-dots {
  position: absolute; bottom: 0.8rem; left: 0; right: 0;
  display: flex; justify-content: center; gap: 0.5rem; z-index: 2;
}
.g1f6-dot {
  width: 0.8rem; height: 0.8rem; border-radius: 50%;
  background: rgba(245,222,179,0.5); cursor: pointer; border: none;
}
.g1f6-dot--active { background: var(--g1f6-primary); }

/* ================= SECTION ================= */
.g1f6-section { padding: 1.8rem 0; }
.g1f6-section-head {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 1rem;
}
.g1f6-section-title {
  font-size: 1.7rem; color: var(--g1f6-text-strong);
  display: flex; align-items: center; gap: 0.6rem;
}
.g1f6-section-title i { color: var(--g1f6-primary); }
.g1f6-section-link { font-size: 1.25rem; color: var(--g1f6-primary); font-weight: 700; }

/* ================= FILTER TABS ================= */
.g1f6-filter-bar {
  display: flex; gap: 0.5rem; overflow-x: auto;
  padding: 0.5rem 0 1rem; -webkit-overflow-scrolling: touch;
}
.g1f6-filter-bar::-webkit-scrollbar { display: none; }
.g1f6-filter-tab {
  flex: 0 0 auto;
  padding: 0.6rem 1.2rem;
  border-radius: 999px;
  background: var(--g1f6-bg-card);
  color: var(--g1f6-text);
  font-size: 1.25rem;
  border: 0.1rem solid var(--g1f6-border);
  cursor: pointer;
  white-space: nowrap;
}
.g1f6-filter-tab--active {
  background: var(--g1f6-grad-gold);
  color: #0D1117; border-color: var(--g1f6-primary); font-weight: 700;
}

/* ================= GAME GRID ================= */
.g1f6-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.8rem;
}
.g1f6-game-card {
  background: var(--g1f6-bg-card);
  border-radius: var(--g1f6-radius-sm);
  padding: 0.6rem;
  text-align: center;
  border: 0.1rem solid var(--g1f6-border);
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
  opacity: 0; transform: translateY(8px);
}
.g1f6-game-card--in { opacity: 1; transform: none; }
.g1f6-game-card:hover {
  transform: translateY(-3px);
  border-color: var(--g1f6-primary);
  box-shadow: 0 0.4rem 1.2rem rgba(255,215,0,0.25);
}
.g1f6-game-card img {
  width: 100%; height: 8rem; object-fit: cover;
  border-radius: 0.5rem; margin-bottom: 0.4rem;
}
.g1f6-game-card-name {
  font-size: 1.15rem; color: var(--g1f6-text-strong); font-weight: 600;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.g1f6-game-card-tag {
  font-size: 1rem; color: var(--g1f6-primary); margin-top: 0.2rem;
}

/* ================= CARDS / PANELS ================= */
.g1f6-card {
  background: var(--g1f6-bg-card);
  border: 0.1rem solid var(--g1f6-border);
  border-radius: var(--g1f6-radius);
  padding: 1.2rem;
  margin-bottom: 1rem;
}
.g1f6-card h3 { color: var(--g1f6-primary); }
.g1f6-card p { color: var(--g1f6-text); }

.g1f6-step-list { list-style: none; padding: 0; margin: 0; counter-reset: step; }
.g1f6-step-list li {
  position: relative;
  padding: 0.8rem 0.8rem 0.8rem 3.4rem;
  margin-bottom: 0.6rem;
  background: var(--g1f6-bg-soft);
  border-radius: var(--g1f6-radius-sm);
  border-left: 0.3rem solid var(--g1f6-primary);
}
.g1f6-step-list li::before {
  counter-increment: step; content: counter(step);
  position: absolute; left: 0.8rem; top: 50%; transform: translateY(-50%);
  width: 2rem; height: 2rem; border-radius: 50%;
  background: var(--g1f6-grad-gold); color: #0D1117;
  font-weight: 800; display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
}

/* ================= FEATURES / GRID BOXES ================= */
.g1f6-feature-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.8rem;
}
.g1f6-feature {
  background: var(--g1f6-bg-card);
  border-radius: var(--g1f6-radius-sm);
  padding: 1rem;
  text-align: center;
  border: 0.1rem solid var(--g1f6-border);
}
.g1f6-feature i { font-size: 2rem; color: var(--g1f6-primary); margin-bottom: 0.4rem; }
.g1f6-feature h4 { margin: 0.3rem 0; font-size: 1.3rem; color: var(--g1f6-text-strong); }
.g1f6-feature p { font-size: 1.15rem; color: var(--g1f6-text-muted); margin: 0; }

/* ================= RTP / DATA TABLE ================= */
.g1f6-data-table { width: 100%; border-collapse: collapse; font-size: 1.2rem; }
.g1f6-data-table th, .g1f6-data-table td {
  padding: 0.7rem 0.6rem; text-align: left;
  border-bottom: 0.1rem solid var(--g1f6-border);
}
.g1f6-data-table th { color: var(--g1f6-primary); }
.g1f6-data-table td { color: var(--g1f6-text); }

/* ================= TESTIMONIALS ================= */
.g1f6-testimonial {
  background: var(--g1f6-bg-soft);
  border-left: 0.3rem solid var(--g1f6-secondary);
  padding: 1rem; border-radius: var(--g1f6-radius-sm); margin-bottom: 0.8rem;
}
.g1f6-testimonial p { margin: 0 0 0.4rem; color: var(--g1f6-text); font-style: italic; }
.g1f6-testimonial cite { color: var(--g1f6-primary); font-weight: 700; font-style: normal; }

/* ================= WINNERS ================= */
.g1f6-winner {
  display: flex; justify-content: space-between; align-items: center;
  background: var(--g1f6-bg-soft); padding: 0.7rem 1rem;
  border-radius: var(--g1f6-radius-sm); margin-bottom: 0.5rem;
  border: 0.1rem solid var(--g1f6-border);
}
.g1f6-winner-name { color: var(--g1f6-text-strong); font-weight: 600; }
.g1f6-winner-amount { color: var(--g1f6-success); font-weight: 800; }

/* ================= PAYMENT ================= */
.g1f6-pay-grid { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.g1f6-pay-chip {
  background: var(--g1f6-bg-card); border: 0.1rem solid var(--g1f6-border);
  padding: 0.6rem 1rem; border-radius: 0.6rem;
  color: var(--g1f6-text-strong); font-size: 1.2rem; font-weight: 600;
}

/* ================= FAQ ================= */
.g1f6-faq-item {
  background: var(--g1f6-bg-card);
  border: 0.1rem solid var(--g1f6-border);
  border-radius: var(--g1f6-radius-sm);
  margin-bottom: 0.6rem; overflow: hidden;
}
.g1f6-faq-q {
  padding: 1rem; cursor: pointer; font-weight: 700;
  color: var(--g1f6-text-strong);
  display: flex; justify-content: space-between; align-items: center;
}
.g1f6-faq-q i { color: var(--g1f6-primary); transition: transform .2s; }
.g1f6-faq-a { max-height: 0; overflow: hidden; transition: max-height .3s ease; padding: 0 1rem; color: var(--g1f6-text); }
.g1f6-faq-item--open .g1f6-faq-a { max-height: 400px; padding-bottom: 1rem; }
.g1f6-faq-item--open .g1f6-faq-q i { transform: rotate(45deg); }

/* ================= CTA BANNER ================= */
.g1f6-cta {
  background: var(--g1f6-grad-gold);
  color: #0D1117;
  border-radius: var(--g1f6-radius);
  padding: 1.4rem; text-align: center; margin: 1.5rem 0;
}
.g1f6-cta h3 { color: #0D1117; margin-bottom: 0.4rem; }
.g1f6-cta p { color: #2a2a2a; margin-bottom: 0.9rem; font-weight: 600; }
.g1f6-cta .g1f6-btn { background: #0D1117; color: var(--g1f6-primary); }

/* ================= SEO TEXT ================= */
.g1f6-seo-text {
  background: var(--g1f6-bg-soft);
  border-radius: var(--g1f6-radius);
  padding: 1.2rem;
  font-size: 1.35rem; color: var(--g1f6-text);
  line-height: 1.7;
}
.g1f6-seo-text h2, .g1f6-seo-text h3 { color: var(--g1f6-primary); margin-top: 1.2rem; }
.g1f6-seo-text strong { color: var(--g1f6-wheat); }
.g1f6-seo-text a { color: var(--g1f6-primary); font-weight: 700; text-decoration: underline; }

/* ================= FOOTER ================= */
.g1f6-footer {
  background: var(--g1f6-bg-soft);
  border-top: 0.2rem solid var(--g1f6-primary);
  padding: 1.8rem 0 9rem;
}
.g1f6-footer-brand { color: var(--g1f6-text); font-size: 1.3rem; margin-bottom: 1rem; line-height: 1.6; }
.g1f6-footer-links { display: flex; flex-wrap: wrap; gap: 0.6rem 1.2rem; margin-bottom: 1rem; }
.g1f6-footer-links a { color: var(--g1f6-text-muted); font-size: 1.2rem; }
.g1f6-footer-links a:hover { color: var(--g1f6-primary); }
.g1f6-footer-promo { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 0.8rem 0; }
.g1f6-footer-promo .g1f6-btn { font-size: 1.15rem; padding: 0.5rem 1rem; min-height: 0; }
.g1f6-copy { color: var(--g1f6-text-muted); font-size: 1.1rem; text-align: center; padding-top: 1rem; border-top: 0.1rem solid var(--g1f6-border); }

/* ================= BOTTOM NAV ================= */
.g1f6-bottom-nav {
  position: fixed; bottom: 0; left: 0; right: 0;
  height: 6.2rem;
  background: var(--g1f6-grad-dark);
  border-top: 0.2rem solid var(--g1f6-primary);
  display: flex; justify-content: space-around; align-items: center;
  z-index: 1000;
  box-shadow: 0 -0.3rem 1rem rgba(0,0,0,0.6);
}
.g1f6-bottom-btn {
  flex: 1;
  background: transparent; border: none;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 0.2rem;
  color: var(--g1f6-text-muted);
  font-size: 1rem; font-weight: 600;
  padding: 0.4rem;
  cursor: pointer;
  min-width: 6rem; min-height: 5.6rem;
  transition: color .15s ease, transform .15s ease;
}
.g1f6-bottom-btn .material-icons,
.g1f6-bottom-btn i { font-size: 2.2rem; }
.g1f6-bottom-btn--active { color: var(--g1f6-primary); }
.g1f6-bottom-btn--promo { color: var(--g1f6-secondary); }
.g1f6-bottom-btn:active { transform: scale(0.92); }
.g1f6-bottom-btn--center {
  position: relative; top: -1.4rem;
  background: var(--g1f6-grad-gold);
  width: 4.6rem; height: 4.6rem; border-radius: 50%;
  color: #0D1117; box-shadow: 0 0.3rem 1rem rgba(255,215,0,0.45);
  flex: 0 0 auto;
}
.g1f6-bottom-btn--center .material-icons,
.g1f6-bottom-btn--center i { font-size: 2.2rem; }

/* ================= BACK TO TOP ================= */
.g1f6-back-top {
  position: fixed; right: 1.2rem; bottom: 7.5rem;
  width: 4rem; height: 4rem; border-radius: 50%;
  background: var(--g1f6-grad-gold); color: #0D1117;
  border: none; cursor: pointer; font-size: 1.6rem;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none; transition: opacity .25s, transform .15s;
  z-index: 999;
}
.g1f6-back-top--visible { opacity: 1; pointer-events: auto; }
.g1f6-back-top:active { transform: scale(0.9); }

/* ================= PROMO TEXT LINKS ================= */
.g1f6-link-text {
  color: var(--g1f6-primary);
  font-weight: 800;
  cursor: pointer;
}
.g1f6-link-text:hover { text-decoration: underline; }

/* ================= APP DOWNLOAD CTA ================= */
.g1f6-app-banner {
  display: flex; gap: 1rem; align-items: center;
  background: linear-gradient(135deg, #1c2230 0%, #0D1117 100%);
  border: 0.1rem solid var(--g1f6-primary);
  border-radius: var(--g1f6-radius); padding: 1rem; margin: 1rem 0;
}
.g1f6-app-banner img { width: 8rem; height: 8rem; object-fit: cover; border-radius: 0.6rem; flex: 0 0 auto; }
.g1f6-app-banner h4 { color: var(--g1f6-primary); margin: 0 0 0.3rem; }
.g1f6-app-banner p { font-size: 1.15rem; color: var(--g1f6-text); margin: 0 0 0.6rem; }

/* ================= DESKTOP ================= */
@media (min-width: 769px) {
  .g1f6-bottom-nav { display: none; }
  .g1f6-wrapper { padding-bottom: 2rem; }
  .g1f6-container { max-width: 760px; }
  .g1f6-grid { grid-template-columns: repeat(5, 1fr); }
  .g1f6-feature-grid { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 768px) {
  main, .g1f6-wrapper { padding-bottom: 8.5rem; }
}
