/* jilie - Layout CSS | prefix: ui91- */
/* Colors: #880E4F (rose-deep bg) | #8470FF (purple accent) | #C9C9FF (light purple) | #F0F0F0 (light text) | #212F3D (dark blue-gray) */

*, *::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: #5C0A34;
  color: #F0F0F0;
  max-width: 430px;
  margin: 0 auto;
  overflow-x: hidden;
  line-height: 1.6;
}

/* ===== HEADER ===== */
.ui91-header {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  height: 5.6rem;
  background: linear-gradient(90deg, #880E4F 0%, #6A0A3D 100%);
  border-bottom: 2px solid #8470FF;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1.4rem;
  z-index: 1000;
  box-shadow: 0 2px 12px rgba(132, 112, 255, 0.3);
}

.ui91-logo {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  cursor: pointer;
}

.ui91-logo img {
  width: 3.2rem;
  height: 3.2rem;
  border-radius: 0.6rem;
  object-fit: cover;
}

.ui91-logo-name {
  font-size: 1.8rem;
  font-weight: 800;
  color: #C9C9FF;
  letter-spacing: -0.3px;
}

.ui91-header-actions {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.ui91-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;
}

.ui91-btn:active { transform: scale(0.96); opacity: 0.9; }

.ui91-btn-reg {
  background: linear-gradient(135deg, #8470FF, #6050EE);
  color: #fff;
  border: 1px solid rgba(196, 181, 255, 0.3);
}

.ui91-btn-login {
  background: transparent;
  color: #C9C9FF;
  border: 1.5px solid #8470FF;
}

.ui91-menu-btn {
  background: transparent;
  border: none;
  color: #C9C9FF;
  font-size: 2.2rem;
  cursor: pointer;
  padding: 0.4rem;
  display: flex;
  align-items: center;
}

/* ===== MENU OVERLAY ===== */
#pro0e3-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  z-index: 9998;
}

/* ===== SIDE MENU ===== */
#pro0e3-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 82%;
  max-width: 320px;
  height: 100dvh;
  background: linear-gradient(180deg, #880E4F 0%, #5C0A34 100%);
  z-index: 9999;
  overflow-y: auto;
  transition: right 0.3s ease;
  border-left: 2px solid #8470FF;
}

#pro0e3-menu.open { right: 0; }

.ui91-menu-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.8rem 1.6rem;
  border-bottom: 1px solid rgba(132, 112, 255, 0.3);
}

.ui91-menu-title {
  font-size: 2rem;
  font-weight: 800;
  color: #C9C9FF;
}

.ui91-menu-close {
  background: none;
  border: none;
  color: #F0F0F0;
  font-size: 2.8rem;
  cursor: pointer;
  line-height: 1;
}

.ui91-menu-section { padding: 1.2rem 1.6rem 0; }

.ui91-menu-label {
  font-size: 1.1rem;
  font-weight: 700;
  color: #8470FF;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 0.8rem;
}

.ui91-menu-link {
  display: flex;
  align-items: center;
  gap: 1rem;
  color: #F0F0F0;
  text-decoration: none;
  padding: 0.9rem 0;
  font-size: 1.4rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  transition: color 0.15s;
}

.ui91-menu-link:hover { color: #C9C9FF; }

.ui91-menu-promo {
  padding: 1.8rem 1.6rem;
  text-align: center;
}

.ui91-menu-promo p {
  font-size: 1.2rem;
  color: #C9C9FF;
  margin-bottom: 1.2rem;
}

/* ===== WRAPPER & MAIN ===== */
.ui91-wrapper { padding-top: 5.6rem; }

.ui91-main { min-height: 100vh; }

@media (max-width: 768px) {
  .ui91-main { padding-bottom: 8rem; }
}

/* ===== SLIDER ===== */
.ui91-slider {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16/8;
  background: #3D0829;
  cursor: pointer;
}

.ui91-slider-track {
  display: flex;
  height: 100%;
  transition: transform 0.4s ease;
}

.ui91-slide {
  min-width: 100%;
  height: 100%;
  position: relative;
}

.ui91-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.ui91-slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(136, 14, 79, 0.7) 100%);
}

.ui91-slider-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(132, 112, 255, 0.5);
  border: none;
  color: #fff;
  font-size: 2rem;
  padding: 0.6rem 1rem;
  cursor: pointer;
  border-radius: 0.4rem;
  z-index: 2;
}

.ui91-slider-nav.prev { left: 0.8rem; }
.ui91-slider-nav.next { right: 0.8rem; }

.ui91-slider-dots {
  position: absolute;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.6rem;
  z-index: 2;
}

.ui91-dot {
  width: 0.8rem;
  height: 0.8rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}

.ui91-dot.active {
  background: #8470FF;
  transform: scale(1.3);
}

/* ===== SECTIONS ===== */
.ui91-section {
  padding: 2.4rem 1.6rem;
  border-bottom: 1px solid rgba(132, 112, 255, 0.15);
}

.ui91-section-title {
  font-size: 1.9rem;
  font-weight: 800;
  color: #F0F0F0;
  margin-bottom: 1.6rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.ui91-section-alt {
  background: rgba(136, 14, 79, 0.35);
}

/* ===== GAME GRID ===== */
.ui91-game-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.8rem;
}

.ui91-game-item {
  cursor: pointer;
  text-align: center;
  transition: transform 0.15s;
}

.ui91-game-item:active { transform: scale(0.95); }

.ui91-game-img {
  width: 100%;
  aspect-ratio: 1/1;
  border-radius: 0.8rem;
  object-fit: cover;
  display: block;
  border: 1px solid rgba(132, 112, 255, 0.2);
}

.ui91-game-name {
  font-size: 1rem;
  color: #C9C9FF;
  margin-top: 0.4rem;
  line-height: 1.3;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* ===== CTA BUTTON ===== */
.ui91-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  background: linear-gradient(135deg, #8470FF 0%, #6A50EE 100%);
  color: #fff;
  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(132, 112, 255, 0.4);
}

.ui91-cta:active {
  transform: scale(0.97);
  box-shadow: 0 2px 8px rgba(132, 112, 255, 0.3);
}

/* ===== FAQ ===== */
.ui91-faq-item {
  border-bottom: 1px solid rgba(132, 112, 255, 0.2);
  overflow: hidden;
}

.ui91-faq-question {
  width: 100%;
  background: none;
  border: none;
  color: #F0F0F0;
  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;
}

.ui91-faq-icon {
  font-size: 2rem;
  color: #8470FF;
  flex-shrink: 0;
  font-weight: 400;
}

.ui91-faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

.ui91-faq-answer-inner {
  padding: 0 0 1.4rem;
  font-size: 1.35rem;
  color: rgba(240, 240, 240, 0.75);
  line-height: 1.8;
}

/* ===== STATS STRIP ===== */
.ui91-stats {
  display: flex;
  justify-content: space-around;
  background: rgba(33, 47, 61, 0.8);
  padding: 1.4rem 1rem;
  flex-wrap: wrap;
  gap: 0.8rem;
  border-bottom: 1px solid rgba(132, 112, 255, 0.2);
}

.ui91-stat-num {
  font-size: 2rem;
  font-weight: 800;
  color: #8470FF;
  display: block;
}

.ui91-stat-label {
  font-size: 1rem;
  color: rgba(240, 240, 240, 0.6);
}

/* ===== PARTNERS ===== */
.ui91-partners {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;
  justify-content: center;
  align-items: center;
  padding: 1.6rem 0;
}

.ui91-partner-img {
  height: 3.2rem;
  width: auto;
  object-fit: contain;
  opacity: 0.75;
  filter: brightness(1.1);
}

/* ===== FOOTER ===== */
.ui91-footer {
  background: #212F3D;
  padding: 2.4rem 1.6rem;
  border-top: 2px solid #8470FF;
}

.ui91-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem 1.4rem;
  margin-bottom: 1.6rem;
}

.ui91-footer-link {
  color: #C9C9FF;
  text-decoration: none;
  font-size: 1.25rem;
  transition: color 0.15s;
}

.ui91-footer-link:hover { color: #8470FF; }

.ui91-footer-copy {
  font-size: 1.1rem;
  color: rgba(240, 240, 240, 0.4);
  margin-top: 1.2rem;
}

/* ===== BOTTOM NAV ===== */
.ui91-bnav {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  height: 6rem;
  background: linear-gradient(90deg, #880E4F 0%, #6A0A3D 100%);
  border-top: 2px solid #8470FF;
  display: flex;
  justify-content: space-around;
  align-items: center;
  z-index: 1000;
  box-shadow: 0 -4px 20px rgba(132, 112, 255, 0.25);
}

@media (min-width: 769px) {
  .ui91-bnav { display: none; }
}

.ui91-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(201, 201, 255, 0.6);
  cursor: pointer;
  transition: color 0.2s, transform 0.15s;
  padding: 0.4rem;
}

.ui91-bnav-item:active { transform: scale(0.92); }

.ui91-bnav-item.active { color: #C9C9FF; }

.ui91-bnav-item .ni {
  font-size: 2.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.ui91-bnav-item .nl {
  font-size: 1rem;
  font-weight: 600;
}

/* ===== RTP TABLE ===== */
.ui91-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 1.3rem;
}

.ui91-table th {
  text-align: left;
  padding: 1rem 0.8rem;
  color: #8470FF;
  border-bottom: 2px solid rgba(132, 112, 255, 0.3);
  font-size: 1.2rem;
}

.ui91-table td {
  padding: 0.9rem 0.8rem;
  color: #F0F0F0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.ui91-table tr:nth-child(even) td { background: rgba(255, 255, 255, 0.03); }

/* ===== H1 AREA ===== */
.ui91-h1-area {
  padding: 2rem 1.6rem 1.6rem;
  background: linear-gradient(180deg, rgba(136, 14, 79, 0.5) 0%, transparent 100%);
}

.ui91-h1 {
  font-size: 2.4rem;
  font-weight: 800;
  color: #F0F0F0;
  line-height: 1.2;
  margin-bottom: 0.8rem;
}

.ui91-h1-sub {
  font-size: 1.4rem;
  color: #C9C9FF;
  line-height: 1.7;
}
