/* ===========================================================
   Casino Link - layout-1c43.css
   All custom classes use the "g43e-" prefix.
   Palette: #141414 | #9400D3 | #8A2BE2 | #FFFFBA | #BAFFC9
   =========================================================== */

:root {
  --g43e-bg: #141414;
  --g43e-primary: #9400D3;
  --g43e-secondary: #8A2BE2;
  --g43e-text: #FFFFBA;
  --g43e-mint: #BAFFC9;
  --g43e-card: #1f1430;
  --g43e-card-2: #241434;
  --g43e-border: rgba(138, 43, 226, 0.35);
  --g43e-muted: rgba(255, 255, 255, 0.62);
  --g43e-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--g43e-bg);
  color: #fff;
  font-family: 'Segoe UI', system-ui, -apple-system, Roboto, Arial, sans-serif;
  font-size: 1.6rem;
  line-height: 1.5;
  overflow-x: hidden;
}
html { font-size: 62.5%; }
a { color: var(--g43e-text); text-decoration: none; }
img { max-width: 100%; display: block; }

/* Layout containers */
.g43e-container {
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
  padding: 0 14px;
}
.g43e-wrapper { width: 100%; max-width: 430px; margin: 0 auto; }

/* ===== Header ===== */
.g43e-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: linear-gradient(90deg, #141414 0%, #2a0a44 60%, #141414 100%);
  border-bottom: 1px solid var(--g43e-border);
  box-shadow: var(--g43e-shadow);
}
.g43e-header-inner {
  max-width: 430px;
  margin: 0 auto;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.g43e-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  color: #fff;
  font-size: 1.7rem;
  letter-spacing: 0.3px;
  flex: 1;
  min-width: 0;
}
.g43e-logo img { width: 30px; height: 30px; border-radius: 7px; }
.g43e-logo .g43e-logo-mark {
  width: 30px; height: 30px; border-radius: 8px;
  background: linear-gradient(135deg, var(--g43e-primary), var(--g43e-secondary));
  display: flex; align-items: center; justify-content: center;
  color: var(--g43e-text); font-weight: 800; font-size: 1.4rem;
}
.g43e-logo span { color: var(--g43e-text); }

.g43e-btn {
  border: 0;
  border-radius: 999px;
  padding: 8px 16px;
  font-weight: 700;
  font-size: 1.3rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: transform 0.18s ease, filter 0.18s ease;
  min-height: 36px;
}
.g43e-btn:active { transform: scale(0.94); }
.g43e-btn-primary {
  background: linear-gradient(135deg, var(--g43e-primary), var(--g43e-secondary));
  color: #fff;
  box-shadow: 0 4px 14px rgba(148, 0, 211, 0.45);
}
.g43e-btn-ghost {
  background: transparent;
  color: var(--g43e-text);
  border: 1px solid var(--g43e-border);
}
.g43e-icon-btn {
  background: transparent;
  border: 0;
  color: #fff;
  font-size: 2rem;
  width: 36px; height: 36px;
  border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  cursor: pointer;
}
.g43e-icon-btn:active { background: rgba(255,255,255,0.08); }

/* ===== Mobile slide-down menu ===== */
.g43e-mobile-menu {
  max-height: 0;
  overflow: hidden;
  background: #1a0f28;
  border-top: 1px solid var(--g43e-border);
  transition: max-height 0.32s ease;
}
.g43e-mobile-menu.g43e-menu-open { max-height: 480px; }
.g43e-mobile-menu-inner {
  max-width: 430px;
  margin: 0 auto;
  padding: 8px 14px 14px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px 10px;
}
.g43e-mobile-menu a {
  display: block;
  padding: 9px 10px;
  font-size: 1.3rem;
  color: #fff;
  border-radius: 8px;
  border: 1px solid transparent;
}
.g43e-mobile-menu a:active { background: rgba(148,0,211,0.18); border-color: var(--g43e-border); }
.g43e-mobile-menu .g43e-menu-title {
  grid-column: 1 / -1;
  color: var(--g43e-text);
  font-size: 1.15rem;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  padding: 4px 10px;
}

/* ===== Hero / Carousel ===== */
.g43e-hero {
  margin: 12px 0 4px;
}
.g43e-carousel {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--g43e-shadow);
  background: #0e0e0e;
}
.g43e-slide {
  display: none;
  position: relative;
}
.g43e-slide.g43e-slide-active { display: block; }
.g43e-slide img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}
.g43e-slide-overlay {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 14px;
  background: linear-gradient(transparent, rgba(20,20,20,0.92));
  color: #fff;
}
.g43e-slide-overlay h2 {
  margin: 0 0 6px;
  font-size: 1.8rem;
  color: var(--g43e-text);
}
.g43e-slide-overlay p {
  margin: 0 0 8px;
  font-size: 1.25rem;
  color: var(--g43e-mint);
}
.g43e-carousel-dots {
  position: absolute;
  bottom: 8px;
  right: 12px;
  display: flex;
  gap: 6px;
  z-index: 2;
}
.g43e-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: rgba(255,255,255,0.35);
  border: 0; padding: 0; cursor: pointer;
}
.g43e-dot.g43e-dot-active { background: var(--g43e-text); width: 18px; border-radius: 4px; }

/* ===== Section blocks ===== */
.g43e-section {
  margin: 22px 0;
  padding: 0 0 4px;
}
.g43e-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}
.g43e-section-head h2 {
  font-size: 1.7rem;
  margin: 0;
  color: #fff;
  display: flex; align-items: center; gap: 8px;
}
.g43e-section-head h2 i { color: var(--g43e-primary); font-size: 1.9rem; }
.g43e-section-head .g43e-more {
  font-size: 1.2rem;
  color: var(--g43e-text);
}
.g43e-eyebrow {
  display: inline-block;
  font-size: 1.15rem;
  letter-spacing: 1px;
  color: var(--g43e-mint);
  text-transform: uppercase;
  margin-bottom: 4px;
}

.g43e-h1 {
  font-size: 2.2rem;
  line-height: 1.25;
  margin: 16px 0 6px;
  color: var(--g43e-text);
  font-weight: 800;
}
.g43e-intro {
  color: var(--g43e-muted);
  font-size: 1.3rem;
  margin: 0 0 8px;
}

/* ===== Game grid ===== */
.g43e-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.g43e-grid-4 { grid-template-columns: repeat(4, 1fr); }
.g43e-game-card {
  background: var(--g43e-card);
  border: 1px solid var(--g43e-border);
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.16s ease, box-shadow 0.16s ease;
  position: relative;
}
.g43e-game-card:active {
  transform: scale(0.96);
  box-shadow: 0 6px 18px rgba(148,0,211,0.4);
}
.g43e-game-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  background: #0e0e0e;
}
.g43e-game-name {
  padding: 6px 8px;
  font-size: 1.15rem;
  color: #fff;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.g43e-game-badge {
  position: absolute;
  top: 5px; left: 5px;
  background: linear-gradient(135deg, var(--g43e-primary), var(--g43e-secondary));
  color: #fff;
  font-size: 0.95rem;
  padding: 2px 7px;
  border-radius: 999px;
  font-weight: 700;
}

/* ===== Cards / panels ===== */
.g43e-card {
  background: var(--g43e-card);
  border: 1px solid var(--g43e-border);
  border-radius: 14px;
  padding: 16px;
  margin-bottom: 12px;
}
.g43e-card h3 {
  margin: 0 0 8px;
  font-size: 1.45rem;
  color: var(--g43e-text);
}
.g43e-card p {
  margin: 0 0 8px;
  font-size: 1.3rem;
  color: var(--g43e-muted);
}
.g43e-promo-link {
  color: var(--g43e-text);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: var(--g43e-secondary);
}
.g43e-promo-link:active { color: var(--g43e-mint); }

/* Steps list */
.g43e-steps { counter-reset: step; padding: 0; list-style: none; margin: 0; }
.g43e-steps li {
  position: relative;
  padding: 8px 8px 8px 38px;
  font-size: 1.3rem;
  color: var(--g43e-muted);
  margin-bottom: 6px;
  background: var(--g43e-card-2);
  border-radius: 10px;
  border-left: 3px solid var(--g43e-secondary);
}
.g43e-steps li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 8px; top: 8px;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--g43e-primary), var(--g43e-secondary));
  color: #fff; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
}

/* Highlight stats */
.g43e-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.g43e-stat {
  background: var(--g43e-card-2);
  border-radius: 12px;
  padding: 12px 8px;
  text-align: center;
  border: 1px solid var(--g43e-border);
}
.g43e-stat-num {
  font-size: 2rem;
  font-weight: 800;
  color: var(--g43e-text);
}
.g43e-stat-label {
  font-size: 1.1rem;
  color: var(--g43e-muted);
}

/* Testimonials */
.g43e-testi {
  background: var(--g43e-card-2);
  border-radius: 12px;
  padding: 14px;
  margin-bottom: 10px;
  border-left: 3px solid var(--g43e-primary);
}
.g43e-testi-stars { color: var(--g43e-text); font-size: 1.2rem; margin-bottom: 4px; }
.g43e-testi-text { font-size: 1.25rem; color: #fff; margin: 0 0 6px; }
.g43e-testi-author { font-size: 1.1rem; color: var(--g43e-mint); }

/* Payment chips */
.g43e-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.g43e-chip {
  background: var(--g43e-card-2);
  border: 1px solid var(--g43e-border);
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 1.2rem;
  color: #fff;
  display: inline-flex; align-items: center; gap: 5px;
}

/* FAQ */
.g43e-faq-item {
  background: var(--g43e-card-2);
  border: 1px solid var(--g43e-border);
  border-radius: 10px;
  margin-bottom: 8px;
  overflow: hidden;
}
.g43e-faq-q {
  width: 100%;
  text-align: left;
  background: transparent;
  border: 0;
  color: #fff;
  padding: 12px 14px;
  font-size: 1.3rem;
  cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 8px;
}
.g43e-faq-q i { color: var(--g43e-text); transition: transform 0.2s ease; }
.g43e-faq-item.g43e-faq-open .g43e-faq-q i { transform: rotate(45deg); }
.g43e-faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease;
  padding: 0 14px;
  color: var(--g43e-muted);
  font-size: 1.25rem;
}
.g43e-faq-item.g43e-faq-open .g43e-faq-a {
  max-height: 220px;
  padding: 0 14px 12px;
}

/* Winners ticker */
.g43e-winners {
  background: var(--g43e-card-2);
  border-radius: 12px;
  padding: 10px 12px;
  border: 1px solid var(--g43e-border);
}
.g43e-winner-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 5px 0;
  border-bottom: 1px dashed rgba(255,255,255,0.08);
  font-size: 1.2rem;
}
.g43e-winner-row:last-child { border-bottom: 0; }
.g43e-winner-name { color: var(--g43e-text); }
.g43e-winner-amt { color: var(--g43e-mint); font-weight: 700; }

/* CTA banner */
.g43e-cta {
  background: linear-gradient(135deg, var(--g43e-primary), var(--g43e-secondary));
  border-radius: 16px;
  padding: 18px;
  text-align: center;
  color: #fff;
  margin: 18px 0;
  box-shadow: 0 6px 18px rgba(148,0,211,0.4);
}
.g43e-cta h3 { margin: 0 0 6px; font-size: 1.8rem; color: var(--g43e-text); }
.g43e-cta p { margin: 0 0 12px; font-size: 1.3rem; color: rgba(255,255,255,0.85); }

/* Footer */
.g43e-footer {
  background: #0e0a16;
  border-top: 1px solid var(--g43e-border);
  padding: 20px 14px 100px;
  margin-top: 24px;
}
.g43e-footer-inner { max-width: 430px; margin: 0 auto; }
.g43e-footer-brand {
  font-weight: 800;
  font-size: 1.6rem;
  margin-bottom: 6px;
  color: var(--g43e-text);
}
.g43e-footer-desc {
  color: var(--g43e-muted);
  font-size: 1.2rem;
  margin: 0 0 14px;
}
.g43e-footer-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px 10px;
  margin-bottom: 14px;
}
.g43e-footer-links a {
  color: #fff;
  font-size: 1.2rem;
  padding: 4px 0;
}
.g43e-footer-promo {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin: 10px 0 14px;
}
.g43e-footer-copy {
  color: var(--g43e-muted);
  font-size: 1.1rem;
  border-top: 1px solid var(--g43e-border);
  padding-top: 10px;
}

/* ===== Bottom nav (mobile only) ===== */
.g43e-bottom-nav {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 1000;
  background: linear-gradient(90deg, #141414 0%, #2a0a44 50%, #141414 100%);
  border-top: 1px solid var(--g43e-border);
  display: flex;
  justify-content: space-around;
  align-items: stretch;
  height: 62px;
  padding-bottom: env(safe-area-inset-bottom, 0);
}
.g43e-bottom-nav-btn {
  flex: 1;
  min-width: 60px;
  min-height: 60px;
  background: transparent;
  border: 0;
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  cursor: pointer;
  padding: 4px 2px;
  font-size: 1.05rem;
  position: relative;
}
.g43e-bottom-nav-btn i,
.g43e-bottom-nav-btn .material-icons-outlined,
.g43e-bottom-nav-btn .bi { font-size: 22px; }
.g43e-bottom-nav-btn:active { transform: scale(0.92); }
.g43e-bottom-nav-btn.g43e-nav-active { color: var(--g43e-text); }
.g43e-bottom-nav-btn.g43e-nav-active::after {
  content: '';
  position: absolute; top: 0; left: 50%;
  transform: translateX(-50%);
  width: 26px; height: 3px; border-radius: 3px;
  background: var(--g43e-text);
}
.g43e-nav-label { font-size: 1.05rem; }

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

/* Desktop: hide bottom nav and lock site width */
@media (min-width: 769px) {
  .g43e-bottom-nav { display: none; }
  .g43e-footer { padding-bottom: 30px; }
}

/* Mobile bottom padding so content is never covered */
@media (max-width: 768px) {
  main { padding-bottom: 80px; }
}

/* Desktop wide background frame */
@media (min-width: 431px) {
  body { background: #0a0a0a; }
  .g43e-page-frame {
    max-width: 430px;
    margin: 0 auto;
    background: var(--g43e-bg);
    min-height: 100vh;
    box-shadow: 0 0 40px rgba(148,0,211,0.25);
  }
  .g43e-header, .g43e-footer, .g43e-bottom-nav { max-width: 430px; margin-left: auto; margin-right: auto; }
}
