/* ==========================================================================
   gamezone slot - layout stylesheet (css/layout-7d63.css)
   Mobile-first design. Max width 430px on phones.
   All custom classes use the s7d6- prefix.
   ========================================================================== */

/* ---------- CSS variables ---------- */
:root {
  --s7d6-primary: #E91E63;      /* hot pink accent */
  --s7d6-bg: #0D1117;            /* dark base background */
  --s7d6-bg-soft: #161B22;       /* card / panel background */
  --s7d6-bg-elev: #1F2630;       /* elevated surface */
  --s7d6-text: #C9C9FF;          /* light lavender text */
  --s7d6-text-muted: #999999;    /* muted grey */
  --s7d6-gold: #DEB887;          /* burlywood / gold */
  --s7d6-line: rgba(201, 201, 255, 0.12);
  --s7d6-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
  --s7d6-radius: 12px;
  --s7d6-header-h: 56px;
  --s7d6-bottomnav-h: 60px;
}

/* ---------- Reset & base ---------- */
* { box-sizing: border-box; }
html {
  font-size: 62.5%; /* 1rem = 10px for predictable rem math */
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  font-family: "Segoe UI", "Helvetica Neue", Roboto, Arial, sans-serif;
  background: var(--s7d6-bg);
  color: var(--s7d6-text);
  line-height: 1.5rem;
  font-size: 1.4rem;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--s7d6-gold); text-decoration: none; }
a:hover { color: var(--s7d6-primary); }
h1, h2, h3, h4 { color: #fff; margin: 0 0 0.6rem; line-height: 1.3; }
h1 { font-size: 2.1rem; }
h2 { font-size: 1.8rem; }
h3 { font-size: 1.55rem; }
p { margin: 0 0 1rem; }

/* ---------- Layout primitives ---------- */
.s7d6-container {
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
  padding: 0 1.2rem;
}
.s7d6-wrapper { width: 100%; }
.s7d6-grid {
  display: grid;
  gap: 0.8rem;
}
.s7d6-section {
  padding: 2rem 0;
  border-top: 1px solid var(--s7d6-line);
}

/* ---------- Buttons ---------- */
.s7d6-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 44px;
  padding: 0 1.4rem;
  border: none;
  border-radius: var(--s7d6-radius);
  background: var(--s7d6-primary);
  color: #fff;
  font-size: 1.4rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.2s ease;
  touch-action: manipulation;
}
.s7d6-btn:hover { background: #ff3d7f; color: #fff; transform: translateY(-1px); }
.s7d6-btn:active { transform: scale(0.97); }
.s7d6-btn-outline {
  background: transparent;
  border: 2px solid var(--s7d6-gold);
  color: var(--s7d6-gold);
}
.s7d6-btn-outline:hover { background: var(--s7d6-gold); color: var(--s7d6-bg); }
.s7d6-btn-block { width: 100%; }

/* ---------- Header ---------- */
.s7d6-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--s7d6-header-h);
  background: rgba(13, 17, 23, 0.96);
  border-bottom: 1px solid var(--s7d6-line);
  z-index: 1000;
  transition: box-shadow 0.25s ease;
}
.s7d6-header-scrolled { box-shadow: var(--s7d6-shadow); }
.s7d6-header-inner {
  max-width: 430px;
  margin: 0 auto;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1rem;
}
.s7d6-logo {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  color: #fff;
  font-weight: 800;
  font-size: 1.45rem;
}
.s7d6-logo img { width: 28px; height: 28px; border-radius: 6px; }
.s7d6-logo span { color: var(--s7d6-primary); }

.s7d6-header-actions { display: flex; align-items: center; gap: 0.45rem; }
.s7d6-icon-btn {
  width: 40px; height: 40px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 10px;
  background: var(--s7d6-bg-soft);
  color: var(--s7d6-text);
  border: 1px solid var(--s7d6-line);
  cursor: pointer;
  font-size: 1.8rem;
  line-height: 1;
}
.s7d6-icon-btn:active { transform: scale(0.95); }
.s7d6-header-mini-btn {
  min-height: 36px; padding: 0 0.9rem; font-size: 1.25rem;
}

/* ---------- Mobile slide-down menu ---------- */
.s7d6-mobile-menu {
  position: fixed;
  top: var(--s7d6-header-h);
  left: 0; right: 0;
  background: var(--s7d6-bg-soft);
  border-bottom: 1px solid var(--s7d6-line);
  max-height: 0;
  overflow: hidden;
  z-index: 9999;
  transition: max-height 0.3s ease;
}
.s7d6-menu-open { max-height: 80vh; overflow-y: auto; box-shadow: var(--s7d6-shadow); }
.s7d6-mobile-menu nav { display: flex; flex-direction: column; padding: 0.5rem 0; }
.s7d6-mobile-menu a {
  padding: 1rem 1.4rem;
  color: var(--s7d6-text);
  border-bottom: 1px solid var(--s7d6-line);
  font-size: 1.35rem;
}
.s7d6-mobile-menu a:hover { background: var(--s7d6-bg-elev); color: var(--s7d6-primary); }

/* ---------- Main wrapper spacing ---------- */
.s7d6-main {
  padding-top: var(--s7d6-header-h);
  padding-bottom: calc(var(--s7d6-bottomnav-h) + 1.5rem);
}

/* ---------- Hero carousel ---------- */
.s7d6-hero {
  position: relative;
  margin: 1.2rem 0 0.5rem;
  border-radius: var(--s7d6-radius);
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: var(--s7d6-bg-soft);
  box-shadow: var(--s7d6-shadow);
}
.s7d6-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.6s ease;
}
.s7d6-slide img { width: 100%; height: 100%; object-fit: cover; }
.s7d6-slide-active { opacity: 1; }
.s7d6-slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(13,17,23,0) 35%, rgba(13,17,23,0.85) 100%);
  display: flex;
  align-items: flex-end;
  padding: 1rem;
}
.s7d6-slide-overlay strong { color: #fff; font-size: 1.5rem; }

/* ---------- Headings ---------- */
.s7d6-h1 { font-size: 2rem; margin: 0.5rem 0 0.8rem; }
.s7d6-section-title {
  display: flex; align-items: center; gap: 0.5rem;
  margin-bottom: 0.9rem;
  color: #fff;
}
.s7d6-section-title .s7d6-bar {
  width: 4px; height: 1.6rem; background: var(--s7d6-primary); border-radius: 4px;
}
.s7d6-section-title small {
  margin-left: auto; font-size: 1.1rem; color: var(--s7d6-text-muted); font-weight: 400;
}

/* ---------- Game grid (compact) ---------- */
.s7d6-game-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.7rem;
}
.s7d6-game-card {
  display: block;
  background: var(--s7d6-bg-soft);
  border: 1px solid var(--s7d6-line);
  border-radius: var(--s7d6-radius);
  overflow: hidden;
  transition: transform 0.15s ease, border-color 0.2s ease;
  text-align: center;
}
.s7d6-game-card:hover { transform: translateY(-2px); border-color: var(--s7d6-primary); }
.s7d6-game-card img {
  width: 100%; aspect-ratio: 1; object-fit: cover; background: #000;
}
.s7d6-game-card-name {
  display: block;
  padding: 0.45rem 0.3rem;
  font-size: 1.05rem;
  color: var(--s7d6-text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.s7d6-cat-label {
  display: inline-block;
  text-transform: capitalize;
  font-size: 1.1rem;
  color: var(--s7d6-gold);
  margin: 0.4rem 0 0.6rem;
  font-weight: 600;
}

/* ---------- Generic card ---------- */
.s7d6-card {
  background: var(--s7d6-bg-soft);
  border: 1px solid var(--s7d6-line);
  border-radius: var(--s7d6-radius);
  padding: 1.2rem;
  margin-bottom: 1rem;
}
.s7d6-card-accent { border-left: 3px solid var(--s7d6-primary); }

/* ---------- Lists ---------- */
.s7d6-list { margin: 0; padding-left: 1.4rem; }
.s7d6-list li { margin-bottom: 0.55rem; }

/* ---------- RTP table ---------- */
.s7d6-rtp-row {
  display: flex; justify-content: space-between;
  padding: 0.55rem 0;
  border-bottom: 1px dashed var(--s7d6-line);
  font-size: 1.25rem;
}
.s7d6-rtp-row:last-child { border-bottom: none; }
.s7d6-rtp-row b { color: var(--s7d6-gold); }

/* ---------- Testimonial ---------- */
.s7d6-quote {
  border-left: 3px solid var(--s7d6-gold);
  padding: 0.6rem 0.9rem;
  margin-bottom: 0.8rem;
  background: var(--s7d6-bg-elev);
  border-radius: 0 8px 8px 0;
  font-style: italic;
}
.s7d6-quote span { display: block; margin-top: 0.4rem; color: var(--s7d6-text-muted); font-size: 1.1rem; }

/* ---------- Payment chips ---------- */
.s7d6-chips { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.s7d6-chip {
  display: inline-flex; align-items: center; gap: 0.4rem;
  padding: 0.4rem 0.8rem;
  background: var(--s7d6-bg-elev);
  border: 1px solid var(--s7d6-line);
  border-radius: 999px;
  font-size: 1.1rem; color: var(--s7d6-text);
}

/* ---------- Winners ---------- */
.s7d6-winner {
  display: flex; justify-content: space-between; align-items: center;
  padding: 0.55rem 0; border-bottom: 1px dashed var(--s7d6-line);
  font-size: 1.2rem;
}
.s7d6-winner b { color: var(--s7d6-primary); }

/* ---------- Features grid ---------- */
.s7d6-feature-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.7rem; }
.s7d6-feature {
  background: var(--s7d6-bg-soft);
  border: 1px solid var(--s7d6-line);
  border-radius: var(--s7d6-radius);
  padding: 1rem;
  text-align: center;
}
.s7d6-feature .material-icons,
.s7d6-feature ion-icon,
.s7d6-feature i { color: var(--s7d6-primary); font-size: 2.2rem; }
.s7d6-feature h4 { margin: 0.4rem 0 0.2rem; font-size: 1.2rem; }
.s7d6-feature p { margin: 0; font-size: 1.05rem; color: var(--s7d6-text-muted); }

/* ---------- CTA banner ---------- */
.s7d6-cta {
  background: linear-gradient(135deg, var(--s7d6-primary), #7a1342);
  border-radius: var(--s7d6-radius);
  padding: 1.4rem;
  text-align: center;
  margin: 1rem 0;
  color: #fff;
  box-shadow: var(--s7d6-shadow);
}
.s7d6-cta h3 { color: #fff; }
.s7d6-cta .s7d6-btn { background: #fff; color: var(--s7d6-primary); margin-top: 0.5rem; }

/* ---------- Promotional text link ---------- */
.s7d6-text-link {
  color: var(--s7d6-primary);
  font-weight: 700;
}
.s7d6-text-link:hover { text-decoration: underline; color: #ff3d7f; }

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

/* ---------- Footer ---------- */
.s7d6-footer {
  border-top: 1px solid var(--s7d6-line);
  background: var(--s7d6-bg-soft);
  padding: 1.6rem 0 calc(var(--s7d6-bottomnav-h) + 1.5rem);
  font-size: 1.2rem;
  color: var(--s7d6-text-muted);
}
.s7d6-footer-links {
  display: flex; flex-wrap: wrap; gap: 0.5rem 1rem;
  margin: 0.8rem 0;
}
.s7d6-footer-links a { color: var(--s7d6-text); font-size: 1.15rem; }
.s7d6-footer-links a:hover { color: var(--s7d6-primary); }
.s7d6-footer-promo {
  display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 0.8rem 0;
}
.s7d6-footer-copy { font-size: 1.05rem; color: var(--s7d6-text-muted); }

/* ---------- Mobile bottom navigation ---------- */
.s7d6-bottomnav {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  height: var(--s7d6-bottomnav-h);
  background: var(--s7d6-bg-soft);
  border-top: 1px solid var(--s7d6-line);
  display: flex;
  justify-content: space-around;
  align-items: stretch;
  z-index: 1000;
  box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.4);
}
.s7d6-bottomnav-btn {
  flex: 1;
  min-width: 60px;
  min-height: 60px;
  background: none;
  border: none;
  color: var(--s7d6-text-muted);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  cursor: pointer;
  padding: 4px 2px;
  font-size: 1.05rem;
  position: relative;
  transition: color 0.2s ease, transform 0.15s ease;
}
.s7d6-bottomnav-btn i,
.s7d6-bottomnav-btn .material-icons,
.s7d6-bottomnav-btn ion-icon { font-size: 22px; }
.s7d6-bottomnav-btn:active { transform: scale(0.92); }
.s7d6-bottomnav-btn:hover { color: var(--s7d6-text); }
.s7d6-bottomnav-btn.s7d6-active { color: var(--s7d6-primary); }
.s7d6-bottomnav-btn.s7d6-active::before {
  content: "";
  position: absolute; top: 0; left: 25%; right: 25%;
  height: 3px; background: var(--s7d6-primary); border-radius: 0 0 4px 4px;
}
.s7d6-bottomnav-btn.s7d6-promo { color: var(--s7d6-gold); }

/* ---------- Desktop: hide bottom nav ---------- */
@media (min-width: 769px) {
  .s7d6-bottomnav { display: none; }
  body { background: #0a0e14; }
  .s7d6-main { padding-bottom: 2rem; }
  .s7d6-footer { padding-bottom: 2rem; }
}

/* ---------- Small phone tuning ---------- */
@media (max-width: 430px) {
  body { font-size: 1.35rem; }
  h1 { font-size: 1.9rem; }
  h2 { font-size: 1.65rem; }
  .s7d6-game-grid { gap: 0.55rem; }
  .s7d6-game-card-name { font-size: 1rem; }
  .s7d6-container { padding: 0 0.9rem; }
}

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