/*
 * arion plus - style-a2d5.css
 * Mobile-first HTML5 casino stylesheet. All classes use wa2d5- prefix.
 * Color palette: #495057 | #BF360C | #0D1117 | #FFAA00 | #3C3C3C | #36454F
 * Dark colors are backgrounds; light colors are text accents.
 */

:root {
  --wa2d5-primary: #FFAA00;
  --wa2d5-accent: #BF360C;
  --wa2d5-bg: #0D1117;
  --wa2d5-bg-alt: #11161f;
  --wa2d5-surface: #1b2230;
  --wa2d5-text: #f3f4f6;
  --wa2d5-text-dim: #b8c0cc;
  --wa2d5-muted: #495057;
  --wa2d5-deep: #36454F;
  --wa2d5-gray: #3C3C3C;
  --wa2d5-border: rgba(255, 170, 0, 0.25);
  --wa2d5-radius: 14px;
  --wa2d5-shadow: 0 6px 18px rgba(0, 0, 0, 0.45);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
  font-family: "Segoe UI", "Helvetica Neue", Roboto, system-ui, sans-serif;
  background: var(--wa2d5-bg);
  color: var(--wa2d5-text);
  line-height: 1.5;
  max-width: 430px;
  margin: 0 auto;
  overflow-x: hidden;
  padding-bottom: 84px;
}

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

a { color: var(--wa2d5-primary); text-decoration: none; }

.wa2d5-container { width: 100%; padding: 0 14px; }
.wa2d5-wrapper { width: 100%; }
.wa2d5-section { padding: 22px 14px; }
.wa2d5-section-title {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 6px;
  color: var(--wa2d5-text);
}
.wa2d5-section-title span { color: var(--wa2d5-primary); }
.wa2d5-section-sub {
  font-size: 1.3rem;
  color: var(--wa2d5-text-dim);
  margin-bottom: 14px;
}

/* ===== Header ===== */
.wa2d5-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: linear-gradient(135deg, #0b1018 0%, #1b2230 100%);
  border-bottom: 1px solid var(--wa2d5-border);
  box-shadow: var(--wa2d5-shadow);
}
.wa2d5-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  gap: 8px;
}
.wa2d5-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}
.wa2d5-brand-logo {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: linear-gradient(135deg, #FFAA00, #BF360C);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0D1117;
  font-weight: 900;
  font-size: 1.6rem;
  flex-shrink: 0;
}
.wa2d5-brand-name {
  font-size: 1.7rem;
  font-weight: 800;
  letter-spacing: 0.3px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.wa2d5-brand-name span { color: var(--wa2d5-primary); }
.wa2d5-header-actions {
  display: flex;
  align-items: center;
  gap: 6px;
}
.wa2d5-menu-btn {
  background: transparent;
  border: 1px solid var(--wa2d5-border);
  color: var(--wa2d5-text);
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  cursor: pointer;
}
.wa2d5-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 9px 14px;
  font-size: 1.35rem;
  font-weight: 700;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  transition: transform 0.15s ease, filter 0.2s ease;
  min-height: 38px;
}
.wa2d5-btn:active { transform: scale(0.96); }
.wa2d5-btn-login {
  background: transparent;
  color: var(--wa2d5-text);
  border: 1px solid var(--wa2d5-primary);
}
.wa2d5-btn-register {
  background: linear-gradient(135deg, #FFAA00, #BF360C);
  color: #0D1117;
  font-weight: 800;
}
.wa2d5-btn-block {
  width: 100%;
  padding: 14px;
  font-size: 1.6rem;
}

/* ===== Mobile menu ===== */
.wa2d5-mobile-menu {
  display: none;
  flex-direction: column;
  background: #11161f;
  border-bottom: 1px solid var(--wa2d5-border);
  padding: 8px 14px 14px;
}
.wa2d5-mobile-menu.wa2d5-menu-open { display: flex; }
.wa2d5-mobile-menu a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 6px;
  font-size: 1.4rem;
  color: var(--wa2d5-text);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.wa2d5-mobile-menu a:active { color: var(--wa2d5-primary); }
.wa2d5-mobile-menu a i { color: var(--wa2d5-primary); width: 22px; text-align: center; }

/* ===== Carousel ===== */
.wa2d5-carousel {
  position: relative;
  width: 100%;
  height: 180px;
  overflow: hidden;
  border-radius: 0;
}
.wa2d5-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.6s ease;
  cursor: pointer;
}
.wa2d5-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.wa2d5-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(13,17,23,0) 30%, rgba(13,17,23,0.85) 100%);
}
.wa2d5-slide-active { opacity: 1; }
.wa2d5-slide-caption {
  position: absolute;
  left: 16px;
  bottom: 16px;
  z-index: 2;
  color: #fff;
}
.wa2d5-slide-caption h2 {
  font-size: 1.9rem;
  font-weight: 800;
  text-shadow: 0 2px 8px rgba(0,0,0,0.7);
}
.wa2d5-slide-caption p {
  font-size: 1.25rem;
  color: var(--wa2d5-primary);
}
.wa2d5-dots {
  position: absolute;
  bottom: 8px;
  right: 14px;
  z-index: 3;
  display: flex;
  gap: 6px;
}
.wa2d5-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
}
.wa2d5-dot-active { background: var(--wa2d5-primary); }

/* ===== Hero CTA strip ===== */
.wa2d5-cta-strip {
  display: flex;
  gap: 8px;
  padding: 12px 14px;
  background: linear-gradient(135deg, rgba(255,170,0,0.12), rgba(191,54,12,0.12));
  border-top: 1px solid var(--wa2d5-border);
  border-bottom: 1px solid var(--wa2d5-border);
}
.wa2d5-cta-strip .wa2d5-btn { flex: 1; }

/* ===== Game grid ===== */
.wa2d5-game-block { margin-bottom: 6px; }
.wa2d5-game-block-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 14px 8px;
}
.wa2d5-game-block-head h3 {
  font-size: 1.6rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 8px;
}
.wa2d5-game-block-head h3 i { color: var(--wa2d5-primary); }
.wa2d5-game-block-head a { font-size: 1.2rem; color: var(--wa2d5-primary); }
.wa2d5-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  padding: 0 14px;
}
.wa2d5-game-card {
  background: var(--wa2d5-surface);
  border-radius: var(--wa2d5-radius);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.05);
  transition: transform 0.18s ease, border-color 0.2s ease;
  cursor: pointer;
}
.wa2d5-game-card:active {
  transform: scale(0.97);
  border-color: var(--wa2d5-primary);
}
.wa2d5-game-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  background: #0b1018;
}
.wa2d5-game-card-name {
  font-size: 1.1rem;
  text-align: center;
  padding: 6px 4px;
  color: var(--wa2d5-text-dim);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ===== Info / content cards ===== */
.wa2d5-card {
  background: var(--wa2d5-surface);
  border-radius: var(--wa2d5-radius);
  padding: 16px;
  border: 1px solid rgba(255,255,255,0.05);
  margin-bottom: 12px;
}
.wa2d5-card h3 {
  font-size: 1.5rem;
  margin-bottom: 8px;
  color: var(--wa2d5-primary);
}
.wa2d5-card p {
  font-size: 1.3rem;
  color: var(--wa2d5-text-dim);
  margin-bottom: 6px;
}
.wa2d5-card a {
  color: var(--wa2d5-primary);
  font-weight: 700;
}

.wa2d5-prose {
  font-size: 1.35rem;
  color: var(--wa2d5-text-dim);
  line-height: 1.6;
}
.wa2d5-prose h2 { font-size: 1.7rem; color: var(--wa2d5-text); margin: 14px 0 6px; }
.wa2d5-prose h3 { font-size: 1.45rem; color: var(--wa2d5-primary); margin: 10px 0 4px; }
.wa2d5-prose p { margin-bottom: 8px; }
.wa2d5-prose ul { padding-left: 18px; margin-bottom: 8px; }
.wa2d5-prose li { margin-bottom: 4px; }

/* ===== Steps / features ===== */
.wa2d5-steps { display: flex; flex-direction: column; gap: 10px; }
.wa2d5-step {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  background: var(--wa2d5-surface);
  padding: 12px;
  border-radius: 12px;
  border-left: 3px solid var(--wa2d5-primary);
}
.wa2d5-step-num {
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: linear-gradient(135deg, #FFAA00, #BF360C);
  color: #0D1117;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
}
.wa2d5-step-body h4 { font-size: 1.4rem; margin-bottom: 2px; }
.wa2d5-step-body p { font-size: 1.25rem; color: var(--wa2d5-text-dim); }

.wa2d5-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}
.wa2d5-feature {
  background: var(--wa2d5-surface);
  padding: 14px 10px;
  border-radius: 12px;
  text-align: center;
  border: 1px solid rgba(255,255,255,0.05);
}
.wa2d5-feature i {
  font-size: 2.4rem;
  color: var(--wa2d5-primary);
  margin-bottom: 6px;
}
.wa2d5-feature h4 { font-size: 1.3rem; margin-bottom: 4px; }
.wa2d5-feature p { font-size: 1.15rem; color: var(--wa2d5-text-dim); }

/* ===== Testimonials / winners ===== */
.wa2d5-tiles {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}
.wa2d5-tile {
  background: var(--wa2d5-surface);
  border-radius: 12px;
  padding: 12px;
  border: 1px solid rgba(255,255,255,0.05);
}
.wa2d5-tile-name { font-size: 1.25rem; font-weight: 700; color: var(--wa2d5-text); }
.wa2d5-tile-meta { font-size: 1.1rem; color: var(--wa2d5-text-dim); margin: 2px 0 4px; }
.wa2d5-tile-amt { font-size: 1.5rem; font-weight: 800; color: var(--wa2d5-primary); }
.wa2d5-tile p { font-size: 1.2rem; color: var(--wa2d5-text-dim); }

/* ===== Payment ===== */
.wa2d5-pay-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.wa2d5-pay {
  background: var(--wa2d5-surface);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 10px;
  padding: 10px 12px;
  font-size: 1.2rem;
  color: var(--wa2d5-text-dim);
  display: flex;
  align-items: center;
  gap: 6px;
}
.wa2d5-pay i { color: var(--wa2d5-primary); }

/* ===== FAQ ===== */
.wa2d5-faq { margin-bottom: 6px; }
.wa2d5-faq summary {
  background: var(--wa2d5-surface);
  padding: 12px 14px;
  border-radius: 10px;
  font-size: 1.35rem;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
  border: 1px solid rgba(255,255,255,0.06);
}
.wa2d5-faq summary::-webkit-details-marker { display: none; }
.wa2d5-faq p {
  padding: 10px 14px;
  font-size: 1.25rem;
  color: var(--wa2d5-text-dim);
}

/* ===== Footer ===== */
.wa2d5-footer {
  background: #0b1018;
  border-top: 1px solid var(--wa2d5-border);
  padding: 22px 14px 30px;
}
.wa2d5-footer-brand { font-size: 1.5rem; font-weight: 800; margin-bottom: 6px; }
.wa2d5-footer-brand span { color: var(--wa2d5-primary); }
.wa2d5-footer-desc { font-size: 1.25rem; color: var(--wa2d5-text-dim); margin-bottom: 12px; }
.wa2d5-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}
.wa2d5-footer-links a {
  background: var(--wa2d5-surface);
  border: 1px solid rgba(255,255,255,0.08);
  color: var(--wa2d5-text);
  padding: 8px 12px;
  border-radius: 10px;
  font-size: 1.2rem;
}
.wa2d5-footer-seo {
  font-size: 1.2rem;
  color: var(--wa2d5-text-dim);
  margin: 10px 0;
  line-height: 1.6;
}
.wa2d5-footer-seo a { color: var(--wa2d5-primary); }
.wa2d5-copy {
  font-size: 1.15rem;
  color: var(--wa2d5-muted);
  text-align: center;
  margin-top: 12px;
}

/* ===== Bottom navigation ===== */
.wa2d5-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  height: 64px;
  background: linear-gradient(180deg, #11161f, #0b1018);
  border-top: 1px solid var(--wa2d5-border);
  display: flex;
  justify-content: space-around;
  align-items: center;
  z-index: 1000;
  box-shadow: 0 -4px 16px rgba(0,0,0,0.5);
}
.wa2d5-bottom-nav-btn {
  flex: 1;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  background: transparent;
  border: none;
  color: var(--wa2d5-text-dim);
  font-size: 1.05rem;
  cursor: pointer;
  min-width: 60px;
  min-height: 60px;
  transition: color 0.18s ease, transform 0.18s ease;
}
.wa2d5-bottom-nav-btn i { font-size: 2.2rem; }
.wa2d5-bottom-nav-btn:active { transform: scale(0.92); }
.wa2d5-bottom-nav-btn.wa2d5-nav-active,
.wa2d5-bottom-nav-btn.wa2d5-nav-promo { color: var(--wa2d5-primary); }

/* ===== Reveal animation ===== */
.wa2d5-reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.wa2d5-reveal.wa2d5-revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ===== Desktop: hide bottom nav ===== */
@media (min-width: 769px) {
  .wa2d5-bottom-nav { display: none; }
  body { padding-bottom: 30px; }
}
