/* ============================================================
 * Casino Plus Bonus - theme-e990.css
 * Mobile-first (max-width: 430px), dark palette + sienna accent.
 * All custom classes prefixed we990-. Comments in English.
 * ============================================================ */

:root {
  --we990-bg: #0C0C0C;
  --we990-bg-2: #15110d;
  --we990-card: #1c1612;
  --we990-primary: #A0522D;
  --we990-primary-2: #c66838;
  --we990-accent: #8B0000;
  --we990-text: #E5E5E5;
  --we990-muted: #b6a89c;
  --we990-border: rgba(160, 82, 45, 0.28);
  --we990-gold: #e6b35a;
  --we990-radius: 14px;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: radial-gradient(circle at top, #1a1410 0%, var(--we990-bg) 60%);
  color: var(--we990-text);
  font-family: "Helvetica Neue", Arial, "Segoe UI", sans-serif;
  font-size: 1.6rem;
  line-height: 1.5;
}

img { max-width: 100%; display: block; }
a { color: var(--we990-primary-2); text-decoration: none; }

.we990-container {
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
  padding: 0 14px;
}

.we990-wrapper { padding-top: 60px; padding-bottom: 16px; }

/* ---------- Header ---------- */
.we990-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: linear-gradient(180deg, rgba(12,12,12,0.96), rgba(12,12,12,0.82));
  border-bottom: 1px solid var(--we990-border);
  backdrop-filter: blur(8px);
}

.we990-header-inner {
  max-width: 430px;
  margin: 0 auto;
  height: 60px;
  padding: 0 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.we990-brand { display: flex; align-items: center; gap: 8px; min-width: 0; }
.we990-brand img { width: 28px; height: 28px; border-radius: 6px; }
.we990-brand-name {
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--we990-text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.we990-brand-name span { color: var(--we990-primary-2); }

.we990-header-actions { display: flex; align-items: center; gap: 6px; }

.we990-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border: none;
  cursor: pointer;
  font-weight: 700;
  font-size: 1.3rem;
  border-radius: 9px;
  padding: 8px 12px;
  min-height: 36px;
  transition: transform .15s ease, box-shadow .15s ease, background .2s ease;
  text-decoration: none;
}
.we990-btn:hover { transform: translateY(-1px); }
.we990-btn:active { transform: scale(0.96); }

.we990-btn-login {
  background: transparent;
  color: var(--we990-text);
  border: 1px solid var(--we990-border);
}
.we990-btn-register {
  background: linear-gradient(135deg, var(--we990-primary), var(--we990-accent));
  color: #fff;
  box-shadow: 0 4px 14px rgba(139,0,0,0.35);
}

.we990-icon-btn {
  background: transparent;
  border: 1px solid var(--we990-border);
  color: var(--we990-text);
  width: 36px; height: 36px;
  border-radius: 9px;
  display: inline-flex; align-items: center; justify-content: center;
  cursor: pointer;
}

/* ---------- Mobile Menu Drawer ---------- */
.we990-mobile-menu {
  position: fixed;
  top: 60px; left: 0; right: 0;
  background: var(--we990-bg-2);
  border-bottom: 1px solid var(--we990-border);
  max-height: 0;
  overflow: hidden;
  transition: max-height .28s ease;
  z-index: 9999;
}
.we990-mobile-menu.we990-open { max-height: 80vh; overflow-y: auto; }
.we990-mobile-menu ul { list-style: none; margin: 0; padding: 6px 12px; }
.we990-mobile-menu li a {
  display: block;
  padding: 12px 10px;
  color: var(--we990-text);
  border-bottom: 1px dashed var(--we990-border);
  font-size: 1.4rem;
}
.we990-mobile-menu li a:active { background: rgba(160,82,45,0.18); }
.we990-no-scroll { overflow: hidden; }

/* ---------- Hero Carousel ---------- */
.we990-carousel {
  position: relative;
  border-radius: var(--we990-radius);
  overflow: hidden;
  margin: 14px 0;
  box-shadow: 0 6px 20px rgba(0,0,0,0.4);
}
.we990-slide {
  display: none;
  position: relative;
}
.we990-slide.we990-active { display: block; }
.we990-slide img {
  width: 100%;
  height: 190px;
  object-fit: cover;
}
.we990-slide-cap {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 22px 14px 12px;
  background: linear-gradient(0deg, rgba(0,0,0,0.85), rgba(0,0,0,0));
  color: #fff;
}
.we990-slide-cap b { color: var(--we990-gold); }
.we990-dots {
  position: absolute;
  bottom: 8px; left: 0; right: 0;
  display: flex; justify-content: center; gap: 6px;
}
.we990-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: rgba(255,255,255,0.4);
  cursor: pointer; border: none; padding: 0;
}
.we990-dot.we990-active { background: var(--we990-gold); width: 16px; border-radius: 4px; }

/* ---------- Sections ---------- */
.we990-section { margin: 22px 0; }
.we990-section-title {
  font-size: 1.85rem;
  font-weight: 800;
  color: var(--we990-text);
  margin: 0 0 4px;
  display: flex; align-items: center; gap: 8px;
}
.we990-section-title i { color: var(--we990-primary-2); }
.we990-section-sub { color: var(--we990-muted); font-size: 1.3rem; margin: 0 0 12px; }
.we990-h1 {
  font-size: 2rem; line-height: 1.3; margin: 8px 0 6px; color: var(--we990-text);
}
.we990-h1 b { color: var(--we990-gold); }
.we990-lead { color: var(--we990-muted); font-size: 1.4rem; margin: 0 0 14px; }

.we990-cta {
  display: inline-flex; align-items: center; gap: 8px;
  background: linear-gradient(135deg, var(--we990-primary), var(--we990-accent));
  color: #fff; padding: 12px 18px; border-radius: 11px;
  font-weight: 800; font-size: 1.45rem; cursor: pointer; border: none;
  box-shadow: 0 6px 18px rgba(139,0,0,0.4);
}

/* ---------- Filter Pills ---------- */
.we990-filters { display: flex; gap: 6px; overflow-x: auto; padding: 4px 0 12px; }
.we990-filter-btn {
  border: 1px solid var(--we990-border);
  background: var(--we990-card);
  color: var(--we990-text);
  padding: 6px 12px; border-radius: 999px;
  font-size: 1.25rem; cursor: pointer; white-space: nowrap;
}
.we990-filter-btn.we990-active {
  background: var(--we990-primary); color: #fff; border-color: var(--we990-primary);
}

/* ---------- Game Grid ---------- */
.we990-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.we990-game {
  background: var(--we990-card);
  border: 1px solid var(--we990-border);
  border-radius: 12px;
  padding: 8px;
  text-align: center;
  cursor: pointer;
  transition: transform .15s ease, border-color .15s ease;
  display: block; color: inherit;
}
.we990-game:hover { transform: translateY(-2px); border-color: var(--we990-primary); }
.we990-game img {
  width: 100%; aspect-ratio: 1; object-fit: cover;
  border-radius: 9px; margin-bottom: 6px;
}
.we990-game-name {
  font-size: 1.18rem; color: var(--we990-text);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  font-weight: 600;
}

/* ---------- Cards ---------- */
.we990-card {
  background: var(--we990-card);
  border: 1px solid var(--we990-border);
  border-radius: 12px;
  padding: 14px;
  margin: 10px 0;
}
.we990-card h3 { margin: 0 0 6px; font-size: 1.5rem; color: var(--we990-gold); }
.we990-card p { margin: 0 0 8px; font-size: 1.35rem; color: var(--we990-muted); }

.we990-card-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}
.we990-stat {
  background: var(--we990-bg-2);
  border-radius: 10px;
  padding: 10px;
  text-align: center;
}
.we990-stat b { display: block; font-size: 1.8rem; color: var(--we990-primary-2); }
.we990-stat span { font-size: 1.15rem; color: var(--we990-muted); }

.we990-list { margin: 0; padding-left: 18px; color: var(--we990-muted); font-size: 1.35rem; }
.we990-list li { margin-bottom: 6px; }

.we990-faq-item {
  border-bottom: 1px dashed var(--we990-border);
  padding: 10px 0;
}
.we990-faq-item h4 { margin: 0 0 4px; font-size: 1.4rem; color: var(--we990-text); }
.we990-faq-item p { margin: 0; font-size: 1.3rem; color: var(--we990-muted); }

/* ---------- Testimonials ---------- */
.we990-testi {
  background: var(--we990-bg-2);
  border-left: 3px solid var(--we990-primary);
  border-radius: 8px;
  padding: 10px 12px;
  margin: 8px 0;
  font-size: 1.3rem;
  color: var(--we990-text);
}
.we990-testi b { color: var(--we990-gold); display: block; font-size: 1.2rem; }

/* ---------- Payment / Badges ---------- */
.we990-badges { display: flex; flex-wrap: wrap; gap: 8px; }
.we990-badge {
  background: var(--we990-bg-2);
  border: 1px solid var(--we990-border);
  border-radius: 8px;
  padding: 8px 10px;
  font-size: 1.2rem;
  display: inline-flex; align-items: center; gap: 6px;
}

/* ---------- Footer ---------- */
.we990-footer {
  margin-top: 24px;
  padding: 20px 14px 24px;
  background: var(--we990-bg-2);
  border-top: 1px solid var(--we990-border);
  color: var(--we990-muted);
}
.we990-footer p { font-size: 1.3rem; margin: 0 0 10px; }
.we990-footer-links {
  display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0;
}
.we990-footer-links a {
  font-size: 1.2rem;
  color: var(--we990-text);
  background: var(--we990-card);
  padding: 5px 9px; border-radius: 6px;
  border: 1px solid var(--we990-border);
}
.we990-promo-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  margin: 12px 0;
}
.we990-promo-row .we990-btn { width: 100%; }
.we990-copy { font-size: 1.1rem; color: var(--we990-muted); margin-top: 8px; }

/* ---------- Mobile Bottom Nav ---------- */
.we990-bottom-nav {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  height: 60px;
  z-index: 1000;
  background: linear-gradient(180deg, #15110d, #0a0805);
  border-top: 1px solid var(--we990-border);
  display: flex;
  justify-content: space-around;
  align-items: center;
}
.we990-navbtn {
  flex: 1;
  min-width: 60px;
  min-height: 60px;
  background: transparent;
  border: none;
  color: var(--we990-muted);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  cursor: pointer;
  font-size: 1rem;
  position: relative;
  transition: color .2s ease, transform .15s ease;
}
.we990-navbtn .material-icons,
.we990-navbtn .fas,
.we990-navbtn .far,
.we990-navbtn .bi,
.we990-navbtn ion-icon {
  font-size: 22px;
}
.we990-navbtn ion-icon { font-size: 24px; }
.we990-navbtn:active { transform: scale(0.92); }
.we990-navbtn.we990-current { color: var(--we990-gold); }
.we990-navbtn.we990-current::before {
  content: '';
  position: absolute;
  top: 0; left: 25%; right: 25%;
  height: 3px;
  background: var(--we990-gold);
  border-radius: 0 0 4px 4px;
}

main { padding-bottom: 80px; }

/* ---------- Desktop ---------- */
@media (min-width: 769px) {
  .we990-bottom-nav { display: none; }
  .we990-header-inner { max-width: 768px; }
  .we990-container { max-width: 768px; }
  main { padding-bottom: 20px; }
  .we990-grid { grid-template-columns: repeat(6, 1fr); }
  .we990-card-grid { grid-template-columns: repeat(4, 1fr); }
}

/* ---------- Utility ---------- */
.we990-mt8 { margin-top: 8px; }
.we990-center { text-align: center; }
.we990-hidden { display: none !important; }
.we990-pill {
  display: inline-block;
  background: rgba(139,0,0,0.35);
  color: #ffd9b3;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 1.1rem;
  margin-left: 6px;
}
