/* SEA Games - design-0ae1.css
   Palette: #00FF00 | #0C0C0C | #90EE90 | #FFC0CB
   All custom classes use pg0a- prefix. */

:root {
  --pg0a-bg: #0C0C0C;
  --pg0a-bg2: #141414;
  --pg0a-primary: #00FF00;
  --pg0a-light: #90EE90;
  --pg0a-accent: #FFC0CB;
  --pg0a-text: #f4fff4;
  --pg0a-muted: #9bd7a0;
  --pg0a-border: rgba(0, 255, 0, 0.18);
}

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

html { font-size: 62.5%; }

body {
  font-family: 'Segoe UI', system-ui, -apple-system, Roboto, Arial, sans-serif;
  background: var(--pg0a-bg);
  color: var(--pg0a-text);
  line-height: 1.5;
  font-size: 1.5rem;
  overflow-x: hidden;
  max-width: 430px;
  margin: 0 auto;
  position: relative;
}

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

/* ===== Header ===== */
.pg0a-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.2rem;
  background: linear-gradient(90deg, #0a0a0a, #112211);
  border-bottom: 1px solid var(--pg0a-border);
}
.pg0a-logo {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-weight: 800;
  font-size: 1.8rem;
  color: var(--pg0a-primary);
  letter-spacing: 0.5px;
}
.pg0a-logo .pg0a-logo-mark {
  width: 34px; height: 34px;
  background: var(--pg0a-primary);
  color: #0C0C0C;
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-weight: 900;
}
.pg0a-header-actions { display: flex; gap: 0.6rem; align-items: center; }
.pg0a-btn {
  border: none;
  border-radius: 8px;
  padding: 0.75rem 1.4rem;
  font-size: 1.3rem;
  font-weight: 700;
  cursor: pointer;
  min-height: 44px;
  transition: transform 0.15s, filter 0.15s;
}
.pg0a-btn:active { transform: scale(0.96); }
.pg0a-btn-login { background: transparent; color: var(--pg0a-light); border: 1px solid var(--pg0a-border); }
.pg0a-btn-register { background: var(--pg0a-primary); color: #0C0C0C; }
.pg0a-btn-register:hover { filter: brightness(1.1); }
.pg0a-menu-toggle {
  background: transparent;
  border: 1px solid var(--pg0a-border);
  color: var(--pg0a-primary);
  width: 40px; height: 40px;
  border-radius: 8px;
  font-size: 2rem;
  cursor: pointer;
}

/* ===== Mobile menu ===== */
.pg0a-menu-backdrop {
  position: fixed; inset: 0;
  background: rgba(0, 0, 0, 0.55);
  opacity: 0; pointer-events: none;
  transition: opacity 0.25s;
  z-index: 9998;
}
.pg0a-backdrop-show { opacity: 1; pointer-events: auto; }
.pg0a-mobile-menu {
  position: fixed;
  top: 0; right: -80%;
  width: 80%; height: 100%;
  background: var(--pg0a-bg2);
  padding: 2rem 1.6rem;
  z-index: 9999;
  transition: right 0.3s;
  overflow-y: auto;
}
.pg0a-menu-open { right: 0; }
.pg0a-mobile-menu h3 { color: var(--pg0a-primary); margin: 1.5rem 0 0.8rem; font-size: 1.5rem; }
.pg0a-mobile-menu a {
  display: block;
  padding: 0.9rem 0.4rem;
  border-bottom: 1px solid var(--pg0a-border);
  color: var(--pg0a-text);
  font-size: 1.4rem;
}

/* ===== Hero / Slider ===== */
.pg0a-hero {
  position: relative;
  padding: 1.4rem 1.2rem 0;
}
.pg0a-slider {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  height: 180px;
  box-shadow: 0 6px 22px rgba(0, 255, 0, 0.08);
}
.pg0a-slide {
  position: absolute; inset: 0;
  opacity: 0;
  transition: opacity 0.6s;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 1.5rem;
}
.pg0a-slide-active { opacity: 1; }
.pg0a-slide h2 { font-size: 2.2rem; color: #fff; margin-bottom: 0.4rem; }
.pg0a-slide p { color: var(--pg0a-light); font-size: 1.3rem; margin-bottom: 1rem; }
.pg0a-slide-1 { background: linear-gradient(120deg, #0C0C0C, #0f3d1a); }
.pg0a-slide-2 { background: linear-gradient(120deg, #2a0f1f, #0C0C0C); }
.pg0a-slide-3 { background: linear-gradient(120deg, #0a2e1f, #112211); }

/* ===== CTA banner ===== */
.pg0a-cta {
  margin: 1.4rem 1.2rem;
  padding: 1.4rem;
  border-radius: 14px;
  background: linear-gradient(90deg, rgba(0,255,0,0.18), rgba(255,192,203,0.12));
  border: 1px solid var(--pg0a-border);
  display: flex; gap: 1rem; align-items: center;
}
.pg0a-cta-text { flex: 1; }
.pg0a-cta-text strong { color: var(--pg0a-primary); font-size: 1.6rem; display: block; }
.pg0a-cta-text span { color: var(--pg0a-accent); font-size: 1.2rem; }

/* ===== Section titles ===== */
.pg0a-section { padding: 1.4rem 1.2rem; }
.pg0a-section-title {
  font-size: 1.9rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 1rem;
  border-left: 4px solid var(--pg0a-primary);
  padding-left: 0.8rem;
}
.pg0a-section-title span { color: var(--pg0a-primary); }

/* ===== Tabs ===== */
.pg0a-tabs {
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  padding-bottom: 0.6rem;
  margin-bottom: 1rem;
}
.pg0a-tab {
  flex: 0 0 auto;
  padding: 0.7rem 1.3rem;
  border-radius: 20px;
  background: var(--pg0a-bg2);
  color: var(--pg0a-light);
  font-size: 1.3rem;
  font-weight: 600;
  border: 1px solid var(--pg0a-border);
  cursor: pointer;
  white-space: nowrap;
}
.pg0a-tab-active {
  background: var(--pg0a-primary);
  color: #0C0C0C;
  border-color: var(--pg0a-primary);
}

/* ===== Game grid ===== */
.pg0a-panel { display: none; }
.pg0a-panel-active { display: block; }
.pg0a-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.9rem;
}
.pg0a-card {
  background: var(--pg0a-bg2);
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--pg0a-border);
  cursor: pointer;
  transition: transform 0.15s, border-color 0.2s;
}
.pg0a-card:active { transform: scale(0.95); border-color: var(--pg0a-primary); }
.pg0a-card-img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  background: #000;
}
.pg0a-card-name {
  padding: 0.6rem 0.5rem;
  font-size: 1.15rem;
  color: var(--pg0a-text);
  text-align: center;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ===== Feature list ===== */
.pg0a-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.9rem;
}
.pg0a-feature {
  background: var(--pg0a-bg2);
  padding: 1.2rem;
  border-radius: 12px;
  border: 1px solid var(--pg0a-border);
  text-align: center;
}
.pg0a-feature i { font-size: 2.6rem; color: var(--pg0a-primary); }
.pg0a-feature h4 { color: #fff; margin: 0.6rem 0 0.3rem; font-size: 1.35rem; }
.pg0a-feature p { color: var(--pg0a-muted); font-size: 1.1rem; }

/* ===== Content / SEO article ===== */
.pg0a-article { padding: 1.4rem 1.2rem; }
.pg0a-article h2 { color: #fff; font-size: 1.9rem; margin: 1.5rem 0 0.8rem; }
.pg0a-article h3 { color: var(--pg0a-primary); font-size: 1.55rem; margin: 1.2rem 0 0.6rem; }
.pg0a-article p { color: var(--pg0a-muted); margin-bottom: 0.9rem; font-size: 1.35rem; }
.pg0a-article a { color: var(--pg0a-accent); font-weight: 600; }
.pg0a-article ul { padding-left: 1.6rem; margin-bottom: 1rem; color: var(--pg0a-muted); }
.pg0a-article li { margin-bottom: 0.4rem; }

/* Inline promo text link */
.pg0a-promo-link {
  color: var(--pg0a-primary);
  font-weight: 800;
  cursor: pointer;
  text-decoration: underline;
}

/* ===== FAQ ===== */
.pg0a-faq-item {
  background: var(--pg0a-bg2);
  border: 1px solid var(--pg0a-border);
  border-radius: 10px;
  padding: 1rem 1.2rem;
  margin-bottom: 0.7rem;
}
.pg0a-faq-item h4 { color: var(--pg0a-primary); font-size: 1.3rem; margin-bottom: 0.4rem; }
.pg0a-faq-item p { color: var(--pg0a-muted); font-size: 1.25rem; }

/* ===== Footer ===== */
.pg0a-footer {
  background: #050505;
  padding: 2rem 1.2rem 6rem;
  border-top: 1px solid var(--pg0a-border);
}
.pg0a-footer-cols {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.2rem;
  margin-bottom: 1.4rem;
}
.pg0a-footer h5 { color: var(--pg0a-primary); font-size: 1.3rem; margin-bottom: 0.7rem; }
.pg0a-footer a { display: block; color: var(--pg0a-muted); padding: 0.3rem 0; font-size: 1.2rem; }
.pg0a-footer p { color: var(--pg0a-muted); font-size: 1.15rem; }
.pg0a-footer-disclaimer {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--pg0a-border);
  font-size: 1.1rem;
  color: #6f8c70;
  text-align: center;
}

/* ===== Bottom nav ===== */
.pg0a-bottomnav {
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  bottom: 0;
  width: 100%;
  max-width: 430px;
  height: 62px;
  background: linear-gradient(180deg, #0a0a0a, #050505);
  border-top: 1px solid var(--pg0a-border);
  display: flex;
  justify-content: space-around;
  align-items: center;
  z-index: 1000;
}
.pg0a-navbtn {
  flex: 1;
  background: transparent;
  border: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 60px;
  min-height: 60px;
  color: var(--pg0a-muted);
  cursor: pointer;
  font-size: 1rem;
  gap: 0.2rem;
}
.pg0a-navbtn i { font-size: 2.2rem; }
.pg0a-navbtn span { font-size: 1rem; font-weight: 600; }
.pg0a-navbtn-active { color: var(--pg0a-primary); }
.pg0a-navbtn-promo { color: var(--pg0a-accent); }
.pg0a-navbtn-promo span { color: var(--pg0a-accent); }

/* ===== Help pages / compact content blocks ===== */
.pg0a-page-hero {
  margin: 1.4rem 1.2rem;
  padding: 1.8rem 1.4rem;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(0,255,0,0.16), rgba(255,192,203,0.12)), #101510;
  border: 1px solid var(--pg0a-border);
}
.pg0a-page-hero h1 { color: #fff; font-size: 2.2rem; line-height: 1.2; margin-bottom: 0.8rem; }
.pg0a-page-hero p { color: var(--pg0a-muted); font-size: 1.35rem; margin-bottom: 1rem; }
.pg0a-link-row { display: flex; flex-wrap: wrap; gap: 0.7rem; margin-top: 1rem; }
.pg0a-mini-btn {
  display: inline-flex; align-items: center; gap: 0.45rem;
  min-height: 44px; padding: 0.8rem 1rem;
  border-radius: 999px; background: rgba(0,255,0,0.12);
  border: 1px solid var(--pg0a-border); color: var(--pg0a-primary);
  font-size: 1.2rem; font-weight: 800; cursor: pointer;
}
.pg0a-info-card {
  background: var(--pg0a-bg2); border: 1px solid var(--pg0a-border);
  border-radius: 14px; padding: 1.2rem; margin-bottom: 1rem;
}
.pg0a-info-card h3 { color: var(--pg0a-primary); font-size: 1.45rem; margin-bottom: 0.55rem; }
.pg0a-info-card p, .pg0a-info-card li { color: var(--pg0a-muted); font-size: 1.28rem; }
.pg0a-step-list { display: grid; gap: 0.9rem; }
.pg0a-step { display: flex; gap: 0.9rem; align-items: flex-start; }
.pg0a-step-num {
  flex: 0 0 30px; height: 30px; border-radius: 50%;
  background: var(--pg0a-primary); color: #0C0C0C;
  display: flex; align-items: center; justify-content: center; font-weight: 900;
}
.pg0a-note { border-left: 4px solid var(--pg0a-accent); padding-left: 1rem; color: var(--pg0a-muted); }

/* ===== Desktop ===== */
@media (min-width: 769px) {
  body { max-width: 960px; }
  .pg0a-grid { grid-template-columns: repeat(5, 1fr); }
  .pg0a-bottomnav { display: none; }
  .pg0a-footer { padding-bottom: 2rem; }
}
@media (max-width: 768px) {
  .pg0a-main { padding-bottom: 80px; }
}
