/* ==========================================================================
   aaajili base design stylesheet
   Mobile-first casino layout. All custom classes use the v445- prefix.
   Palette: #FFFFFF (text) | #0D1117 (bg) | #DEB887 (gold accent) | #FFDEAD (soft highlight)
   ========================================================================== */

:root {
  --v445-bg: #0D1117;
  --v445-bg-soft: #161B22;
  --v445-bg-card: #1C2230;
  --v445-text: #FFFFFF;
  --v445-muted: #B7BEC8;
  --v445-primary: #DEB887;
  --v445-highlight: #FFDEAD;
  --v445-border: rgba(222, 184, 135, 0.25);
  --v445-shadow: 0 6px 18px rgba(0, 0, 0, 0.45);
  --v445-radius: 14px;
}

/* ---- Reset & base ------------------------------------------------------ */
* { box-sizing: border-box; }
html { font-size: 62.5%; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  background: var(--v445-bg);
  color: var(--v445-text);
  line-height: 1.5rem;
  font-size: 1.5rem;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--v445-highlight); text-decoration: none; }
img { display: block; max-width: 100%; }

/* ---- Layout primitives ------------------------------------------------- */
.v445-container {
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
  padding: 0 1.4rem;
}
.v445-wrapper { padding: 1.6rem 0; }
.v445-grid {
  display: grid;
  gap: 1.2rem;
}
.v445-section { margin: 2.4rem 0; }

/* ---- Header / top navigation ------------------------------------------ */
.v445-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: linear-gradient(180deg, #11161F 0%, #0D1117 100%);
  border-bottom: 1px solid var(--v445-border);
}
.v445-header-inner {
  max-width: 430px;
  margin: 0 auto;
  height: 6rem;
  padding: 0 1.2rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
}
.v445-logo { display: flex; align-items: center; gap: 0.6rem; min-width: 0; }
.v445-logo img { width: 28px; height: 28px; border-radius: 6px; }
.v445-logo-text {
  font-size: 1.7rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  color: var(--v445-primary);
  white-space: nowrap;
}
.v445-header-actions { margin-left: auto; display: flex; gap: 0.6rem; }
.v445-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border: 0;
  border-radius: 999px;
  padding: 0.7rem 1.2rem;
  font-size: 1.3rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform .15s ease, opacity .15s ease;
  min-height: 36px;
}
.v445-btn:active { transform: scale(0.94); }
.v445-btn-login {
  background: transparent;
  color: var(--v445-text);
  border: 1px solid var(--v445-border);
}
.v445-btn-register {
  background: linear-gradient(135deg, #DEB887 0%, #FFDEAD 100%);
  color: #0D1117;
  box-shadow: 0 4px 12px rgba(222, 184, 135, 0.4);
}
.v445-menu-toggle {
  background: transparent;
  border: 0;
  color: var(--v445-text);
  font-size: 2rem;
  cursor: pointer;
  padding: 0.4rem;
}

/* ---- Mobile dropdown menu --------------------------------------------- */
.v445-mobile-menu {
  position: fixed;
  top: 0; right: -100%;
  width: 80%;
  max-width: 320px;
  height: 100vh;
  background: var(--v445-bg-soft);
  border-left: 1px solid var(--v445-border);
  padding: 7rem 1.6rem 2rem;
  z-index: 9999;
  transition: right .28s ease;
  overflow-y: auto;
}
.v445-mobile-menu.v445-menu-open { right: 0; }
.v445-mobile-menu h3 {
  font-size: 1.3rem;
  color: var(--v445-primary);
  margin: 1.6rem 0 0.6rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.v445-mobile-menu a {
  display: block;
  padding: 0.9rem 0.6rem;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  color: var(--v445-text);
  font-size: 1.4rem;
}
.v445-mobile-menu a:active { background: rgba(222,184,135,0.12); }
.v445-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.55);
  opacity: 0; pointer-events: none;
  transition: opacity .28s ease;
  z-index: 9998;
}
body.v445-menu-open .v445-overlay { opacity: 1; pointer-events: auto; }

/* ---- Hero carousel ----------------------------------------------------- */
.v445-hero { margin-top: 7rem; }
.v445-carousel {
  position: relative;
  border-radius: var(--v445-radius);
  overflow: hidden;
  background: var(--v445-bg-soft);
}
.v445-slide {
  display: none;
  position: relative;
}
.v445-slide.v445-slide-active { display: block; }
.v445-slide img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}
.v445-slide-cta {
  position: absolute;
  left: 1.2rem; bottom: 1.2rem;
  background: linear-gradient(135deg, #DEB887, #FFDEAD);
  color: #0D1117;
  font-weight: 800;
  padding: 0.7rem 1.4rem;
  border-radius: 999px;
  font-size: 1.3rem;
}
.v445-dots {
  position: absolute;
  bottom: 0.8rem; right: 1rem;
  display: flex; gap: 0.4rem;
}
.v445-dot {
  width: 7px; height: 7px;
  background: rgba(255,255,255,0.5);
  border-radius: 50%;
  border: 0; padding: 0; cursor: pointer;
}
.v445-dot.v445-dot-active { background: var(--v445-primary); }

/* ---- Section headings -------------------------------------------------- */
.v445-h1 {
  font-size: 2.2rem;
  font-weight: 800;
  margin: 1.6rem 0 0.6rem;
  color: var(--v445-text);
}
.v445-h2 {
  font-size: 1.9rem;
  font-weight: 800;
  margin: 2.2rem 0 0.8rem;
  color: var(--v445-primary);
  border-left: 4px solid var(--v445-primary);
  padding-left: 0.8rem;
}
.v445-h3 {
  font-size: 1.6rem;
  font-weight: 700;
  margin: 1.4rem 0 0.6rem;
  color: var(--v445-highlight);
}
.v445-lead { color: var(--v445-muted); margin-bottom: 1rem; }
.v445-text p { margin: 0 0 1rem; color: var(--v445-text); }

/* ---- Category tabs ----------------------------------------------------- */
.v445-cat-tabs {
  display: flex;
  gap: 0.6rem;
  overflow-x: auto;
  padding: 0.6rem 0;
  margin-bottom: 0.8rem;
  scrollbar-width: none;
}
.v445-cat-tabs::-webkit-scrollbar { display: none; }
.v445-cat-tab {
  flex: 0 0 auto;
  padding: 0.6rem 1.2rem;
  border-radius: 999px;
  border: 1px solid var(--v445-border);
  background: var(--v445-bg-soft);
  color: var(--v445-text);
  font-size: 1.3rem;
  cursor: pointer;
  white-space: nowrap;
}
.v445-cat-tab.v445-nav-active {
  background: var(--v445-primary);
  color: #0D1117;
  border-color: var(--v445-primary);
}

/* ---- Game grid --------------------------------------------------------- */
.v445-game-group h3 {
  font-size: 1.6rem;
  color: var(--v445-primary);
  margin: 1.4rem 0 0.8rem;
}
.v445-game-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.8rem;
}
.v445-game-card {
  background: var(--v445-bg-card);
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform .15s ease, border-color .15s ease;
}
.v445-game-card:active {
  transform: scale(0.95);
  border-color: var(--v445-primary);
}
.v445-game-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  background: #000;
}
.v445-game-name {
  font-size: 1.1rem;
  text-align: center;
  padding: 0.4rem 0.2rem 0.6rem;
  color: var(--v445-text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ---- Cards / panels ---------------------------------------------------- */
.v445-card {
  background: var(--v445-bg-card);
  border-radius: var(--v445-radius);
  padding: 1.4rem;
  box-shadow: var(--v445-shadow);
  border: 1px solid var(--v445-border);
  margin-bottom: 1.2rem;
}
.v445-feature-list { list-style: none; padding: 0; margin: 0; }
.v445-feature-list li {
  padding: 0.8rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  display: flex;
  gap: 0.8rem;
  align-items: flex-start;
}
.v445-feature-list li:last-child { border-bottom: 0; }
.v445-feature-list i { color: var(--v445-primary); font-size: 1.8rem; margin-top: 0.2rem; }

/* ---- Promo CTA banner -------------------------------------------------- */
.v445-cta-banner {
  background: linear-gradient(135deg, rgba(222,184,135,0.18), rgba(255,222,173,0.08));
  border: 1px solid var(--v445-border);
  border-radius: var(--v445-radius);
  padding: 1.6rem;
  text-align: center;
  margin: 1.6rem 0;
}
.v445-cta-banner h3 { margin-top: 0; }
.v445-cta-btn {
  display: inline-block;
  background: linear-gradient(135deg, #DEB887, #FFDEAD);
  color: #0D1117;
  padding: 1rem 2.4rem;
  border-radius: 999px;
  font-weight: 800;
  font-size: 1.5rem;
  cursor: pointer;
  border: 0;
  box-shadow: 0 4px 14px rgba(222,184,135,0.45);
}

/* ---- Testimonials ------------------------------------------------------ */
.v445-testimonial {
  background: var(--v445-bg-card);
  border-left: 3px solid var(--v445-primary);
  padding: 1rem 1.2rem;
  border-radius: 8px;
  margin-bottom: 0.8rem;
}
.v445-testimonial p { margin: 0 0 0.4rem; font-size: 1.3rem; }
.v445-testimonial span { color: var(--v445-primary); font-size: 1.2rem; font-weight: 700; }

/* ---- Payment / winners strip ------------------------------------------ */
.v445-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}
.v445-chip {
  background: var(--v445-bg-soft);
  border: 1px solid var(--v445-border);
  border-radius: 999px;
  padding: 0.5rem 1rem;
  font-size: 1.2rem;
  color: var(--v445-text);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

/* ---- RTP table --------------------------------------------------------- */
.v445-rtp-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 1.3rem;
}
.v445-rtp-table th, .v445-rtp-table td {
  padding: 0.7rem 0.6rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  text-align: left;
}
.v445-rtp-table th { color: var(--v445-primary); font-size: 1.2rem; text-transform: uppercase; }
.v445-rtp-table td:last-child { color: var(--v445-highlight); font-weight: 700; }

/* ---- FAQ accordion ----------------------------------------------------- */
.v445-faq-item {
  background: var(--v445-bg-card);
  border-radius: 8px;
  margin-bottom: 0.6rem;
  overflow: hidden;
  border: 1px solid var(--v445-border);
}
.v445-faq-q {
  padding: 1rem 1.2rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--v445-text);
}
.v445-faq-q::after { content: "+"; color: var(--v445-primary); font-size: 1.6rem; }
.v445-faq-open .v445-faq-q::after { content: "-"; }
.v445-faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .3s ease;
  padding: 0 1.2rem;
  color: var(--v445-muted);
}
.v445-faq-open .v445-faq-a { max-height: 400px; padding: 0 1.2rem 1rem; }

/* ---- Footer ------------------------------------------------------------ */
.v445-footer {
  background: #0A0E14;
  border-top: 1px solid var(--v445-border);
  padding: 2.4rem 0 1.6rem;
  margin-top: 2rem;
}
.v445-footer-brand { font-size: 1.4rem; color: var(--v445-primary); font-weight: 800; margin-bottom: 0.4rem; }
.v445-footer-desc { color: var(--v445-muted); font-size: 1.2rem; margin-bottom: 1rem; }
.v445-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  margin-bottom: 1rem;
}
.v445-footer-links a {
  color: var(--v445-text);
  font-size: 1.2rem;
  text-decoration: underline;
}
.v445-footer-promos {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin: 1rem 0;
}
.v445-footer-promos button {
  flex: 1 1 auto;
  min-width: 120px;
}
.v445-copyright {
  text-align: center;
  color: var(--v445-muted);
  font-size: 1.1rem;
  border-top: 1px solid rgba(255,255,255,0.06);
  padding-top: 1rem;
  margin-top: 1rem;
}

/* ---- Mobile bottom navigation ----------------------------------------- */
.v445-bottom-nav {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  height: 60px;
  background: #11161F;
  border-top: 1px solid var(--v445-border);
  display: flex;
  justify-content: space-around;
  align-items: center;
  z-index: 1000;
  padding-bottom: env(safe-area-inset-bottom);
}
.v445-bottom-nav-btn {
  flex: 1;
  background: transparent;
  border: 0;
  color: var(--v445-muted);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.2rem;
  min-width: 60px;
  min-height: 60px;
  cursor: pointer;
  font-size: 1rem;
  transition: color .15s ease, transform .15s ease;
}
.v445-bottom-nav-btn .material-icons,
.v445-bottom-nav-btn ion-icon,
.v445-bottom-nav-btn i { font-size: 22px; }
.v445-bottom-nav-btn:active { transform: scale(0.9); }
.v445-bottom-nav-active { color: var(--v445-primary); }
.v445-bottom-nav-btn.v445-bottom-nav-active { color: var(--v445-primary); }

/* ---- Desktop rules ----------------------------------------------------- */
@media (min-width: 769px) {
  .v445-bottom-nav { display: none; }
  .v445-menu-toggle { display: none; }
}
@media (max-width: 768px) {
  main { padding-bottom: 80px; }
}

/* Content spacer so fixed header does not cover content */
.v445-content-spacer { height: 6rem; }
