/* f168s shared site stylesheet - English comments */
/* All custom classes use the w792e- prefix for namespace isolation. */

:root {
  --w792e-primary: #8B7355;
  --w792e-bg-cream: #FDF5E6;
  --w792e-bg-dark: #212F3D;
  --w792e-accent: #2E8B57;
  --w792e-highlight: #FFE4B5;
  --w792e-text: #FDF5E6;
  --w792e-text-dark: #212F3D;
  --w792e-muted: #B9A88A;
  --w792e-shadow: 0 4px 14px rgba(33, 47, 61, 0.25);
  --w792e-radius: 14px;
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }

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

body {
  margin: 0;
  font-family: "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background: var(--w792e-bg-dark);
  color: var(--w792e-text);
  line-height: 1.5rem;
  font-size: 1.5rem;
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--w792e-highlight); text-decoration: none; }

.w792e-wrapper {
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
  background: var(--w792e-bg-dark);
  min-height: 100vh;
  position: relative;
}

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

main { padding-bottom: 90px; }

/* ===== Header ===== */
.w792e-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: linear-gradient(135deg, #212F3D 0%, #2E8B57 100%);
  border-bottom: 2px solid var(--w792e-highlight);
  box-shadow: var(--w792e-shadow);
}

.w792e-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.8rem 1.2rem;
  min-height: 56px;
}

.w792e-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 800;
  color: var(--w792e-highlight);
  font-size: 1.9rem;
  letter-spacing: 0.5px;
}

.w792e-logo img { width: 30px; height: 30px; border-radius: 6px; }

.w792e-header-actions { display: flex; gap: 0.6rem; align-items: center; }

.w792e-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border: none;
  border-radius: 30px;
  padding: 0.7rem 1.4rem;
  font-size: 1.35rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
  min-height: 36px;
  text-decoration: none;
  line-height: 1;
}

.w792e-btn-primary {
  background: linear-gradient(135deg, #FFE4B5 0%, #F5C97A 100%);
  color: var(--w792e-text-dark);
  box-shadow: 0 3px 8px rgba(255, 228, 181, 0.35);
}

.w792e-btn-accent {
  background: var(--w792e-accent);
  color: var(--w792e-text);
  box-shadow: 0 3px 8px rgba(46, 139, 87, 0.35);
}

.w792e-btn-ghost {
  background: transparent;
  color: var(--w792e-highlight);
  border: 1.5px solid var(--w792e-highlight);
}

.w792e-btn:active { transform: scale(0.95); }

.w792e-icon-btn {
  background: transparent;
  border: none;
  color: var(--w792e-highlight);
  font-size: 2.2rem;
  cursor: pointer;
  padding: 0.4rem;
  min-width: 44px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* ===== Mobile menu ===== */
.w792e-mobile-menu {
  display: none;
  background: #18242E;
  border-bottom: 1px solid rgba(255, 228, 181, 0.2);
  padding: 0.6rem 1.2rem 1rem;
}

.w792e-mobile-menu.w792e-menu-open { display: block; }

.w792e-mobile-menu a {
  display: block;
  padding: 0.9rem 0.4rem;
  border-bottom: 1px dashed rgba(255, 228, 181, 0.18);
  color: var(--w792e-bg-cream);
  font-size: 1.4rem;
}

.w792e-mobile-menu a:last-child { border-bottom: none; }

/* ===== Carousel ===== */
.w792e-carousel {
  position: relative;
  overflow: hidden;
  border-radius: 0;
  margin: 0;
}

.w792e-carousel-track {
  display: flex;
  transition: transform 0.5s ease;
}

.w792e-carousel-slide {
  min-width: 100%;
  position: relative;
  cursor: pointer;
}

.w792e-carousel-slide img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.w792e-carousel-cap {
  position: absolute;
  left: 1.2rem;
  bottom: 1.2rem;
  background: rgba(33, 47, 61, 0.7);
  color: var(--w792e-highlight);
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 1.3rem;
  font-weight: 700;
}

.w792e-carousel-prev,
.w792e-carousel-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(33, 47, 61, 0.55);
  border: none;
  color: #fff;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.6rem;
  z-index: 2;
}

.w792e-carousel-prev { left: 8px; }
.w792e-carousel-next { right: 8px; }

.w792e-carousel-dots {
  position: absolute;
  bottom: 8px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 6px;
}

.w792e-carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  border: none;
  cursor: pointer;
}

.w792e-carousel-dot.w792e-dot-active { background: var(--w792e-highlight); }

/* ===== Section ===== */
.w792e-section {
  padding: 2rem 1.4rem;
}

.w792e-section-title {
  font-size: 1.9rem;
  font-weight: 800;
  color: var(--w792e-highlight);
  margin: 0 0 1rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.w792e-section-title i { color: var(--w792e-accent); }

.w792e-section-sub {
  color: var(--w792e-muted);
  font-size: 1.3rem;
  margin: -0.4rem 0 1.2rem;
}

.w792e-card {
  background: rgba(253, 245, 230, 0.06);
  border: 1px solid rgba(255, 228, 181, 0.18);
  border-radius: var(--w792e-radius);
  padding: 1.4rem;
  margin-bottom: 1rem;
}

.w792e-card h3 {
  margin: 0 0 0.6rem;
  font-size: 1.55rem;
  color: var(--w792e-highlight);
}

.w792e-card p { margin: 0 0 0.6rem; font-size: 1.35rem; color: var(--w792e-bg-cream); }

/* ===== Game grid ===== */
.w792e-cat-head {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 1.6rem 0 0.8rem;
  font-size: 1.55rem;
  font-weight: 800;
  color: var(--w792e-highlight);
}

.w792e-cat-head .w792e-cat-bar {
  flex: 1;
  height: 2px;
  background: linear-gradient(90deg, var(--w792e-accent), transparent);
}

.w792e-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.7rem;
}

.w792e-game-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 228, 181, 0.15);
  border-radius: 12px;
  padding: 0.5rem;
  text-align: center;
  cursor: pointer;
  transition: transform 0.15s ease, border-color 0.15s ease;
  display: block;
}

.w792e-game-card:active { transform: scale(0.96); border-color: var(--w792e-accent); }

.w792e-game-card img {
  width: 100%;
  height: 70px;
  object-fit: cover;
  border-radius: 8px;
}

.w792e-game-card span {
  display: block;
  margin-top: 0.4rem;
  font-size: 1.1rem;
  color: var(--w792e-bg-cream);
  line-height: 1.25;
  min-height: 2.6em;
  overflow: hidden;
}

/* ===== Promo CTA banner ===== */
.w792e-cta {
  background: linear-gradient(135deg, #2E8B57 0%, #8B7355 100%);
  border-radius: var(--w792e-radius);
  padding: 1.6rem;
  text-align: center;
  margin: 1.4rem 0;
  border: 1px solid var(--w792e-highlight);
}

.w792e-cta h3 { margin: 0 0 0.6rem; color: var(--w792e-highlight); font-size: 1.7rem; }
.w792e-cta p { margin: 0 0 1rem; color: var(--w792e-bg-cream); font-size: 1.3rem; }

/* ===== RTP / data table ===== */
.w792e-table { width: 100%; border-collapse: collapse; font-size: 1.3rem; }
.w792e-table th, .w792e-table td {
  border-bottom: 1px solid rgba(255, 228, 181, 0.15);
  padding: 0.7rem 0.4rem;
  text-align: left;
}
.w792e-table th { color: var(--w792e-highlight); }
.w792e-table td { color: var(--w792e-bg-cream); }
.w792e-bar {
  height: 8px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.1);
  overflow: hidden;
}
.w792e-bar > span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--w792e-accent), var(--w792e-highlight));
}

/* ===== Testimonials ===== */
.w792e-testimonial {
  background: rgba(255, 255, 255, 0.04);
  border-left: 3px solid var(--w792e-accent);
  border-radius: 8px;
  padding: 1rem 1.2rem;
  margin-bottom: 0.8rem;
}
.w792e-testimonial .w792e-name { color: var(--w792e-highlight); font-weight: 700; font-size: 1.35rem; }
.w792e-testimonial .w792e-stars { color: #FFD700; font-size: 1.2rem; margin: 0.3rem 0; }
.w792e-testimonial p { margin: 0; color: var(--w792e-bg-cream); font-size: 1.3rem; }

/* ===== Payment chips ===== */
.w792e-chips { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.w792e-chip {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 228, 181, 0.2);
  border-radius: 20px;
  padding: 0.5rem 1rem;
  font-size: 1.2rem;
  color: var(--w792e-bg-cream);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

/* ===== Footer ===== */
.w792e-footer {
  background: #18242E;
  padding: 2rem 1.4rem 1.4rem;
  border-top: 2px solid var(--w792e-accent);
  color: var(--w792e-bg-cream);
  font-size: 1.25rem;
}

.w792e-footer h4 { color: var(--w792e-highlight); margin: 0 0 0.6rem; font-size: 1.4rem; }
.w792e-footer p { color: var(--w792e-muted); line-height: 1.6rem; }

.w792e-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 0.8rem;
  margin: 0.8rem 0;
}

.w792e-footer-links a {
  color: var(--w792e-bg-cream);
  font-size: 1.2rem;
  text-decoration: underline;
}

.w792e-footer-promos {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin: 1rem 0;
}

.w792e-copyright {
  text-align: center;
  color: var(--w792e-muted);
  font-size: 1.15rem;
  border-top: 1px dashed rgba(255, 228, 181, 0.15);
  padding-top: 1rem;
  margin-top: 1rem;
}

/* ===== Bottom nav ===== */
.w792e-bottomnav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: linear-gradient(180deg, #213441 0%, #18242E 100%);
  border-top: 2px solid var(--w792e-highlight);
  display: flex;
  justify-content: space-around;
  align-items: stretch;
  height: 62px;
  padding: 0;
  box-shadow: 0 -3px 10px rgba(0, 0, 0, 0.3);
}

.w792e-bottomnav-btn {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  background: transparent;
  border: none;
  color: var(--w792e-muted);
  font-size: 1.05rem;
  cursor: pointer;
  padding: 4px 0;
  transition: color 0.15s ease, transform 0.15s ease;
  min-width: 60px;
  min-height: 60px;
}

.w792e-bottomnav-btn .w792e-ic { font-size: 22px; line-height: 1; }
.w792e-bottomnav-btn .material-icons { font-size: 22px; }
.w792e-bottomnav-btn .ion { font-size: 22px; }

.w792e-bottomnav-btn:active { transform: scale(0.9); }
.w792e-bottomnav-btn.w792e-nav-active,
.w792e-bottomnav-btn:hover { color: var(--w792e-highlight); }

.w792e-bottomnav-btn.w792e-promo .w792e-ic { color: var(--w792e-accent); }

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

/* ===== Desktop: hide bottom nav, widen wrapper ===== */
@media (min-width: 769px) {
  .w792e-bottomnav { display: none; }
  main { padding-bottom: 40px; }
  .w792e-grid { grid-template-columns: repeat(6, 1fr); }
}

@media (max-width: 768px) {
  main { padding-bottom: 80px; }
}

@media (min-width: 431px) {
  .w792e-wrapper { max-width: 430px; }
}

/* keyword highlight inline links inside body content */
.w792e-kw { color: var(--w792e-highlight); font-weight: 700; }
