/* ============================================================
   ff1686.sbs - Core Stylesheet (layout-25bc.css)
   All custom classes use prefix "s25b-"
   Palette: #FFE4B5 | #FFB347 | #EEE8AA | #273746 | #F4A460
   ============================================================ */

:root {
  --s25b-primary: #FFB347;
  --s25b-accent: #F4A460;
  --s25b-cream: #FFE4B5;
  --s25b-pale: #EEE8AA;
  --s25b-bg: #273746;
  --s25b-bg-deep: #1c2935;
  --s25b-bg-card: #304352;
  --s25b-text: #FFE4B5;
  --s25b-text-soft: #EEE8AA;
  --s25b-text-mute: #b9c6d1;
  --s25b-white: #fffaf0;
  --s25b-gold: #FFB347;
  --s25b-shadow: 0 4px 18px rgba(0, 0, 0, 0.35);
  --s25b-radius: 12px;
}

/* Root font: 62.5% so 1rem = 10px for easy rem math */
html { font-size: 62.5%; -webkit-text-size-adjust: 100%; }

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: "Be Vietnam", "Segoe UI", system-ui, -apple-system, sans-serif;
  background: linear-gradient(180deg, #273746 0%, #1c2935 60%, #273746 100%);
  color: var(--s25b-text);
  line-height: 1.5rem;
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--s25b-gold); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ---------- Layout containers ---------- */
.s25b-wrapper {
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
  min-height: 100vh;
  background: var(--s25b-bg);
  position: relative;
  overflow-x: hidden;
}

.s25b-container {
  width: 100%;
  padding: 0 1.4rem;
}

.s25b-main { padding-bottom: 90px; }

/* ---------- Header ---------- */
.s25b-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: linear-gradient(90deg, #1c2935 0%, #273746 100%);
  border-bottom: 2px solid var(--s25b-primary);
  box-shadow: var(--s25b-shadow);
}

.s25b-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.7rem 1.2rem;
  gap: 0.8rem;
}

.s25b-brand { display: flex; align-items: center; gap: 0.6rem; min-width: 0; }
.s25b-brand img { width: 30px; height: 30px; border-radius: 6px; }
.s25b-brand-name {
  font-size: 1.8rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  color: var(--s25b-primary);
  white-space: nowrap;
}
.s25b-brand-name span { color: var(--s25b-pale); }

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

.s25b-menu-btn {
  background: transparent;
  border: 1px solid var(--s25b-primary);
  color: var(--s25b-primary);
  width: 36px;
  height: 36px;
  border-radius: 8px;
  font-size: 1.6rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ---------- Buttons ---------- */
.s25b-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 38px;
  padding: 0 1.2rem;
  font-size: 1.4rem;
  font-weight: 700;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  transition: transform 0.12s ease, box-shadow 0.12s ease, filter 0.12s ease;
  text-decoration: none;
  font-family: inherit;
}
.s25b-btn:hover { text-decoration: none; transform: translateY(-1px); }
.s25b-btn:active { transform: scale(0.97); }

.s25b-btn-register {
  background: linear-gradient(135deg, #FFB347 0%, #F4A460 100%);
  color: #273746;
  box-shadow: 0 3px 10px rgba(255, 179, 71, 0.45);
}
.s25b-btn-login {
  background: transparent;
  color: var(--s25b-primary);
  border: 2px solid var(--s25b-primary);
}

.s25b-btn-cta {
  background: linear-gradient(135deg, #F4A460 0%, #FFB347 100%);
  color: #273746;
  padding: 1rem 2rem;
  font-size: 1.6rem;
  width: 100%;
  box-shadow: 0 4px 14px rgba(244, 164, 96, 0.5);
}

/* ---------- Mobile menu (expandable nav) ---------- */
#s25b-mobile-menu {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  background: var(--s25b-bg-deep);
  border-top: 1px solid rgba(255, 179, 71, 0.25);
}
#s25b-mobile-menu.s25b-menu-open { max-height: 460px; }

.s25b-mobile-nav { list-style: none; margin: 0; padding: 0.4rem 1.2rem 0.8rem; }
.s25b-mobile-nav li { border-bottom: 1px solid rgba(255, 179, 71, 0.12); }
.s25b-mobile-nav li:last-child { border-bottom: none; }
.s25b-mobile-nav a {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 1rem 0.4rem;
  color: var(--s25b-text-soft);
  font-size: 1.4rem;
  font-weight: 600;
}
.s25b-mobile-nav a:hover { color: var(--s25b-primary); }
.s25b-mobile-nav .material-icons,
.s25b-mobile-nav i { font-size: 20px; color: var(--s25b-primary); }

/* ---------- Hero / Carousel ---------- */
.s25b-hero { padding: 1rem 0 0.5rem; }
.s25b-carousel {
  position: relative;
  border-radius: var(--s25b-radius);
  overflow: hidden;
  box-shadow: var(--s25b-shadow);
  background: #000;
}
.s25b-slide {
  position: relative;
  display: none;
  width: 100%;
}
.s25b-slide img { width: 100%; height: 190px; object-fit: cover; cursor: pointer; }
.s25b-slide-active { display: block; animation: s25b-fade 0.6s ease; }
@keyframes s25b-fade { from { opacity: 0.3; } to { opacity: 1; } }

.s25b-carousel-dots {
  position: absolute;
  bottom: 8px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 6px;
}
.s25b-carousel-dots span {
  width: 8px; height: 8px; border-radius: 50%;
  background: rgba(255, 228, 181, 0.5);
}

/* ---------- Section title ---------- */
.s25b-section { padding: 1.6rem 0; }
.s25b-section-title {
  font-size: 1.9rem;
  font-weight: 800;
  color: var(--s25b-primary);
  margin: 0 0 1rem;
  padding-left: 0.8rem;
  border-left: 4px solid var(--s25b-accent);
}
.s25b-section-sub {
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--s25b-pale);
  margin: 1.2rem 0 0.6rem;
}

/* ---------- H1 ---------- */
.s25b-h1 {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--s25b-white);
  margin: 1.2rem 0 0.6rem;
  line-height: 1.4;
}

/* ---------- Game grid ---------- */
.s25b-game-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.8rem;
}
.s25b-game-item {
  background: var(--s25b-bg-card);
  border-radius: 10px;
  padding: 0.5rem;
  text-align: center;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  border: 1px solid rgba(255, 179, 71, 0.15);
}
.s25b-game-item:hover { transform: translateY(-2px); box-shadow: var(--s25b-shadow); }
.s25b-game-item img {
  width: 100%;
  height: 76px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 0.4rem;
}
.s25b-game-name {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--s25b-text-soft);
  line-height: 1.25;
  min-height: 2.5em;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ---------- Cards / modules ---------- */
.s25b-card {
  background: var(--s25b-bg-card);
  border-radius: var(--s25b-radius);
  padding: 1.4rem;
  margin-bottom: 1.2rem;
  border: 1px solid rgba(255, 179, 71, 0.18);
  box-shadow: var(--s25b-shadow);
}
.s25b-card p { margin: 0.4rem 0; font-size: 1.35rem; color: var(--s25b-text-mute); }
.s25b-card strong { color: var(--s25b-primary); }

.s25b-card-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.8rem;
}
.s25b-mini-card {
  background: var(--s25b-bg-deep);
  padding: 1rem;
  border-radius: 10px;
  text-align: center;
  border: 1px solid rgba(255, 179, 71, 0.15);
}
.s25b-mini-card .material-icons,
.s25b-mini-card i { color: var(--s25b-primary); font-size: 28px; }
.s25b-mini-card strong { display: block; font-size: 1.5rem; color: var(--s25b-white); margin: 0.4rem 0 0.2rem; }
.s25b-mini-card span { font-size: 1.2rem; color: var(--s25b-text-mute); }

/* ---------- Payment / partner strip ---------- */
.s25b-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  justify-content: center;
  align-items: center;
}
.s25b-strip img { width: 56px; height: auto; border-radius: 6px; background: #fff; padding: 2px; }

/* ---------- Testimonials ---------- */
.s25b-quote {
  background: var(--s25b-bg-deep);
  border-left: 3px solid var(--s25b-accent);
  border-radius: 8px;
  padding: 1rem 1.2rem;
  margin-bottom: 0.8rem;
  font-size: 1.3rem;
  color: var(--s25b-text-soft);
  font-style: italic;
}
.s25b-quote b { display: block; color: var(--s25b-primary); font-style: normal; margin-top: 0.4rem; font-size: 1.25rem; }

/* ---------- Winners list ---------- */
.s25b-winner-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.7rem 0;
  border-bottom: 1px dashed rgba(255, 179, 71, 0.18);
  font-size: 1.3rem;
}
.s25b-winner-row:last-child { border-bottom: none; }
.s25b-winner-row b { color: var(--s25b-primary); }

/* ---------- RTP table ---------- */
.s25b-rtp-table { width: 100%; border-collapse: collapse; font-size: 1.3rem; }
.s25b-rtp-table th, .s25b-rtp-table td {
  padding: 0.7rem 0.6rem;
  text-align: left;
  border-bottom: 1px solid rgba(255, 179, 71, 0.15);
}
.s25b-rtp-table th { color: var(--s25b-primary); font-size: 1.25rem; }
.s25b-rtp-table td b { color: var(--s25b-gold); }

/* ---------- Promo link (inline SEO text link) ---------- */
.s25b-promo-link {
  color: var(--s25b-primary);
  font-weight: 700;
  cursor: pointer;
}
.s25b-promo-link:hover { text-decoration: underline; }

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

/* ---------- Footer ---------- */
.s25b-footer {
  background: var(--s25b-bg-deep);
  border-top: 2px solid var(--s25b-primary);
  padding: 1.6rem 1.4rem 2rem;
  color: var(--s25b-text-mute);
  font-size: 1.25rem;
}
.s25b-footer-brand { font-size: 1.5rem; color: var(--s25b-primary); font-weight: 800; margin-bottom: 0.4rem; }
.s25b-footer p { color: var(--s25b-text-mute); margin: 0.3rem 0; }
.s25b-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1rem;
  margin: 0.8rem 0;
}
.s25b-footer-links a { color: var(--s25b-text-soft); font-size: 1.2rem; }
.s25b-footer-promo {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0.8rem 0;
}
.s25b-copyright { margin-top: 1rem; font-size: 1.15rem; color: var(--s25b-text-mute); border-top: 1px solid rgba(255,179,71,0.15); padding-top: 0.8rem; }

/* ---------- Mobile bottom nav (fixed) ---------- */
.s25b-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: 62px;
  background: linear-gradient(180deg, #273746 0%, #1c2935 100%);
  border-top: 2px solid var(--s25b-primary);
  display: flex;
  justify-content: space-around;
  align-items: stretch;
  box-shadow: 0 -4px 14px rgba(0, 0, 0, 0.35);
}
.s25b-bottom-nav a {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  color: var(--s25b-text-mute);
  font-size: 1.05rem;
  text-decoration: none;
  min-width: 60px;
  min-height: 60px;
  position: relative;
  transition: color 0.15s ease, transform 0.15s ease;
}
.s25b-bottom-nav a:hover { text-decoration: none; }
.s25b-bottom-nav a:active { transform: scale(0.92); }
.s25b-bottom-nav a .material-icons,
.s25b-bottom-nav a i,
.s25b-bottom-nav a ion-icon { font-size: 24px; }
.s25b-bottom-nav a.s25b-active { color: var(--s25b-primary); }
.s25b-bottom-nav a.s25b-active::before {
  content: "";
  position: absolute;
  top: 0;
  width: 28px;
  height: 3px;
  background: var(--s25b-primary);
  border-radius: 0 0 4px 4px;
}
.s25b-bottom-nav a.s25b-promo-nav { color: var(--s25b-gold); }
.s25b-bottom-nav a.s25b-promo-nav ion-icon { color: var(--s25b-accent); }

/* ---------- Desktop: hide bottom nav, allow wider ---------- */
@media (min-width: 769px) {
  .s25b-bottom-nav { display: none; }
  .s25b-wrapper { max-width: 430px; box-shadow: 0 0 40px rgba(0,0,0,0.4); }
}

/* ---------- Mobile bottom padding for fixed nav clearance ---------- */
@media (max-width: 768px) {
  main, .s25b-main { padding-bottom: 80px; }
}
