/* =========================================================
 * jilix.homes - design-fee0.css
 * All custom classes use the `v0b9-` prefix.
 * Palette: #B2DFDB / #2C2C2C / #00E5FF / #20B2AA / #E9ECEF
 * Mobile-first. Root font 62.5% for rem sizing.
 * ========================================================= */

:root {
  --v0b9-bg: #2C2C2C;
  --v0b9-bg-soft: #1f1f1f;
  --v0b9-bg-card: #353535;
  --v0b9-bg-elev: #3d3d3d;
  --v0b9-line: #4a4a4a;
  --v0b9-teal: #20B2AA;
  --v0b9-teal-soft: #B2DFDB;
  --v0b9-cyan: #00E5FF;
  --v0b9-gray: #E9ECEF;
  --v0b9-text: #f3f6f7;
  --v0b9-muted: #b8c0c4;
  --v0b9-gold: #ffcf5c;
  --v0b9-red: #ff5a6a;
  --v0b9-radius: 14px;
  --v0b9-shadow: 0 6px 22px rgba(0, 0, 0, 0.35);
  --v0b9-max: 430px;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: "Segoe UI", "Helvetica Neue", Arial, "PingFang SC", system-ui, sans-serif;
  background: var(--v0b9-bg);
  color: var(--v0b9-text);
  line-height: 1.5;
  font-size: 1.5rem;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: var(--v0b9-cyan); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; display: block; }

h1, h2, h3, h4 { margin: 0 0 0.6em; line-height: 1.25; font-weight: 700; }
h1 { font-size: 2.4rem; }
h2 { font-size: 2.1rem; }
h3 { font-size: 1.8rem; }
p { margin: 0 0 1em; }

.v0b9-wrap {
  width: 100%;
  max-width: var(--v0b9-max);
  margin: 0 auto;
  padding: 0 14px;
}

/* ===================== Header ===================== */
.v0b9-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: linear-gradient(180deg, #232323 0%, #2C2C2C 100%);
  border-bottom: 1px solid var(--v0b9-line);
  transition: box-shadow 0.25s ease;
}
.v0b9-header-scrolled { box-shadow: 0 4px 16px rgba(0,0,0,0.45); }

.v0b9-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 14px;
  max-width: var(--v0b9-max);
  margin: 0 auto;
}

.v0b9-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--v0b9-text);
  font-weight: 800;
  font-size: 2rem;
  letter-spacing: 0.5px;
}
.v0b9-logo img { width: 34px; height: 34px; border-radius: 8px; }
.v0b9-logo b { color: var(--v0b9-cyan); }

.v0b9-header-actions { display: flex; align-items: center; gap: 8px; }

.v0b9-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border: 0;
  cursor: pointer;
  font-weight: 700;
  font-size: 1.35rem;
  padding: 9px 16px;
  border-radius: 30px;
  transition: transform 0.15s ease, filter 0.2s ease, box-shadow 0.2s ease;
  text-decoration: none;
  min-height: 38px;
  line-height: 1;
}
.v0b9-btn:hover { text-decoration: none; transform: translateY(-1px); }
.v0b9-btn:active { transform: translateY(0); }

.v0b9-btn-login {
  background: transparent;
  color: var(--v0b9-text);
  border: 1px solid var(--v0b9-teal);
}
.v0b9-btn-register {
  background: linear-gradient(135deg, var(--v0b9-cyan) 0%, var(--v0b9-teal) 100%);
  color: #08252a;
  box-shadow: 0 4px 14px rgba(0, 229, 255, 0.25);
}

.v0b9-menu-btn {
  background: transparent;
  border: 1px solid var(--v0b9-line);
  color: var(--v0b9-text);
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.8rem;
}

/* ===================== Mobile menu ===================== */
.v0b9-menu-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.55);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease;
  z-index: 9998;
}
.v0b9-backdrop-show { opacity: 1; visibility: visible; }

.v0b9-mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: 78%;
  max-width: 320px;
  height: 100vh;
  background: var(--v0b9-bg-soft);
  z-index: 9999;
  transform: translateX(105%);
  transition: transform 0.28s ease;
  padding: 18px 16px;
  overflow-y: auto;
  box-shadow: -6px 0 22px rgba(0,0,0,0.45);
}
.v0b9-menu-open { transform: translateX(0); }

.v0b9-menu-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}
.v0b9-menu-head h3 { margin: 0; font-size: 1.8rem; color: var(--v0b9-cyan); }
.v0b9-menu-close {
  background: transparent;
  border: 0;
  color: var(--v0b9-text);
  font-size: 2.2rem;
  cursor: pointer;
}

.v0b9-menu-list { list-style: none; padding: 0; margin: 0; }
.v0b9-menu-list li { border-bottom: 1px solid var(--v0b9-line); }
.v0b9-menu-list a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 6px;
  color: var(--v0b9-text);
  font-size: 1.5rem;
  font-weight: 600;
}
.v0b9-menu-list a i { color: var(--v0b9-cyan); width: 22px; text-align: center; }
.v0b9-menu-list a:hover { color: var(--v0b9-cyan); text-decoration: none; }

.v0b9-menu-cta { margin-top: 16px; display: grid; gap: 10px; }

/* ===================== Hero / Carousel ===================== */
.v0b9-hero {
  position: relative;
  overflow: hidden;
  border-radius: 0 0 22px 22px;
}
.v0b9-hero-track { position: relative; height: 230px; }
.v0b9-hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.6s ease;
  display: flex;
  align-items: flex-end;
  padding: 18px;
  background-size: cover;
  background-position: center;
}
.v0b9-hero-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(44,44,44,0.15) 0%, rgba(44,44,44,0.92) 100%);
}
.v0b9-slide-active { opacity: 1; z-index: 2; }

.v0b9-hero-copy {
  position: relative;
  z-index: 3;
  width: 100%;
}
.v0b9-hero-copy h2 {
  font-size: 2.3rem;
  color: #fff;
  text-shadow: 0 2px 8px rgba(0,0,0,0.7);
}
.v0b9-hero-copy p {
  color: var(--v0b9-teal-soft);
  margin: 0 0 12px;
  font-size: 1.4rem;
}
.v0b9-hero-copy .v0b9-btn { font-size: 1.4rem; padding: 10px 22px; }

.v0b9-hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 4;
  background: rgba(0,0,0,0.35);
  color: #fff;
  border: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.6rem;
}
.v0b9-hero-prev { left: 10px; }
.v0b9-hero-next { right: 10px; }

.v0b9-hero-dots {
  position: absolute;
  bottom: 10px;
  left: 0;
  right: 0;
  z-index: 4;
  display: flex;
  justify-content: center;
  gap: 6px;
}
.v0b9-hero-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  border: 0;
  cursor: pointer;
  padding: 0;
}
.v0b9-dot-active { background: var(--v0b9-cyan); width: 22px; border-radius: 6px; }

/* ===================== Sections ===================== */
.v0b9-section { padding: 26px 0; }
.v0b9-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}
.v0b9-section-head h2 {
  margin: 0;
  font-size: 1.9rem;
  display: flex;
  align-items: center;
  gap: 8px;
}
.v0b9-section-head h2 i { color: var(--v0b9-cyan); }
.v0b9-section-more {
  font-size: 1.3rem;
  color: var(--v0b9-teal-soft);
}

.v0b9-intro {
  background: var(--v0b9-bg-card);
  border-radius: var(--v0b9-radius);
  padding: 18px;
  border: 1px solid var(--v0b9-line);
}
.v0b9-intro p { color: var(--v0b9-muted); margin: 0 0 0.8em; }
.v0b9-intro p:last-child { margin-bottom: 0; }

/* ===================== Category tabs ===================== */
.v0b9-cat-bar {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 6px 0 12px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.v0b9-cat-bar::-webkit-scrollbar { display: none; }
.v0b9-cat-tab {
  flex: 0 0 auto;
  padding: 8px 16px;
  border-radius: 30px;
  background: var(--v0b9-bg-card);
  border: 1px solid var(--v0b9-line);
  color: var(--v0b9-text);
  font-size: 1.35rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.v0b9-cat-tab-active {
  background: linear-gradient(135deg, var(--v0b9-teal) 0%, var(--v0b9-cyan) 100%);
  color: #08252a;
  border-color: transparent;
}

/* ===================== Game grid ===================== */
.v0b9-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.v0b9-card {
  background: var(--v0b9-bg-card);
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--v0b9-line);
  position: relative;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.v0b9-card:hover { transform: translateY(-2px); box-shadow: var(--v0b9-shadow); }
.v0b9-card-img {
  position: relative;
  aspect-ratio: 1 / 1;
  background: #1c1c1c;
  overflow: hidden;
}
.v0b9-card-img img { width: 100%; height: 100%; object-fit: cover; }
.v0b9-card-tag {
  position: absolute;
  top: 6px;
  left: 6px;
  background: rgba(0,229,255,0.85);
  color: #08252a;
  font-size: 1rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 6px;
}
.v0b9-card-play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.5);
  opacity: 0;
  transition: opacity 0.2s ease;
}
.v0b9-card:hover .v0b9-card-play { opacity: 1; }
.v0b9-card-play span {
  background: var(--v0b9-cyan);
  color: #08252a;
  padding: 6px 14px;
  border-radius: 20px;
  font-weight: 700;
  font-size: 1.25rem;
}
.v0b9-card-title {
  padding: 7px 8px;
  font-size: 1.2rem;
  color: var(--v0b9-text);
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-weight: 600;
}

/* ===================== Promo banner ===================== */
.v0b9-promo {
  background: linear-gradient(135deg, #143d3a 0%, #20B2AA 60%, #00E5FF 130%);
  border-radius: var(--v0b9-radius);
  padding: 18px;
  color: #fff;
  position: relative;
  overflow: hidden;
  margin: 4px 0;
}
.v0b9-promo::after {
  content: "\f005";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  right: -10px;
  bottom: -16px;
  font-size: 9rem;
  opacity: 0.12;
  color: #fff;
}
.v0b9-promo h3 { font-size: 1.9rem; margin-bottom: 6px; }
.v0b9-promo p { margin: 0 0 12px; font-size: 1.35rem; opacity: 0.95; }

/* ===================== Feature list ===================== */
.v0b9-features { display: grid; gap: 10px; }
.v0b9-feature {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  background: var(--v0b9-bg-card);
  border: 1px solid var(--v0b9-line);
  border-radius: 12px;
  padding: 14px;
}
.v0b9-feature-ico {
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(0,229,255,0.12);
  color: var(--v0b9-cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
}
.v0b9-feature h4 { margin: 0 0 4px; font-size: 1.5rem; }
.v0b9-feature p { margin: 0; color: var(--v0b9-muted); font-size: 1.3rem; }

/* ===================== FAQ ===================== */
.v0b9-faq { display: grid; gap: 10px; }
.v0b9-faq-item {
  background: var(--v0b9-bg-card);
  border: 1px solid var(--v0b9-line);
  border-radius: 12px;
  overflow: hidden;
}
.v0b9-faq-q {
  width: 100%;
  text-align: left;
  background: transparent;
  border: 0;
  color: var(--v0b9-text);
  font-size: 1.45rem;
  font-weight: 700;
  padding: 14px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}
.v0b9-faq-q .v0b9-faq-ico { color: var(--v0b9-cyan); transition: transform 0.2s ease; }
.v0b9-faq-open .v0b9-faq-ico { transform: rotate(45deg); }
.v0b9-faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  color: var(--v0b9-muted);
  font-size: 1.35rem;
}
.v0b9-faq-open .v0b9-faq-a { max-height: 320px; }
.v0b9-faq-a-inner { padding: 0 14px 14px; }

/* ===================== SEO long text ===================== */
.v0b9-seo {
  background: var(--v0b9-bg-card);
  border: 1px solid var(--v0b9-line);
  border-radius: var(--v0b9-radius);
  padding: 18px;
  color: var(--v0b9-muted);
  font-size: 1.4rem;
}
.v0b9-seo h2 { color: var(--v0b9-text); font-size: 1.9rem; }
.v0b9-seo h3 { color: var(--v0b9-teal-soft); font-size: 1.6rem; margin-top: 1em; }
.v0b9-seo a { color: var(--v0b9-cyan); }
.v0b9-seo ul { padding-left: 1.3em; }
.v0b9-seo li { margin-bottom: 6px; }

/* ===================== Footer ===================== */
.v0b9-footer {
  background: var(--v0b9-bg-soft);
  border-top: 1px solid var(--v0b9-line);
  padding: 26px 0 30px;
}
.v0b9-footer h4 { color: var(--v0b9-cyan); font-size: 1.5rem; margin-bottom: 10px; }
.v0b9-footer p { color: var(--v0b9-muted); font-size: 1.3rem; }
.v0b9-footer ul { list-style: none; padding: 0; margin: 0; }
.v0b9-footer ul li { margin-bottom: 7px; }
.v0b9-footer ul a { color: var(--v0b9-muted); font-size: 1.3rem; }
.v0b9-footer ul a:hover { color: var(--v0b9-cyan); }
.v0b9-foot-grid { display: grid; gap: 18px; margin-bottom: 18px; }
.v0b9-foot-bottom {
  border-top: 1px solid var(--v0b9-line);
  padding-top: 14px;
  text-align: center;
  color: var(--v0b9-muted);
  font-size: 1.2rem;
}

/* ===================== Bottom nav ===================== */
.v0b9-bottomnav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 62px;
  background: linear-gradient(180deg, #2a2a2a 0%, #1a1a1a 100%);
  border-top: 1px solid var(--v0b9-line);
  display: flex;
  justify-content: space-around;
  align-items: stretch;
  z-index: 1000;
  box-shadow: 0 -4px 14px rgba(0,0,0,0.4);
}
.v0b9-bottomnav button,
.v0b9-bottomnav a {
  flex: 1;
  background: transparent;
  border: 0;
  color: var(--v0b9-muted);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  font-size: 1.05rem;
  font-weight: 600;
  text-decoration: none;
  min-width: 60px;
  min-height: 60px;
  cursor: pointer;
  position: relative;
  transition: color 0.18s ease;
}
.v0b9-bottomnav button:hover,
.v0b9-bottomnav a:hover { text-decoration: none; color: var(--v0b9-cyan); }
.v0b9-bottomnav .v0b9-bn-ico { font-size: 2.1rem; line-height: 1; }
.v0b9-bottomnav .v0b9-bn-active { color: var(--v0b9-cyan); }
.v0b9-bottomnav .v0b9-bn-active::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 32px;
  height: 3px;
  background: var(--v0b9-cyan);
  border-radius: 0 0 4px 4px;
}
.v0b9-bn-promo {
  background: linear-gradient(135deg, var(--v0b9-cyan), var(--v0b9-teal)) !important;
  color: #08252a !important;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  min-width: 50px !important;
  min-height: 50px !important;
  margin-top: -14px;
  box-shadow: 0 4px 12px rgba(0,229,255,0.4);
  border: 3px solid #1a1a1a;
}
.v0b9-bn-promo .v0b9-bn-ico { font-size: 2.2rem; }

/* ===================== To-top ===================== */
.v0b9-totop {
  position: fixed;
  right: 14px;
  bottom: 76px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--v0b9-teal);
  color: #fff;
  border: 0;
  font-size: 1.8rem;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, transform 0.25s ease;
  z-index: 999;
  box-shadow: var(--v0b9-shadow);
}
.v0b9-totop-show { opacity: 1; visibility: visible; }

/* ===================== Utilities ===================== */
.v0b9-hide-desktop { display: block; }
.v0b9-text-cyan { color: var(--v0b9-cyan); }
.v0b9-center { text-align: center; }
.v0b9-mt { margin-top: 18px; }

/* ===================== Responsive ===================== */
@media (max-width: 768px) {
  main { padding-bottom: 80px; }
}

@media (min-width: 769px) {
  .v0b9-bottomnav { display: none; }
  .v0b9-menu-btn { display: none; }
  .v0b9-wrap { max-width: 960px; }
  .v0b9-header-inner { max-width: 960px; }
  .v0b9-grid { grid-template-columns: repeat(6, 1fr); }
  .v0b9-foot-grid { grid-template-columns: repeat(4, 1fr); }
  .v0b9-hero-track { height: 340px; }
}

@media (min-width: 1024px) {
  .v0b9-grid { grid-template-columns: repeat(6, 1fr); }
}
