/* ============================================================
 * gamezone com - design-3529.css
 * Mobile-first gaming website styles. Root font 62.5% = 10px = 1rem.
 * All custom classes use the pg35- prefix for namespace safety.
 * Palette: #141414 bg / #E5E5E5 text / #00E5FF accent / #9370DB / #00695C
 * ============================================================ */

:root {
  --pg35-bg: #141414;
  --pg35-bg-alt: #1d1d22;
  --pg35-bg-soft: #26262d;
  --pg35-text: #e5e5e5;
  --pg35-muted: #9a9aa3;
  --pg35-primary: #00e5ff;
  --pg35-secondary: #9370db;
  --pg35-success: #00695c;
  --pg35-danger: #ff5470;
  --pg35-gold: #ffc94d;
  --pg35-radius: 14px;
  --pg35-shadow: 0 8px 24px rgba(0, 0, 0, .35);
  --pg35-max: 430px;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
  background: radial-gradient(120% 100% at 50% 0%, #20202a 0%, var(--pg35-bg) 55%);
  color: var(--pg35-text);
  line-height: 1.5rem;
  font-size: 1.4rem;
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--pg35-primary); text-decoration: none; }
a:hover { text-decoration: underline; }

.pg35-wrapper {
  width: 100%;
  max-width: var(--pg35-max);
  margin: 0 auto;
  padding: 0 1.4rem;
}

.pg35-container { width: 100%; }

/* ---------- Header ---------- */
.pg35-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: linear-gradient(180deg, rgba(20,20,20,.96), rgba(20,20,20,.86));
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(0, 229, 255, .18);
}

.pg35-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  height: 6rem;
}

.pg35-brand {
  display: flex;
  align-items: center;
  gap: .8rem;
  color: var(--pg35-text);
  font-weight: 700;
  font-size: 1.6rem;
}

.pg35-brand img { width: 32px; height: 32px; border-radius: 8px; }

.pg35-brand-name span { color: var(--pg35-primary); }

.pg35-head-actions {
  display: flex;
  align-items: center;
  gap: .6rem;
}

.pg35-btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  border: 0;
  border-radius: 999px;
  padding: 1rem 1.6rem;
  font-size: 1.3rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, filter .15s ease;
  min-height: 44px;
  text-decoration: none;
  line-height: 1;
}

.pg35-btn:hover { text-decoration: none; transform: translateY(-1px); }
.pg35-btn:active { transform: scale(.96); }

.pg35-btn-login {
  background: transparent;
  color: var(--pg35-text);
  border: 1px solid rgba(229,229,229,.35);
}

.pg35-btn-register {
  background: linear-gradient(135deg, var(--pg35-primary), #1aa9ff);
  color: #001016;
  box-shadow: 0 6px 16px rgba(0,229,255,.32);
}

.pg35-btn-secondary {
  background: linear-gradient(135deg, var(--pg35-secondary), #6a4fb0);
  color: #fff;
}

.pg35-btn-ghost {
  background: rgba(0,229,255,.1);
  color: var(--pg35-primary);
  border: 1px solid rgba(0,229,255,.4);
}

.pg35-menu-toggle {
  background: transparent;
  border: 0;
  color: var(--pg35-text);
  font-size: 1.8rem;
  cursor: pointer;
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
}

/* ---------- Mobile slide menu ---------- */
.pg35-mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 82%;
  max-width: 320px;
  height: 100vh;
  background: var(--pg35-bg-alt);
  z-index: 9999;
  padding: 2rem 1.6rem;
  transform: translateX(0);
  transition: right .28s ease;
  overflow-y: auto;
  box-shadow: var(--pg35-shadow);
}

.pg35-mobile-menu.pg35-menu-open { right: 0; }

.pg35-menu-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.6);
  z-index: 9998;
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease;
}
.pg35-mobile-menu.pg35-menu-open ~ .pg35-menu-backdrop { opacity: 1; pointer-events: auto; }

.pg35-mobile-menu h3 {
  color: var(--pg35-primary);
  font-size: 1.4rem;
  margin: 1.4rem 0 .6rem;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.pg35-mobile-menu a {
  display: block;
  padding: 1rem .6rem;
  color: var(--pg35-text);
  border-bottom: 1px solid rgba(255,255,255,.06);
  font-size: 1.4rem;
}
.pg35-mobile-menu a:hover { color: var(--pg35-primary); text-decoration: none; }

/* ---------- Carousel ---------- */
.pg35-carousel {
  position: relative;
  border-radius: var(--pg35-radius);
  overflow: hidden;
  margin: 1.4rem 0;
  box-shadow: var(--pg35-shadow);
}

.pg35-carousel-viewport { overflow: hidden; }

.pg35-carousel-track {
  display: flex;
  width: 100%;
  transition: transform .5s ease;
}

.pg35-carousel-slide {
  min-width: 100%;
  position: relative;
}

.pg35-carousel-slide img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.pg35-carousel-cap {
  position: absolute;
  left: 1.2rem;
  bottom: 1.2rem;
  background: rgba(0,0,0,.55);
  padding: .8rem 1rem;
  border-radius: 10px;
  font-size: 1.3rem;
  font-weight: 600;
}

/* ---------- Sections ---------- */
.pg35-section { margin: 2.4rem 0; }

.pg35-section-title {
  font-size: 1.8rem;
  font-weight: 800;
  margin: 0 0 1rem;
  display: flex;
  align-items: center;
  gap: .6rem;
}

.pg35-section-title i { color: var(--pg35-primary); }

.pg35-lead { color: var(--pg35-muted); font-size: 1.35rem; }

.pg35-h1 {
  font-size: 2.2rem;
  font-weight: 900;
  line-height: 1.25;
  margin: 1.6rem 0 1rem;
  background: linear-gradient(90deg, #fff 0%, var(--pg35-primary) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ---------- Game grid ---------- */
.pg35-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .9rem;
}

.pg35-card {
  background: var(--pg35-bg-soft);
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.05);
  transition: transform .15s ease, box-shadow .15s ease;
}
.pg35-card:hover { transform: translateY(-2px); box-shadow: var(--pg35-shadow); }

.pg35-card a { display: block; }

.pg35-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  background: #000;
}

.pg35-card-name {
  padding: .6rem .5rem;
  font-size: 1.15rem;
  text-align: center;
  color: var(--pg35-text);
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.pg35-card-name a { color: var(--pg35-text); }
.pg35-card-name a:hover { color: var(--pg35-primary); text-decoration: none; }

/* ---------- Promo / feature / info cards ---------- */
.pg35-feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.pg35-feature {
  background: var(--pg35-bg-soft);
  padding: 1.4rem 1.2rem;
  border-radius: var(--pg35-radius);
  border-left: 3px solid var(--pg35-primary);
}

.pg35-feature h3 {
  margin: 0 0 .4rem;
  font-size: 1.4rem;
  color: #fff;
}

.pg35-feature p { margin: 0; color: var(--pg35-muted); font-size: 1.2rem; }

.pg35-feature i { color: var(--pg35-primary); font-size: 1.8rem; }

/* ---------- CTA banner ---------- */
.pg35-cta {
  background: linear-gradient(135deg, var(--pg35-secondary) 0%, var(--pg35-primary) 100%);
  border-radius: var(--pg35-radius);
  padding: 2rem 1.6rem;
  text-align: center;
  color: #001016;
  margin: 2rem 0;
  box-shadow: var(--pg35-shadow);
}

.pg35-cta h2 { font-size: 1.8rem; margin: 0 0 .6rem; color: #001016; }
.pg35-cta p { margin: 0 0 1rem; color: rgba(0,16,22,.8); }

/* ---------- Testimonials ---------- */
.pg35-quote {
  background: var(--pg35-bg-soft);
  border-radius: var(--pg35-radius);
  padding: 1.4rem;
  margin-bottom: 1rem;
  border: 1px solid rgba(255,255,255,.06);
}
.pg35-quote .pg35-stars { color: var(--pg35-gold); margin-bottom: .4rem; }
.pg35-quote p { margin: 0 0 .6rem; font-size: 1.3rem; }
.pg35-quote small { color: var(--pg35-muted); }

/* ---------- Payment / winners ---------- */
.pg35-chips { display: flex; flex-wrap: wrap; gap: .6rem; }
.pg35-chip {
  background: var(--pg35-bg-soft);
  padding: .6rem 1rem;
  border-radius: 999px;
  font-size: 1.15rem;
  border: 1px solid rgba(255,255,255,.08);
}

.pg35-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 1.25rem;
}
.pg35-table th, .pg35-table td {
  text-align: left;
  padding: .8rem .6rem;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.pg35-table th { color: var(--pg35-primary); }

/* ---------- Footer ---------- */
.pg35-footer {
  margin-top: 3rem;
  background: #0d0d10;
  padding: 2.4rem 0 1.4rem;
  border-top: 1px solid rgba(0,229,255,.18);
}

.pg35-footer h4 { color: var(--pg35-primary); font-size: 1.3rem; margin: 1.4rem 0 .6rem; }

.pg35-footer-links {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: .6rem 1rem;
}

.pg35-footer-links a { font-size: 1.2rem; color: var(--pg35-text); }

.pg35-footer-promos {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
  margin: 1.2rem 0;
}

.pg35-footer-promos .pg35-btn { padding: .8rem 1.2rem; font-size: 1.2rem; }

.pg35-copy { font-size: 1.1rem; color: var(--pg35-muted); text-align: center; padding-top: 1rem; border-top: 1px solid rgba(255,255,255,.06); }

/* ---------- Mobile bottom navigation ---------- */
.pg35-bottomnav {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  height: 62px;
  background: linear-gradient(180deg, #1a1a20, #0d0d10);
  border-top: 1px solid rgba(0,229,255,.25);
  display: flex;
  justify-content: space-around;
  align-items: stretch;
  z-index: 1000;
  transition: transform .25s ease;
}

.pg35-bottomnav-hidden { transform: translateY(100%); }

.pg35-bottomnav-btn {
  flex: 1 1 0;
  min-width: 60px;
  min-height: 60px;
  background: transparent;
  border: 0;
  color: var(--pg35-muted);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  font-size: 1.05rem;
  cursor: pointer;
  text-decoration: none;
  padding: 4px 2px;
  transition: color .15s ease, transform .15s ease;
}

.pg35-bottomnav-btn:hover { text-decoration: none; color: var(--pg35-primary); }
.pg35-bottomnav-btn:active { transform: scale(.92); }

.pg35-bottomnav-btn .material-icons,
.pg35-bottomnav-btn i,
.pg35-bottomnav-btn ion-icon { font-size: 24px; }

.pg35-bottomnav-btn span { font-size: 11px; line-height: 1; }

.pg35-bottomnav-active { color: var(--pg35-primary); }
.pg35-bottomnav-active::before {
  content: "";
  position: absolute;
  top: 0;
  width: 30px;
  height: 3px;
  border-radius: 0 0 4px 4px;
  background: var(--pg35-primary);
}

.pg35-bottomnav-btn { position: relative; }

/* ---------- Mobile spacing for bottom nav clearance ---------- */
@media (max-width: 768px) {
  main { padding-bottom: 84px; }
}

/* Hide bottom nav on desktop */
@media (min-width: 769px) {
  .pg35-bottomnav { display: none; }
  main { padding-bottom: 0; }
}

/* ---------- Mobile-first fine-tune <= 430px ---------- */
@media (max-width: 430px) {
  html { font-size: 58%; }
  .pg35-wrapper { padding: 0 1.1rem; }
  .pg35-h1 { font-size: 1.9rem; }
  .pg35-section-title { font-size: 1.6rem; }
  .pg35-grid { grid-template-columns: repeat(3, 1fr); gap: .7rem; }
  .pg35-card-name { font-size: 1.05rem; }
  .pg35-btn { padding: .9rem 1.3rem; font-size: 1.2rem; }
  .pg35-head-actions .pg35-btn-login { display: none; }
  .pg35-carousel-slide img { height: 170px; }
  .pg35-footer-links { grid-template-columns: 1fr; }
}

/* ---------- Utility ---------- */
.pg35-text-center { text-align: center; }
.pg35-mt-1 { margin-top: .5rem; }
.pg35-mt-2 { margin-top: 1rem; }
.pg35-mt-3 { margin-top: 1.6rem; }
.pg35-row { display: flex; gap: 1rem; align-items: center; flex-wrap: wrap; }
.pg35-pill {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  background: rgba(0,229,255,.12);
  color: var(--pg35-primary);
  padding: .35rem .8rem;
  border-radius: 999px;
  font-size: 1.1rem;
}
