/* ============================================================
   aae88.click - style-4112.css
   Mobile-first gaming portal. All custom classes use s411- prefix.
   Palette: #0A0A0A (bg) + #00FF00 (accent) + light text.
   ============================================================ */

:root {
  --s411-primary: #00FF00;
  --s411-primary-dark: #00c400;
  --s411-bg: #0A0A0A;
  --s411-bg-2: #121212;
  --s411-bg-3: #1a1a1a;
  --s411-text: #f5f5f5;
  --s411-text-dim: #b8b8b8;
  --s411-border: rgba(0, 255, 0, 0.22);
  --s411-gold: #ffd54a;
  --s411-danger: #ff5252;
  --s411-radius: 14px;
  --s411-shadow: 0 10px 28px rgba(0, 0, 0, 0.55);
  --s411-header-h: 60px;
  --s411-bottomnav-h: 62px;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: "Segoe UI", "Roboto", "Helvetica Neue", Arial, "Be Vietnam Pro", sans-serif;
  background: radial-gradient(circle at 50% 0%, #15301a 0%, #0A0A0A 55%);
  background-attachment: fixed;
  color: var(--s411-text);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}

img { max-width: 100%; display: block; }

a { color: var(--s411-primary); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3, h4 { line-height: 1.25; margin: 0 0 0.5em; color: #fff; }

.s411-container { width: 100%; max-width: 430px; margin: 0 auto; padding: 0 14px; }
.s411-wrapper { width: 100%; max-width: 1100px; margin: 0 auto; padding: 0 18px; }

/* ---------- Header ---------- */
.s411-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--s411-header-h);
  background: rgba(8, 12, 8, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--s411-border);
  z-index: 1000;
  transition: box-shadow .25s ease;
}
.s411-header.s411-scrolled { box-shadow: 0 6px 20px rgba(0, 255, 0, 0.12); }
.s411-header-inner {
  height: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.s411-logo { display: flex; align-items: center; gap: 8px; color: #fff; font-weight: 800; font-size: 1.9rem; }
.s411-logo img { width: 28px; height: 28px; border-radius: 6px; }
.s411-logo .s411-accent { color: var(--s411-primary); }

.s411-header-actions { display: flex; align-items: center; gap: 8px; }

.s411-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border: none;
  border-radius: 999px;
  padding: 9px 16px;
  font-size: 1.4rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease;
  text-decoration: none;
  line-height: 1;
}
.s411-btn:hover { text-decoration: none; transform: translateY(-1px); }
.s411-btn-primary { background: var(--s411-primary); color: #042404; box-shadow: 0 6px 16px rgba(0, 255, 0, 0.35); }
.s411-btn-primary:hover { background: var(--s411-primary-dark); color: #042404; }
.s411-btn-ghost { background: transparent; color: var(--s411-primary); border: 1px solid var(--s411-primary); }
.s411-btn-ghost:hover { background: rgba(0, 255, 0, 0.12); }
.s411-btn-gold { background: var(--s411-gold); color: #2a1d00; }
.s411-btn-sm { padding: 7px 12px; font-size: 1.3rem; }
.s411-btn-block { width: 100%; }

.s411-icon-btn {
  width: 40px; height: 40px;
  border-radius: 10px;
  border: 1px solid var(--s411-border);
  background: rgba(0, 255, 0, 0.06);
  color: var(--s411-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.9rem;
}

/* ---------- Mobile Menu ---------- */
.s411-mobile-menu {
  position: fixed;
  top: var(--s411-header-h);
  left: 0; right: 0;
  background: #0c130c;
  border-bottom: 1px solid var(--s411-border);
  max-height: 0;
  overflow: hidden;
  transition: max-height .3s ease;
  z-index: 9999;
}
.s411-mobile-menu.s411-open { max-height: 80vh; overflow-y: auto; }
.s411-mobile-menu-inner { padding: 10px 14px 18px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.s411-mobile-menu a {
  color: var(--s411-text);
  background: rgba(0, 255, 0, 0.05);
  border: 1px solid var(--s411-border);
  border-radius: 10px;
  padding: 12px;
  font-size: 1.4rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
}
.s411-mobile-menu a:hover { background: rgba(0, 255, 0, 0.14); text-decoration: none; }

/* ---------- Page spacing ---------- */
.s411-main { padding-top: calc(var(--s411-header-h) + 8px); padding-bottom: 24px; }

/* ---------- Hero / Carousel ---------- */
.s411-carousel {
  position: relative;
  border-radius: var(--s411-radius);
  overflow: hidden;
  box-shadow: var(--s411-shadow);
  margin: 12px 0 18px;
}
.s411-carousel-track { display: flex; transition: transform .55s ease; }
.s411-slide {
  position: relative;
  min-width: 100%;
  height: 200px;
}
.s411-slide img { width: 100%; height: 100%; object-fit: cover; }
.s411-slide-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(0,0,0,.85) 0%, rgba(0,0,0,.25) 60%, rgba(0,0,0,.55) 100%);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 20px;
}
.s411-slide-title { font-size: 2.2rem; font-weight: 800; color: #fff; margin: 0 0 6px; text-shadow: 0 2px 8px #000; }
.s411-slide-title .s411-accent { color: var(--s411-primary); }
.s411-slide-sub { font-size: 1.35rem; color: #e8ffd9; margin: 0 0 12px; }
.s411-carousel-dot-wrap { position: absolute; bottom: 10px; left: 0; right: 0; display: flex; justify-content: center; gap: 6px; }
.s411-carousel-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: rgba(255,255,255,.4); border: none; cursor: pointer; padding: 0;
}
.s411-carousel-dot.s411-active { background: var(--s411-primary); width: 22px; border-radius: 4px; }
.s411-carousel-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(0,0,0,.55); color: #fff; border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center; font-size: 1.6rem;
}
.s411-carousel-arrow:hover { background: var(--s411-primary); color: #042404; }
.s411-arrow-prev { left: 8px; }
.s411-arrow-next { right: 8px; }

/* ---------- Section ---------- */
.s411-section { margin: 22px 0; }
.s411-section-head {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 12px; gap: 10px;
}
.s411-section-title {
  font-size: 1.85rem; font-weight: 800; color: #fff;
  display: flex; align-items: center; gap: 8px; margin: 0;
}
.s411-section-title::before {
  content: ""; width: 5px; height: 22px; border-radius: 3px; background: var(--s411-primary);
}
.s411-section-title .s411-accent { color: var(--s411-primary); }
.s411-section-link { font-size: 1.3rem; color: var(--s411-primary); font-weight: 600; }

.s411-pill-row { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; margin-bottom: 10px; }
.s411-pill-row::-webkit-scrollbar { height: 4px; }
.s411-pill {
  flex: 0 0 auto;
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(0, 255, 0, 0.06);
  border: 1px solid var(--s411-border);
  color: var(--s411-text);
  font-size: 1.3rem; font-weight: 600;
  cursor: pointer;
}
.s411-pill.s411-active { background: var(--s411-primary); color: #042404; border-color: var(--s411-primary); }

/* ---------- Game grid ---------- */
.s411-game-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.s411-game-card {
  background: var(--s411-bg-2);
  border: 1px solid var(--s411-border);
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .2s ease, border-color .2s ease;
  display: flex;
  flex-direction: column;
}
.s411-game-card:hover {
  transform: translateY(-3px);
  border-color: var(--s411-primary);
  box-shadow: 0 10px 22px rgba(0, 255, 0, 0.18);
}
.s411-game-thumb { position: relative; aspect-ratio: 1 / 1; background: #050805; }
.s411-game-thumb img { width: 100%; height: 100%; object-fit: cover; }
.s411-game-badge {
  position: absolute; top: 6px; left: 6px;
  background: var(--s411-primary); color: #042404;
  font-size: 1rem; font-weight: 800;
  padding: 2px 7px; border-radius: 6px;
  text-transform: uppercase;
}
.s411-game-badge.s411-hot { background: #ff4d4d; color: #fff; }
.s411-game-title {
  padding: 7px 8px;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--s411-text);
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ---------- Features / Cards ---------- */
.s411-card {
  background: var(--s411-bg-2);
  border: 1px solid var(--s411-border);
  border-radius: var(--s411-radius);
  padding: 16px;
}
.s411-feature-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.s411-feature {
  background: var(--s411-bg-2);
  border: 1px solid var(--s411-border);
  border-radius: 12px;
  padding: 16px 12px;
  text-align: center;
}
.s411-feature-icon {
  width: 48px; height: 48px; border-radius: 12px;
  background: rgba(0, 255, 0, 0.12);
  color: var(--s411-primary);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 10px; font-size: 2.4rem;
}
.s411-feature h3 { font-size: 1.45rem; margin: 0 0 6px; }
.s411-feature p { font-size: 1.25rem; color: var(--s411-text-dim); margin: 0; }

/* ---------- Winner list ---------- */
.s411-winner-list { display: flex; flex-direction: column; gap: 8px; }
.s411-winner {
  display: flex; align-items: center; gap: 12px;
  background: var(--s411-bg-2);
  border: 1px solid var(--s411-border);
  border-radius: 10px;
  padding: 10px 12px;
}
.s411-winner-avatar {
  width: 36px; height: 36px; border-radius: 50%;
  background: linear-gradient(135deg, var(--s411-primary), var(--s411-gold));
  color: #042404; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  flex: 0 0 36px;
}
.s411-winner-meta { flex: 1; min-width: 0; }
.s411-winner-name { font-size: 1.3rem; font-weight: 700; color: #fff; }
.s411-winner-game { font-size: 1.15rem; color: var(--s411-text-dim); }
.s411-winner-amount { font-size: 1.45rem; font-weight: 800; color: var(--s411-primary); }

/* ---------- Testimonials ---------- */
.s411-testi-grid { display: grid; grid-template-columns: 1fr; gap: 12px; }
.s411-testi {
  background: var(--s411-bg-2);
  border: 1px solid var(--s411-border);
  border-radius: 12px;
  padding: 14px;
}
.s411-testi-head { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.s411-testi-avatar {
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--s411-primary); color: #042404;
  display: flex; align-items: center; justify-content: center; font-weight: 800;
}
.s411-testi-name { font-size: 1.35rem; font-weight: 700; color: #fff; }
.s411-testi-stars { color: var(--s411-gold); font-size: 1.2rem; }
.s411-testi-text { font-size: 1.3rem; color: var(--s411-text-dim); margin: 0; }

/* ---------- Payment ---------- */
.s411-pay-row { display: flex; flex-wrap: wrap; gap: 10px; }
.s411-pay-chip {
  background: var(--s411-bg-2);
  border: 1px solid var(--s411-border);
  border-radius: 10px;
  padding: 10px 14px;
  font-size: 1.25rem; font-weight: 600;
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--s411-text);
}
.s411-pay-chip i { color: var(--s411-primary); }

/* ---------- Long-form SEO text ---------- */
.s411-prose { font-size: 1.45rem; color: var(--s411-text-dim); line-height: 1.65; }
.s411-prose h2 { font-size: 1.9rem; color: #fff; margin-top: 1.2em; }
.s411-prose h3 { font-size: 1.65rem; color: #fff; margin-top: 1em; }
.s411-prose p { margin: 0 0 0.8em; }
.s411-prose strong { color: var(--s411-primary); }
.s411-prose a { font-weight: 600; }

.s411-steps { counter-reset: step; display: flex; flex-direction: column; gap: 10px; }
.s411-step {
  position: relative;
  padding: 12px 14px 12px 50px;
  background: var(--s411-bg-2);
  border: 1px solid var(--s411-border);
  border-radius: 10px;
  counter-increment: step;
}
.s411-step::before {
  content: counter(step);
  position: absolute; left: 12px; top: 12px;
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--s411-primary); color: #042404;
  font-weight: 800; font-size: 1.4rem;
  display: flex; align-items: center; justify-content: center;
}
.s411-step h4 { margin: 0 0 4px; font-size: 1.4rem; color: #fff; }
.s411-step p { margin: 0; font-size: 1.25rem; color: var(--s411-text-dim); }

/* ---------- FAQ ---------- */
.s411-faq-list { display: flex; flex-direction: column; gap: 8px; }
.s411-faq-item {
  background: var(--s411-bg-2);
  border: 1px solid var(--s411-border);
  border-radius: 10px;
  overflow: hidden;
}
.s411-faq-q {
  width: 100%; text-align: left; cursor: pointer;
  background: transparent; border: none; color: #fff;
  font-size: 1.4rem; font-weight: 700;
  padding: 13px 40px 13px 14px;
  position: relative;
}
.s411-faq-q::after {
  content: "+"; position: absolute; right: 14px; top: 50%; transform: translateY(-50%);
  color: var(--s411-primary); font-size: 1.8rem; font-weight: 700;
}
.s411-faq-item.s411-open .s411-faq-q::after { content: "−"; }
.s411-faq-a {
  max-height: 0; overflow: hidden;
  transition: max-height .3s ease;
  padding: 0 14px;
  font-size: 1.3rem; color: var(--s411-text-dim);
}
.s411-faq-item.s411-open .s411-faq-a { max-height: 320px; padding: 0 14px 14px; }

/* ---------- CTA banner ---------- */
.s411-cta {
  background: linear-gradient(135deg, #062806 0%, #0a3d0a 100%);
  border: 1px solid var(--s411-primary);
  border-radius: var(--s411-radius);
  padding: 18px;
  text-align: center;
  box-shadow: var(--s411-shadow);
}
.s411-cta h3 { font-size: 1.9rem; color: #fff; margin: 0 0 6px; }
.s411-cta p { font-size: 1.3rem; color: var(--s411-text-dim); margin: 0 0 14px; }

/* ---------- Search box ---------- */
.s411-search {
  display: flex; align-items: center; gap: 8px;
  background: var(--s411-bg-2);
  border: 1px solid var(--s411-border);
  border-radius: 999px;
  padding: 8px 14px;
  margin-bottom: 12px;
}
.s411-search i { color: var(--s411-primary); font-size: 1.6rem; }
.s411-search input {
  flex: 1; background: transparent; border: none; outline: none;
  color: var(--s411-text); font-size: 1.4rem;
}

/* ---------- Footer ---------- */
.s411-footer {
  background: #060906;
  border-top: 1px solid var(--s411-border);
  padding: 24px 0 100px;
  margin-top: 30px;
}
.s411-footer h4 { font-size: 1.5rem; color: #fff; margin: 0 0 10px; }
.s411-footer-links {
  display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 16px;
}
.s411-footer-links a {
  color: var(--s411-text-dim); font-size: 1.3rem;
}
.s411-footer-links a:hover { color: var(--s411-primary); }
.s411-footer-brand { font-size: 1.3rem; color: var(--s411-text-dim); margin-bottom: 14px; }
.s411-footer-promo {
  display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0 16px;
}
.s411-footer-copy { font-size: 1.2rem; color: #777; border-top: 1px solid rgba(255,255,255,.06); padding-top: 12px; }

/* ---------- Bottom Nav ---------- */
.s411-bottomnav {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  height: var(--s411-bottomnav-h);
  background: linear-gradient(180deg, rgba(8,12,8,.96), rgba(4,8,4,.99));
  border-top: 1px solid var(--s411-border);
  display: flex;
  justify-content: space-around;
  align-items: stretch;
  z-index: 1000;
  padding-bottom: env(safe-area-inset-bottom, 0);
}
.s411-bottomnav-btn {
  flex: 1;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 3px;
  color: var(--s411-text-dim);
  background: transparent; border: none; cursor: pointer;
  text-decoration: none;
  font-size: 1.05rem;
  transition: color .2s ease, transform .15s ease;
  padding: 6px 2px;
  min-width: 60px; min-height: 60px;
}
.s411-bottomnav-btn i, .s411-bottomnav-btn .material-icons-outlined,
.s411-bottomnav-btn ion-icon { font-size: 24px; }
.s411-bottomnav-btn span { font-size: 1.05rem; font-weight: 600; }
.s411-bottomnav-btn:hover { color: var(--s411-primary); text-decoration: none; transform: translateY(-2px); }
.s411-bottomnav-btn.s411-active { color: var(--s411-primary); }
.s411-bottomnav-btn.s411-promo {
  color: #042404;
  background: var(--s411-primary);
  border-radius: 999px;
  margin: 8px 4px;
  box-shadow: 0 6px 16px rgba(0, 255, 0, 0.45);
  flex: 1.2;
}
.s411-bottomnav-btn.s411-promo span { color: #042404; }

/* ---------- Reveal animation ---------- */
.s411-reveal { opacity: 0; transform: translateY(20px); transition: opacity .6s ease, transform .6s ease; }
.s411-reveal.s411-in { opacity: 1; transform: translateY(0); }

/* ---------- Utilities ---------- */
.s411-mt-12 { margin-top: 12px; } .s411-mt-16 { margin-top: 16px; } .s411-mt-24 { margin-top: 24px; }
.s411-text-center { text-align: center; }
.s411-hidden-mobile { display: none; }

/* ---------- Tablet / Desktop ---------- */
@media (min-width: 600px) {
  .s411-game-grid { grid-template-columns: repeat(4, 1fr); }
  .s411-testi-grid { grid-template-columns: repeat(2, 1fr); }
  .s411-feature-grid { grid-template-columns: repeat(4, 1fr); }
}

@media (min-width: 769px) {
  .s411-bottomnav { display: none; }
  .s411-header-actions .s411-menu-toggle { display: none; }
  .s411-mobile-menu { display: none; }
  .s411-hidden-mobile { display: block; }
  .s411-desktop-nav { display: flex; gap: 18px; align-items: center; }
  .s411-desktop-nav a { color: var(--s411-text); font-size: 1.35rem; font-weight: 600; }
  .s411-desktop-nav a:hover { color: var(--s411-primary); }
  .s411-footer { padding-bottom: 30px; }
  .s411-main { padding-bottom: 40px; }
  .s411-game-grid { grid-template-columns: repeat(6, 1fr); }
  .s411-slide { height: 320px; }
  .s411-footer-links { grid-template-columns: repeat(4, 1fr); }
}

.s411-desktop-nav { display: none; }
.s411-menu-toggle { display: inline-flex; }

@media (max-width: 768px) {
  .s411-main { padding-bottom: 80px; }
}
