/*!
 * gamezone download - theme stylesheet
 * Mobile-first (max-width: 430px). Root font sized for rem rhythm.
 * Every custom selector uses the `g6d0-` prefix to avoid collisions.
 */

:root {
  --g6d0-primary: #BF360C;     /* deep red-orange */
  --g6d0-accent: #FFBF00;      /* amber */
  --g6d0-gold: #FFD700;        /* highlight gold */
  --g6d0-bg: #262626;          /* dark background */
  --g6d0-bg-soft: #303030;
  --g6d0-card: #1f1f1f;
  --g6d0-text: #f5f5f5;
  --g6d0-muted: #c9c9c9;
  --g6d0-border: rgba(255, 191, 0, 0.25);
  --g6d0-radius: 14px;
  --g6d0-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
}

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

html { font-size: 62.5%; scroll-behavior: smooth; }

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

img { max-width: 100%; display: block; }
a { color: var(--g6d0-accent); text-decoration: none; }

.g6d0-skip {
  position: absolute; left: -999px; top: 0;
  background: var(--g6d0-primary); color: #fff; padding: 8px 14px; z-index: 2000;
}
.g6d0-skip:focus { left: 8px; top: 8px; }

/* ---------- Header ---------- */
.g6d0-header {
  position: sticky; top: 0; z-index: 1000;
  display: flex; align-items: center; justify-content: space-between;
  gap: 8px; padding: 8px 14px;
  background: linear-gradient(135deg, #1a1a1a 0%, var(--g6d0-bg) 60%, var(--g6d0-primary) 140%);
  border-bottom: 2px solid var(--g6d0-accent);
  box-shadow: var(--g6d0-shadow);
}
.g6d0-brand { display: flex; align-items: center; gap: 8px; min-width: 0; }
.g6d0-brand img { width: 30px; height: 30px; border-radius: 8px; }
.g6d0-brand-name {
  font-weight: 800; font-size: 1.7rem; color: var(--g6d0-gold);
  letter-spacing: .3px; white-space: nowrap;
}
.g6d0-brand-name span { color: var(--g6d0-text); }

.g6d0-head-actions { display: flex; align-items: center; gap: 6px; }
.g6d0-btn {
  border: none; border-radius: 30px; padding: 8px 16px;
  font-size: 1.3rem; font-weight: 700; cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease;
  min-height: 36px; line-height: 1;
}
.g6d0-btn:hover { transform: translateY(-1px); }
.g6d0-btn-primary { background: linear-gradient(135deg, var(--g6d0-accent), var(--g6d0-gold)); color: #1a1a1a; box-shadow: 0 4px 14px rgba(255,191,0,.4); }
.g6d0-btn-ghost { background: transparent; color: var(--g6d0-text); border: 1px solid var(--g6d0-accent); }

.g6d0-menu-btn {
  background: transparent; border: 0; color: var(--g6d0-text);
  font-size: 2.2rem; cursor: pointer; padding: 4px 8px; border-radius: 8px;
}

/* ---------- Expandable nav ---------- */
.g6d0-nav {
  position: absolute; top: 100%; right: 0; left: 0;
  background: var(--g6d0-card); border-bottom: 2px solid var(--g6d0-accent);
  display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 10px 14px;
  max-height: 0; overflow: hidden; transition: max-height .25s ease;
  z-index: 9999;
}
.g6d0-nav-open { max-height: 420px; }
.g6d0-nav a {
  color: var(--g6d0-text); background: var(--g6d0-bg-soft);
  padding: 10px 12px; border-radius: 8px; font-size: 1.3rem; text-align: center;
  border: 1px solid transparent;
}
.g6d0-nav a:hover { border-color: var(--g6d0-accent); color: var(--g6d0-gold); }

/* ---------- Layout ---------- */
.g6d0-container { width: 100%; max-width: 430px; margin: 0 auto; padding: 0 12px; }
.g6d0-wrapper { padding: 14px 0; }
main { display: block; padding-bottom: 80px; }

.g6d0-section { padding: 18px 0; }
.g6d0-section h2 {
  font-size: 2rem; color: var(--g6d0-gold); margin-bottom: 6px;
  display: flex; align-items: center; gap: 8px;
}
.g6d0-section h3 { font-size: 1.6rem; color: var(--g6d0-accent); margin: 10px 0 6px; }
.g6d0-section p { color: var(--g6d0-muted); margin-bottom: 8px; }

/* ---------- Hero carousel ---------- */
.g6d0-hero {
  position: relative; overflow: hidden; border-radius: var(--g6d0-radius);
  box-shadow: var(--g6d0-shadow); margin: 12px 0;
}
.g6d0-hero-track { display: flex; transition: transform .5s ease; }
.g6d0-hero-slide { min-width: 100%; position: relative; cursor: pointer; }
.g6d0-hero-slide img { width: 100%; height: 200px; object-fit: cover; }
.g6d0-hero-cap {
  position: absolute; left: 12px; bottom: 12px; right: 12px;
  background: rgba(0, 0, 0, 0.55); padding: 10px 12px; border-radius: 10px;
}
.g6d0-hero-cap strong { color: var(--g6d0-gold); font-size: 1.5rem; display: block; }
.g6d0-hero-cap span { color: var(--g6d0-text); font-size: 1.25rem; }

/* ---------- Promo CTA ---------- */
.g6d0-cta {
  display: block; text-align: center; margin: 14px 0; padding: 14px;
  background: linear-gradient(135deg, var(--g6d0-primary), #8a2606);
  border-radius: var(--g6d0-radius); color: #fff; font-weight: 800;
  font-size: 1.7rem; box-shadow: var(--g6d0-shadow);
}
.g6d0-cta:hover { filter: brightness(1.08); }
.g6d0-cta-inline { color: var(--g6d0-gold); font-weight: 700; }

/* ---------- Game grid ---------- */
.g6d0-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px;
}
.g6d0-card {
  background: var(--g6d0-card); border: 1px solid var(--g6d0-border);
  border-radius: 12px; overflow: hidden; text-align: center; cursor: pointer;
  transition: transform .15s ease, border-color .15s ease;
}
.g6d0-card:hover { transform: translateY(-2px); border-color: var(--g6d0-accent); }
.g6d0-card img { width: 100%; height: 92px; object-fit: cover; background: #111; }
.g6d0-card-name {
  font-size: 1.15rem; color: var(--g6d0-text); padding: 6px 4px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

/* ---------- Feature / stat blocks ---------- */
.g6d0-tiles { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.g6d0-tile {
  background: var(--g6d0-card); padding: 12px; border-radius: 12px;
  border-left: 4px solid var(--g6d0-accent);
}
.g6d0-tile .material-icons, .g6d0-tile i { color: var(--g6d0-gold); font-size: 24px; }
.g6d0-tile h3 { font-size: 1.4rem; margin: 6px 0 4px; color: var(--g6d0-text); }
.g6d0-tile p { font-size: 1.2rem; color: var(--g6d0-muted); }

.g6d0-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin: 8px 0; }
.g6d0-stat {
  background: var(--g6d0-bg-soft); border-radius: 10px; padding: 10px 6px; text-align: center;
  border: 1px solid var(--g6d0-border);
}
.g6d0-stat b { display: block; color: var(--g6d0-gold); font-size: 1.8rem; }
.g6d0-stat small { color: var(--g6d0-muted); font-size: 1.05rem; }

.g6d0-rtp-row {
  display: grid; grid-template-columns: 2fr 1fr; gap: 6px; padding: 8px 0;
  border-bottom: 1px dashed var(--g6d0-border); font-size: 1.25rem;
}
.g6d0-rtp-row span:last-child { color: var(--g6d0-gold); font-weight: 700; text-align: right; }

/* ---------- Testimonials ---------- */
.g6d0-quote {
  background: var(--g6d0-card); border-radius: 12px; padding: 12px; margin-bottom: 8px;
  border-left: 4px solid var(--g6d0-primary);
}
.g6d0-quote p { color: var(--g6d0-text); font-style: italic; }
.g6d0-quote cite { display: block; margin-top: 6px; color: var(--g6d0-accent); font-size: 1.2rem; }

/* ---------- Payment / winners ---------- */
.g6d0-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.g6d0-chip {
  background: var(--g6d0-bg-soft); border: 1px solid var(--g6d0-border);
  border-radius: 30px; padding: 6px 12px; font-size: 1.2rem; color: var(--g6d0-text);
}

.g6d0-winner {
  display: flex; justify-content: space-between; padding: 6px 0;
  border-bottom: 1px dashed var(--g6d0-border); font-size: 1.25rem;
}
.g6d0-winner b { color: var(--g6d0-gold); }

/* ---------- FAQ ---------- */
.g6d0-faq details {
  background: var(--g6d0-card); border: 1px solid var(--g6d0-border);
  border-radius: 10px; padding: 10px 12px; margin-bottom: 8px;
}
.g6d0-faq summary { cursor: pointer; font-weight: 700; color: var(--g6d0-gold); }
.g6d0-faq details[open] summary { color: var(--g6d0-accent); }

/* ---------- Footer ---------- */
.g6d0-footer {
  background: #1a1a1a; border-top: 2px solid var(--g6d0-accent);
  padding: 18px 14px 24px; color: var(--g6d0-muted); font-size: 1.25rem;
}
.g6d0-footer h4 { color: var(--g6d0-gold); margin-bottom: 8px; font-size: 1.4rem; }
.g6d0-footer-promos { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; margin: 12px 0; }
.g6d0-mini-cta {
  display: flex; align-items: center; justify-content: center; gap: 6px;
  min-height: 44px; padding: 9px 10px; border-radius: 12px;
  background: linear-gradient(135deg, var(--g6d0-accent), var(--g6d0-gold));
  color: #1a1a1a; font-weight: 800; text-align: center; font-size: 1.2rem;
}
.g6d0-mini-cta:nth-child(even) { background: linear-gradient(135deg, var(--g6d0-primary), #8a2606); color: #fff; }
.g6d0-footer-links { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin: 10px 0; }
.g6d0-footer-links a { color: var(--g6d0-text); }
.g6d0-footer-links a:hover { color: var(--g6d0-gold); }
.g6d0-footer-copy { border-top: 1px solid #333; margin-top: 12px; padding-top: 10px; text-align: center; font-size: 1.1rem; }

/* ---------- Bottom nav ---------- */
.g6d0-bottomnav {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 1000;
  display: flex; justify-content: space-around; align-items: stretch;
  height: 62px; background: linear-gradient(180deg, #1a1a1a, #000);
  border-top: 2px solid var(--g6d0-accent);
  box-shadow: 0 -6px 18px rgba(0, 0, 0, .5);
}
.g6d0-bottomnav a {
  flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center;
  color: var(--g6d0-muted); font-size: 1.05rem; gap: 2px; min-width: 60px; min-height: 60px;
  transition: color .15s ease, transform .15s ease; position: relative;
}
.g6d0-bottomnav a i, .g6d0-bottomnav a .material-icons, .g6d0-bottomnav a ion-icon {
  font-size: 24px;
}
.g6d0-bottomnav a:active { transform: scale(.92); }
.g6d0-bottomnav a.g6d0-active { color: var(--g6d0-gold); }
.g6d0-bottomnav a.g6d0-promo { color: var(--g6d0-accent); }
.g6d0-bottomnav a.g6d0-promo::after {
  content: ''; position: absolute; top: 4px; right: 22px;
  width: 8px; height: 8px; border-radius: 50%; background: var(--g6d0-primary);
}

/* ---------- Desktop ---------- */
@media (min-width: 769px) {
  body { background: #111; }
  .g6d0-header { justify-content: center; }
  .g6d0-menu-btn { display: none; }
  .g6d0-nav {
    position: static; max-height: none; overflow: visible;
    grid-template-columns: repeat(7, auto); justify-content: center;
    background: transparent; border: 0; padding: 0 12px;
  }
  .g6d0-nav a { background: transparent; }
  .g6d0-bottomnav { display: none; }
  main { padding-bottom: 24px; }
  .g6d0-container { max-width: 760px; }
  .g6d0-grid { grid-template-columns: repeat(6, 1fr); }
  .g6d0-tiles { grid-template-columns: repeat(4, 1fr); }
}

/* ---------- Small phones ---------- */
@media (max-width: 360px) {
  .g6d0-brand-name { font-size: 1.45rem; }
  .g6d0-grid { grid-template-columns: repeat(2, 1fr); }
  .g6d0-section h2 { font-size: 1.75rem; }
}
@media (max-width: 430px) {
  .g6d0-hero-slide img { height: 180px; }
}
