/* ==========================================================================
   Arion Games - theme-06e3.css
   Mobile-first casino theme. Root font 62.5% -> 1rem = 10px.
   Palette: #E9967A salmon | #D2B48C tan | #141414 ink | #BC8F8F rosy brown.
   Every custom class uses the "s06e-" prefix for namespace isolation.
   ========================================================================== */

:root {
  --s06e-bg: #141414;
  --s06e-bg-soft: #1d1814;
  --s06e-bg-card: #221b16;
  --s06e-bg-elev: #2c2218;
  --s06e-primary: #E9967A;
  --s06e-primary-dark: #cf775c;
  --s06e-secondary: #D2B48C;
  --s06e-muted: #BC8F8F;
  --s06e-text: #F6E7D6;
  --s06e-text-dim: #cdb8a1;
  --s06e-line: rgba(210, 180, 140, 0.18);
  --s06e-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
  --s06e-radius: 14px;
  --s06e-radius-sm: 10px;
  --s06e-header-h: 6rem;
  --s06e-nav-h: 6.4rem;
  --s06e-max: 430px;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: "Segoe UI", "Helvetica Neue", Roboto, Arial, sans-serif;
  background: radial-gradient(circle at top, #221a14 0%, var(--s06e-bg) 60%);
  color: var(--s06e-text);
  line-height: 1.5rem;
  font-size: 1.4rem;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: var(--s06e-secondary); text-decoration: none; }
h1, h2, h3, h4 { margin: 0 0 0.8rem; line-height: 1.5rem; font-weight: 700; }
h1 { font-size: 2.2rem; line-height: 2.8rem; }
h2 { font-size: 1.9rem; line-height: 2.4rem; }
h3 { font-size: 1.6rem; line-height: 2rem; }
p { margin: 0 0 1rem; }

/* ---------- Layout ---------- */
.s06e-wrapper { max-width: var(--s06e-max); margin: 0 auto; padding: 0 1.2rem; }
.s06e-section { padding: 2.4rem 0; }
.s06e-section-alt { background: linear-gradient(180deg, var(--s06e-bg-soft), var(--s06e-bg)); }
.s06e-eyebrow {
  display: inline-block; font-size: 1.1rem; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--s06e-primary); font-weight: 700;
  margin-bottom: 0.6rem;
}
.s06e-lead { color: var(--s06e-text-dim); font-size: 1.4rem; }
.s06e-text-primary { color: var(--s06e-primary); font-weight: 700; }

/* ---------- Buttons ---------- */
.s06e-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  min-height: 4.4rem; padding: 0 1.6rem; border: 0; border-radius: 999px;
  font-size: 1.4rem; font-weight: 700; cursor: pointer; text-transform: uppercase;
  letter-spacing: 0.04em; transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}
.s06e-btn-primary {
  background: linear-gradient(135deg, var(--s06e-primary), var(--s06e-primary-dark));
  color: #1a1108; box-shadow: 0 6px 16px rgba(233, 150, 122, 0.35);
}
.s06e-btn-primary:hover { transform: translateY(-1px); }
.s06e-btn-outline {
  background: transparent; color: var(--s06e-secondary);
  border: 1.5px solid var(--s06e-secondary);
}
.s06e-btn-outline:hover { background: rgba(210, 180, 140, 0.12); }
.s06e-btn-block { width: 100%; }
.s06e-link-bold { color: var(--s06e-primary); font-weight: 700; border-bottom: 1px dashed rgba(233,150,122,0.5); }
.s06e-link-bold:hover { color: var(--s06e-secondary); }

/* ---------- Header ---------- */
.s06e-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(20, 20, 20, 0.92); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--s06e-line);
}
.s06e-header-inner {
  max-width: var(--s06e-max); margin: 0 auto; height: var(--s06e-header-h);
  display: flex; align-items: center; gap: 0.8rem; padding: 0 1.2rem;
}
.s06e-brand { display: flex; align-items: center; gap: 0.6rem; flex: 1; min-width: 0; }
.s06e-brand img { width: 2.8rem; height: 2.8rem; border-radius: 8px; }
.s06e-brand-name {
  font-size: 1.7rem; font-weight: 800; letter-spacing: 0.02em; color: var(--s06e-text);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.s06e-brand-name span { color: var(--s06e-primary); }
.s06e-header-actions { display: flex; align-items: center; gap: 0.6rem; }
.s06e-btn-mini { min-height: 3.6rem; padding: 0 1.2rem; font-size: 1.2rem; }
.s06e-icon-btn {
  width: 3.6rem; height: 3.6rem; border-radius: 10px; border: 1px solid var(--s06e-line);
  background: var(--s06e-bg-card); color: var(--s06e-text); font-size: 1.6rem;
  display: flex; align-items: center; justify-content: center; cursor: pointer;
}
.s06e-icon-btn:hover { color: var(--s06e-primary); border-color: var(--s06e-primary); }
.s06e-scrolled .s06e-header { box-shadow: var(--s06e-shadow); }

/* ---------- Mobile menu ---------- */
.s06e-menu-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,0.6); z-index: 9998;
  opacity: 0; visibility: hidden; transition: opacity 0.25s ease;
}
.s06e-mobile-menu {
  position: fixed; top: 0; right: 0; bottom: 0; width: 82%; max-width: 340px;
  background: var(--s06e-bg-soft); z-index: 9999; padding: 2.4rem 1.6rem;
  transform: translateX(105%); transition: transform 0.3s ease; overflow-y: auto;
  border-left: 1px solid var(--s06e-line);
}
.s06e-menu-active .s06e-mobile-menu { transform: translateX(0); }
.s06e-menu-active .s06e-menu-overlay { opacity: 1; visibility: visible; }
.s06e-menu-title {
  font-size: 1.3rem; text-transform: uppercase; letter-spacing: 0.16em;
  color: var(--s06e-muted); margin: 1.6rem 0 0.6rem;
}
.s06e-menu-link {
  display: flex; align-items: center; gap: 0.8rem; padding: 1.1rem 0.6rem;
  border-bottom: 1px solid var(--s06e-line); color: var(--s06e-text); font-size: 1.4rem;
}
.s06e-menu-link:hover { color: var(--s06e-primary); }
.s06e-menu-link i { color: var(--s06e-secondary); width: 2rem; text-align: center; }

/* ---------- Hero / Carousel ---------- */
.s06e-main { padding-top: var(--s06e-header-h); }
.s06e-carousel {
  position: relative; border-radius: var(--s06e-radius); overflow: hidden;
  box-shadow: var(--s06e-shadow); margin: 1.6rem 0;
}
.s06e-viewport { position: relative; aspect-ratio: 16/9; }
.s06e-slide {
  position: absolute; inset: 0; opacity: 0; transition: opacity var(--s06e-carousel-transition, 520ms) ease;
}
.s06e-slide img { width: 100%; height: 100%; object-fit: cover; }
.s06e-slide-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(20,20,20,0.05) 30%, rgba(20,20,20,0.85) 100%);
  display: flex; flex-direction: column; justify-content: flex-end; padding: 1.6rem;
}
.s06e-slide-title { font-size: 1.9rem; color: #fff; margin: 0 0 0.4rem; text-shadow: 0 2px 8px rgba(0,0,0,0.6); }
.s06e-slide-text { color: #f0e3d2; font-size: 1.25rem; margin: 0 0 0.8rem; }
.s06e-slide-active { opacity: 1; }
.s06e-arrow {
  position: absolute; top: 50%; transform: translateY(-50%); width: 3.4rem; height: 3.4rem;
  border-radius: 50%; background: rgba(20,20,20,0.55); color: #fff; border: 0; cursor: pointer;
  display: flex; align-items: center; justify-content: center; font-size: 1.4rem; z-index: 2;
}
.s06e-arrow:hover { background: var(--s06e-primary); color: #141414; }
.s06e-prev { left: 0.8rem; } .s06e-next { right: 0.8rem; }
.s06e-dots { position: absolute; bottom: 0.8rem; left: 0; right: 0; display: flex; justify-content: center; gap: 0.5rem; z-index: 2; }
.s06e-dot { width: 0.8rem; height: 0.8rem; border-radius: 50%; background: rgba(255,255,255,0.45); border: 0; cursor: pointer; padding: 0; }
.s06e-dot-active { background: var(--s06e-primary); width: 2rem; border-radius: 999px; }

/* ---------- Hero CTA band ---------- */
.s06e-hero-cta {
  display: flex; gap: 0.8rem; margin: 1.2rem 0 0.4rem;
}
.s06e-hero-cta .s06e-btn { flex: 1; }

/* ---------- Game grid ---------- */
.s06e-cat-head {
  display: flex; align-items: center; justify-content: space-between; margin: 2.4rem 0 1rem;
}
.s06e-cat-head h2 { margin: 0; }
.s06e-cat-tag {
  font-size: 1.1rem; color: var(--s06e-muted); text-transform: uppercase; letter-spacing: 0.12em;
}
.s06e-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.9rem;
}
.s06e-game-card {
  display: block; background: var(--s06e-bg-card); border: 1px solid var(--s06e-line);
  border-radius: var(--s06e-radius-sm); overflow: hidden; cursor: pointer;
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}
.s06e-game-card:hover {
  transform: translateY(-3px); border-color: var(--s06e-primary);
  box-shadow: 0 8px 18px rgba(233,150,122,0.22);
}
.s06e-game-img { width: 100%; aspect-ratio: 1/1; object-fit: cover; }
.s06e-game-name {
  font-size: 1.15rem; line-height: 1.35rem; color: var(--s06e-text); padding: 0.5rem 0.4rem 0.7rem;
  text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-weight: 600;
}

/* ---------- Feature / info cards ---------- */
.s06e-cards { display: grid; grid-template-columns: 1fr; gap: 1rem; }
.s06e-card {
  background: var(--s06e-bg-card); border: 1px solid var(--s06e-line);
  border-radius: var(--s06e-radius); padding: 1.4rem;
}
.s06e-card h3 { color: var(--s06e-secondary); }
.s06e-card-icon { color: var(--s06e-primary); font-size: 1.8rem; margin-bottom: 0.4rem; }
.s06e-feature-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.8rem;
}
.s06e-feature {
  background: var(--s06e-bg-card); border: 1px solid var(--s06e-line);
  border-radius: var(--s06e-radius-sm); padding: 1rem; text-align: center;
}
.s06e-feature .material-icons-outlined, .s06e-feature i { font-size: 2.2rem; color: var(--s06e-primary); }
.s06e-feature h4 { margin: 0.4rem 0 0.2rem; font-size: 1.25rem; color: var(--s06e-text); }
.s06e-feature p { margin: 0; font-size: 1.15rem; color: var(--s06e-text-dim); }

/* ---------- RTP / data strip ---------- */
.s06e-stat-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.8rem; }
.s06e-stat {
  background: linear-gradient(135deg, var(--s06e-bg-elev), var(--s06e-bg-card));
  border: 1px solid var(--s06e-line); border-radius: var(--s06e-radius-sm); padding: 1rem; text-align: center;
}
.s06e-stat-num { font-size: 2rem; font-weight: 800; color: var(--s06e-primary); }
.s06e-stat-label { font-size: 1.1rem; color: var(--s06e-text-dim); text-transform: uppercase; letter-spacing: 0.08em; }
.s06e-table { width: 100%; border-collapse: collapse; font-size: 1.2rem; }
.s06e-table th, .s06e-table td { padding: 0.7rem 0.6rem; border-bottom: 1px solid var(--s06e-line); text-align: left; }
.s06e-table th { color: var(--s06e-secondary); font-size: 1.15rem; text-transform: uppercase; letter-spacing: 0.06em; }
.s06e-table td.num { color: var(--s06e-primary); font-weight: 700; text-align: right; }

/* ---------- Testimonials ---------- */
.s06e-quote {
  background: var(--s06e-bg-card); border-left: 3px solid var(--s06e-primary);
  border-radius: var(--s06e-radius-sm); padding: 1rem 1.2rem; margin-bottom: 0.8rem;
}
.s06e-quote p { margin: 0 0 0.4rem; color: var(--s06e-text); }
.s06e-quote .s06e-quote-author { color: var(--s06e-muted); font-size: 1.15rem; }

/* ---------- Steps ---------- */
.s06e-steps { list-style: none; padding: 0; margin: 0; counter-reset: step; }
.s06e-steps li {
  position: relative; padding: 0.8rem 0 0.8rem 3.4rem; border-bottom: 1px solid var(--s06e-line);
  counter-increment: step;
}
.s06e-steps li::before {
  content: counter(step); position: absolute; left: 0; top: 0.6rem;
  width: 2.4rem; height: 2.4rem; border-radius: 50%;
  background: linear-gradient(135deg, var(--s06e-primary), var(--s06e-primary-dark));
  color: #141414; font-weight: 800; font-size: 1.2rem;
  display: flex; align-items: center; justify-content: center;
}
.s06e-steps li strong { color: var(--s06e-secondary); }

/* ---------- Payment ---------- */
.s06e-pay-row { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.s06e-pay {
  flex: 1 1 calc(33.333% - 0.6rem); background: var(--s06e-bg-card); border: 1px solid var(--s06e-line);
  border-radius: var(--s06e-radius-sm); padding: 0.8rem; text-align: center; font-size: 1.15rem; color: var(--s06e-text);
}
.s06e-pay i { display: block; font-size: 1.6rem; color: var(--s06e-secondary); margin-bottom: 0.3rem; }

/* ---------- Winners ---------- */
.s06e-winner {
  display: flex; align-items: center; gap: 0.8rem; padding: 0.7rem 0.9rem;
  background: var(--s06e-bg-card); border: 1px solid var(--s06e-line);
  border-radius: var(--s06e-radius-sm); margin-bottom: 0.6rem;
}
.s06e-winner-badge {
  width: 3.2rem; height: 3.2rem; border-radius: 50%; flex-shrink: 0;
  background: linear-gradient(135deg, var(--s06e-secondary), var(--s06e-primary));
  display: flex; align-items: center; justify-content: center; color: #141414; font-weight: 800;
}
.s06e-winner-name { font-weight: 700; color: var(--s06e-text); font-size: 1.25rem; }
.s06e-winner-meta { color: var(--s06e-text-dim); font-size: 1.1rem; }
.s06e-winner-amt { margin-left: auto; color: var(--s06e-primary); font-weight: 800; }

/* ---------- FAQ ---------- */
.s06e-faq { border: 1px solid var(--s06e-line); border-radius: var(--s06e-radius-sm); margin-bottom: 0.7rem; overflow: hidden; background: var(--s06e-bg-card); }
.s06e-faq summary {
  padding: 1rem 1.2rem; font-weight: 700; color: var(--s06e-secondary); cursor: pointer; list-style: none;
  display: flex; justify-content: space-between; align-items: center; gap: 0.6rem;
}
.s06e-faq summary::-webkit-details-marker { display: none; }
.s06e-faq summary::after { content: "+"; color: var(--s06e-primary); font-size: 1.6rem; }
.s06e-faq[open] summary::after { content: "\2013"; }
.s06e-faq-body { padding: 0 1.2rem 1.1rem; color: var(--s06e-text-dim); }

/* ---------- Footer ---------- */
.s06e-footer { background: var(--s06e-bg-soft); border-top: 1px solid var(--s06e-line); padding: 2.4rem 0 1.4rem; margin-top: 2rem; }
.s06e-footer-grid { display: grid; grid-template-columns: 1fr; gap: 1.2rem; }
.s06e-footer-brand p { color: var(--s06e-text-dim); font-size: 1.25rem; }
.s06e-footer-col h4 { color: var(--s06e-secondary); font-size: 1.3rem; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 0.6rem; }
.s06e-footer-col a { display: block; padding: 0.4rem 0; color: var(--s06e-text-dim); font-size: 1.2rem; }
.s06e-footer-col a:hover { color: var(--s06e-primary); }
.s06e-footer-cta { display: flex; flex-wrap: wrap; gap: 0.6rem; margin: 1rem 0; }
.s06e-footer-cta .s06e-btn { flex: 1 1 calc(50% - 0.6rem); min-height: 3.8rem; font-size: 1.2rem; }
.s06e-copy { text-align: center; color: var(--s06e-muted); font-size: 1.1rem; padding-top: 1.2rem; border-top: 1px solid var(--s06e-line); margin-top: 1rem; }

/* ---------- Bottom navigation ---------- */
.s06e-bottom-nav {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 1000; height: var(--s06e-nav-h);
  background: linear-gradient(180deg, rgba(34,27,22,0.96), rgba(20,20,20,0.98));
  backdrop-filter: blur(10px); border-top: 1px solid var(--s06e-line);
  display: flex; justify-content: space-around; align-items: stretch; padding: 0;
}
.s06e-bottom-nav-btn {
  flex: 1; min-width: 6rem; min-height: 6rem; background: transparent; border: 0; color: var(--s06e-text-dim);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.2rem;
  cursor: pointer; padding: 0.4rem 0.2rem; transition: color 0.18s ease, transform 0.18s ease;
}
.s06e-bottom-nav-btn .s06e-bn-icon { font-size: 2.2rem; line-height: 1; }
.s06e-bottom-nav-btn .s06e-bn-label { font-size: 1rem; letter-spacing: 0.02em; }
.s06e-bottom-nav-btn:hover, .s06e-bottom-nav-btn:focus { color: var(--s06e-secondary); }
.s06e-bottom-nav-btn:active { transform: scale(0.92); }
.s06e-bottom-nav-btn.s06e-active { color: var(--s06e-primary); }
.s06e-bottom-nav-btn.s06e-active .s06e-bn-icon { transform: translateY(-2px); }
.s06e-bn-promo .s06e-bn-icon { color: var(--s06e-primary); }

/* ---------- Back to top ---------- */
.s06e-to-top {
  position: fixed; right: 1.2rem; bottom: calc(var(--s06e-nav-h) + 1rem); z-index: 900;
  width: 4rem; height: 4rem; border-radius: 50%; border: 1px solid var(--s06e-line);
  background: var(--s06e-bg-elev); color: var(--s06e-primary); cursor: pointer;
  display: flex; align-items: center; justify-content: center; font-size: 1.6rem;
  opacity: 0; visibility: hidden; transform: translateY(8px); transition: all 0.25s ease;
}
.s06e-to-top-show { opacity: 1; visibility: visible; transform: translateY(0); }

/* ---------- App download band ---------- */
.s06e-app-band {
  background: linear-gradient(135deg, var(--s06e-bg-elev), var(--s06e-bg-card));
  border: 1px solid var(--s06e-line); border-radius: var(--s06e-radius); padding: 1.4rem; text-align: center;
}
.s06e-app-band .s06e-btn { margin-top: 0.6rem; }

/* ---------- Anchor offset for in-page navigation ---------- */
.s06e-anchor { scroll-margin-top: calc(var(--s06e-header-h) + 8px); }

/* ---------- Desktop / tablet tweaks: center the mobile shell, hide bottom nav ---------- */
@media (min-width: 769px) {
  .s06e-bottom-nav { display: none; }
  body { padding-bottom: 0; }
  .s06e-to-top { bottom: 1.4rem; }
}

/* ---------- Mobile bottom clearance so content is never hidden behind nav ---------- */
@media (max-width: 768px) {
  .s06e-main, .s06e-footer { /* footer also needs clearance when bottom nav is fixed */ }
  body { padding-bottom: calc(var(--s06e-nav-h) + 1rem); }
  .s06e-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 360px) {
  .s06e-grid { grid-template-columns: repeat(2, 1fr); }
  .s06e-feature-grid { grid-template-columns: 1fr; }
}
