/* ============================================================
 * Zone Casino - design-28e8.css
 * Prefix: ui8e- | Palette: #262626 #8B7355 #FF8A80 #FFCCCB #F4A460
 * Mobile-first, max-width 430px
 * ============================================================ */

:root {
  --ui8e-bg: #262626;
  --ui8e-bg2: #1c1c1c;
  --ui8e-card: #303030;
  --ui8e-bronze: #8B7355;
  --ui8e-coral: #FF8A80;
  --ui8e-blush: #FFCCCB;
  --ui8e-sandy: #F4A460;
  --ui8e-text: #f5efe7;
  --ui8e-muted: #b9b0a4;
  --ui8e-gold: #e6b577;
  --ui8e-radius: 12px;
  --ui8e-shadow: 0 6px 22px rgba(0,0,0,0.35);
  --ui8e-header-h: 58px;
  --ui8e-bnav-h: 62px;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: "Segoe UI", "Helvetica Neue", Roboto, Arial, sans-serif;
  background: linear-gradient(180deg, var(--ui8e-bg2) 0%, var(--ui8e-bg) 35%, #221b16 100%);
  color: var(--ui8e-text);
  line-height: 1.55;
  font-size: 15px;
  min-height: 100vh;
}

html { font-size: 62.5%; }

a { color: var(--ui8e-sandy); text-decoration: none; }
a:hover { color: var(--ui8e-coral); }
img { max-width: 100%; display: block; }

h1, h2, h3 { line-height: 1.3; margin: 0 0 0.6em; }

/* ---------- Layout ---------- */
.ui8e-wrapper {
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
  position: relative;
}

main.ui8e-main {
  padding-top: calc(var(--ui8e-header-h) + 8px);
  padding-bottom: calc(var(--ui8e-bnav-h) + 24px);
}

.ui8e-section {
  padding: 22px 14px;
}

.ui8e-eyebrow {
  font-size: 1.2rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ui8e-sandy);
  margin-bottom: 6px;
}

.ui8e-h1 {
  font-size: 2.2rem;
  color: var(--ui8e-text);
  margin-bottom: 10px;
}

.ui8e-h2 {
  font-size: 1.85rem;
  color: var(--ui8e-blush);
  position: relative;
  padding-left: 12px;
}

.ui8e-h2::before {
  content: "";
  position: absolute;
  left: 0; top: 6px; bottom: 6px;
  width: 4px;
  background: linear-gradient(180deg, var(--ui8e-coral), var(--ui8e-sandy));
  border-radius: 3px;
}

.ui8e-h3 { font-size: 1.45rem; color: var(--ui8e-gold); }

/* ---------- Header ---------- */
.ui8e-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--ui8e-header-h);
  background: linear-gradient(90deg, #1c1c1c 0%, #2c2620 60%, #3a2f24 100%);
  border-bottom: 1px solid rgba(244,164,96,0.25);
  z-index: 1000;
  display: flex;
  align-items: center;
}

.ui8e-header-inner {
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 12px;
  gap: 8px;
}

.ui8e-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.ui8e-logo {
  width: 28px; height: 28px;
  border-radius: 7px;
  object-fit: cover;
  border: 1px solid var(--ui8e-bronze);
}

.ui8e-brand-name {
  font-weight: 700;
  font-size: 1.5rem;
  letter-spacing: 0.02em;
  background: linear-gradient(90deg, var(--ui8e-sandy), var(--ui8e-blush));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  white-space: nowrap;
}

.ui8e-header-actions { display: flex; align-items: center; gap: 6px; }

.ui8e-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  border: 0;
  border-radius: 999px;
  font-weight: 700;
  cursor: pointer;
  padding: 8px 14px;
  font-size: 1.25rem;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.2s ease;
  min-height: 36px;
}

.ui8e-btn-primary {
  background: linear-gradient(90deg, var(--ui8e-coral), #ff5e54);
  color: #1c1c1c;
  box-shadow: 0 4px 14px rgba(255,138,128,0.35);
}

.ui8e-btn-ghost {
  background: transparent;
  color: var(--ui8e-text);
  border: 1px solid rgba(244,164,96,0.55);
}

.ui8e-btn-gold {
  background: linear-gradient(90deg, var(--ui8e-sandy), var(--ui8e-gold));
  color: #1c1c1c;
  box-shadow: 0 4px 14px rgba(244,164,96,0.4);
}

.ui8e-btn:hover { transform: translateY(-1px); }
.ui8e-btn:active { transform: scale(0.97); }

.ui8e-menu-btn {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.15);
  color: var(--ui8e-text);
  border-radius: 10px;
  width: 36px; height: 36px;
  font-size: 1.6rem;
  cursor: pointer;
}

/* ---------- Mobile menu ---------- */
.ui8e-mobile-menu {
  position: fixed;
  top: 0; right: -100%;
  width: 78%; max-width: 320px;
  height: 100vh;
  background: #1a1612;
  border-left: 1px solid rgba(244,164,96,0.25);
  box-shadow: -8px 0 30px rgba(0,0,0,0.5);
  z-index: 9999;
  padding: 70px 18px 24px;
  transition: right 0.28s ease;
  overflow-y: auto;
}

.ui8e-mobile-menu.ui8e-menu-open { right: 0; }

.ui8e-mobile-menu a {
  display: block;
  padding: 12px 14px;
  margin-bottom: 6px;
  border-radius: 10px;
  color: var(--ui8e-text);
  background: rgba(244,164,96,0.06);
  font-size: 1.3rem;
  border: 1px solid rgba(244,164,96,0.12);
}

.ui8e-mobile-menu a:hover { background: rgba(255,138,128,0.18); }

.ui8e-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.55);
  z-index: 9998;
  display: none;
}

.ui8e-mobile-menu.ui8e-menu-open ~ .ui8e-overlay { display: block; }

/* ---------- Carousel ---------- */
.ui8e-carousel {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--ui8e-shadow);
  margin-bottom: 6px;
}

.ui8e-slides-track { position: relative; }

.ui8e-slide {
  display: none;
  position: relative;
  cursor: pointer;
}

.ui8e-slide.ui8e-slide-active { display: block; }

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

.ui8e-slide-cap {
  position: absolute;
  left: 14px; bottom: 14px; right: 14px;
  background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.7) 100%);
  color: #fff;
  padding: 18px 12px 8px;
  border-radius: 0 0 12px 12px;
}

.ui8e-slide-cap h3 { margin: 0 0 4px; font-size: 1.5rem; color: var(--ui8e-blush); }
.ui8e-slide-cap p { margin: 0; font-size: 1.15rem; color: var(--ui8e-blush); }

.ui8e-dots {
  display: flex;
  justify-content: center;
  gap: 6px;
  padding: 8px 0;
}

.ui8e-slide-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.3);
  cursor: pointer;
  border: 0;
}

.ui8e-slide-dot.ui8e-dot-active {
  background: var(--ui8e-coral);
  width: 22px;
  border-radius: 4px;
}

/* ---------- Game grid ---------- */
.ui8e-cat-title {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 18px 0 12px;
  font-size: 1.6rem;
  color: var(--ui8e-blush);
}

.ui8e-cat-title .ui8e-cat-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, var(--ui8e-bronze), transparent);
}

.ui8e-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.ui8e-game-card {
  background: var(--ui8e-card);
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(244,164,96,0.15);
  cursor: pointer;
  transition: transform 0.15s ease, border-color 0.2s ease;
  text-align: center;
}

.ui8e-game-card:hover {
  transform: translateY(-2px);
  border-color: var(--ui8e-coral);
}

.ui8e-game-card img {
  width: 100%;
  height: 78px;
  object-fit: cover;
}

.ui8e-game-name {
  font-size: 1.1rem;
  color: var(--ui8e-text);
  padding: 5px 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ---------- Cards / features ---------- */
.ui8e-card {
  background: var(--ui8e-card);
  border-radius: var(--ui8e-radius);
  padding: 16px;
  margin-bottom: 12px;
  border: 1px solid rgba(244,164,96,0.12);
  box-shadow: var(--ui8e-shadow);
}

.ui8e-card p { margin: 0 0 8px; color: var(--ui8e-muted); font-size: 1.25rem; }
.ui8e-card p:last-child { margin-bottom: 0; }

.ui8e-feature-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.ui8e-feature {
  background: rgba(244,164,96,0.08);
  border: 1px solid rgba(244,164,96,0.18);
  border-radius: 10px;
  padding: 12px;
  text-align: center;
}

.ui8e-feature .material-icons,
.ui8e-feature .fas,
.ui8e-feature .bi {
  font-size: 24px;
  color: var(--ui8e-sandy);
  margin-bottom: 6px;
}

.ui8e-feature h4 { margin: 0 0 4px; font-size: 1.2rem; color: var(--ui8e-blush); }
.ui8e-feature span { font-size: 1.1rem; color: var(--ui8e-muted); }

.ui8e-list { padding-left: 18px; margin: 8px 0; color: var(--ui8e-muted); font-size: 1.25rem; }
.ui8e-list li { margin-bottom: 5px; }

/* RTP compact table */
.ui8e-rtp-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 1.2rem;
}

.ui8e-rtp-table th, .ui8e-rtp-table td {
  padding: 8px 6px;
  border-bottom: 1px solid rgba(244,164,96,0.18);
  text-align: left;
}

.ui8e-rtp-table th { color: var(--ui8e-blush); }
.ui8e-rtp-table td { color: var(--ui8e-muted); }
.ui8e-rtp-table .ui8e-rtp-hot { color: var(--ui8e-coral); font-weight: 700; }

/* Testimonials */
.ui8e-testi {
  background: linear-gradient(135deg, rgba(139,115,85,0.18), rgba(255,138,128,0.08));
  border-left: 3px solid var(--ui8e-coral);
  border-radius: 10px;
  padding: 12px;
  margin-bottom: 10px;
  font-size: 1.2rem;
  color: var(--ui8e-text);
}

.ui8e-testi b { color: var(--ui8e-sandy); }

/* Winners */
.ui8e-winner-list { display: grid; gap: 6px; }
.ui8e-winner {
  display: flex;
  justify-content: space-between;
  background: rgba(0,0,0,0.25);
  padding: 8px 10px;
  border-radius: 8px;
  font-size: 1.15rem;
}
.ui8e-winner b { color: var(--ui8e-gold); }

/* Payments */
.ui8e-pay-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.ui8e-pay {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(244,164,96,0.2);
  border-radius: 8px;
  padding: 8px 10px;
  font-size: 1.15rem;
  color: var(--ui8e-text);
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

/* CTA block */
.ui8e-cta {
  background: linear-gradient(135deg, var(--ui8e-coral), var(--ui8e-sandy));
  border-radius: 14px;
  padding: 22px 16px;
  text-align: center;
  color: #1c1c1c;
  box-shadow: var(--ui8e-shadow);
}

.ui8e-cta h3 { color: #1c1c1c; margin-bottom: 6px; }
.ui8e-cta p { color: #2c2118; margin: 0 0 12px; font-size: 1.25rem; }
.ui8e-cta .ui8e-btn { background: #1c1c1c; color: var(--ui8e-blush); }

/* Inline promo text link */
.ui8e-link-text {
  color: var(--ui8e-coral);
  font-weight: 700;
  text-decoration: underline;
  cursor: pointer;
}

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

/* ---------- Footer ---------- */
.ui8e-footer {
  background: #161310;
  border-top: 1px solid rgba(244,164,96,0.2);
  padding: 24px 14px calc(var(--ui8e-bnav-h) + 22px);
  font-size: 1.2rem;
  color: var(--ui8e-muted);
}

.ui8e-footer-brand { color: var(--ui8e-blush); margin-bottom: 10px; font-size: 1.5rem; font-weight: 700; }

.ui8e-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 12px 0;
}

.ui8e-footer-links a {
  background: rgba(244,164,96,0.07);
  border: 1px solid rgba(244,164,96,0.18);
  padding: 6px 10px;
  border-radius: 8px;
  color: var(--ui8e-text);
  font-size: 1.15rem;
}

.ui8e-footer-cta { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0; }

.ui8e-copy { margin-top: 10px; font-size: 1.1rem; color: #7a7268; }

/* ---------- Mobile bottom nav ---------- */
.ui8e-bnav {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  height: var(--ui8e-bnav-h);
  background: linear-gradient(180deg, #241d17 0%, #161310 100%);
  border-top: 1px solid rgba(244,164,96,0.3);
  display: flex;
  justify-content: space-around;
  align-items: stretch;
  z-index: 1000;
  padding-bottom: env(safe-area-inset-bottom, 0);
}

.ui8e-bnav-btn {
  flex: 1;
  min-width: 60px;
  min-height: 60px;
  background: transparent;
  border: 0;
  color: var(--ui8e-muted);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  cursor: pointer;
  font-size: 1.05rem;
  position: relative;
  transition: color 0.2s ease, transform 0.15s ease;
}

.ui8e-bnav-btn .material-icons,
.ui8e-bnav-btn .fas,
.ui8e-bnav-btn .far,
.ui8e-bnav-btn .ion {
  font-size: 22px;
}

.ui8e-bnav-btn:hover { color: var(--ui8e-coral); }
.ui8e-bnav-btn:active { transform: scale(0.92); }

.ui8e-bnav-btn.ui8e-navbtn-active {
  color: var(--ui8e-sandy);
}

.ui8e-bnav-btn.ui8e-navbtn-active::before {
  content: "";
  position: absolute;
  top: 0; left: 30%; right: 30%;
  height: 3px;
  border-radius: 0 0 4px 4px;
  background: linear-gradient(90deg, var(--ui8e-coral), var(--ui8e-sandy));
}

.ui8e-bnav-btn.ui8e-nav-promo {
  color: var(--ui8e-blush);
}

.ui8e-bnav-btn .ui8e-badge {
  position: absolute;
  top: 6px; right: 18px;
  background: var(--ui8e-coral);
  color: #1c1c1c;
  font-size: 0.85rem;
  font-weight: 700;
  border-radius: 999px;
  padding: 1px 5px;
  min-width: 14px;
  text-align: center;
}

/* ---------- Desktop ---------- */
@media (min-width: 769px) {
  .ui8e-bnav { display: none; }
  .ui8e-wrapper { max-width: 760px; }
  main.ui8e-main { padding-bottom: 40px; }
  .ui8e-footer { padding-bottom: 24px; }
}

@media (max-width: 768px) {
  main.ui8e-main { padding-bottom: calc(var(--ui8e-bnav-h) + 24px); }
}

/* Utility */
.ui8e-center { text-align: center; }
.ui8e-mt8 { margin-top: 8px; }
.ui8e-promo-inline {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--ui8e-coral);
  font-weight: 700;
  cursor: pointer;
}
