/* ==========================================================
   app 888p - design-6e86.css
   Prefix: w6e86-
   Palette: #B2DFDB | #1B263B | #F5DEB3 | #CD853F | #E0FFFF
   Mobile-first, max-width 430px
   ========================================================== */

:root {
  --c-mint: #B2DFDB;
  --c-navy: #1B263B;
  --c-navy-2: #243349;
  --c-navy-3: #2d3f5a;
  --c-wheat: #F5DEB3;
  --c-sand: #CD853F;
  --c-ice: #E0FFFF;
  --c-gold: #FFD56b;
  --c-text: #E6EEF5;
  --c-muted: #9fb1c4;
  --c-line: rgba(224, 255, 255, 0.10);
  --radius: 14px;
  --shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
}

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

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

body {
  font-family: "Segoe UI", "Roboto", "Helvetica Neue", Arial, "Be Vietnam Pro", sans-serif;
  background: radial-gradient(circle at top, #243349 0%, #1B263B 55%, #131c2c 100%);
  color: var(--c-text);
  line-height: 1.5rem;
  font-size: 1.4rem;
  min-height: 100vh;
  overflow-x: hidden;
}

a { color: var(--c-wheat); text-decoration: none; transition: color .2s; }
a:hover { color: var(--c-gold); }
img { max-width: 100%; display: block; }

/* ===== Header ===== */
.w6e86-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: linear-gradient(180deg, rgba(27,38,59,0.96), rgba(27,38,59,0.88));
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--c-line);
  box-shadow: var(--shadow);
}
.w6e86-header-inner {
  max-width: 430px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  gap: 8px;
}
.w6e86-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  font-size: 1.7rem;
  color: var(--c-ice);
  letter-spacing: .3px;
}
.w6e86-logo .w6e86-logo-badge {
  width: 34px; height: 34px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--c-sand), var(--c-wheat));
  display: flex; align-items: center; justify-content: center;
  color: var(--c-navy);
  font-size: 1.5rem;
  box-shadow: 0 3px 8px rgba(205,133,63,.35);
}
.w6e86-logo small {
  display: block;
  font-size: 1.0rem;
  font-weight: 500;
  color: var(--c-mint);
  letter-spacing: 1px;
}
.w6e86-header-btns { display: flex; gap: 8px; align-items: center; }
.w6e86-btn {
  border: none;
  cursor: pointer;
  font-weight: 700;
  font-size: 1.25rem;
  padding: 9px 16px;
  border-radius: 30px;
  transition: transform .15s, box-shadow .2s, filter .2s;
  white-space: nowrap;
}
.w6e86-btn:active { transform: scale(0.96); }
.w6e86-btn-login {
  background: transparent;
  color: var(--c-ice);
  border: 1.5px solid var(--c-mint);
}
.w6e86-btn-login:hover { background: rgba(178,223,219,.12); }
.w6e86-btn-register {
  background: linear-gradient(135deg, var(--c-sand), var(--c-gold));
  color: var(--c-navy);
  box-shadow: 0 4px 12px rgba(205,133,63,.45);
}
.w6e86-btn-register:hover { filter: brightness(1.08); }

/* Hamburger */
.w6e86-menu-toggle {
  background: transparent;
  border: none;
  color: var(--c-ice);
  font-size: 2.0rem;
  cursor: pointer;
  padding: 4px 6px;
  display: flex; align-items: center; justify-content: center;
}

/* ===== Mobile slide menu ===== */
.w6e86-mobile-menu {
  position: fixed;
  top: 0; right: -85%;
  width: 85%; max-width: 320px;
  height: 100vh;
  background: linear-gradient(180deg, #1B263B, #131c2c);
  z-index: 9999;
  padding: 22px 18px;
  transition: right .3s ease;
  overflow-y: auto;
  border-left: 1px solid var(--c-line);
}
.w6e86-mobile-menu.w6e86-open { right: 0; }
.w6e86-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,.55);
  z-index: 9998;
  opacity: 0; pointer-events: none;
  transition: opacity .25s;
}
.w6e86-overlay.w6e86-open { opacity: 1; pointer-events: auto; }
.w6e86-menu-head {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 18px;
}
.w6e86-menu-head h3 { color: var(--c-ice); font-size: 1.6rem; }
.w6e86-menu-close {
  background: transparent; border: none; color: var(--c-mint);
  font-size: 2.2rem; cursor: pointer;
}
.w6e86-menu-list { list-style: none; display: flex; flex-direction: column; gap: 4px; }
.w6e86-menu-list a, .w6e86-menu-list button {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 12px;
  border-radius: 10px;
  color: var(--c-text);
  font-size: 1.35rem;
  background: transparent;
  border: none;
  cursor: pointer;
  width: 100%;
  text-align: left;
}
.w6e86-menu-list a:hover, .w6e86-menu-list button:hover {
  background: rgba(178,223,219,.10);
  color: var(--c-ice);
}
.w6e86-menu-list i, .w6e86-menu-list span.iconify { width: 22px; color: var(--c-wheat); font-size: 1.6rem; }

/* ===== Layout containers ===== */
.w6e86-container {
  max-width: 430px;
  margin: 0 auto;
  padding: 14px;
}
main { padding-bottom: 90px; }

/* ===== Hero ===== */
.w6e86-hero {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  margin-bottom: 18px;
  background: linear-gradient(135deg, #243349, #131c2c);
  border: 1px solid var(--c-line);
  box-shadow: var(--shadow);
}
.w6e86-hero-slides { position: relative; min-height: 230px; }
.w6e86-hero-slide {
  display: none;
  padding: 26px 20px;
  min-height: 230px;
  flex-direction: column;
  justify-content: center;
}
.w6e86-hero-slide.w6e86-active { display: flex; animation: w6e86-fade .6s ease; }
@keyframes w6e86-fade { from { opacity: 0; transform: translateY(8px);} to {opacity:1; transform:none;} }
.w6e86-hero-tag {
  display: inline-block;
  background: rgba(205,133,63,.18);
  color: var(--c-wheat);
  border: 1px solid rgba(205,133,63,.4);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: .5px;
  width: fit-content;
  margin-bottom: 10px;
}
.w6e86-hero h1 {
  font-size: 2.2rem;
  line-height: 1.25;
  color: var(--c-ice);
  margin-bottom: 10px;
}
.w6e86-hero h1 b { color: var(--c-gold); }
.w6e86-hero p { font-size: 1.25rem; color: var(--c-muted); margin-bottom: 14px; }
.w6e86-hero-cta { display: flex; gap: 8px; flex-wrap: wrap; }
.w6e86-hero-dots {
  position: absolute; bottom: 10px; left: 0; right: 0;
  display: flex; justify-content: center; gap: 6px;
}
.w6e86-hero-dots span {
  width: 7px; height: 7px; border-radius: 50%;
  background: rgba(224,255,255,.35);
}
.w6e86-hero-dots span.w6e86-active { background: var(--c-gold); width: 18px; border-radius: 6px; }

/* ===== Quick stats ===== */
.w6e86-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-bottom: 18px;
}
.w6e86-stat {
  background: var(--c-navy-2);
  border: 1px solid var(--c-line);
  border-radius: 12px;
  padding: 10px 4px;
  text-align: center;
}
.w6e86-stat b { display: block; color: var(--c-gold); font-size: 1.5rem; font-weight: 800; }
.w6e86-stat span { color: var(--c-muted); font-size: 1.0rem; }

/* ===== Section ===== */
.w6e86-section { margin-bottom: 22px; }
.w6e86-section-head {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 12px;
}
.w6e86-section-title {
  display: flex; align-items: center; gap: 8px;
  font-size: 1.55rem; font-weight: 800; color: var(--c-ice);
}
.w6e86-section-title i { color: var(--c-sand); font-size: 1.7rem; }
.w6e86-section-more { font-size: 1.1rem; color: var(--c-mint); font-weight: 600; }

/* ===== Category chips ===== */
.w6e86-chips {
  display: flex; gap: 8px; overflow-x: auto;
  padding-bottom: 8px; margin-bottom: 6px;
  scrollbar-width: none;
}
.w6e86-chips::-webkit-scrollbar { display: none; }
.w6e86-chip {
  flex: 0 0 auto;
  padding: 8px 14px;
  border-radius: 20px;
  background: var(--c-navy-2);
  border: 1px solid var(--c-line);
  color: var(--c-muted);
  font-size: 1.15rem; font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
}
.w6e86-chip.w6e86-active {
  background: linear-gradient(135deg, var(--c-sand), var(--c-wheat));
  color: var(--c-navy);
  border-color: transparent;
}

/* ===== Game grid ===== */
.w6e86-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.w6e86-card {
  background: var(--c-navy-2);
  border: 1px solid var(--c-line);
  border-radius: 14px;
  overflow: hidden;
  position: relative;
  transition: transform .15s, box-shadow .2s, border-color .2s;
}
.w6e86-card:hover { transform: translateY(-3px); border-color: rgba(205,133,63,.5); box-shadow: var(--shadow); }
.w6e86-card-img {
  aspect-ratio: 1 / 1;
  background: linear-gradient(135deg, #2d3f5a, #1B263B);
  display: flex; align-items: center; justify-content: center;
}
.w6e86-card-img img { width: 100%; height: 100%; object-fit: cover; }
.w6e86-card-body { padding: 8px 10px; }
.w6e86-card-title {
  font-size: 1.15rem; font-weight: 600; color: var(--c-ice);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.w6e86-card-tag {
  display: inline-block; font-size: .95rem; color: var(--c-mint);
  margin-top: 2px;
}
.w6e86-card-badge {
  position: absolute; top: 6px; left: 6px;
  background: rgba(205,133,63,.92);
  color: var(--c-navy);
  font-size: .95rem; font-weight: 800;
  padding: 2px 8px; border-radius: 8px;
}
.w6e86-card-play {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  background: rgba(13,20,33,.55);
  opacity: 0; transition: opacity .2s;
  cursor: pointer;
}
.w6e86-card:hover .w6e86-card-play { opacity: 1; }
.w6e86-card-play i { color: var(--c-gold); font-size: 3rem; }

/* ===== Featured blocks ===== */
.w6e86-feature {
  display: flex; gap: 12px; align-items: stretch;
  background: linear-gradient(135deg, #2d3f5a, #1B263B);
  border: 1px solid var(--c-line);
  border-radius: 14px;
  padding: 12px;
  margin-bottom: 10px;
}
.w6e86-feature-img { width: 90px; flex: 0 0 90px; border-radius: 10px; overflow: hidden; }
.w6e86-feature-img img { width: 100%; height: 100%; object-fit: cover; }
.w6e86-feature-body { flex: 1; display: flex; flex-direction: column; justify-content: center; }
.w6e86-feature-body h4 { color: var(--c-ice); font-size: 1.35rem; margin-bottom: 4px; }
.w6e86-feature-body p { color: var(--c-muted); font-size: 1.1rem; margin-bottom: 8px; }
.w6e86-feature-body .w6e86-mini-btn {
  background: rgba(205,133,63,.18);
  color: var(--c-wheat);
  border: 1px solid rgba(205,133,63,.4);
  padding: 5px 12px;
  border-radius: 16px;
  font-size: 1.05rem; font-weight: 700;
  width: fit-content;
}

/* ===== Promo banner ===== */
.w6e86-promo {
  background: linear-gradient(135deg, #CD853F, #B2DFDB);
  border-radius: 16px;
  padding: 16px;
  color: var(--c-navy);
  margin-bottom: 20px;
  position: relative;
  overflow: hidden;
}
.w6e86-promo h3 { font-size: 1.5rem; margin-bottom: 6px; }
.w6e86-promo p { font-size: 1.15rem; margin-bottom: 10px; }
.w6e86-promo .w6e86-btn { background: var(--c-navy); color: var(--c-ice); }

/* ===== SEO content ===== */
.w6e86-seo {
  background: var(--c-navy-2);
  border: 1px solid var(--c-line);
  border-radius: 14px;
  padding: 16px;
  margin-bottom: 18px;
}
.w6e86-seo h2 {
  font-size: 1.55rem; color: var(--c-ice);
  margin: 14px 0 8px;
  display: flex; align-items: center; gap: 8px;
}
.w6e86-seo h2:first-child { margin-top: 0; }
.w6e86-seo h2 i { color: var(--c-sand); }
.w6e86-seo h3 { font-size: 1.3rem; color: var(--c-wheat); margin: 10px 0 6px; }
.w6e86-seo p { font-size: 1.2rem; color: var(--c-muted); margin-bottom: 10px; }
.w6e86-seo ul { padding-left: 20px; margin-bottom: 10px; }
.w6e86-seo li { font-size: 1.2rem; color: var(--c-muted); margin-bottom: 4px; }
.w6e86-seo strong, .w6e86-seo b { color: var(--c-ice); }

/* ===== FAQ ===== */
.w6e86-faq-item {
  border-bottom: 1px solid var(--c-line);
  padding: 10px 0;
}
.w6e86-faq-q {
  display: flex; justify-content: space-between; align-items: center;
  cursor: pointer; font-weight: 700; color: var(--c-ice);
  font-size: 1.2rem;
}
.w6e86-faq-q i { color: var(--c-mint); transition: transform .2s; }
.w6e86-faq-item.w6e86-open .w6e86-faq-q i { transform: rotate(45deg); }
.w6e86-faq-a {
  max-height: 0; overflow: hidden;
  transition: max-height .25s ease;
  color: var(--c-muted); font-size: 1.15rem;
}
.w6e86-faq-item.w6e86-open .w6e86-faq-a { max-height: 400px; padding-top: 8px; }

/* ===== Footer ===== */
.w6e86-footer {
  background: #131c2c;
  border-top: 1px solid var(--c-line);
  padding: 22px 14px 14px;
  margin-top: 10px;
}
.w6e86-footer-inner { max-width: 430px; margin: 0 auto; }
.w6e86-footer-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
.w6e86-footer h4 { color: var(--c-ice); font-size: 1.2rem; margin-bottom: 8px; }
.w6e86-footer ul { list-style: none; }
.w6e86-footer ul li { margin-bottom: 5px; }
.w6e86-footer ul a { color: var(--c-muted); font-size: 1.1rem; }
.w6e86-footer-bottom {
  border-top: 1px solid var(--c-line);
  padding-top: 10px; text-align: center;
  color: var(--c-muted); font-size: 1.05rem;
}
.w6e86-footer-pay { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; margin: 10px 0; }
.w6e86-footer-pay span {
  background: var(--c-navy-2);
  color: var(--c-wheat);
  padding: 4px 10px; border-radius: 6px;
  font-size: 1.0rem; font-weight: 700;
  border: 1px solid var(--c-line);
}

/* ===== Mobile bottom nav ===== */
.w6e86-bottom-nav {
  position: fixed; bottom: 0; left: 0; right: 0;
  height: 62px;
  background: linear-gradient(180deg, rgba(36,51,73,.97), rgba(19,28,44,.98));
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--c-line);
  display: flex; justify-content: space-around; align-items: stretch;
  z-index: 1000;
  box-shadow: 0 -4px 14px rgba(0,0,0,.35);
}
.w6e86-bottom-nav button, .w6e86-bottom-nav a {
  flex: 1;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 2px;
  background: transparent; border: none;
  color: var(--c-muted);
  font-size: 1.0rem; font-weight: 600;
  cursor: pointer;
  min-width: 60px; min-height: 60px;
  text-decoration: none;
  position: relative;
  transition: color .2s;
}
.w6e86-bottom-nav button i,
.w6e86-bottom-nav a i,
.w6e86-bottom-nav .material-icons,
.w6e86-bottom-nav .ion {
  font-size: 2.2rem;
}
.w6e86-bottom-nav button.w6e86-active,
.w6e86-bottom-nav a.w6e86-active { color: var(--c-gold); }
.w6e86-bottom-nav button.w6e86-active::before,
.w6e86-bottom-nav a.w6e86-active::before {
  content: ""; position: absolute; top: 0;
  width: 32px; height: 3px;
  background: var(--c-gold); border-radius: 0 0 6px 6px;
}
.w6e86-bottom-nav .w6e86-nav-promo {
  background: linear-gradient(135deg, var(--c-sand), var(--c-gold));
  color: var(--c-navy);
  font-weight: 800;
  margin: -12px 6px 0;
  border-radius: 14px 14px 0 0;
  box-shadow: 0 -4px 10px rgba(205,133,63,.4);
}
.w6e86-bottom-nav .w6e86-nav-promo i,
.w6e86-bottom-nav .w6e86-nav-promo .material-icons { color: var(--c-navy); }

/* ===== Desktop ===== */
@media (min-width: 769px) {
  .w6e86-bottom-nav { display: none; }
  .w6e86-header-inner, .w6e86-container, .w6e86-footer-inner { max-width: 760px; }
  .w6e86-grid { grid-template-columns: repeat(5, 1fr); }
  .w6e86-stats { grid-template-columns: repeat(4, 1fr); }
  main { padding-bottom: 30px; }
}
@media (min-width: 431px) and (max-width: 768px) {
  .w6e86-bottom-nav { display: flex; }
}
