/* ============================================================
   Arion Games - Layout stylesheet (layout-24d5.css)
   All classes use the pg24- prefix for namespace isolation.
   Mobile-first. Root font 62.5% so 1rem = 10px.
   Color palette: #696969 | #0C0C0C | #BBBBBB
   ============================================================ */

:root {
  --pg24-primary: #696969;
  --pg24-bg: #0C0C0C;
  --pg24-bg-soft: #161616;
  --pg24-bg-card: #1d1d1d;
  --pg24-text: #BBBBBB;
  --pg24-text-bright: #f3f3f3;
  --pg24-accent: #d4af37;
  --pg24-accent-2: #e0533d;
  --pg24-border: #2a2a2a;
  --pg24-radius: 1rem;
  --pg24-shadow: 0 0.4rem 1.4rem rgba(0, 0, 0, 0.55);
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--pg24-bg);
  color: var(--pg24-text);
  font-family: "Segoe UI", "Helvetica Neue", Roboto, Arial, sans-serif;
  font-size: 1.5rem;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a { color: var(--pg24-accent); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3 { color: var(--pg24-text-bright); font-weight: 700; line-height: 1.25; }
h1 { font-size: 2.2rem; margin: 1.2rem 0; }
h2 { font-size: 1.9rem; margin: 1rem 0; }
h3 { font-size: 1.6rem; margin: 0.8rem 0; }
p { margin: 0 0 1rem; }

/* ---------- Layout containers ---------- */
.pg24-container { width: 100%; max-width: 430px; margin: 0 auto; padding: 0 1.2rem; }
.pg24-wrapper { min-height: 100vh; display: flex; flex-direction: column; }
.pg24-main { flex: 1 0 auto; width: 100%; }
@media (max-width: 768px) {
  .pg24-main { padding-bottom: 8rem; }
}

/* ---------- Header ---------- */
.pg24-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: linear-gradient(180deg, #0e0e0e, #050505);
  border-bottom: 0.1rem solid var(--pg24-border);
  box-shadow: var(--pg24-shadow);
}
.pg24-header-inner {
  max-width: 430px; margin: 0 auto; padding: 0.7rem 1rem;
  display: flex; align-items: center; justify-content: space-between; gap: 0.8rem;
}
.pg24-brand { display: flex; align-items: center; gap: 0.6rem; color: var(--pg24-text-bright); font-weight: 800; font-size: 1.6rem; }
.pg24-brand img { width: 2.8rem; height: 2.8rem; border-radius: 0.6rem; }
.pg24-brand span { background: linear-gradient(90deg, #d4af37, #f0d27a); -webkit-background-clip: text; background-clip: text; color: transparent; }

.pg24-header-actions { display: flex; align-items: center; gap: 0.5rem; }
.pg24-menu-btn {
  background: transparent; border: 0.1rem solid var(--pg24-border); color: var(--pg24-text-bright);
  width: 3.6rem; height: 3.6rem; border-radius: 0.8rem; font-size: 1.8rem; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
}

/* ---------- Auth / promo buttons ---------- */
.pg24-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.4rem;
  font-weight: 700; font-size: 1.3rem; border-radius: 2rem; cursor: pointer;
  padding: 0.7rem 1.2rem; border: 0; transition: transform 0.15s ease, filter 0.15s ease;
  text-decoration: none; min-height: 3.4rem;
}
.pg24-btn:hover { text-decoration: none; transform: translateY(-0.1rem); filter: brightness(1.08); }
.pg24-btn-register { background: linear-gradient(90deg, #e0533d, #b5371f); color: #fff; box-shadow: 0 0.3rem 0.8rem rgba(224, 83, 61, 0.35); }
.pg24-btn-login { background: linear-gradient(90deg, #d4af37, #b8901f); color: #1a1300; box-shadow: 0 0.3rem 0.8rem rgba(212, 175, 55, 0.35); }
.pg24-btn-block { display: flex; width: 100%; padding: 1rem; font-size: 1.5rem; }
.pg24-btn-outline { background: transparent; color: var(--pg24-accent); border: 0.1rem solid var(--pg24-accent); }

/* ---------- Expandable navigation menu ---------- */
.pg24-mobile-menu {
  position: fixed; top: 0; right: 0; bottom: 0; width: 80%; max-width: 320px;
  background: #0a0a0a; border-left: 0.1rem solid var(--pg24-border);
  transform: translateX(110%); transition: transform 0.25s ease;
  z-index: 9999; padding: 6rem 1.4rem 2rem; overflow-y: auto;
}
.pg24-mobile-menu.pg24-menu-open { transform: translateX(0); }
.pg24-mobile-menu h3 { color: var(--pg24-accent); font-size: 1.4rem; margin: 1.2rem 0 0.6rem; text-transform: uppercase; letter-spacing: 0.08rem; }
.pg24-mobile-menu a {
  display: block; padding: 1rem 0.6rem; color: var(--pg24-text-bright);
  border-bottom: 0.1rem dashed var(--pg24-border); font-size: 1.4rem;
}
.pg24-mobile-menu a:hover { color: var(--pg24-accent); text-decoration: none; }
.pg24-overlay {
  position: fixed; inset: 0; background: rgba(0, 0, 0, 0.6); z-index: 9998;
  opacity: 0; pointer-events: none; transition: opacity 0.25s ease;
}
.pg24-overlay.pg24-menu-open { opacity: 1; pointer-events: auto; }

/* ---------- Spacer so fixed header does not cover content ---------- */
.pg24-header-spacer { height: 5.4rem; }

/* ---------- Carousel ---------- */
.pg24-carousel {
  position: relative; border-radius: var(--pg24-radius); overflow: hidden;
  box-shadow: var(--pg24-shadow); background: #000; margin: 1rem 0;
}
.pg24-carousel-track { position: relative; }
.pg24-carousel-slide {
  display: none; cursor: pointer; position: relative;
}
.pg24-carousel-slide.pg24-slide-active { display: block; }
.pg24-carousel-slide img { width: 100%; height: 18rem; object-fit: cover; }
.pg24-carousel-cap {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 1.4rem 1.2rem 1rem;
  background: linear-gradient(0deg, rgba(0,0,0,0.85), rgba(0,0,0,0));
  color: var(--pg24-text-bright);
}
.pg24-carousel-cap strong { font-size: 1.7rem; display: block; color: var(--pg24-accent); }
.pg24-carousel-cap span { font-size: 1.25rem; color: var(--pg24-text); }
.pg24-carousel-dots {
  position: absolute; bottom: 0.8rem; right: 1rem; display: flex; gap: 0.4rem; z-index: 2;
}
.pg24-carousel-dot {
  width: 0.8rem; height: 0.8rem; border-radius: 50%; background: rgba(255,255,255,0.35); cursor: pointer; border: 0;
}
.pg24-carousel-dot.pg24-dot-active { background: var(--pg24-accent); }

/* ---------- Section blocks ---------- */
.pg24-section { padding: 1.6rem 0; }
.pg24-section-title {
  display: flex; align-items: center; gap: 0.6rem; margin: 0 0 1rem;
  color: var(--pg24-text-bright); font-size: 1.7rem;
}
.pg24-section-title i { color: var(--pg24-accent); }
.pg24-section-title small { color: var(--pg24-text); font-size: 1.15rem; font-weight: 400; margin-left: auto; }

/* ---------- Game grid (compact small icons) ---------- */
.pg24-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.7rem;
}
.pg24-card {
  background: var(--pg24-bg-card); border: 0.1rem solid var(--pg24-border);
  border-radius: 0.9rem; overflow: hidden; cursor: pointer;
  transition: transform 0.15s ease, border-color 0.15s ease;
  display: flex; flex-direction: column; align-items: stretch;
}
.pg24-card:hover { transform: translateY(-0.2rem); border-color: var(--pg24-accent); }
.pg24-card img { width: 100%; height: 8.4rem; object-fit: cover; background: #000; }
.pg24-card-name {
  font-size: 1.15rem; color: var(--pg24-text-bright); text-align: center;
  padding: 0.4rem 0.3rem 0.5rem; line-height: 1.2; min-height: 2.6rem;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.pg24-card-tag {
  font-size: 1rem; color: var(--pg24-accent); text-align: center; padding-bottom: 0.4rem;
}

/* ---------- Category heading row ---------- */
.pg24-cat-head {
  display: flex; align-items: center; justify-content: space-between;
  margin: 1.4rem 0 0.8rem; padding-bottom: 0.4rem; border-bottom: 0.1rem solid var(--pg24-border);
}
.pg24-cat-head h2 { margin: 0; font-size: 1.6rem; }
.pg24-cat-head a { font-size: 1.2rem; }

/* ---------- Info / feature card ---------- */
.pg24-info-card {
  background: var(--pg24-bg-card); border: 0.1rem solid var(--pg24-border);
  border-radius: var(--pg24-radius); padding: 1.2rem; margin: 0.6rem 0;
}
.pg24-info-card h3 { color: var(--pg24-accent); margin-top: 0; }
.pg24-info-card p { margin-bottom: 0.5rem; }

.pg24-feature-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.7rem; margin-top: 0.6rem; }
.pg24-feature {
  background: var(--pg24-bg-soft); border: 0.1rem solid var(--pg24-border);
  border-radius: 0.8rem; padding: 1rem; text-align: center;
}
.pg24-feature i { font-size: 2.2rem; color: var(--pg24-accent); }
.pg24-feature b { display: block; color: var(--pg24-text-bright); margin-top: 0.4rem; font-size: 1.25rem; }
.pg24-feature span { font-size: 1.1rem; color: var(--pg24-text); }

/* ---------- Steps list ---------- */
.pg24-steps { counter-reset: step; padding: 0; list-style: none; }
.pg24-steps li {
  position: relative; padding: 0.8rem 0.8rem 0.8rem 3.4rem; margin-bottom: 0.6rem;
  background: var(--pg24-bg-card); border-radius: 0.7rem; border-left: 0.3rem solid var(--pg24-accent);
  color: var(--pg24-text-bright);
}
.pg24-steps li::before {
  counter-increment: step; content: counter(step);
  position: absolute; left: 0.6rem; top: 50%; transform: translateY(-50%);
  width: 2.2rem; height: 2.2rem; line-height: 2.2rem; text-align: center;
  background: var(--pg24-accent); color: #1a1300; border-radius: 50%; font-weight: 800;
}

/* ---------- FAQ ---------- */
.pg24-faq-item {
  background: var(--pg24-bg-card); border: 0.1rem solid var(--pg24-border);
  border-radius: 0.7rem; margin-bottom: 0.6rem; overflow: hidden;
}
.pg24-faq-q {
  width: 100%; text-align: left; background: transparent; border: 0; color: var(--pg24-text-bright);
  font-weight: 700; font-size: 1.3rem; padding: 1rem; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 0.6rem;
}
.pg24-faq-q i { color: var(--pg24-accent); transition: transform 0.2s ease; }
.pg24-faq-item.pg24-faq-open .pg24-faq-q i { transform: rotate(45deg); }
.pg24-faq-a { max-height: 0; overflow: hidden; transition: max-height 0.25s ease; padding: 0 1rem; color: var(--pg24-text); }
.pg24-faq-item.pg24-faq-open .pg24-faq-a { max-height: 30rem; padding-bottom: 1rem; }

/* ---------- Testimonials ---------- */
.pg24-tgrid { display: grid; grid-template-columns: 1fr; gap: 0.7rem; }
.pg24-testi {
  background: var(--pg24-bg-card); border: 0.1rem solid var(--pg24-border);
  border-radius: 0.8rem; padding: 1rem; display: flex; gap: 0.8rem;
}
.pg24-testi-avatar {
  width: 3.2rem; height: 3.2rem; border-radius: 50%; flex-shrink: 0;
  background: linear-gradient(135deg, var(--pg24-accent), var(--pg24-accent-2));
  color: #1a1300; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 1.3rem;
}
.pg24-testi b { color: var(--pg24-text-bright); }
.pg24-testi small { color: var(--pg24-accent); }
.pg24-testi p { margin: 0.3rem 0 0; font-size: 1.2rem; }

/* ---------- Winners strip ---------- */
.pg24-winner-row {
  display: flex; align-items: center; justify-content: space-between;
  background: var(--pg24-bg-card); border: 0.1rem solid var(--pg24-border);
  border-radius: 0.7rem; padding: 0.7rem 0.9rem; margin-bottom: 0.5rem;
}
.pg24-winner-row b { color: var(--pg24-text-bright); }
.pg24-winner-row .pg24-win-amt { color: var(--pg24-accent); font-weight: 800; }

/* ---------- Payment methods ---------- */
.pg24-pay-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.5rem; }
.pg24-pay {
  background: var(--pg24-bg-card); border: 0.1rem solid var(--pg24-border);
  border-radius: 0.6rem; padding: 0.7rem 0.3rem; text-align: center;
  font-size: 1rem; color: var(--pg24-text);
}
.pg24-pay i { font-size: 1.8rem; color: var(--pg24-accent); display: block; margin-bottom: 0.3rem; }

/* ---------- App download CTA ---------- */
.pg24-app-cta {
  background: radial-gradient(circle at top right, #1a1a1a, #0a0a0a);
  border: 0.1rem solid var(--pg24-accent); border-radius: var(--pg24-radius);
  padding: 1.4rem; display: flex; align-items: center; gap: 1rem; margin: 0.6rem 0;
}
.pg24-app-cta .pg24-app-icon {
  font-size: 3rem; color: var(--pg24-accent);
}
.pg24-app-cta b { color: var(--pg24-text-bright); font-size: 1.5rem; display: block; }
.pg24-app-cta span { color: var(--pg24-text); font-size: 1.2rem; }

/* ---------- RTP / compact data table ---------- */
.pg24-rtp-table { width: 100%; border-collapse: collapse; font-size: 1.2rem; }
.pg24-rtp-table th, .pg24-rtp-table td {
  padding: 0.7rem 0.6rem; text-align: left; border-bottom: 0.1rem solid var(--pg24-border);
}
.pg24-rtp-table th { color: var(--pg24-accent); font-size: 1.15rem; }
.pg24-rtp-table td { color: var(--pg24-text-bright); }
.pg24-rtp-table tr:hover td { background: var(--pg24-bg-card); }
.pg24-rtp-pct { color: var(--pg24-accent); font-weight: 700; }

/* ---------- Inline SEO link list ---------- */
.pg24-seo-links { font-size: 1.3rem; line-height: 1.9; color: var(--pg24-text); }
.pg24-seo-links a { color: var(--pg24-accent); }

/* ---------- CTA strip ---------- */
.pg24-cta-strip {
  background: linear-gradient(90deg, #e0533d, #d4af37);
  color: #fff; padding: 1.2rem; border-radius: var(--pg24-radius);
  text-align: center; margin: 1rem 0;
}
.pg24-cta-strip b { display: block; font-size: 1.7rem; color: #fff; }
.pg24-cta-strip span { font-size: 1.2rem; color: #fff8e8; }
.pg24-cta-strip .pg24-btn { margin-top: 0.8rem; background: #0C0C0C; color: #fff; }

/* ---------- Footer ---------- */
.pg24-footer {
  background: #050505; border-top: 0.1rem solid var(--pg24-border);
  padding: 2rem 1.2rem 1rem; color: var(--pg24-text); margin-top: 2rem;
}
.pg24-footer-brand { color: var(--pg24-text-bright); font-weight: 800; margin-bottom: 0.6rem; font-size: 1.6rem; }
.pg24-footer p { font-size: 1.2rem; }
.pg24-footer-links {
  display: flex; flex-wrap: wrap; gap: 0.5rem 1rem; margin: 1rem 0;
}
.pg24-footer-links a {
  flex: 1 1 42%; background: var(--pg24-bg-card); border: 0.1rem solid var(--pg24-border);
  padding: 0.7rem 0.9rem; border-radius: 0.6rem; color: var(--pg24-text-bright); font-size: 1.15rem; text-align: center;
}
.pg24-footer-links a:hover { color: var(--pg24-accent); border-color: var(--pg24-accent); text-decoration: none; }
.pg24-footer-promos { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.5rem; margin: 0.8rem 0; }
.pg24-footer-promos button { width: 100%; }
.pg24-footer-copy { font-size: 1.1rem; color: var(--pg24-primary); text-align: center; margin-top: 1rem; }

/* ---------- Mobile bottom navigation ---------- */
.pg24-bottomnav {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 1000;
  background: linear-gradient(180deg, #0e0e0e, #050505);
  border-top: 0.1rem solid var(--pg24-border); height: 6rem;
  display: flex; justify-content: space-around; align-items: stretch;
  box-shadow: 0 -0.4rem 1rem rgba(0, 0, 0, 0.55);
}
.pg24-bottomnav-item {
  flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center;
  background: transparent; border: 0; color: var(--pg24-text); font-size: 1rem;
  text-decoration: none; padding: 0.3rem; gap: 0.2rem; min-width: 6rem; cursor: pointer;
  transition: color 0.15s ease, transform 0.15s ease;
}
.pg24-bottomnav-item i { font-size: 2rem; color: var(--pg24-text); transition: color 0.15s ease, transform 0.15s ease; }
.pg24-bottomnav-item:hover { color: var(--pg24-text-bright); text-decoration: none; transform: translateY(-0.1rem); }
.pg24-bottomnav-item:hover i { color: var(--pg24-accent); transform: scale(1.12); }
.pg24-bottomnav-item.pg24-nav-active i { color: var(--pg24-accent); }
.pg24-bottomnav-item.pg24-nav-promo i { color: var(--pg24-accent-2); }
.pg24-bottomnav-badge {
  position: absolute; transform: translate(0.8rem, -0.8rem);
  background: var(--pg24-accent-2); color: #fff; font-size: 0.9rem; font-weight: 700;
  border-radius: 0.8rem; padding: 0 0.4rem; min-width: 1.4rem; line-height: 1.4rem; text-align: center;
}
.pg24-bottomnav-item { position: relative; }

@media (min-width: 769px) {
  .pg24-bottomnav { display: none; }
  .pg24-main { padding-bottom: 0 !important; }
}

/* ---------- Utility ---------- */
.pg24-text-center { text-align: center; }
.pg24-mt-1 { margin-top: 0.6rem; }
.pg24-mt-2 { margin-top: 1.2rem; }
.pg24-hidden { display: none !important; }
.pg24-balance { color: var(--pg24-text-bright); }
