/* jilimacao layout styles - prefix v572- */
:root {
  --v572-primary: #191970;
  --v572-secondary: #4169E1;
  --v572-dark: #3A3A3A;
  --v572-accent: #FFCC02;
  --v572-gold: #FFD700;
  --v572-bg: #0f0f2e;
  --v572-bg2: #161640;
  --v572-card: #1a1a4a;
  --v572-text: #f5f5f5;
  --v572-muted: #b8b8d0;
  --v572-border: rgba(255, 204, 2, 0.25);
  --v572-radius: 0.8rem;
  --v572-header-h: 5.6rem;
  --v572-bottom-h: 6rem;
}

*, *::before, *::after { 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', system-ui, -apple-system, Roboto, Arial, sans-serif;
  font-size: 1.4rem;
  line-height: 1.5rem;
  color: var(--v572-text);
  background: var(--v572-bg);
  min-height: 100vh;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--v572-accent); text-decoration: none; font-weight: 600; }
a:hover { color: var(--v572-gold); }
ul, ol { list-style: none; }
button { border: none; cursor: pointer; font-family: inherit; background: none; color: inherit; }

.v572-wrapper { max-width: 430px; margin: 0 auto; min-height: 100vh; position: relative; background: linear-gradient(180deg, var(--v572-bg) 0%, #12123a 100%); }
.v572-container { width: 100%; padding: 0 1.2rem; }
.v572-main { padding-top: calc(var(--v572-header-h) + 0.8rem); padding-bottom: 8rem; }

/* Header */
.v572-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  height: var(--v572-header-h);
  background: linear-gradient(90deg, var(--v572-primary) 0%, #0d0d4a 100%);
  border-bottom: 1px solid var(--v572-border);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.45);
}
.v572-header-inner {
  max-width: 430px; margin: 0 auto; height: 100%;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 1rem; gap: 0.6rem;
}
.v572-logo-wrap { display: flex; align-items: center; gap: 0.6rem; min-width: 0; }
.v572-logo { width: 3rem; height: 3rem; border-radius: 0.6rem; object-fit: cover; border: 1px solid var(--v572-accent); }
.v572-logo-text { font-size: 1.5rem; font-weight: 800; color: var(--v572-gold); letter-spacing: 0.02em; white-space: nowrap; }
.v572-header-actions { display: flex; align-items: center; gap: 0.5rem; }
.v572-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.4rem;
  min-height: 3.6rem; min-width: 4.4rem; padding: 0.6rem 1.1rem;
  border-radius: 2rem; font-size: 1.2rem; font-weight: 700;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}
.v572-btn:active { transform: scale(0.96); }
.v572-btn-register {
  background: linear-gradient(135deg, var(--v572-accent), var(--v572-gold));
  color: #1a1a1a; box-shadow: 0 2px 8px rgba(255, 204, 2, 0.35);
}
.v572-btn-login {
  background: transparent; color: var(--v572-gold);
  border: 1.5px solid var(--v572-accent);
}
.v572-btn-promo {
  background: linear-gradient(135deg, var(--v572-secondary), #5a7ff0);
  color: #fff; width: 100%; margin: 0.6rem 0;
}
.v572-btn-menu {
  width: 4rem; height: 4rem; border-radius: 0.8rem;
  background: rgba(65, 105, 225, 0.25); color: var(--v572-gold);
  font-size: 2rem; display: inline-flex; align-items: center; justify-content: center;
}

/* Mobile menu */
.v572-menu-overlay {
  position: fixed; inset: 0; background: rgba(0, 0, 0, 0.55);
  z-index: 9998; opacity: 0; visibility: hidden; transition: opacity 0.25s;
}
.v572-overlay-show { opacity: 1; visibility: visible; }
.v572-mobile-menu {
  position: fixed; top: 0; right: 0; width: 78%; max-width: 300px; height: 100%;
  background: linear-gradient(180deg, var(--v572-primary), #0a0a30);
  z-index: 9999; transform: translateX(100%); transition: transform 0.28s ease;
  padding: 2rem 1.4rem; overflow-y: auto; box-shadow: -4px 0 20px rgba(0, 0, 0, 0.5);
}
.v572-menu-open { transform: translateX(0); }
.v572-menu-close {
  position: absolute; top: 1.2rem; right: 1.2rem;
  width: 3.6rem; height: 3.6rem; border-radius: 50%;
  background: rgba(255, 255, 255, 0.08); color: var(--v572-gold); font-size: 1.8rem;
  display: flex; align-items: center; justify-content: center;
}
.v572-menu-title { color: var(--v572-gold); font-size: 1.6rem; font-weight: 800; margin: 1rem 0 1.6rem; }
.v572-menu-list { display: flex; flex-direction: column; gap: 0.4rem; }
.v572-menu-list a {
  display: flex; align-items: center; gap: 0.8rem;
  padding: 1.1rem 1rem; border-radius: 0.8rem; color: var(--v572-text);
  font-size: 1.3rem; background: rgba(255, 255, 255, 0.04);
  min-height: 4.4rem; transition: background 0.2s;
}
.v572-menu-list a:hover { background: rgba(65, 105, 225, 0.3); color: var(--v572-gold); }
.v572-menu-list i, .v572-menu-list .material-icons, .v572-menu-list .bi { font-size: 1.8rem; color: var(--v572-accent); }

/* Carousel */
.v572-carousel {
  position: relative; border-radius: var(--v572-radius); overflow: hidden;
  margin: 0.8rem 0 1.4rem; aspect-ratio: 16/9; background: var(--v572-card);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
}
.v572-slide {
  position: absolute; inset: 0; opacity: 0; transition: opacity 0.5s;
  cursor: pointer;
}
.v572-slide-active { opacity: 1; z-index: 1; }
.v572-slide img { width: 100%; height: 100%; object-fit: cover; }
.v572-carousel-nav {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 2;
  width: 3.2rem; height: 3.2rem; border-radius: 50%;
  background: rgba(25, 25, 112, 0.7); color: var(--v572-gold);
  display: flex; align-items: center; justify-content: center; font-size: 1.6rem;
}
.v572-carousel-prev { left: 0.6rem; }
.v572-carousel-next { right: 0.6rem; }
.v572-dots {
  position: absolute; bottom: 0.8rem; left: 0; right: 0; z-index: 2;
  display: flex; justify-content: center; gap: 0.5rem;
}
.v572-dot {
  width: 0.7rem; height: 0.7rem; border-radius: 50%;
  background: rgba(255, 255, 255, 0.4); transition: background 0.2s, transform 0.2s;
}
.v572-dot-active { background: var(--v572-gold); transform: scale(1.25); }

/* Sections & typography */
.v572-section { margin: 1.6rem 0; padding: 1.4rem 1.2rem; background: var(--v572-card); border-radius: var(--v572-radius); border: 1px solid var(--v572-border); }
.v572-h1 {
  font-size: 1.8rem; line-height: 2.4rem; color: var(--v572-gold);
  font-weight: 800; text-align: center; margin: 1.2rem 0 1rem; padding: 0 0.4rem;
}
.v572-h2 {
  font-size: 1.6rem; line-height: 2.2rem; color: var(--v572-accent);
  font-weight: 700; margin: 0 0 1rem; display: flex; align-items: center; gap: 0.6rem;
}
.v572-h3 { font-size: 1.4rem; line-height: 2rem; color: var(--v572-gold); font-weight: 700; margin: 1rem 0 0.6rem; }
.v572-text { color: var(--v572-muted); font-size: 1.3rem; line-height: 1.9rem; margin-bottom: 0.9rem; }
.v572-text strong, .v572-link-text { color: var(--v572-accent); font-weight: 700; cursor: pointer; }
.v572-text a { color: var(--v572-gold); border-bottom: 1px dashed rgba(255, 215, 0, 0.4); }

/* Game grid */
.v572-cat-title {
  display: flex; align-items: center; gap: 0.6rem;
  font-size: 1.5rem; font-weight: 700; color: var(--v572-gold);
  margin: 1.4rem 0 0.8rem; padding-left: 0.2rem;
}
.v572-cat-title i, .v572-cat-title .material-icons, .v572-cat-title .bi { color: var(--v572-secondary); font-size: 2rem; }
.v572-game-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.7rem; margin-bottom: 0.6rem;
}
.v572-game-item {
  display: flex; flex-direction: column; align-items: center; cursor: pointer;
  transition: transform 0.18s;
}
.v572-game-item:active { transform: scale(0.94); }
.v572-game-icon {
  width: 100%; aspect-ratio: 1; border-radius: 1rem; object-fit: cover;
  border: 1.5px solid rgba(65, 105, 225, 0.4);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  background: var(--v572-dark);
}
.v572-game-name {
  font-size: 1rem; line-height: 1.3rem; text-align: center; color: var(--v572-text);
  margin-top: 0.35rem; width: 100%; overflow: hidden; text-overflow: ellipsis;
  white-space: nowrap; font-weight: 600;
}

/* Cards & modules */
.v572-card {
  background: rgba(25, 25, 112, 0.4); border-radius: var(--v572-radius);
  padding: 1.2rem; margin-bottom: 1rem; border: 1px solid rgba(65, 105, 225, 0.2);
}
.v572-feature-list { display: flex; flex-direction: column; gap: 0.8rem; }
.v572-feature-item {
  display: flex; gap: 1rem; align-items: flex-start;
  padding: 1rem; background: rgba(0, 0, 0, 0.2); border-radius: 0.8rem;
}
.v572-feature-icon {
  width: 3.6rem; height: 3.6rem; min-width: 3.6rem; border-radius: 0.8rem;
  background: linear-gradient(135deg, var(--v572-secondary), var(--v572-primary));
  display: flex; align-items: center; justify-content: center;
  color: var(--v572-gold); font-size: 1.8rem;
}
.v572-faq-item { margin-bottom: 1rem; padding-bottom: 1rem; border-bottom: 1px solid rgba(255, 255, 255, 0.06); }
.v572-faq-q { font-weight: 700; color: var(--v572-accent); margin-bottom: 0.4rem; font-size: 1.3rem; }
.v572-faq-a { color: var(--v572-muted); font-size: 1.25rem; line-height: 1.8rem; }
.v572-rtp-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.8rem; }
.v572-rtp-card {
  background: rgba(0, 0, 0, 0.25); border-radius: 0.8rem; padding: 1rem; text-align: center;
  border: 1px solid rgba(255, 204, 2, 0.15);
}
.v572-rtp-val { font-size: 1.8rem; font-weight: 800; color: var(--v572-gold); }
.v572-rtp-label { font-size: 1.1rem; color: var(--v572-muted); margin-top: 0.3rem; }
.v572-testimonial {
  background: rgba(0, 0, 0, 0.2); border-left: 3px solid var(--v572-accent);
  padding: 1rem 1.2rem; margin-bottom: 0.8rem; border-radius: 0 0.8rem 0.8rem 0;
}
.v572-testimonial-user { color: var(--v572-gold); font-weight: 700; font-size: 1.2rem; margin-bottom: 0.3rem; }
.v572-stars { color: var(--v572-gold); font-size: 1.2rem; margin-bottom: 0.4rem; letter-spacing: 0.1em; }
.v572-cta-box {
  text-align: center; padding: 1.6rem 1.2rem;
  background: linear-gradient(135deg, rgba(65, 105, 225, 0.3), rgba(25, 25, 112, 0.6));
  border-radius: var(--v572-radius); border: 1px solid var(--v572-border); margin: 1.4rem 0;
}
.v572-cta-box .v572-h2 { justify-content: center; }
.v572-winner-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 0.8rem 0; border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 1.2rem;
}
.v572-winner-amt { color: var(--v572-gold); font-weight: 800; }

/* Footer */
.v572-footer {
  background: linear-gradient(180deg, #0d0d30, #080820);
  padding: 2rem 1.2rem 2rem; border-top: 1px solid var(--v572-border);
  margin-top: 1rem;
}
.v572-footer-brand { color: var(--v572-muted); font-size: 1.2rem; line-height: 1.8rem; margin-bottom: 1.2rem; text-align: center; }
.v572-footer-promo {
  display: flex; flex-wrap: wrap; gap: 0.6rem; justify-content: center; margin-bottom: 1.4rem;
}
.v572-footer-promo .v572-btn { font-size: 1.1rem; padding: 0.6rem 1rem; min-height: 3.6rem; }
.v572-footer-links {
  display: flex; flex-wrap: wrap; gap: 0.6rem 1.2rem; justify-content: center;
  margin-bottom: 1.2rem;
}
.v572-footer-links a { font-size: 1.2rem; color: var(--v572-muted); font-weight: 500; }
.v572-footer-links a:hover { color: var(--v572-gold); }
.v572-copyright { text-align: center; color: #666; font-size: 1.1rem; padding-top: 0.8rem; border-top: 1px solid rgba(255, 255, 255, 0.05); }

/* Bottom nav */
.v572-bottom-nav {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 1000;
  height: var(--v572-bottom-h);
  background: linear-gradient(0deg, #0a0a28 0%, #121240 100%);
  border-top: 1px solid rgba(255, 204, 2, 0.3);
  display: flex; justify-content: space-around; align-items: center;
  box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.4);
  max-width: 430px; margin: 0 auto;
}
.v572-bottom-nav-inner {
  display: flex; justify-content: space-around; align-items: center;
  width: 100%; height: 100%; max-width: 430px; margin: 0 auto;
}
.v572-bnav-btn {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  min-width: 6rem; min-height: 5.6rem; gap: 0.2rem;
  color: var(--v572-muted); font-size: 1rem; font-weight: 600;
  transition: color 0.2s, transform 0.15s; border-radius: 0.8rem; padding: 0.3rem;
}
.v572-bnav-btn i, .v572-bnav-btn .material-icons, .v572-bnav-btn .bi, .v572-bnav-btn ion-icon {
  font-size: 2.2rem; line-height: 1;
}
.v572-bnav-btn .material-icons { font-size: 2.4rem; }
.v572-bnav-btn:active { transform: scale(0.9); color: var(--v572-gold); }
.v572-bnav-active { color: var(--v572-gold); }
.v572-bnav-active i, .v572-bnav-active .material-icons { color: var(--v572-gold); text-shadow: 0 0 8px rgba(255, 215, 0, 0.4); }

/* Desktop */
@media (min-width: 769px) {
  .v572-bottom-nav { display: none; }
  .v572-main { padding-bottom: 2rem; }
  .v572-wrapper { max-width: 430px; box-shadow: 0 0 40px rgba(0, 0, 0, 0.5); }
  body { background: #080818; }
}
@media (max-width: 768px) {
  .v572-main { padding-bottom: 8rem; }
}
@media (max-width: 360px) {
  .v572-game-grid { grid-template-columns: repeat(3, 1fr); }
  .v572-logo-text { font-size: 1.3rem; }
  .v572-btn-register, .v572-btn-login { padding: 0.5rem 0.8rem; font-size: 1.1rem; }
}
