/* =================================================================
   Superph App - theme-9357.css
   Mobile-first casino portal stylesheet.
   Every custom class uses the v7d8- prefix for namespace isolation.
   Color palette:
     --v7d8-primary   #CD853F (Peru / brand gold)
     --v7d8-secondary #CD5C5C (Indian Red / accent)
     --v7d8-bg        #0E1621 (Dark navy background)
     --v7d8-text      #FFB347 (Light orange text)
     --v7d8-muted     #E9967A (Dark Salmon muted text)
   ================================================================= */

:root {
  --v7d8-primary:   #CD853F;
  --v7d8-secondary: #CD5C5C;
  --v7d8-bg:        #0E1621;
  --v7d8-bg-2:      #16202E;
  --v7d8-bg-3:      #1E2A3D;
  --v7d8-text:      #FFB347;
  --v7d8-muted:     #E9967A;
  --v7d8-white:     #FFFFFF;
  --v7d8-black:     #000000;
  --v7d8-success:   #4FD1A1;
  --v7d8-danger:    #FF6B6B;
  --v7d8-shadow:    0 0.4rem 1.4rem rgba(0, 0, 0, 0.45);
  --v7d8-radius:    1.2rem;
  --v7d8-radius-sm: 0.8rem;
  --v7d8-gap:       1.2rem;
  --v7d8-header-h:  6rem;
}

/* ---------- Base reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  font-size: 62.5%;            /* 1rem = 10px for rem sizing */
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
body {
  margin: 0;
  font-family: 'Segoe UI', 'PingFang SC', system-ui, -apple-system, Arial, sans-serif;
  background: radial-gradient(circle at top, var(--v7d8-bg-2), var(--v7d8-bg) 55%);
  background-attachment: fixed;
  color: var(--v7d8-white);
  font-size: 1.5rem;
  line-height: 1.5;
  min-height: 100vh;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--v7d8-text); text-decoration: none; }
a:hover { color: var(--v7d8-primary); }
button { font-family: inherit; cursor: pointer; }

/* ---------- Layout containers ---------- */
.v7d8-container {
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
  padding: 0 1.4rem;
}
.v7d8-wrapper { padding-top: var(--v7d8-header-h); padding-bottom: 8rem; }
.v7d8-section {
  margin: 2rem 0;
  padding: 1.6rem;
  background: linear-gradient(145deg, var(--v7d8-bg-2), var(--v7d8-bg-3));
  border-radius: var(--v7d8-radius);
  box-shadow: var(--v7d8-shadow);
  border: 1px solid rgba(205, 133, 63, 0.18);
}
.v7d8-grid {
  display: grid;
  gap: var(--v7d8-gap);
  grid-template-columns: repeat(2, 1fr);
}
.v7d8-grid--3 { grid-template-columns: repeat(3, 1fr); }
.v7d8-grid--4 { grid-template-columns: repeat(4, 1fr); }

/* ---------- Header / Top navigation ---------- */
.v7d8-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--v7d8-header-h);
  background: linear-gradient(90deg, var(--v7d8-bg), var(--v7d8-bg-2));
  border-bottom: 0.2rem solid var(--v7d8-primary);
  z-index: 1000;
  box-shadow: 0 0.3rem 1rem rgba(0,0,0,.45);
}
.v7d8-header-inner {
  max-width: 430px;
  margin: 0 auto;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1.2rem;
}
.v7d8-brand {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  color: var(--v7d8-text);
  font-weight: 700;
  font-size: 1.6rem;
}
.v7d8-brand img { width: 3rem; height: 3rem; border-radius: 50%; }
.v7d8-brand small { display: block; font-size: 1rem; color: var(--v7d8-muted); font-weight: 500; }

.v7d8-header-actions { display: flex; gap: 0.6rem; align-items: center; }

/* ---------- Buttons ---------- */
.v7d8-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 4rem;
  padding: 0 1.4rem;
  border-radius: var(--v7d8-radius-sm);
  border: 0;
  font-weight: 700;
  font-size: 1.4rem;
  color: var(--v7d8-white);
  background: linear-gradient(135deg, var(--v7d8-primary), var(--v7d8-secondary));
  transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
  box-shadow: 0 0.4rem 1rem rgba(205, 92, 92, .35);
}
.v7d8-btn:hover { transform: translateY(-1px); filter: brightness(1.08); color: var(--v7d8-white); }
.v7d8-btn:active { transform: translateY(0); }
.v7d8-btn--ghost {
  background: transparent;
  border: 0.15rem solid var(--v7d8-primary);
  color: var(--v7d8-text);
  box-shadow: none;
}
.v7d8-btn--block { display: flex; width: 100%; }
.v7d8-btn--lg { min-height: 5rem; font-size: 1.6rem; }
.v7d8-btn--sm { min-height: 3rem; padding: 0 1rem; font-size: 1.2rem; }

/* ---------- Hamburger / mobile menu ---------- */
.v7d8-menu-toggle {
  width: 4rem; height: 4rem;
  background: transparent;
  border: 0;
  color: var(--v7d8-text);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}
.v7d8-menu-toggle .material-icons { font-size: 2.8rem; }

.v7d8-menu-backdrop {
  position: fixed; inset: 0;
  background: rgba(0,0,0,.55);
  opacity: 0;
  visibility: hidden;
  transition: opacity .25s ease, visibility .25s ease;
  z-index: 9998;
}
body.v7d8-menu-open .v7d8-menu-backdrop { opacity: 1; visibility: visible; }

.v7d8-mobile-menu {
  position: fixed;
  top: 0; right: -85%;
  width: 80%;
  max-width: 320px;
  height: 100vh;
  background: linear-gradient(180deg, var(--v7d8-bg-2), var(--v7d8-bg));
  padding: 7rem 1.6rem 2rem;
  transition: right .3s ease;
  z-index: 9999;
  overflow-y: auto;
  border-left: 0.2rem solid var(--v7d8-primary);
}
body.v7d8-menu-open .v7d8-mobile-menu { right: 0; }
.v7d8-mobile-menu h3 {
  font-size: 1.4rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--v7d8-muted);
  margin: 1.4rem 0 0.6rem;
}
.v7d8-mobile-menu ul { list-style: none; padding: 0; margin: 0; }
.v7d8-mobile-menu li { border-bottom: 1px solid rgba(255,179,71,.08); }
.v7d8-mobile-menu a {
  display: block;
  padding: 1rem 0.4rem;
  color: var(--v7d8-white);
  font-size: 1.5rem;
}
.v7d8-mobile-menu a:hover { color: var(--v7d8-text); padding-left: 1rem; }

/* ---------- Hero carousel ---------- */
.v7d8-hero {
  position: relative;
  border-radius: var(--v7d8-radius);
  overflow: hidden;
  box-shadow: var(--v7d8-shadow);
  margin: 1.4rem 0;
}
.v7d8-hero-track { position: relative; height: 18rem; }
.v7d8-slide {
  position: absolute; inset: 0;
  opacity: 0;
  transition: opacity .7s ease;
  display: block;
  cursor: pointer;
}
.v7d8-slide img { width: 100%; height: 100%; object-fit: cover; }
.v7d8-slide--active { opacity: 1; }
.v7d8-hero-caption {
  position: absolute;
  left: 1rem; bottom: 1rem;
  background: rgba(14,22,33,.78);
  padding: 0.6rem 1rem;
  border-radius: var(--v7d8-radius-sm);
  font-size: 1.2rem;
  color: var(--v7d8-text);
}
.v7d8-hero-dots {
  position: absolute;
  bottom: 0.6rem; right: 0.8rem;
  display: flex; gap: 0.4rem;
}
.v7d8-hero-dots span {
  width: 0.6rem; height: 0.6rem; border-radius: 50%;
  background: rgba(255,255,255,.4);
}

/* ---------- Section titles ---------- */
.v7d8-section-title {
  display: flex; align-items: center; gap: 0.8rem;
  margin: 2rem 0 1rem;
  font-size: 1.8rem;
  color: var(--v7d8-text);
}
.v7d8-section-title i { color: var(--v7d8-primary); }
.v7d8-section-title::after {
  content: ''; flex: 1; height: 1px;
  background: linear-gradient(90deg, var(--v7d8-primary), transparent);
}

.v7d8-cat-tabs {
  display: flex; gap: 0.5rem; flex-wrap: wrap;
  margin-bottom: 1rem;
}
.v7d8-cat-tab {
  padding: 0.6rem 1.2rem;
  border-radius: 2rem;
  background: var(--v7d8-bg-3);
  color: var(--v7d8-white);
  border: 1px solid rgba(205,133,63,.25);
  font-size: 1.3rem;
  font-weight: 600;
}
.v7d8-cat-tab--active {
  background: linear-gradient(135deg, var(--v7d8-primary), var(--v7d8-secondary));
  color: var(--v7d8-white);
}

/* ---------- Game cards ---------- */
.v7d8-game-section h2 {
  font-size: 1.7rem;
  color: var(--v7d8-primary);
  margin: 1.6rem 0 0.8rem;
  display: flex; align-items: center; gap: 0.6rem;
}
.v7d8-game-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.8rem;
}
.v7d8-game-card {
  background: var(--v7d8-bg-3);
  border-radius: var(--v7d8-radius-sm);
  padding: 0.6rem;
  text-align: center;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease;
  border: 1px solid rgba(255,179,71,.08);
}
.v7d8-game-card:hover { transform: translateY(-2px); box-shadow: 0 .5rem 1rem rgba(0,0,0,.4); }
.v7d8-game-card img {
  width: 100%; aspect-ratio: 1; object-fit: cover;
  border-radius: 0.6rem;
  margin-bottom: 0.4rem;
}
.v7d8-game-card span {
  display: block;
  font-size: 1.15rem;
  color: var(--v7d8-text);
  line-height: 1.3;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* ---------- Generic card ---------- */
.v7d8-card {
  background: var(--v7d8-bg-3);
  border-radius: var(--v7d8-radius-sm);
  padding: 1.2rem;
  border: 1px solid rgba(255,179,71,.1);
}
.v7d8-card h3 { color: var(--v7d8-text); margin: 0 0 0.5rem; font-size: 1.4rem; }
.v7d8-card p { margin: 0; color: #DDE7F0; font-size: 1.3rem; }
.v7d8-card .v7d8-card-icon { font-size: 2.2rem; color: var(--v7d8-primary); margin-bottom: 0.4rem; }

/* ---------- Lists / Steps / Testimonials ---------- */
.v7d8-steps { counter-reset: step; list-style: none; padding: 0; }
.v7d8-steps li {
  position: relative;
  padding: 0.8rem 0 0.8rem 4rem;
  border-bottom: 1px dashed rgba(255,179,71,.12);
  font-size: 1.35rem;
  color: #DDE7F0;
}
.v7d8-steps li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute; left: 0; top: 0.6rem;
  width: 2.8rem; height: 2.8rem;
  background: linear-gradient(135deg, var(--v7d8-primary), var(--v7d8-secondary));
  color: var(--v7d8-white);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 1.4rem;
}
.v7d8-faq dt { color: var(--v7d8-text); font-weight: 700; margin-top: 1rem; font-size: 1.4rem; }
.v7d8-faq dd { margin: 0.3rem 0 0; color: #DDE7F0; font-size: 1.3rem; }

.v7d8-testimonial {
  background: var(--v7d8-bg-3);
  border-left: 0.3rem solid var(--v7d8-primary);
  padding: 1rem 1.2rem;
  border-radius: 0.6rem;
  margin-bottom: 0.8rem;
}
.v7d8-testimonial p { margin: 0 0 0.4rem; font-size: 1.3rem; color: #E6EEF7; }
.v7d8-testimonial cite { font-style: normal; color: var(--v7d8-muted); font-size: 1.2rem; }

/* ---------- Winner showcase ---------- */
.v7d8-winner-row {
  display: flex; align-items: center; gap: 0.8rem;
  padding: 0.6rem 0;
  border-bottom: 1px solid rgba(255,179,71,.08);
  font-size: 1.3rem;
}
.v7d8-winner-row .v7d8-amount { color: var(--v7d8-success); font-weight: 700; margin-left: auto; }

/* ---------- Payment methods ---------- */
.v7d8-pay-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.6rem;
  text-align: center;
}
.v7d8-pay-item {
  background: var(--v7d8-bg-3);
  border-radius: 0.8rem;
  padding: 1rem 0.4rem;
  border: 1px solid rgba(255,179,71,.08);
}
.v7d8-pay-item i { font-size: 2.2rem; color: var(--v7d8-primary); }
.v7d8-pay-item span { display: block; font-size: 1.1rem; margin-top: 0.4rem; color: var(--v7d8-text); }

/* ---------- In-content CTA ---------- */
.v7d8-cta-banner {
  background: linear-gradient(135deg, var(--v7d8-primary), var(--v7d8-secondary));
  border-radius: var(--v7d8-radius);
  padding: 1.4rem;
  text-align: center;
  margin: 1.6rem 0;
  box-shadow: var(--v7d8-shadow);
}
.v7d8-cta-banner h3 { color: var(--v7d8-white); margin: 0 0 0.4rem; font-size: 1.7rem; }
.v7d8-cta-banner p { color: #FFF5E6; margin: 0 0 1rem; font-size: 1.3rem; }
.v7d8-cta-banner .v7d8-btn { background: var(--v7d8-white); color: var(--v7d8-secondary); }

/* ---------- Footer ---------- */
.v7d8-footer {
  background: linear-gradient(180deg, var(--v7d8-bg-2), var(--v7d8-bg));
  border-top: 0.2rem solid var(--v7d8-primary);
  padding: 2rem 1.4rem 9rem;
  margin-top: 2rem;
  color: #DDE7F0;
  font-size: 1.3rem;
}
.v7d8-footer h4 { color: var(--v7d8-text); margin: 1.2rem 0 0.5rem; font-size: 1.4rem; }
.v7d8-footer a { color: #DDE7F0; display: block; padding: 0.25rem 0; }
.v7d8-footer a:hover { color: var(--v7d8-text); }
.v7d8-footer .v7d8-footer-links {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.4rem 1rem;
  margin: 0.6rem 0 1rem;
}
.v7d8-footer-promo {
  display: flex; flex-wrap: wrap; gap: 0.5rem;
  margin: 0.6rem 0 1rem;
}
.v7d8-footer-promo .v7d8-btn { flex: 1 1 45%; }
.v7d8-footer-copy {
  border-top: 1px solid rgba(255,179,71,.15);
  padding-top: 1rem;
  text-align: center;
  color: var(--v7d8-muted);
  font-size: 1.15rem;
}

/* ---------- Bottom navigation ---------- */
.v7d8-bottom-nav {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  height: 6rem;
  background: linear-gradient(180deg, var(--v7d8-bg-2), var(--v7d8-bg));
  border-top: 0.15rem solid var(--v7d8-primary);
  display: flex;
  justify-content: space-around;
  align-items: center;
  z-index: 1000;
  box-shadow: 0 -0.3rem 1rem rgba(0,0,0,.5);
}
.v7d8-bottom-nav a, .v7d8-bottom-nav button {
  flex: 1;
  min-width: 6rem;
  min-height: 6rem;
  background: transparent;
  border: 0;
  color: var(--v7d8-muted);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.2rem;
  font-size: 1.1rem;
  font-weight: 600;
  transition: color .2s ease, transform .2s ease;
}
.v7d8-bottom-nav a i, .v7d8-bottom-nav button i { font-size: 2.2rem; }
.v7d8-bottom-nav a:hover, .v7d8-bottom-nav button:hover { color: var(--v7d8-text); transform: translateY(-2px); }
.v7d8-bottom-nav .v7d8-active { color: var(--v7d8-primary); }
.v7d8-bottom-nav .v7d8-badge {
  position: absolute; top: 0.6rem; right: calc(50% - 2rem);
  background: var(--v7d8-secondary); color: var(--v7d8-white);
  border-radius: 50%; font-size: 0.9rem; width: 1.6rem; height: 1.6rem;
  display: flex; align-items: center; justify-content: center;
}
.v7d8-bottom-nav-item { position: relative; }

/* ---------- Reveal animation ---------- */
.v7d8-reveal { opacity: 0; transform: translateY(1.2rem); transition: opacity .6s ease, transform .6s ease; }
.v7d8-reveal.v7d8-revealed { opacity: 1; transform: translateY(0); }

/* ---------- SEO text helpers ---------- */
.v7d8-seo-text { color: #C8D3DF; font-size: 1.3rem; line-height: 1.6; }
.v7d8-seo-text strong { color: var(--v7d8-text); }
.v7d8-link-text { color: var(--v7d8-text); font-weight: 700; border-bottom: 1px dashed currentColor; }
.v7d8-link-text:hover { color: var(--v7d8-primary); }

/* ---------- Stats ---------- */
.v7d8-stats {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 0.8rem; text-align: center;
}
.v7d8-stats div { background: var(--v7d8-bg-3); padding: 1rem 0.4rem; border-radius: 0.8rem; border: 1px solid rgba(255,179,71,.1); }
.v7d8-stats strong { display: block; font-size: 1.8rem; color: var(--v7d8-text); }
.v7d8-stats span { font-size: 1.1rem; color: var(--v7d8-muted); }

/* ---------- Desktop ---------- */
@media (min-width: 769px) {
  .v7d8-bottom-nav { display: none; }
  .v7d8-wrapper { padding-bottom: 2rem; }
  .v7d8-menu-toggle { display: none; }
  .v7d8-mobile-menu { position: static; height: auto; width: auto; max-width: none; padding: 0; background: transparent; border: 0; transform: none; }
  body.v7d8-menu-open .v7d8-mobile-menu { right: auto; }
  .v7d8-mobile-menu .v7d8-desktop-nav {
    display: flex; gap: 1rem; align-items: center;
  }
  .v7d8-mobile-menu .v7d8-desktop-nav a { padding: 0.4rem 0.6rem; font-size: 1.4rem; }
  .v7d8-container { max-width: 760px; }
}
@media (max-width: 768px) {
  .v7d8-desktop-nav { display: none; }
  main { padding-bottom: 8rem; }
}
.v7d8-skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--v7d8-text); color: var(--v7d8-bg);
  padding: 0.6rem 1rem; border-radius: 0 0 0.6rem 0; z-index: 1500;
}
.v7d8-skip-link:focus { left: 0; }
