@charset "UTF-8";
/*!
 * mm88u top - theme-88ed.css
 * Palette: #2E4057 (deep background) | #DB7093 (pink accent) | #F0F0F0 (light text)
 * All custom classes use the `s88e-` prefix.
 * Mobile-first: max-width 430px optimized, scales up to desktop.
 */

:root {
  --s88e-bg: #2E4057;
  --s88e-bg-2: #243345;
  --s88e-bg-3: #1a2532;
  --s88e-pink: #DB7093;
  --s88e-pink-2: #e88aa8;
  --s88e-light: #F0F0F0;
  --s88e-muted: #b9c4d0;
  --s88e-gold: #f2c14e;
  --s88e-card: #ffffff;
  --s88e-shadow: 0 8px 24px rgba(0, 0, 0, 0.28);
  --s88e-radius: 14px;
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  font-family: "Be Vietnam Pro", "Segoe UI", Roboto, Arial, sans-serif;
  background: linear-gradient(160deg, var(--s88e-bg) 0%, var(--s88e-bg-2) 60%, var(--s88e-bg-3) 100%);
  color: var(--s88e-light);
  line-height: 1.55;
  font-size: 15px;
  overflow-x: hidden;
}

a { color: var(--s88e-pink-2); text-decoration: none; }
a:hover { color: var(--s88e-light); }
img { max-width: 100%; display: block; }

.s88e-container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 14px;
}

/* ============ HEADER ============ */
.s88e-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: linear-gradient(90deg, var(--s88e-bg-3), var(--s88e-bg));
  border-bottom: 2px solid var(--s88e-pink);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.35);
}
.s88e-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 14px;
}
.s88e-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  font-size: 20px;
  color: var(--s88e-light);
  letter-spacing: 0.5px;
}
.s88e-logo .s88e-logo-mark {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--s88e-pink), var(--s88e-gold));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 18px;
  box-shadow: 0 3px 8px rgba(219, 112, 147, 0.55);
}
.s88e-logo span.s88e-logo-accent { color: var(--s88e-pink-2); }

.s88e-header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}
.s88e-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 16px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 14px;
  border: none;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
}
.s88e-btn:hover { transform: translateY(-1px); filter: brightness(1.08); }
.s88e-btn-primary {
  background: linear-gradient(135deg, var(--s88e-pink), #c25b7d);
  color: #fff;
  box-shadow: 0 4px 14px rgba(219, 112, 147, 0.5);
}
.s88e-btn-ghost {
  background: transparent;
  color: var(--s88e-light);
  border: 1.5px solid var(--s88e-pink);
}
.s88e-menu-btn {
  background: transparent;
  border: none;
  color: var(--s88e-light);
  font-size: 22px;
  padding: 6px 10px;
  cursor: pointer;
}

/* ============ MOBILE MENU ============ */
.s88e-mobile-menu {
  position: fixed;
  top: 60px;
  left: 0;
  right: 0;
  background: var(--s88e-bg-2);
  border-bottom: 2px solid var(--s88e-pink);
  transform: translateY(-130%);
  transition: transform 0.32s ease;
  z-index: 9999;
  padding: 14px 16px 22px;
  max-height: 75vh;
  overflow-y: auto;
}
.s88e-mobile-menu.s88e-menu-open { transform: translateY(0); }
.s88e-mobile-menu a {
  display: block;
  padding: 12px 6px;
  color: var(--s88e-light);
  border-bottom: 1px solid rgba(240, 240, 240, 0.08);
  font-weight: 600;
}
.s88e-mobile-menu a:hover { color: var(--s88e-pink-2); padding-left: 12px; }

/* ============ HERO / CAROUSEL ============ */
.s88e-hero {
  position: relative;
  margin: 14px 0;
  border-radius: var(--s88e-radius);
  overflow: hidden;
  box-shadow: var(--s88e-shadow);
}
.s88e-slides { position: relative; }
.s88e-slide {
  display: none;
  position: relative;
  min-height: 220px;
  padding: 26px 20px;
  background-size: cover;
  background-position: center;
}
.s88e-slide::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(26, 37, 50, 0.92) 0%, rgba(26, 37, 50, 0.35) 100%);
}
.s88e-slide-active { display: block; animation: s88efade 0.6s ease; }
@keyframes s88efade { from { opacity: 0.4; } to { opacity: 1; } }
.s88e-slide-content {
  position: relative;
  max-width: 80%;
}
.s88e-slide-content h2 {
  font-size: 24px;
  margin: 0 0 8px;
  color: #fff;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
}
.s88e-slide-content p {
  margin: 0 0 14px;
  color: var(--s88e-muted);
  font-size: 14px;
}
.s88e-slide-dots {
  position: absolute;
  bottom: 10px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 6px;
  z-index: 2;
}
.s88e-slide-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(240, 240, 240, 0.4);
  cursor: pointer;
  border: none;
}
.s88e-dot-active { background: var(--s88e-pink); width: 22px; border-radius: 5px; }

/* ============ SECTIONS ============ */
.s88e-section {
  padding: 22px 0;
}
.s88e-section-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  font-weight: 800;
  margin: 0 0 14px;
  color: var(--s88e-light);
}
.s88e-section-title::before {
  content: "";
  width: 5px;
  height: 22px;
  background: linear-gradient(180deg, var(--s88e-pink), var(--s88e-gold));
  border-radius: 3px;
}
.s88e-section-title .s88e-more {
  margin-left: auto;
  font-size: 13px;
  font-weight: 600;
  color: var(--s88e-pink-2);
}

/* ============ CATEGORY CHIPS ============ */
.s88e-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}
.s88e-chip {
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(240, 240, 240, 0.08);
  color: var(--s88e-light);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid rgba(240, 240, 240, 0.12);
  transition: all 0.18s ease;
}
.s88e-chip:hover { background: rgba(219, 112, 147, 0.25); }
.s88e-chip-active {
  background: linear-gradient(135deg, var(--s88e-pink), #c25b7d);
  color: #fff;
  border-color: transparent;
}

/* ============ GAME GRID ============ */
.s88e-game-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.s88e-game-card {
  background: var(--s88e-card);
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  position: relative;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.s88e-game-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 22px rgba(219, 112, 147, 0.35);
}
.s88e-game-thumb {
  aspect-ratio: 1 / 1;
  background: #1a2532;
  overflow: hidden;
}
.s88e-game-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.s88e-game-name {
  padding: 7px 6px;
  font-size: 11px;
  font-weight: 700;
  color: #2E4057;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.s88e-game-badge {
  position: absolute;
  top: 6px;
  left: 6px;
  background: var(--s88e-pink);
  color: #fff;
  font-size: 9px;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 4px;
  text-transform: uppercase;
}
.s88e-game-play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(46, 64, 87, 0.78);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  opacity: 0;
  transition: opacity 0.2s ease;
}
.s88e-game-card:hover .s88e-game-play { opacity: 1; }

/* ============ FEATURED BLOCK ============ */
.s88e-featured {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}
.s88e-feature-card {
  display: flex;
  gap: 12px;
  background: linear-gradient(135deg, rgba(219, 112, 147, 0.18), rgba(242, 193, 78, 0.1));
  border: 1px solid rgba(219, 112, 147, 0.4);
  padding: 14px;
  border-radius: var(--s88e-radius);
  align-items: center;
}
.s88e-feature-card img {
  width: 78px;
  height: 78px;
  border-radius: 10px;
  object-fit: cover;
  flex-shrink: 0;
}
.s88e-feature-card h3 {
  margin: 0 0 4px;
  font-size: 16px;
  color: var(--s88e-light);
}
.s88e-feature-card p {
  margin: 0 0 8px;
  font-size: 13px;
  color: var(--s88e-muted);
}

/* ============ SEO TEXT ============ */
.s88e-seo-text {
  background: rgba(240, 240, 240, 0.05);
  border-radius: var(--s88e-radius);
  padding: 20px 16px;
  border: 1px solid rgba(240, 240, 240, 0.08);
}
.s88e-seo-text h2 {
  font-size: 19px;
  margin: 18px 0 10px;
  color: var(--s88e-pink-2);
}
.s88e-seo-text h2:first-child { margin-top: 0; }
.s88e-seo-text h3 {
  font-size: 16px;
  margin: 14px 0 6px;
  color: var(--s88e-light);
}
.s88e-seo-text p {
  margin: 0 0 10px;
  color: var(--s88e-muted);
  font-size: 14px;
}
.s88e-seo-text ul, .s88e-seo-text ol {
  padding-left: 20px;
  margin: 0 0 12px;
  color: var(--s88e-muted);
}
.s88e-seo-text li { margin-bottom: 5px; }
.s88e-seo-text strong { color: var(--s88e-light); }

/* ============ FAQ ============ */
.s88e-faq-item {
  background: rgba(240, 240, 240, 0.05);
  border: 1px solid rgba(240, 240, 240, 0.08);
  border-radius: 10px;
  margin-bottom: 8px;
  overflow: hidden;
}
.s88e-faq-q {
  padding: 14px 14px 14px 16px;
  cursor: pointer;
  font-weight: 700;
  color: var(--s88e-light);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}
.s88e-faq-q .s88e-faq-icon { color: var(--s88e-pink); font-size: 16px; }
.s88e-faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  padding: 0 16px;
  color: var(--s88e-muted);
  font-size: 14px;
}
.s88e-faq-open .s88e-faq-a {
  max-height: 360px;
  padding: 0 16px 14px;
}
.s88e-faq-open .s88e-faq-icon { transform: rotate(45deg); }

/* ============ FOOTER ============ */
.s88e-footer {
  background: var(--s88e-bg-3);
  border-top: 2px solid var(--s88e-pink);
  padding: 26px 0 30px;
  margin-top: 24px;
  color: var(--s88e-muted);
  font-size: 13px;
}
.s88e-footer-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.s88e-footer-col h4 {
  color: var(--s88e-light);
  font-size: 15px;
  margin: 0 0 10px;
}
.s88e-footer-col a {
  display: block;
  padding: 4px 0;
  color: var(--s88e-muted);
}
.s88e-footer-col a:hover { color: var(--s88e-pink-2); }
.s88e-footer-bottom {
  text-align: center;
  border-top: 1px solid rgba(240, 240, 240, 0.08);
  margin-top: 18px;
  padding-top: 14px;
  font-size: 12px;
  color: var(--s88e-muted);
}

/* ============ BOTTOM NAV ============ */
.s88e-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 62px;
  background: linear-gradient(180deg, var(--s88e-bg-2), var(--s88e-bg-3));
  border-top: 2px solid var(--s88e-pink);
  display: flex;
  justify-content: space-around;
  align-items: center;
  z-index: 1000;
  box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.4);
}
.s88e-bnav-btn {
  flex: 1;
  min-width: 60px;
  min-height: 60px;
  background: transparent;
  border: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  color: var(--s88e-muted);
  cursor: pointer;
  font-size: 10px;
  font-weight: 600;
  transition: color 0.2s ease, transform 0.2s ease;
}
.s88e-bnav-btn .s88e-bnav-icon { font-size: 22px; line-height: 1; }
.s88e-bnav-btn:hover { color: var(--s88e-pink-2); transform: translateY(-2px); }
.s88e-bnav-current { color: var(--s88e-pink) !important; }
.s88e-bnav-btn.s88e-bnav-promo {
  color: var(--s88e-gold);
}
.s88e-bnav-btn.s88e-bnav-promo .s88e-bnav-icon {
  background: linear-gradient(135deg, var(--s88e-pink), var(--s88e-gold));
  color: #fff;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  margin-top: -18px;
  box-shadow: 0 4px 12px rgba(219, 112, 147, 0.6);
  border: 3px solid var(--s88e-bg-3);
}

/* ============ FLOATING BACK-TO-TOP ============ */
.s88e-to-top {
  position: fixed;
  right: 14px;
  bottom: 76px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--s88e-pink), var(--s88e-gold));
  color: #fff;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
  z-index: 999;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}
.s88e-to-top-show { opacity: 1; pointer-events: auto; }
.s88e-to-top:hover { transform: translateY(-3px); }

/* ============ MAIN PADDING FOR MOBILE NAV ============ */
main { padding-bottom: 80px; }

/* ============ TABLET / DESKTOP ============ */
@media (min-width: 600px) {
  .s88e-game-grid { grid-template-columns: repeat(4, 1fr); }
  .s88e-featured { grid-template-columns: 1fr 1fr; }
  .s88e-footer-cols { grid-template-columns: 1fr 1fr 1fr 1fr; }
}
@media (min-width: 769px) {
  body { font-size: 16px; }
  .s88e-menu-btn { display: none; }
  .s88e-mobile-menu { display: none; }
  .s88e-bottom-nav { display: none; }
  main { padding-bottom: 0; }
  .s88e-game-grid { grid-template-columns: repeat(6, 1fr); }
  .s88e-slide { min-height: 320px; padding: 50px 60px; }
  .s88e-slide-content h2 { font-size: 36px; }
  .s88e-slide-content p { font-size: 16px; }
  .s88e-section-title { font-size: 24px; }
  /* Desktop top nav links */
  .s88e-desktop-nav {
    display: flex !important;
    gap: 22px;
    align-items: center;
  }
  .s88e-desktop-nav a {
    color: var(--s88e-light);
    font-weight: 600;
    font-size: 14px;
  }
  .s88e-desktop-nav a:hover { color: var(--s88e-pink-2); }
}
.s88e-desktop-nav { display: none; }

.s88e-hidden { display: none !important; }
