/* jilli58 - Layout CSS | prefix: ui86- */
/* Colors: #BAFFC9 (mint green accent) | #1C1C1C (deep dark bg) | #DB7093 (pink) | #FF4500 (orange-red) | #FFCCCB (light pink) */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { font-size: 62.5%; scroll-behavior: smooth; }

body {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  font-size: 1.4rem;
  background: #111111;
  color: #CCCCCC;
  max-width: 430px;
  margin: 0 auto;
  overflow-x: hidden;
  line-height: 1.6;
}

/* ===== HEADER ===== */
.ui86-header {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  height: 5.6rem;
  background: linear-gradient(90deg, #0E1A12 0%, #111111 100%);
  border-bottom: 2px solid #BAFFC9;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1.4rem;
  z-index: 1000;
  box-shadow: 0 2px 16px rgba(186, 255, 201, 0.2);
}

.ui86-logo {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  cursor: pointer;
}

.ui86-logo img {
  width: 3.2rem;
  height: 3.2rem;
  border-radius: 0.6rem;
  object-fit: cover;
}

.ui86-logo-name {
  font-size: 1.8rem;
  font-weight: 800;
  color: #BAFFC9;
  letter-spacing: -0.3px;
}

.ui86-header-actions {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.ui86-btn {
  border: none;
  border-radius: 2rem;
  padding: 0.6rem 1.4rem;
  font-size: 1.25rem;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: transform 0.15s, opacity 0.15s;
}

.ui86-btn:active { transform: scale(0.96); opacity: 0.9; }

.ui86-btn-reg {
  background: linear-gradient(135deg, #BAFFC9, #5CDB95);
  color: #111111;
  border: 1px solid rgba(186, 255, 201, 0.4);
}

.ui86-btn-login {
  background: transparent;
  color: #BAFFC9;
  border: 1.5px solid #BAFFC9;
}

.ui86-menu-btn {
  background: transparent;
  border: none;
  color: #BAFFC9;
  font-size: 2.2rem;
  cursor: pointer;
  padding: 0.4rem;
  display: flex;
  align-items: center;
}

/* ===== MENU OVERLAY ===== */
#web867-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.78);
  z-index: 9998;
}

/* ===== SIDE MENU ===== */
#web867-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 82%;
  max-width: 320px;
  height: 100dvh;
  background: linear-gradient(180deg, #0E1A12 0%, #111111 100%);
  z-index: 9999;
  overflow-y: auto;
  transition: right 0.3s ease;
  border-left: 2px solid #BAFFC9;
}

#web867-menu.open { right: 0; }

.ui86-menu-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.8rem 1.6rem;
  border-bottom: 1px solid rgba(186, 255, 201, 0.25);
}

.ui86-menu-title {
  font-size: 2rem;
  font-weight: 800;
  color: #BAFFC9;
}

.ui86-menu-close {
  background: none;
  border: none;
  color: #CCCCCC;
  font-size: 2.8rem;
  cursor: pointer;
  line-height: 1;
}

.ui86-menu-section { padding: 1.2rem 1.6rem 0; }

.ui86-menu-label {
  font-size: 1.1rem;
  font-weight: 700;
  color: #BAFFC9;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 0.8rem;
}

.ui86-menu-link {
  display: flex;
  align-items: center;
  gap: 1rem;
  color: #CCCCCC;
  text-decoration: none;
  padding: 0.9rem 0;
  font-size: 1.4rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  transition: color 0.15s;
}

.ui86-menu-link:hover { color: #BAFFC9; }

.ui86-menu-promo {
  padding: 1.8rem 1.6rem;
  text-align: center;
}

.ui86-menu-promo p {
  font-size: 1.2rem;
  color: #CCCCCC;
  margin-bottom: 1.2rem;
}

/* ===== WRAPPER & MAIN ===== */
.ui86-wrapper { padding-top: 5.6rem; }

.ui86-main { min-height: 100vh; }

@media (max-width: 768px) {
  .ui86-main { padding-bottom: 8rem; }
}

/* ===== SLIDER ===== */
.ui86-slider {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16/8;
  background: #0E1A12;
  cursor: pointer;
}

.ui86-slider-track {
  display: flex;
  height: 100%;
  transition: transform 0.4s ease;
}

.ui86-slide {
  min-width: 100%;
  height: 100%;
  position: relative;
}

.ui86-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.ui86-slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(186, 255, 201, 0.25) 100%);
}

.ui86-slider-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(186, 255, 201, 0.35);
  border: none;
  color: #111;
  font-size: 2rem;
  padding: 0.6rem 1rem;
  cursor: pointer;
  border-radius: 0.4rem;
  z-index: 2;
}

.ui86-slider-nav.prev { left: 0.8rem; }
.ui86-slider-nav.next { right: 0.8rem; }

.ui86-slider-dots {
  position: absolute;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.6rem;
  z-index: 2;
}

.ui86-dot {
  width: 0.8rem;
  height: 0.8rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}

.ui86-dot.active {
  background: #BAFFC9;
  transform: scale(1.3);
}

/* ===== SECTIONS ===== */
.ui86-section {
  padding: 2.4rem 1.6rem;
  border-bottom: 1px solid rgba(186, 255, 201, 0.1);
}

.ui86-section-title {
  font-size: 1.9rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 1.6rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.ui86-section-alt {
  background: rgba(14, 26, 18, 0.5);
}

/* ===== GAME GRID ===== */
.ui86-game-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.8rem;
}

.ui86-game-item {
  cursor: pointer;
  text-align: center;
  transition: transform 0.15s;
}

.ui86-game-item:active { transform: scale(0.95); }

.ui86-game-img {
  width: 100%;
  aspect-ratio: 1/1;
  border-radius: 0.8rem;
  object-fit: cover;
  display: block;
  border: 1px solid rgba(186, 255, 201, 0.2);
}

.ui86-game-name {
  font-size: 1rem;
  color: #CCCCCC;
  margin-top: 0.4rem;
  line-height: 1.3;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* ===== CTA BUTTON ===== */
.ui86-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  background: linear-gradient(135deg, #BAFFC9 0%, #5CDB95 100%);
  color: #111111;
  border: none;
  border-radius: 3rem;
  padding: 1.2rem 2.4rem;
  font-size: 1.5rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s;
  box-shadow: 0 4px 16px rgba(186, 255, 201, 0.35);
}

.ui86-cta:active {
  transform: scale(0.97);
  box-shadow: 0 2px 8px rgba(186, 255, 201, 0.2);
}

/* ===== FAQ ===== */
.ui86-faq-item {
  border-bottom: 1px solid rgba(186, 255, 201, 0.12);
  overflow: hidden;
}

.ui86-faq-question {
  width: 100%;
  background: none;
  border: none;
  color: #fff;
  font-size: 1.4rem;
  font-weight: 600;
  text-align: left;
  padding: 1.4rem 0;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.ui86-faq-icon {
  font-size: 2rem;
  color: #BAFFC9;
  flex-shrink: 0;
  font-weight: 400;
}

.ui86-faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

.ui86-faq-answer-inner {
  padding: 0 0 1.4rem;
  font-size: 1.35rem;
  color: rgba(204, 204, 204, 0.8);
  line-height: 1.8;
}

/* ===== STATS STRIP ===== */
.ui86-stats {
  display: flex;
  justify-content: space-around;
  background: rgba(14, 26, 18, 0.85);
  padding: 1.4rem 1rem;
  flex-wrap: wrap;
  gap: 0.8rem;
  border-bottom: 1px solid rgba(186, 255, 201, 0.18);
}

.ui86-stat-num {
  font-size: 2rem;
  font-weight: 800;
  color: #BAFFC9;
  display: block;
}

.ui86-stat-label {
  font-size: 1rem;
  color: rgba(204, 204, 204, 0.6);
}

/* ===== PARTNERS ===== */
.ui86-partners {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;
  justify-content: center;
  align-items: center;
  padding: 1.6rem 0;
}

.ui86-partner-img {
  height: 3.2rem;
  width: auto;
  object-fit: contain;
  opacity: 0.7;
  filter: brightness(1.15);
}

/* ===== FOOTER ===== */
.ui86-footer {
  background: #0A0A0A;
  padding: 2.4rem 1.6rem;
  border-top: 2px solid #BAFFC9;
}

.ui86-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem 1.4rem;
  margin-bottom: 1.6rem;
}

.ui86-footer-link {
  color: #CCCCCC;
  text-decoration: none;
  font-size: 1.25rem;
  transition: color 0.15s;
}

.ui86-footer-link:hover { color: #BAFFC9; }

.ui86-footer-copy {
  font-size: 1.1rem;
  color: rgba(204, 204, 204, 0.4);
  margin-top: 1.2rem;
}

/* ===== BOTTOM NAV ===== */
.ui86-bnav {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  height: 6rem;
  background: linear-gradient(90deg, #0E1A12 0%, #111111 100%);
  border-top: 2px solid #BAFFC9;
  display: flex;
  justify-content: space-around;
  align-items: center;
  z-index: 1000;
  box-shadow: 0 -4px 20px rgba(186, 255, 201, 0.15);
}

@media (min-width: 769px) {
  .ui86-bnav { display: none; }
}

.ui86-bnav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
  min-width: 6rem;
  min-height: 6rem;
  justify-content: center;
  background: transparent;
  border: none;
  color: rgba(204, 204, 204, 0.45);
  cursor: pointer;
  transition: color 0.2s, transform 0.15s;
  padding: 0.4rem;
}

.ui86-bnav-item:active { transform: scale(0.92); }

.ui86-bnav-item.active { color: #BAFFC9; }

.ui86-bnav-item .ni {
  font-size: 2.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.ui86-bnav-item .nl {
  font-size: 1rem;
  font-weight: 600;
}

/* ===== H1 AREA ===== */
.ui86-h1-area {
  padding: 2rem 1.6rem 1.6rem;
  background: linear-gradient(180deg, rgba(186, 255, 201, 0.12) 0%, transparent 100%);
}

.ui86-h1 {
  font-size: 2.4rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 0.8rem;
}

.ui86-h1-sub {
  font-size: 1.4rem;
  color: #CCCCCC;
  line-height: 1.7;
}

/* ===== TABLE ===== */
.ui86-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 1.3rem;
}

.ui86-table th {
  text-align: left;
  padding: 1rem 0.8rem;
  color: #BAFFC9;
  border-bottom: 2px solid rgba(186, 255, 201, 0.3);
  font-size: 1.2rem;
}

.ui86-table td {
  padding: 0.9rem 0.8rem;
  color: #CCCCCC;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.ui86-table tr:nth-child(even) td { background: rgba(186, 255, 201, 0.03); }
