/* =========================================================
 * gamezone app - design.css
 * Mobile-first base stylesheet (max-width: 430px by default)
 * All custom classes use the "se98-" prefix
 * Code comments are written in English only
 * ========================================================= */

:root {
  --se98-bg: #0F0F23;
  --se98-primary: #00E5FF;
  --se98-primary-dark: #00b8cc;
  --se98-accent: #FFDFBA;
  --se98-green: #008000;
  --se98-text: #ffffff;
  --se98-muted: #aab2cf;
  --se98-card: #181a36;
  --se98-card-2: #202347;
  --se98-border: rgba(0, 229, 255, 0.18);
  --se98-radius: 14px;
  --se98-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

* { box-sizing: border-box; }
html { font-size: 62.5%; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: "Segoe UI", "Helvetica Neue", Arial, "Trebuchet MS", sans-serif;
  background: radial-gradient(1200px 600px at 50% -10%, #1b1d44 0%, var(--se98-bg) 60%);
  color: var(--se98-text);
  line-height: 1.5;
  font-size: 1.6rem;
  padding-top: 70px;
}
img { max-width: 100%; display: block; }
a { color: var(--se98-primary); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { margin: 0 0 .6em; line-height: 1.25; font-weight: 800; }
h1 { font-size: 2.4rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.7rem; }
p { margin: 0 0 1em; color: #e7eaf6; }

.se98-container { width: 100%; max-width: 430px; margin: 0 auto; padding: 0 14px; }
.se98-wrapper { padding: 18px 0; }
.se98-hidden { display: none !important; }
.se98-text-primary { color: var(--se98-primary); }
.se98-text-accent { color: var(--se98-accent); }
.se98-text-green { color: var(--se98-green); }
.se98-mt-1 { margin-top: 8px; } .se98-mt-2 { margin-top: 16px; } .se98-mt-3 { margin-top: 26px; }

/* ============ Header ============ */
.se98-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: linear-gradient(180deg, rgba(15,15,35,.96), rgba(15,15,35,.86));
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--se98-border);
}
.se98-header-scrolled { box-shadow: 0 6px 18px rgba(0,0,0,.45); }
.se98-header-row {
  max-width: 430px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 8px 14px; gap: 8px;
}
.se98-brand { display: flex; align-items: center; gap: 8px; min-width: 0; }
.se98-brand img { width: 30px; height: 30px; border-radius: 8px; }
.se98-brand-name { font-weight: 800; font-size: 1.55rem; color: var(--se98-primary); white-space: nowrap; }
.se98-header-actions { display: flex; align-items: center; gap: 8px; }
.se98-btn {
  border: 0; cursor: pointer; font-weight: 800; border-radius: 999px;
  padding: 8px 14px; font-size: 1.25rem; transition: transform .15s ease, box-shadow .2s ease;
  min-height: 36px; display: inline-flex; align-items: center; gap: 6px;
}
.se98-btn:hover { transform: translateY(-1px); text-decoration: none; }
.se98-btn-primary { background: linear-gradient(135deg, var(--se98-primary), #34f5ff); color: #002429; box-shadow: 0 6px 16px rgba(0,229,255,.35); }
.se98-btn-ghost { background: transparent; border: 1.5px solid var(--se98-primary); color: var(--se98-primary); }
.se98-btn-green { background: linear-gradient(135deg, var(--se98-green), #18b418); color: #fff; }
.se98-btn-accent { background: linear-gradient(135deg, var(--se98-accent), #ffd9a0); color: #4a2c00; }
.se98-menu-toggle {
  background: transparent; border: 0; color: var(--se98-text);
  width: 38px; height: 38px; font-size: 1.9rem; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
}
.se98-menu-toggle.se98-active { color: var(--se98-primary); }

.se98-mobile-menu {
  display: none; background: rgba(15,15,35,.98);
  border-bottom: 1px solid var(--se98-border);
  padding: 8px 14px 14px;
}
.se98-mobile-menu.se98-menu-open { display: block; }
.se98-mobile-menu a {
  display: block; padding: 11px 10px; border-radius: 10px;
  color: #d8dcf0; border-bottom: 1px solid rgba(255,255,255,.05);
}
.se98-mobile-menu a:hover { background: rgba(0,229,255,.08); color: var(--se98-primary); text-decoration: none; }

/* ============ Hero / Carousel ============ */
.se98-hero { position: relative; border-radius: 18px; overflow: hidden; box-shadow: var(--se98-shadow); }
.se98-carousel { position: relative; }
.se98-carousel-track { position: relative; }
.se98-carousel-slide {
  display: none; position: relative; cursor: pointer;
}
.se98-carousel-slide.se98-slide-active { display: block; }
.se98-carousel-slide img { width: 100%; height: 200px; object-fit: cover; border-radius: 18px; }
.se98-carousel-caption {
  position: absolute; left: 0; right: 0; bottom: 0;
  background: linear-gradient(0deg, rgba(0,0,0,.82), rgba(0,0,0,0));
  padding: 22px 16px 14px; border-radius: 0 0 18px 18px;
}
.se98-carousel-caption h2 { color: #fff; font-size: 1.7rem; margin: 0 0 4px; }
.se98-carousel-caption p { color: var(--se98-accent); margin: 0; font-size: 1.3rem; }
.se98-carousel-dots {
  position: absolute; bottom: 10px; left: 0; right: 0;
  display: flex; justify-content: center; gap: 6px;
}
.se98-carousel-dot {
  width: 9px; height: 9px; border-radius: 50%;
  background: rgba(255,255,255,.45); cursor: pointer; border: 0;
}
.se98-carousel-dot.se98-dot-active { background: var(--se98-primary); transform: scale(1.25); }

/* ============ Section blocks ============ */
.se98-section { margin: 26px 0; }
.se98-section-head {
  display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px;
}
.se98-section-title { display: flex; align-items: center; gap: 8px; color: #fff; }
.se98-section-title i, .se98-section-title .material-symbols-outlined { color: var(--se98-primary); }
.se98-section-more { font-size: 1.25rem; color: var(--se98-accent); }

.se98-card {
  background: var(--se98-card);
  border: 1px solid var(--se98-border);
  border-radius: var(--se98-radius);
  padding: 14px; box-shadow: var(--se98-shadow);
}
.se98-card h3 { color: var(--se98-primary); }
.se98-card.alt { background: var(--se98-card-2); }
.se98-card-list { list-style: none; padding: 0; margin: 0; }
.se98-card-list li { padding: 9px 0; border-bottom: 1px solid rgba(255,255,255,.06); }
.se98-card-list li:last-child { border-bottom: 0; }

/* ============ Filter chips ============ */
.se98-filter-bar { display: flex; gap: 8px; overflow-x: auto; padding: 4px 0 12px; }
.se98-filter-chip {
  flex: 0 0 auto; padding: 7px 14px; border-radius: 999px;
  background: var(--se98-card-2); color: #cfd4ee; font-size: 1.25rem;
  border: 1px solid var(--se98-border); cursor: pointer; white-space: nowrap;
}
.se98-filter-chip.se98-chip-active { background: var(--se98-primary); color: #002429; border-color: var(--se98-primary); }

/* ============ Game grid ============ */
.se98-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.se98-game {
  display: block; background: var(--se98-card);
  border: 1px solid var(--se98-border); border-radius: 12px;
  padding: 8px; text-align: center; cursor: pointer;
  transition: transform .15s ease, box-shadow .2s ease, border-color .2s ease;
}
.se98-game:hover { transform: translateY(-2px); border-color: var(--se98-primary); box-shadow: 0 8px 20px rgba(0,229,255,.25); text-decoration: none; }
.se98-game img { width: 100%; height: 72px; object-fit: cover; border-radius: 8px; margin-bottom: 6px; }
.se98-game-name { font-size: 1.15rem; color: #eef0fb; font-weight: 600; line-height: 1.25; word-break: break-word; }
.se98-game-tag {
  display: inline-block; font-size: 1rem; color: var(--se98-accent);
  background: rgba(255,223,186,.12); border-radius: 6px; padding: 1px 6px; margin-top: 4px;
}

/* ============ Promotional CTA ============ */
.se98-cta {
  background: linear-gradient(135deg, rgba(0,229,255,.16), rgba(0,128,0,.18));
  border: 1px solid var(--se98-border); border-radius: 16px;
  padding: 18px; text-align: center; margin: 22px 0;
}
.se98-cta h2 { color: var(--se98-primary); }
.se98-cta p { color: var(--se98-accent); }
.se98-cta .se98-btn { font-size: 1.4rem; padding: 11px 22px; }

/* ============ Feature list ============ */
.se98-feature-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.se98-feature {
  background: var(--se98-card); border: 1px solid var(--se98-border);
  border-radius: 12px; padding: 12px; text-align: center;
}
.se98-feature i, .se98-feature .material-symbols-outlined { font-size: 26px; color: var(--se98-primary); }
.se98-feature h4 { margin: 6px 0 4px; color: #fff; font-size: 1.35rem; }
.se98-feature p { font-size: 1.2rem; margin: 0; color: var(--se98-muted); }

/* ============ RTP / data ============ */
.se98-rtp-row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 9px 0; border-bottom: 1px dashed rgba(255,255,255,.08);
}
.se98-rtp-row:last-child { border-bottom: 0; }
.se98-rtp-bar {
  flex: 1; height: 7px; background: rgba(255,255,255,.08);
  border-radius: 5px; margin: 0 12px; overflow: hidden;
}
.se98-rtp-fill { display: block; height: 100%; background: linear-gradient(90deg, var(--se98-green), var(--se98-primary)); }

/* ============ Testimonials ============ */
.se98-testimonial { background: var(--se98-card); border-radius: 12px; padding: 12px; margin-bottom: 10px; border-left: 3px solid var(--se98-primary); }
.se98-testimonial .se98-stars { color: #ffd166; margin-bottom: 4px; }
.se98-testimonial p { margin: 0 0 6px; font-size: 1.3rem; }
.se98-testimonial .se98-author { font-size: 1.15rem; color: var(--se98-muted); }

/* ============ Payment / winners ============ */
.se98-payment-row { display: flex; flex-wrap: wrap; gap: 8px; }
.se98-payment-chip {
  background: var(--se98-card-2); border: 1px solid var(--se98-border);
  border-radius: 10px; padding: 8px 12px; font-size: 1.2rem; color: #e7eaf6;
}
.se98-winner-row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 8px 10px; background: var(--se98-card-2); border-radius: 10px; margin-bottom: 6px;
}
.se98-winner-name { font-weight: 700; color: #fff; font-size: 1.25rem; }
.se98-winner-amount { color: var(--se98-green); font-weight: 800; font-size: 1.3rem; }

/* ============ FAQ ============ */
.se98-faq-item { background: var(--se98-card); border: 1px solid var(--se98-border); border-radius: 10px; margin-bottom: 8px; padding: 12px; }
.se98-faq-q { font-weight: 700; color: var(--se98-primary); margin-bottom: 6px; font-size: 1.35rem; }
.se98-faq-a { font-size: 1.25rem; color: #dde1f4; margin: 0; }

/* ============ Footer ============ */
.se98-footer { background: #0a0a1c; border-top: 1px solid var(--se98-border); padding: 24px 14px 100px; margin-top: 30px; }
.se98-footer h4 { color: var(--se98-primary); margin-bottom: 10px; font-size: 1.45rem; }
.se98-footer-links { display: grid; grid-template-columns: repeat(2, 1fr); gap: 6px 10px; margin-bottom: 14px; }
.se98-footer-links a { color: #cfd4ee; font-size: 1.2rem; }
.se98-footer-promos { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0; }
.se98-footer-promos .se98-btn { font-size: 1.2rem; padding: 8px 14px; }
.se98-footer-copy { font-size: 1.1rem; color: var(--se98-muted); text-align: center; border-top: 1px solid rgba(255,255,255,.06); padding-top: 12px; }

/* ============ Bottom nav ============ */
.se98-bottomnav {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 1000;
  height: 62px; background: linear-gradient(180deg, #14163a, #0b0b20);
  border-top: 1px solid var(--se98-border);
  display: flex; justify-content: space-around; align-items: stretch;
}
.se98-bottomnav-item {
  flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center;
  color: #cfd4ee; font-size: 1rem; gap: 2px; background: transparent; border: 0; cursor: pointer;
  text-decoration: none; transition: color .15s ease, transform .15s ease;
  min-width: 60px; min-height: 60px;
}
.se98-bottomnav-item i, .se98-bottomnav-item .material-symbols-outlined { font-size: 24px; }
.se98-bottomnav-item:hover { color: var(--se98-primary); transform: translateY(-1px); text-decoration: none; }
.se98-bottomnav-item.se98-bn-active { color: var(--se98-primary); }
.se98-bottomnav-badge {
  position: relative;
}
.se98-bottomnav-badge::after {
  content: "5"; position: absolute; top: 4px; right: 18px;
  background: #ff4d6d; color: #fff; font-size: .9rem; font-weight: 700;
  width: 16px; height: 16px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
}

/* Reveal animation */
.se98-reveal { opacity: 0; transform: translateY(18px); transition: opacity .5s ease, transform .5s ease; }
.se98-reveal.se98-in { opacity: 1; transform: none; }

/* Desktop: hide bottom nav, widen container */
@media (min-width: 769px) {
  .se98-bottomnav { display: none; }
  .se98-container { max-width: 960px; }
  .se98-grid { grid-template-columns: repeat(6, 1fr); }
  .se98-feature-grid { grid-template-columns: repeat(4, 1fr); }
  body { padding-bottom: 0; }
}
/* Mobile bottom padding so content is not hidden behind bottom nav */
@media (max-width: 768px) {
  body { padding-bottom: 80px; }
}
