/* ============================================================
   mm88a.click - core stylesheet
   All custom classes use prefix: s79a-
   Palette: #DA70D6 (orchid) | #262626 (dark) | #800080 (purple)
   Mobile-first. Root font 62.5% -> 1rem = 10px
   ============================================================ */

:root {
  --s79a-orchid: #DA70D6;
  --s79a-dark:   #262626;
  --s79a-purple: #800080;
  --s79a-bg:     #1a1a1a;
  --s79a-bg2:    #2a2330;
  --s79a-card:   #312438;
  --s79a-text:   #f5e9f3;
  --s79a-muted:  #b9a7c4;
  --s79a-gold:   #ffd56b;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
  font-family: "Be Vietnam Pro", "Segoe UI", Roboto, system-ui, sans-serif;
  background: var(--s79a-bg);
  color: var(--s79a-text);
  line-height: 1.5;
  font-size: 1.5rem;
  max-width: 430px;
  margin: 0 auto;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: var(--s79a-orchid); text-decoration: none; }
a:hover { color: #f0a3ec; }

/* ===== Header ===== */
.s79a-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.8rem 1.2rem;
  background: linear-gradient(135deg, var(--s79a-dark) 0%, #3a1f3d 100%);
  border-bottom: 2px solid var(--s79a-purple);
  max-width: 430px;
  margin: 0 auto;
}
.s79a-logo {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--s79a-text);
  font-weight: 800;
  font-size: 2rem;
  letter-spacing: 0.5px;
}
.s79a-logo img { width: 30px; height: 30px; border-radius: 6px; }
.s79a-logo .s79a-logo-grad {
  background: linear-gradient(90deg, var(--s79a-orchid), var(--s79a-gold));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.s79a-head-actions { display: flex; align-items: center; gap: 0.6rem; }
.s79a-btn {
  border: none;
  border-radius: 999px;
  padding: 0.7rem 1.4rem;
  font-size: 1.35rem;
  font-weight: 700;
  cursor: pointer;
  min-height: 36px;
  transition: transform .15s ease, box-shadow .15s ease;
}
.s79a-btn:active { transform: scale(0.96); }
.s79a-btn-register {
  background: linear-gradient(90deg, var(--s79a-orchid), var(--s79a-purple));
  color: #fff;
  box-shadow: 0 3px 10px rgba(218,112,214,0.45);
}
.s79a-btn-login {
  background: transparent;
  color: var(--s79a-orchid);
  border: 1.5px solid var(--s79a-orchid);
}
.s79a-menu-btn {
  background: transparent;
  border: none;
  color: var(--s79a-text);
  font-size: 2rem;
  cursor: pointer;
  padding: 0.4rem 0.6rem;
  border-radius: 8px;
}
.s79a-menu-btn:hover { background: rgba(218,112,214,0.18); }

/* ===== Mobile dropdown menu ===== */
.s79a-mobile-menu {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0;
  background: var(--s79a-dark);
  border-bottom: 2px solid var(--s79a-purple);
  padding: 6rem 1.2rem 1.4rem;
  z-index: 9999;
  max-width: 430px;
  margin: 0 auto;
  max-height: 80vh;
  overflow-y: auto;
}
.s79a-mobile-menu.s79a-menu-open { display: block; }
.s79a-mobile-menu a {
  display: block;
  padding: 1rem 1.2rem;
  color: var(--s79a-text);
  border-bottom: 1px solid rgba(218,112,214,0.18);
  font-size: 1.5rem;
}
.s79a-mobile-menu a:hover { background: rgba(218,112,214,0.12); }
.s79a-menu-close {
  position: absolute;
  top: 1rem; right: 1rem;
  background: transparent;
  border: none;
  color: var(--s79a-text);
  font-size: 2.4rem;
  cursor: pointer;
}

/* ===== Hero carousel ===== */
.s79a-hero {
  position: relative;
  overflow: hidden;
  border-radius: 0 0 18px 18px;
}
.s79a-hero-slide {
  display: none;
  position: relative;
  padding: 2.2rem 1.6rem;
  background: linear-gradient(135deg, #4b1d52 0%, var(--s79a-purple) 60%, var(--s79a-dark) 100%);
}
.s79a-hero-slide.s79a-slide-active { display: block; }
.s79a-hero-title {
  font-size: 2.6rem; font-weight: 800; line-height: 1.15;
  color: #fff; margin-bottom: 0.6rem;
}
.s79a-hero-title em {
  font-style: normal;
  background: linear-gradient(90deg, var(--s79a-orchid), var(--s79a-gold));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.s79a-hero-sub { color: var(--s79a-text); font-size: 1.4rem; margin-bottom: 1.2rem; }
.s79a-hero-cta {
  display: inline-block;
  background: linear-gradient(90deg, var(--s79a-orchid), var(--s79a-gold));
  color: #1a1a1a;
  padding: 0.9rem 1.8rem;
  border-radius: 999px;
  font-weight: 800;
  font-size: 1.45rem;
}
.s79a-hero-dots {
  position: absolute; bottom: 8px; left: 0; right: 0;
  display: flex; justify-content: center; gap: 6px;
}
.s79a-hero-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: rgba(255,255,255,0.4);
}
.s79a-hero-dot.s79a-dot-active { background: var(--s79a-gold); }

/* ===== Section / category ===== */
.s79a-section { padding: 1.6rem 1.2rem 0.4rem; }
.s79a-section-title {
  display: flex; align-items: center; gap: 0.7rem;
  font-size: 1.85rem; font-weight: 800; color: var(--s79a-text);
  margin-bottom: 1rem;
  border-left: 4px solid var(--s79a-orchid);
  padding-left: 0.8rem;
}
.s79a-section-title i { color: var(--s79a-orchid); }
.s79a-section-title .s79a-more {
  margin-left: auto;
  font-size: 1.25rem; font-weight: 600;
  color: var(--s79a-orchid);
}

/* Quick category chips */
.s79a-chips {
  display: flex; gap: 0.7rem; overflow-x: auto;
  padding-bottom: 0.6rem; margin-bottom: 0.6rem;
  scrollbar-width: none;
}
.s79a-chips::-webkit-scrollbar { display: none; }
.s79a-chip {
  flex: 0 0 auto;
  padding: 0.55rem 1.2rem;
  background: var(--s79a-card);
  color: var(--s79a-text);
  border: 1px solid rgba(218,112,214,0.35);
  border-radius: 999px;
  font-size: 1.3rem; font-weight: 600; white-space: nowrap;
  cursor: pointer;
}

/* ===== Game grid ===== */
.s79a-game-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.8rem;
}
.s79a-game-card {
  background: var(--s79a-card);
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(218,112,214,0.18);
  cursor: pointer;
  transition: transform .15s ease, border-color .15s ease;
  display: flex; flex-direction: column;
}
.s79a-game-card:active { transform: scale(0.96); border-color: var(--s79a-orchid); }
.s79a-game-thumb {
  width: 100%; aspect-ratio: 1 / 1;
  background: linear-gradient(135deg, #3a2a44, #2a1a30);
  object-fit: cover;
}
.s79a-game-name {
  padding: 0.45rem 0.5rem;
  font-size: 1.15rem;
  text-align: center;
  color: var(--s79a-text);
  line-height: 1.25;
  min-height: 32px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

/* ===== Promo banner ===== */
.s79a-promo-banner {
  margin: 1.4rem 1.2rem;
  border-radius: 14px;
  padding: 1.4rem;
  background: linear-gradient(120deg, var(--s79a-purple), var(--s79a-orchid));
  color: #fff;
  display: flex; align-items: center; gap: 1rem;
  box-shadow: 0 6px 18px rgba(128,0,128,0.4);
}
.s79a-promo-banner i { font-size: 2.6rem; color: var(--s79a-gold); }
.s79a-promo-banner h3 { font-size: 1.6rem; margin-bottom: 0.2rem; }
.s79a-promo-banner p { font-size: 1.25rem; opacity: 0.95; }
.s79a-promo-banner .s79a-banner-go {
  margin-left: auto;
  background: #fff; color: var(--s79a-purple);
  padding: 0.6rem 1.2rem; border-radius: 999px;
  font-weight: 800; font-size: 1.3rem; white-space: nowrap;
}

/* ===== SEO content block ===== */
.s79a-content-block {
  background: var(--s79a-bg2);
  margin: 1.4rem 1.2rem;
  padding: 1.4rem 1.4rem;
  border-radius: 14px;
  border: 1px solid rgba(218,112,214,0.2);
}
.s79a-content-block h2 { font-size: 1.7rem; color: var(--s79a-orchid); margin-bottom: 0.6rem; }
.s79a-content-block h3 { font-size: 1.4rem; color: var(--s79a-text); margin: 0.8rem 0 0.4rem; }
.s79a-content-block p { font-size: 1.32rem; color: var(--s79a-muted); margin-bottom: 0.6rem; }
.s79a-content-block a { color: var(--s79a-orchid); font-weight: 600; }
.s79a-content-block ul { padding-left: 1.6rem; color: var(--s79a-muted); font-size: 1.32rem; }
.s79a-content-block li { margin-bottom: 0.4rem; }

/* ===== FAQ ===== */
.s79a-faq-item {
  border-bottom: 1px solid rgba(218,112,214,0.18);
  padding: 0.8rem 0;
}
.s79a-faq-item summary {
  cursor: pointer; font-weight: 700; color: var(--s79a-text);
  font-size: 1.35rem; list-style: none;
}
.s79a-faq-item summary::-webkit-details-marker { display: none; }
.s79a-faq-item summary::before { content: "▸ "; color: var(--s79a-orchid); }
.s79a-faq-item[open] summary::before { content: "▾ "; }
.s79a-faq-item p { color: var(--s79a-muted); margin-top: 0.4rem; font-size: 1.28rem; }

/* ===== Footer ===== */
.s79a-footer {
  background: var(--s79a-dark);
  border-top: 2px solid var(--s79a-purple);
  padding: 1.8rem 1.2rem 9rem;
  margin-top: 1.6rem;
}
.s79a-footer-cols {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1rem;
}
.s79a-footer h4 {
  color: var(--s79a-orchid); font-size: 1.4rem; margin-bottom: 0.6rem;
}
.s79a-footer ul { list-style: none; }
.s79a-footer li { margin-bottom: 0.45rem; }
.s79a-footer a { color: var(--s79a-muted); font-size: 1.25rem; }
.s79a-footer a:hover { color: var(--s79a-orchid); }
.s79a-footer-bottom {
  margin-top: 1.4rem; padding-top: 1rem;
  border-top: 1px solid rgba(218,112,214,0.18);
  color: var(--s79a-muted); font-size: 1.15rem; text-align: center;
}

/* ===== Mobile bottom nav ===== */
.s79a-bottom-nav {
  position: fixed;
  bottom: 0; left: 50%; transform: translateX(-50%);
  width: 100%; max-width: 430px;
  display: flex; justify-content: space-around;
  background: linear-gradient(180deg, #3a1f3d, var(--s79a-dark));
  border-top: 2px solid var(--s79a-purple);
  z-index: 1000;
  height: 62px;
}
.s79a-bottom-nav button, .s79a-bottom-nav a {
  flex: 1;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  background: transparent; border: none;
  color: var(--s79a-muted);
  font-size: 1.05rem; font-weight: 600;
  text-decoration: none;
  min-width: 60px; min-height: 60px;
  gap: 2px;
  transition: color .15s ease, transform .15s ease;
}
.s79a-bottom-nav button i, .s79a-bottom-nav a i { font-size: 2.1rem; }
.s79a-bottom-nav button:active, .s79a-bottom-nav a:active { transform: scale(0.92); }
.s79a-bottom-nav .s79a-nav-active { color: var(--s79a-orchid); }
.s79a-bottom-nav .s79a-nav-promo {
  color: var(--s79a-gold);
}

/* Desktop: hide bottom nav, widen layout */
@media (min-width: 769px) {
  body, .s79a-header, .s79a-mobile-menu, .s79a-bottom-nav { max-width: 430px; }
  .s79a-bottom-nav { display: none; }
  .s79a-footer { padding-bottom: 2rem; }
}

/* Mobile: clear bottom nav with padding */
@media (max-width: 768px) {
  .s79a-main { padding-bottom: 80px; }
}
