/* ============================================================
 * ll99.homes - Core stylesheet (base file)
 * All custom classes use the sdd7- prefix.
 * Mobile-first design (max 430px). All code comments in English.
 * Palette: #1C2833 | #000080 | #CD853F | #C71585 | #8B0000
 * ========================================================== */

:root {
  --sdd7-bg: #1C2833;
  --sdd7-primary: #000080;
  --sdd7-accent: #CD853F;
  --sdd7-magenta: #C71585;
  --sdd7-dark-red: #8B0000;
  --sdd7-text: #f5f6fa;
  --sdd7-text-muted: #b9c0cf;
  --sdd7-card: #232f3e;
  --sdd7-card-2: #2c3a4d;
  --sdd7-border: #3a4a60;
  --sdd7-gold: #f2c14e;
  --sdd7-radius: 12px;
  --sdd7-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
  --sdd7-header-h: 56px;
  --sdd7-bottom-h: 62px;
  font-size: 62.5%;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  font-family: "Be Vietnam Pro", "Segoe UI", Roboto, system-ui, sans-serif;
  background: linear-gradient(180deg, #141d29 0%, #1C2833 40%, #141d29 100%);
  color: var(--sdd7-text);
  line-height: 1.5rem;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  overflow-x: hidden;
}

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

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

main { padding-top: var(--sdd7-header-h); }
@media (max-width: 768px) {
  main { padding-bottom: calc(var(--sdd7-bottom-h) + 18px); }
}

/* ---------- Header ---------- */
.sdd7-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--sdd7-header-h);
  background: linear-gradient(90deg, #0b1230 0%, #000080 60%, #1b2a6b 100%);
  border-bottom: 1px solid var(--sdd7-border);
  z-index: 1000;
  display: flex;
  align-items: center;
}
.sdd7-header-inner {
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
  padding: 0 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.sdd7-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  font-weight: 800;
  font-size: 1.8rem;
  letter-spacing: 0.5px;
}
.sdd7-brand .sdd7-logo {
  width: 28px; height: 28px;
  border-radius: 8px;
  background: radial-gradient(circle at 30% 30%, var(--sdd7-accent), var(--sdd7-dark-red));
  display: grid; place-items: center;
  color: #fff; font-size: 1.4rem;
  box-shadow: var(--sdd7-shadow);
}
.sdd7-brand small { color: var(--sdd7-text-muted); font-weight: 500; font-size: 1.1rem; }

.sdd7-header-actions { display: flex; align-items: center; gap: 6px; }
.sdd7-btn {
  border: none;
  border-radius: 999px;
  padding: 0.7rem 1.4rem;
  font-size: 1.3rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, filter .15s ease;
  min-height: 34px;
}
.sdd7-btn:active { transform: scale(0.96); }
.sdd7-btn-primary {
  background: linear-gradient(90deg, var(--sdd7-magenta), var(--sdd7-dark-red));
  color: #fff;
  box-shadow: 0 4px 12px rgba(199, 21, 133, 0.45);
}
.sdd7-btn-ghost {
  background: transparent;
  color: #fff;
  border: 1px solid var(--sdd7-accent);
}
.sdd7-btn-gold {
  background: linear-gradient(90deg, var(--sdd7-gold), var(--sdd7-accent));
  color: #1C2833;
  box-shadow: 0 4px 12px rgba(205, 133, 63, 0.45);
}
.sdd7-btn-block { display: block; width: 100%; }

.sdd7-menu-toggle {
  background: transparent;
  border: none;
  color: #fff;
  font-size: 2rem;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 8px;
}

/* ---------- Mobile menu ---------- */
.sdd7-mobile-menu {
  position: fixed;
  top: var(--sdd7-header-h);
  right: 0;
  width: 78%;
  max-width: 320px;
  background: #1a2435;
  border-left: 1px solid var(--sdd7-border);
  transform: translateX(110%);
  transition: transform .25s ease;
  z-index: 9999;
  padding: 14px 12px 24px;
  box-shadow: var(--sdd7-shadow);
  height: calc(100vh - var(--sdd7-header-h));
  overflow-y: auto;
}
.sdd7-mobile-menu.sdd7-menu-open { transform: translateX(0); }
.sdd7-mobile-menu h4 {
  margin: 14px 4px 6px;
  color: var(--sdd7-gold);
  font-size: 1.3rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.sdd7-mobile-menu a {
  display: block;
  padding: 10px 12px;
  margin: 4px 0;
  background: var(--sdd7-card);
  border-radius: 10px;
  color: #fff;
  font-size: 1.35rem;
}
.sdd7-mobile-menu a:active { background: var(--sdd7-card-2); }
.sdd7-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.55);
  z-index: 9998;
  opacity: 0; pointer-events: none;
  transition: opacity .2s ease;
}
.sdd7-overlay.sdd7-menu-open { opacity: 1; pointer-events: auto; }

/* ---------- Hero carousel ---------- */
.sdd7-hero {
  position: relative;
  border-radius: var(--sdd7-radius);
  overflow: hidden;
  margin: 12px 0;
  box-shadow: var(--sdd7-shadow);
}
.sdd7-slide {
  display: none;
  position: relative;
}
.sdd7-slide.sdd7-slide-active { display: block; }
.sdd7-slide img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
}
.sdd7-slide-cap {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 14px;
  background: linear-gradient(0deg, rgba(0,0,0,0.85), transparent);
}
.sdd7-slide-cap h2 {
  margin: 0 0 6px;
  font-size: 1.7rem;
  color: #fff;
}
.sdd7-slide-cap p { margin: 0; color: var(--sdd7-text-muted); font-size: 1.25rem; }
.sdd7-dots {
  position: absolute;
  bottom: 8px; right: 10px;
  display: flex; gap: 6px;
}
.sdd7-slide-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.45);
}
.sdd7-slide-dot.sdd7-dot-active { background: var(--sdd7-gold); }

/* ---------- Section / headings ---------- */
.sdd7-section {
  margin: 18px 0;
  padding: 14px;
  background: var(--sdd7-card);
  border-radius: var(--sdd7-radius);
  border: 1px solid var(--sdd7-border);
}
.sdd7-section-title {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 10px;
  font-size: 1.55rem;
  color: #fff;
  border-left: 4px solid var(--sdd7-accent);
  padding-left: 10px;
}
.sdd7-section-title i { color: var(--sdd7-gold); }
.sdd7-section p { color: var(--sdd7-text-muted); margin: 6px 0; font-size: 1.3rem; }

.sdd7-h1 {
  font-size: 2.1rem;
  margin: 14px 0 6px;
  color: #fff;
  line-height: 1.35;
}
.sdd7-h1 span { color: var(--sdd7-gold); }
.sdd7-lead { color: var(--sdd7-text-muted); margin-bottom: 8px; font-size: 1.32rem; }

/* ---------- Game grid ---------- */
.sdd7-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
@media (min-width: 400px) { .sdd7-grid { grid-template-columns: repeat(4, 1fr); } }
.sdd7-card {
  background: var(--sdd7-card-2);
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--sdd7-border);
  text-align: center;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease;
}
.sdd7-card:active { transform: scale(0.97); }
.sdd7-card img {
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
}
.sdd7-card-name {
  padding: 5px 4px;
  font-size: 1.1rem;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.sdd7-cat-tag {
  display: inline-block;
  background: linear-gradient(90deg, var(--sdd7-magenta), var(--sdd7-dark-red));
  color: #fff;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 8px;
}

/* ---------- Promotional text links ---------- */
.sdd7-link {
  color: var(--sdd7-gold);
  font-weight: 700;
  cursor: pointer;
  text-decoration: underline;
}
.sdd7-link:hover { color: #ffe08a; }

/* ---------- Feature list ---------- */
.sdd7-feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}
.sdd7-feature {
  background: var(--sdd7-card-2);
  border: 1px solid var(--sdd7-border);
  border-radius: 10px;
  padding: 10px;
}
.sdd7-feature i { color: var(--sdd7-accent); font-size: 1.8rem; }
.sdd7-feature h3 { margin: 4px 0 2px; font-size: 1.35rem; color: #fff; }
.sdd7-feature p { margin: 0; color: var(--sdd7-text-muted); font-size: 1.18rem; }

/* ---------- RTP table ---------- */
.sdd7-table { width: 100%; border-collapse: collapse; font-size: 1.2rem; }
.sdd7-table th, .sdd7-table td {
  padding: 6px 8px;
  border-bottom: 1px solid var(--sdd7-border);
  text-align: left;
  color: var(--sdd7-text);
}
.sdd7-table th { color: var(--sdd7-gold); background: rgba(205,133,63,0.08); }

/* ---------- FAQ ---------- */
.sdd7-faq-item {
  background: var(--sdd7-card-2);
  border: 1px solid var(--sdd7-border);
  border-radius: 8px;
  padding: 8px 10px;
  margin-bottom: 6px;
}
.sdd7-faq-item h3 { margin: 0 0 4px; font-size: 1.28rem; color: var(--sdd7-gold); }
.sdd7-faq-item p { margin: 0; font-size: 1.2rem; color: var(--sdd7-text-muted); }

/* ---------- Testimonials ---------- */
.sdd7-quote {
  background: var(--sdd7-card-2);
  border-left: 3px solid var(--sdd7-magenta);
  padding: 8px 10px;
  border-radius: 6px;
  margin-bottom: 6px;
  font-size: 1.2rem;
  color: var(--sdd7-text-muted);
}
.sdd7-quote b { color: #fff; }

/* ---------- Payment ---------- */
.sdd7-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.sdd7-chip {
  background: var(--sdd7-card-2);
  border: 1px solid var(--sdd7-border);
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 1.15rem;
  color: var(--sdd7-text);
}
.sdd7-chip i { color: var(--sdd7-accent); margin-right: 4px; }

/* ---------- Winners ---------- */
.sdd7-winner-row {
  display: flex; justify-content: space-between;
  padding: 5px 8px;
  border-bottom: 1px dashed var(--sdd7-border);
  font-size: 1.2rem;
}
.sdd7-winner-row b { color: var(--sdd7-gold); }

/* ---------- Reveal animation ---------- */
.sdd7-reveal { opacity: 0; transform: translateY(12px); transition: opacity .4s ease, transform .4s ease; }
.sdd7-reveal.sdd7-revealed { opacity: 1; transform: none; }

/* ---------- Footer ---------- */
.sdd7-footer {
  margin-top: 22px;
  padding: 18px 14px 22px;
  background: #0d1422;
  border-top: 1px solid var(--sdd7-border);
  color: var(--sdd7-text-muted);
}
.sdd7-footer h4 { color: #fff; margin: 10px 0 6px; font-size: 1.4rem; }
.sdd7-footer p { font-size: 1.2rem; margin: 4px 0; }
.sdd7-footer-links {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 4px 10px;
  margin: 8px 0;
}
.sdd7-footer-links a { color: var(--sdd7-text-muted); font-size: 1.18rem; }
.sdd7-footer-links a:hover { color: var(--sdd7-gold); }
.sdd7-promo-row {
  display: flex; flex-wrap: wrap; gap: 6px; margin: 8px 0;
}
.sdd7-promo-row .sdd7-btn { font-size: 1.15rem; padding: 0.55rem 1rem; }
.sdd7-copy {
  text-align: center;
  font-size: 1.1rem;
  color: #6f7886;
  margin-top: 10px;
}

/* ---------- Bottom nav (mobile only) ---------- */
.sdd7-bottom-nav {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  height: var(--sdd7-bottom-h);
  background: linear-gradient(180deg, #101a2c, #0a1120);
  border-top: 1px solid var(--sdd7-border);
  display: flex;
  justify-content: space-around;
  align-items: stretch;
  z-index: 1000;
}
.sdd7-nav-btn {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 60px;
  min-height: 60px;
  background: transparent;
  border: none;
  color: var(--sdd7-text-muted);
  font-size: 1.05rem;
  cursor: pointer;
  gap: 2px;
  padding: 4px 2px;
  transition: color .15s ease, transform .15s ease;
}
.sdd7-nav-btn:active { transform: scale(0.92); }
.sdd7-nav-btn .material-icons,
.sdd7-nav-btn i { font-size: 22px; }
.sdd7-nav-btn span { font-size: 1.0rem; }
.sdd7-nav-btn.sdd7-nav-active { color: var(--sdd7-gold); }
.sdd7-nav-btn.sdd7-promo { color: var(--sdd7-magenta); }

@media (min-width: 769px) {
  .sdd7-bottom-nav { display: none; }
  .sdd7-menu-toggle { display: none; }
}
@media (min-width: 769px) {
  main { padding-bottom: 20px; }
}

/* Desktop top nav (hidden on mobile) */
.sdd7-desktop-nav {
  display: none;
}
@media (min-width: 769px) {
  .sdd7-desktop-nav {
    display: flex;
    gap: 16px;
    align-items: center;
  }
  .sdd7-desktop-nav a {
    color: #fff;
    font-size: 1.25rem;
  }
  .sdd7-container { max-width: 1100px; }
}

/* Utility */
.sdd7-center { text-align: center; }
.sdd7-mt8 { margin-top: 8px; }
.sdd7-mt12 { margin-top: 12px; }
.sdd7-mb8 { margin-bottom: 8px; }
.sdd7-badges { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 6px; }
.sdd7-badge {
  font-size: 1.05rem;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(205,133,63,0.15);
  color: var(--sdd7-gold);
  border: 1px solid rgba(205,133,63,0.4);
}
