/* luckypot.homes - layout.css | class prefix: s286-
   Palette: #BF360C | #F4A460 | #FFF8DC | #0C0C0C | mobile-first max 430px */
:root {
  --s286-primary: #BF360C;
  --s286-primary-dark: #8a2706;
  --s286-gold: #F4A460;
  --s286-gold-soft: #f6c893;
  --s286-cream: #FFF8DC;
  --s286-bg: #0C0C0C;
  --s286-bg-soft: #15100c;
  --s286-bg-card: #1a120b;
  --s286-text: #FFF8DC;
  --s286-text-dim: #d8c9a3;
  --s286-border: rgba(244, 164, 96, 0.22);
  --s286-shadow: 0 6px 22px rgba(0, 0, 0, 0.55);
  --s286-radius: 1.4rem;
  --s286-radius-sm: 1rem;
  --s286-max: 430px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 62.5%; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Segoe UI', Roboto, system-ui, -apple-system, 'Helvetica Neue', sans-serif;
  background: radial-gradient(circle at top, rgba(191, 54, 12, 0.18), transparent 55%), var(--s286-bg);
  color: var(--s286-text);
  line-height: 1.5rem;
  font-size: 1.4rem;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--s286-gold); text-decoration: none; }
a:hover { color: var(--s286-cream); }
h1, h2, h3, h4 { line-height: 2.2rem; color: var(--s286-cream); }

/* ---------- Layout containers ---------- */
.s286-container { width: 100%; max-width: var(--s286-max); margin: 0 auto; padding: 0 1.2rem; }
.s286-wrapper { padding-top: 5.6rem; padding-bottom: 8rem; }
.s286-section {
  margin: 2.4rem 0;
  padding: 1.8rem 1.4rem;
  background: linear-gradient(160deg, var(--s286-bg-card), var(--s286-bg-soft));
  border: 1px solid var(--s286-border);
  border-radius: var(--s286-radius);
  box-shadow: var(--s286-shadow);
}
.s286-section-title {
  display: flex; align-items: center; gap: 0.8rem;
  font-size: 1.7rem; margin-bottom: 1.2rem;
  padding-bottom: 0.8rem;
  border-bottom: 1px dashed var(--s286-border);
  flex-wrap: wrap;
}
.s286-section-title .material-icons,
.s286-section-title i { color: var(--s286-gold); font-size: 2.2rem; }
.s286-section-title small { font-size: 1.1rem; color: var(--s286-text-dim); font-weight: 400; width: 100%; }

/* ---------- Fixed header ---------- */
.s286-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: linear-gradient(90deg, var(--s286-bg-soft), #1f1408);
  border-bottom: 1px solid var(--s286-border);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.6);
}
.s286-header-inner {
  max-width: var(--s286-max);
  margin: 0 auto;
  height: 5.6rem;
  padding: 0 1rem;
  display: flex; align-items: center; gap: 0.8rem;
}
.s286-logo { display: flex; align-items: center; gap: 0.7rem; flex: 1; min-width: 0; }
.s286-logo img { width: 3.2rem; height: 3.2rem; border-radius: 0.7rem; }
.s286-logo span {
  font-size: 1.8rem; font-weight: 800; letter-spacing: 0.5px;
  background: linear-gradient(90deg, var(--s286-gold), var(--s286-cream));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.s286-header-actions { display: flex; align-items: center; gap: 0.5rem; }

/* ---------- Buttons ---------- */
.s286-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.4rem;
  border: none; cursor: pointer; font-weight: 700; font-size: 1.3rem;
  padding: 0.75rem 1.2rem; border-radius: 2.4rem; line-height: 1; min-height: 3.6rem;
  transition: transform 0.15s ease, filter 0.15s ease, box-shadow 0.15s ease;
}
.s286-btn:active { transform: scale(0.94); }
.s286-btn-login { background: transparent; color: var(--s286-cream); border: 1px solid var(--s286-gold); }
.s286-btn-register {
  background: linear-gradient(90deg, var(--s286-primary), #e85a26);
  color: #fff; box-shadow: 0 4px 14px rgba(191, 54, 12, 0.55);
}
.s286-btn-register:hover { color: #fff; filter: brightness(1.08); }
.s286-btn-block { width: 100%; padding: 1.1rem; font-size: 1.5rem; margin: 0.8rem 0; }
.s286-btn-ghost { background: rgba(244, 164, 96, 0.1); color: var(--s286-gold); border: 1px solid var(--s286-border); }
.s286-menu-btn {
  background: transparent; border: 1px solid var(--s286-border); color: var(--s286-gold);
  width: 3.8rem; height: 3.8rem; border-radius: 1rem; font-size: 1.8rem;
  display: inline-flex; align-items: center; justify-content: center; cursor: pointer;
}
.s286-menu-btn:hover { background: rgba(244, 164, 96, 0.1); }

/* ---------- Mobile slide-in menu ---------- */
.s286-overlay {
  position: fixed; inset: 0; background: rgba(0, 0, 0, 0.65);
  opacity: 0; pointer-events: none; transition: opacity 0.25s ease; z-index: 9998;
}
.s286-overlay.s286-active { opacity: 1; pointer-events: auto; }
.s286-mobile-menu {
  position: fixed; top: 0; right: -85%;
  width: 80%; max-width: 320px; height: 100vh;
  background: linear-gradient(180deg, #1c1208, #0d0905);
  border-left: 1px solid var(--s286-border); z-index: 9999;
  transition: right 0.28s ease; padding: 1.6rem 1.2rem 3rem; overflow-y: auto;
}
.s286-mobile-menu.s286-active { right: 0; }
.s286-mobile-menu-head {
  display: flex; justify-content: space-between; align-items: center;
  padding-bottom: 1.2rem; margin-bottom: 1.2rem;
  border-bottom: 1px solid var(--s286-border);
}
.s286-mobile-menu-head span { color: var(--s286-gold); font-weight: 700; font-size: 1.6rem; }
.s286-mobile-menu .s286-close { background: transparent; border: none; color: var(--s286-cream); font-size: 2rem; cursor: pointer; }
.s286-mobile-menu a {
  display: flex; align-items: center; gap: 0.9rem;
  padding: 1.1rem 0.8rem; color: var(--s286-cream);
  border-radius: 0.8rem; font-size: 1.4rem;
  border-bottom: 1px dashed rgba(244, 164, 96, 0.14);
}
.s286-mobile-menu a:hover { background: rgba(191, 54, 12, 0.18); color: var(--s286-gold); }
.s286-mobile-menu a i { color: var(--s286-gold); width: 2rem; text-align: center; }

/* ---------- Carousel ---------- */
.s286-carousel {
  position: relative; margin: 1.6rem 0 0.8rem;
  border-radius: var(--s286-radius); overflow: hidden;
  box-shadow: var(--s286-shadow); border: 1px solid var(--s286-border);
}
.s286-slide { position: relative; display: none; cursor: pointer; }
.s286-slide.s286-active { display: block; }
.s286-slide img { width: 100%; height: 19rem; object-fit: cover; }
.s286-slide-caption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 1.4rem 1.4rem 1.6rem;
  background: linear-gradient(transparent, rgba(12, 12, 12, 0.92));
  color: var(--s286-cream);
}
.s286-slide-caption strong { color: var(--s286-gold); display: block; font-size: 1.7rem; margin-bottom: 0.3rem; }
.s286-slide-caption span { font-size: 1.25rem; color: var(--s286-text-dim); }
.s286-dots {
  position: absolute; bottom: 0.6rem; right: 1rem;
  display: flex; gap: 0.5rem; z-index: 4;
}
.s286-dot {
  width: 0.7rem; height: 0.7rem; border-radius: 50%;
  background: rgba(255, 248, 220, 0.4); cursor: pointer;
  transition: background 0.2s, width 0.2s;
}
.s286-dot.s286-active { background: var(--s286-gold); width: 1.8rem; border-radius: 0.4rem; }

/* ---------- Hero + jump chips ---------- */
.s286-hero-text { padding: 1.4rem 1rem; text-align: center; }
.s286-hero-text h1 {
  font-size: 2rem; margin-bottom: 0.6rem;
  background: linear-gradient(90deg, var(--s286-gold), var(--s286-cream));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.s286-hero-text p { color: var(--s286-text-dim); font-size: 1.3rem; }
.s286-anchor-jump {
  display: flex; gap: 0.6rem; flex-wrap: wrap; justify-content: center;
  padding: 0.4rem 0 1.2rem;
}
.s286-chip {
  display: inline-flex; align-items: center; gap: 0.4rem;
  padding: 0.55rem 1rem; background: rgba(191, 54, 12, 0.18);
  border: 1px solid var(--s286-border); color: var(--s286-cream);
  border-radius: 2rem; font-size: 1.15rem; font-weight: 600; cursor: pointer;
}
.s286-chip:hover { background: rgba(191, 54, 12, 0.35); }
.s286-chip i, .s286-chip .material-icons { color: var(--s286-gold); font-size: 1.4rem; }

/* ---------- Game grid ---------- */
.s286-cat-head {
  display: flex; align-items: center; justify-content: space-between;
  margin: 1.4rem 0 0.9rem; padding: 0 0.4rem;
}
.s286-cat-head h2 { display: flex; align-items: center; gap: 0.6rem; font-size: 1.55rem; }
.s286-cat-head h2 i, .s286-cat-head h2 .material-icons { color: var(--s286-gold); font-size: 1.8rem; }
.s286-cat-head a { font-size: 1.15rem; color: var(--s286-gold); font-weight: 600; }
.s286-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.8rem; }
.s286-game-tile {
  display: flex; flex-direction: column; align-items: center;
  background: var(--s286-bg-card);
  border: 1px solid var(--s286-border); border-radius: var(--s286-radius-sm);
  padding: 0.6rem 0.4rem; cursor: pointer; text-align: center;
  transition: transform 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}
.s286-game-tile:hover {
  transform: translateY(-3px); border-color: var(--s286-gold);
  box-shadow: 0 6px 18px rgba(191, 54, 12, 0.4);
}
.s286-game-tile img {
  width: 100%; aspect-ratio: 1 / 1; object-fit: cover;
  border-radius: 0.7rem; margin-bottom: 0.4rem; background: #0a0805;
}
.s286-game-tile span {
  font-size: 1.05rem; color: var(--s286-cream); line-height: 1.25rem;
  height: 2.5rem; overflow: hidden; display: -webkit-box;
  -webkit-line-clamp: 2; -webkit-box-orient: vertical;
}

/* ---------- Generic content helpers ---------- */
.s286-p { margin: 0.6rem 0; color: var(--s286-text-dim); }
.s286-p strong { color: var(--s286-gold); }
.s286-list { margin: 0.6rem 0 0.6rem 1.6rem; color: var(--s286-text-dim); }
.s286-list li { margin: 0.35rem 0; }
.s286-inline-link { color: var(--s286-gold); font-weight: 700; }
.s286-inline-link:hover { text-decoration: underline; }
.s286-card-row { display: flex; gap: 0.8rem; flex-wrap: wrap; margin-top: 0.8rem; }
.s286-mini-card {
  flex: 1 1 12rem; background: rgba(244, 164, 96, 0.06);
  border: 1px solid var(--s286-border); border-radius: var(--s286-radius-sm);
  padding: 1rem; text-align: center;
}
.s286-mini-card i, .s286-mini-card .material-icons { color: var(--s286-gold); font-size: 2rem; }
.s286-mini-card strong { display: block; color: var(--s286-cream); font-size: 1.25rem; margin: 0.3rem 0; }
.s286-mini-card span { color: var(--s286-text-dim); font-size: 1.1rem; }

/* ---------- RTP bars ---------- */
.s286-rtp {
  display: flex; justify-content: space-between; align-items: center;
  padding: 0.7rem 0;
  border-bottom: 1px dashed var(--s286-border);
  font-size: 1.2rem;
}
.s286-rtp:last-child { border-bottom: none; }
.s286-rtp .s286-rtp-name { color: var(--s286-cream); font-weight: 600; }
.s286-rtp .s286-rtp-bar {
  flex: 1; height: 0.6rem;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 0.4rem;
  margin: 0 0.8rem; overflow: hidden;
}
.s286-rtp .s286-rtp-fill {
  display: block; height: 100%;
  background: linear-gradient(90deg, var(--s286-primary), var(--s286-gold));
  border-radius: 0.4rem;
}
.s286-rtp .s286-rtp-val { color: var(--s286-gold); font-weight: 700; }

/* ---------- Testimonials / payments / app CTA / FAQ ---------- */
.s286-testi {
  background: rgba(244, 164, 96, 0.06);
  border-left: 3px solid var(--s286-gold);
  padding: 0.9rem 1rem;
  border-radius: 0.6rem;
  margin: 0.6rem 0;
}
.s286-testi p { color: var(--s286-cream); font-style: italic; font-size: 1.25rem; }
.s286-testi small { color: var(--s286-gold); display: block; margin-top: 0.4rem; }
.s286-pay-row { display: flex; flex-wrap: wrap; gap: 0.6rem; justify-content: center; margin-top: 0.8rem; }
.s286-pay {
  background: var(--s286-bg);
  border: 1px solid var(--s286-border);
  border-radius: 0.6rem;
  padding: 0.6rem 0.9rem;
  color: var(--s286-cream);
  font-weight: 700; font-size: 1.1rem;
  display: inline-flex; align-items: center; gap: 0.4rem;
}
.s286-pay i, .s286-pay .ion { color: var(--s286-gold); }
.s286-app-cta {
  background: linear-gradient(135deg, rgba(191, 54, 12, 0.25), rgba(244, 164, 96, 0.1));
  border-color: var(--s286-gold);
  text-align: center;
}
.s286-app-cta .s286-section-title { justify-content: center; }
.s286-app-cta .s286-app-buttons { display: flex; gap: 0.7rem; justify-content: center; margin-top: 1rem; flex-wrap: wrap; }
.s286-faq { padding: 0.8rem 0; border-bottom: 1px dashed var(--s286-border); }
.s286-faq:last-of-type { border-bottom: none; }
.s286-faq h4 { color: var(--s286-gold); font-size: 1.35rem; margin-bottom: 0.3rem; }
.s286-faq p { color: var(--s286-text-dim); font-size: 1.2rem; }

/* ---------- Footer ---------- */
.s286-footer {
  background: linear-gradient(180deg, var(--s286-bg-soft), #050402);
  border-top: 1px solid var(--s286-border);
  padding: 2rem 1.2rem 7.5rem;
  margin-top: 2rem;
}
.s286-footer p { color: var(--s286-text-dim); font-size: 1.2rem; margin: 0.4rem 0; }
.s286-footer h4 { color: var(--s286-gold); font-size: 1.4rem; margin: 1.2rem 0 0.6rem; }
.s286-footer-links { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 0.8rem 0; }
.s286-footer-links a, .s286-footer-links button {
  display: inline-flex; align-items: center; gap: 0.35rem;
  padding: 0.5rem 0.9rem;
  background: rgba(244, 164, 96, 0.08);
  border: 1px solid var(--s286-border);
  border-radius: 2rem;
  color: var(--s286-cream);
  font-size: 1.1rem; font-family: inherit;
  cursor: pointer;
}
.s286-footer-links a:hover, .s286-footer-links button:hover { background: rgba(191, 54, 12, 0.25); color: var(--s286-gold); }
.s286-footer-links i, .s286-footer-links .material-icons { color: var(--s286-gold); }
.s286-footer-copy { margin-top: 1.2rem; font-size: 1.1rem; color: var(--s286-text-dim); text-align: center; }

/* ---------- Mobile bottom navigation ---------- */
.s286-bottom-nav {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  height: 6rem;
  background: linear-gradient(180deg, #1a1108, #070503);
  border-top: 1px solid var(--s286-gold);
  box-shadow: 0 -4px 18px rgba(0, 0, 0, 0.7);
  display: flex; justify-content: space-around; align-items: stretch;
  z-index: 1000;
}
.s286-bottom-nav-btn {
  flex: 1;
  background: transparent; border: none;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 0.2rem;
  color: var(--s286-text-dim);
  font-size: 1rem; font-weight: 600;
  cursor: pointer;
  position: relative;
  transition: color 0.18s ease, transform 0.18s ease;
  min-width: 60px; min-height: 60px;
  padding-top: 0.4rem;
  text-decoration: none;
}
.s286-bottom-nav-btn .s286-bn-icon,
.s286-bottom-nav-btn .material-icons,
.s286-bottom-nav-btn .ion { font-size: 2.2rem; line-height: 1; transition: transform 0.18s ease; }
.s286-bottom-nav-btn:hover { color: var(--s286-gold); }
.s286-bottom-nav-btn:hover .s286-bn-icon { transform: translateY(-2px) scale(1.08); }
.s286-bottom-nav-btn.s286-active { color: var(--s286-gold); }
.s286-bottom-nav-btn.s286-active::before {
  content: ""; position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 2.6rem; height: 0.25rem;
  background: var(--s286-gold);
  border-radius: 0 0 0.3rem 0.3rem;
}
.s286-bn-badge {
  position: absolute; top: 0.5rem; right: 30%;
  background: var(--s286-primary); color: #fff;
  font-size: 0.85rem; font-weight: 700;
  border-radius: 1rem; padding: 0 0.35rem;
  min-width: 1.4rem; height: 1.4rem;
  display: inline-flex; align-items: center; justify-content: center;
}

/* ---------- Responsive ---------- */
@media (min-width: 769px) {
  .s286-bottom-nav { display: none; }
  .s286-footer { padding-bottom: 2rem; }
  .s286-wrapper { padding-bottom: 2rem; }
}
@media (min-width: 600px) and (max-width: 768px) { .s286-grid { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 360px) {
  .s286-game-tile span { font-size: 1rem; }
  .s286-grid { gap: 0.6rem; }
  .s286-header-inner { height: 5.2rem; }
}

/* Accessibility skip link */
.s286-skip {
  position: absolute; left: -9999px; top: 0;
  background: var(--s286-gold); color: var(--s286-bg);
  padding: 0.8rem 1.2rem; border-radius: 0 0 0.6rem 0; z-index: 10000;
}
.s286-skip:focus { left: 0; }
