/* ============================================================
 * ph222-login.css — ph222 login core stylesheet
 * All custom classes use the "g125-" prefix (no generic names).
 * Palette: #AFEEEE (light accent) | #0000CD (brand blue) | #2C2C2C (dark bg)
 * Mobile-first; root font-size 62.5% (1rem = 10px).
 * ============================================================ */

:root {
  --g125-bg: #2C2C2C;
  --g125-bg-deep: #1d1d1d;
  --g125-bg-soft: #3a3a3a;
  --g125-primary: #0000CD;
  --g125-primary-soft: #2a3aff;
  --g125-accent: #AFEEEE;
  --g125-accent-warm: #ffd86b;
  --g125-text: #f5fbfb;
  --g125-text-muted: #c6d4d4;
  --g125-border: rgba(175, 238, 238, 0.18);
  --g125-radius: 14px;
  --g125-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  --g125-maxw: 430px;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: "Segoe UI", "Helvetica Neue", Roboto, Arial, sans-serif;
  font-size: 1.5rem;
  line-height: 1.5;
  color: var(--g125-text);
  background: var(--g125-bg);
  background-image:
    radial-gradient(circle at 0% 0%, rgba(0,0,205,0.25), transparent 45%),
    radial-gradient(circle at 100% 0%, rgba(175,238,238,0.12), transparent 50%);
  min-height: 100vh;
  overflow-x: hidden;
}

a { color: var(--g125-accent); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; display: block; }
h1, h2, h3, h4 { line-height: 1.25; margin: 0 0 .8rem; color: var(--g125-text); }

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

/* ===================== Header ===================== */
.g125-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: linear-gradient(135deg, rgba(0,0,205,0.92), rgba(44,44,44,0.92));
  border-bottom: 1px solid var(--g125-border);
  backdrop-filter: blur(8px);
}
.g125-header-inner {
  max-width: var(--g125-maxw);
  margin: 0 auto;
  padding: .6rem 1.2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .6rem;
}
.g125-brand { display: flex; align-items: center; gap: .6rem; color: var(--g125-text); }
.g125-brand img { width: 28px; height: 28px; border-radius: 6px; }
.g125-brand-name { font-size: 1.5rem; font-weight: 700; color: var(--g125-accent); }
.g125-header-actions { display: flex; align-items: center; gap: .5rem; }
.g125-btn {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .65rem 1.1rem;
  border-radius: 999px;
  border: none;
  font-size: 1.3rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, filter .15s ease;
  min-height: 36px;
}
.g125-btn:hover { text-decoration: none; transform: translateY(-1px); filter: brightness(1.08); }
.g125-btn-primary { background: linear-gradient(135deg, var(--g125-accent), #fff); color: #003; }
.g125-btn-secondary { background: var(--g125-primary); color: #fff; box-shadow: 0 4px 12px rgba(0,0,205,.45); }
.g125-btn-ghost { background: transparent; border: 1px solid var(--g125-accent); color: var(--g125-accent); }
.g125-hamburger {
  background: transparent;
  border: none;
  color: var(--g125-accent);
  font-size: 2rem;
  cursor: pointer;
  padding: 0 .4rem;
  line-height: 1;
}

/* ===================== Mobile slide menu ===================== */
.g125-menu-backdrop {
  position: fixed; inset: 0;
  background: rgba(0,0,0,.55);
  opacity: 0; visibility: hidden;
  transition: opacity .25s ease;
  z-index: 9998;
}
.g125-menu-backdrop.g125-backdrop-on { opacity: 1; visibility: visible; }
.g125-mobile-menu {
  position: fixed;
  top: 0; right: -85%;
  width: 80%;
  max-width: 320px;
  height: 100vh;
  background: var(--g125-bg-deep);
  padding: 5rem 1.6rem 2rem;
  z-index: 9999;
  transition: right .3s ease;
  overflow-y: auto;
  border-left: 1px solid var(--g125-border);
}
.g125-mobile-menu.g125-menu-open { right: 0; }
.g125-mobile-menu h3 {
  color: var(--g125-accent);
  font-size: 1.5rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-top: 1.6rem;
}
.g125-mobile-menu a {
  display: block;
  padding: .9rem .4rem;
  border-bottom: 1px solid rgba(175,238,238,.10);
  color: var(--g125-text);
  font-size: 1.4rem;
}
.g125-mobile-menu a:hover { color: var(--g125-accent); text-decoration: none; }

/* ===================== Main ===================== */
.g125-main { padding-top: 70px; padding-bottom: 60px; }

/* ===================== Hero / Carousel ===================== */
.g125-carousel {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--g125-shadow);
  margin: 1.2rem 0;
}
.g125-carousel-viewport { overflow: hidden; }
.g125-carousel-track {
  display: flex;
  transition: transform .5s ease;
  width: 100%;
}
.g125-carousel-slide {
  position: relative;
  min-width: 100%;
  height: 200px;
}
.g125-carousel-slide img { width: 100%; height: 100%; object-fit: cover; }
.g125-carousel-cap {
  position: absolute;
  left: 1rem; bottom: 1rem; right: 1rem;
  background: linear-gradient(transparent, rgba(0,0,0,.7));
  padding: 1.4rem .6rem .4rem;
  color: #fff;
}
.g125-carousel-cap strong { color: var(--g125-accent); font-size: 1.7rem; display: block; }
.g125-carousel-cap span { font-size: 1.25rem; }
.g125-carousel-arrow {
  position: absolute;
  top: 50%; transform: translateY(-50%);
  background: rgba(0,0,0,.45);
  border: 1px solid var(--g125-border);
  color: var(--g125-accent);
  width: 32px; height: 32px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  font-size: 1.4rem;
}
.g125-carousel-arrow.g125-prev { left: .6rem; }
.g125-carousel-arrow.g125-next { right: .6rem; }
.g125-carousel-dots {
  position: absolute;
  bottom: .6rem; left: 0; right: 0;
  display: flex; justify-content: center; gap: .4rem;
}
.g125-carousel-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: rgba(255,255,255,.45);
  border: none; cursor: pointer; padding: 0;
}
.g125-carousel-dot.g125-dot-active { background: var(--g125-accent); width: 18px; border-radius: 5px; }

/* ===================== H1 / Section heads ===================== */
.g125-h1 {
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--g125-text);
  background: linear-gradient(120deg, var(--g125-accent), #fff);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin: 1.4rem 0 .8rem;
}
.g125-h2 {
  font-size: 2rem;
  font-weight: 800;
  color: var(--g125-accent);
  margin: 2rem 0 1rem;
  display: flex; align-items: center; gap: .6rem;
}
.g125-h2 i { color: var(--g125-accent-warm); }
.g125-h3 { font-size: 1.6rem; color: var(--g125-text); margin: 1.2rem 0 .6rem; }
.g125-lead { color: var(--g125-text-muted); font-size: 1.4rem; }

/* ===================== Filter bar ===================== */
.g125-filter-bar {
  display: flex; flex-wrap: wrap; gap: .5rem;
  margin: .6rem 0 1rem;
}
.g125-filter-btn {
  padding: .55rem 1rem;
  border-radius: 999px;
  border: 1px solid var(--g125-border);
  background: var(--g125-bg-soft);
  color: var(--g125-text-muted);
  font-size: 1.25rem;
  cursor: pointer;
}
.g125-filter-btn.g125-filter-active {
  background: var(--g125-primary);
  border-color: var(--g125-primary);
  color: #fff;
}

/* ===================== Game grid ===================== */
.g125-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .7rem;
}
.g125-game-card {
  background: var(--g125-bg-soft);
  border-radius: var(--g125-radius);
  overflow: hidden;
  border: 1px solid var(--g125-border);
  text-align: center;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease;
}
.g125-game-card:hover { transform: translateY(-3px); box-shadow: var(--g125-shadow); text-decoration: none; }
.g125-game-card img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.g125-game-name {
  font-size: 1.15rem;
  color: var(--g125-text);
  padding: .45rem .3rem .6rem;
  font-weight: 600;
  line-height: 1.2;
  min-height: 36px;
}

/* ===================== Generic card ===================== */
.g125-card {
  background: var(--g125-bg-soft);
  border: 1px solid var(--g125-border);
  border-radius: var(--g125-radius);
  padding: 1.4rem;
  margin: .8rem 0;
}
.g125-card h3 { margin-top: 0; color: var(--g125-accent); }
.g125-card p { color: var(--g125-text-muted); margin: .4rem 0 0; }

/* Inline affiliate text link (eye-catching color) */
.g125-aff-link {
  color: var(--g125-accent-warm);
  font-weight: 700;
}
.g125-aff-link:hover { color: #fff; text-decoration: underline; }

/* ===================== CTA block ===================== */
.g125-cta {
  background: linear-gradient(135deg, var(--g125-primary), #1a1a8a);
  border-radius: 18px;
  padding: 1.8rem;
  text-align: center;
  margin: 1.4rem 0;
  border: 1px solid var(--g125-accent);
  box-shadow: var(--g125-shadow);
}
.g125-cta h3 { color: #fff; font-size: 1.9rem; margin-bottom: .4rem; }
.g125-cta p { color: var(--g125-accent); margin: 0 0 1rem; }
.g125-cta .g125-btn { font-size: 1.5rem; padding: .8rem 1.8rem; }

/* ===================== Steps / list ===================== */
.g125-steps { list-style: none; padding: 0; margin: 0; counter-reset: step; }
.g125-steps li {
  counter-increment: step;
  position: relative;
  padding: .8rem 0 .8rem 3.4rem;
  border-bottom: 1px dashed rgba(175,238,238,.12);
  color: var(--g125-text-muted);
}
.g125-steps li::before {
  content: counter(step);
  position: absolute;
  left: 0; top: .8rem;
  width: 2.4rem; height: 2.4rem;
  background: var(--g125-primary);
  color: #fff;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 1.2rem;
}

.g125-checklist { list-style: none; padding: 0; margin: 0; }
.g125-checklist li {
  padding: .4rem 0 .4rem 2rem;
  position: relative;
  color: var(--g125-text-muted);
}
.g125-checklist li::before {
  content: "\f00c";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute; left: 0; top: .4rem;
  color: var(--g125-accent);
}

/* ===================== FAQ accordion ===================== */
.g125-faq-item {
  background: var(--g125-bg-soft);
  border: 1px solid var(--g125-border);
  border-radius: 12px;
  margin: .6rem 0;
  overflow: hidden;
}
.g125-faq-q {
  padding: 1rem 1.2rem;
  font-weight: 700;
  color: var(--g125-text);
  cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: .6rem;
}
.g125-faq-q::after {
  content: "\f078";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  color: var(--g125-accent);
  font-size: 1.1rem;
  transition: transform .25s ease;
}
.g125-faq-item.g125-faq-open .g125-faq-q::after { transform: rotate(180deg); }
.g125-faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .3s ease, padding .3s ease;
  padding: 0 1.2rem;
  color: var(--g125-text-muted);
}
.g125-faq-item.g125-faq-open .g125-faq-a { max-height: 360px; padding: 0 1.2rem 1rem; }

/* ===================== Testimonials ===================== */
.g125-testimonials { display: grid; gap: .8rem; }
.g125-testimonial {
  background: var(--g125-bg-soft);
  border-left: 3px solid var(--g125-accent);
  padding: 1rem 1.2rem;
  border-radius: 10px;
}
.g125-testimonial .g125-stars { color: var(--g125-accent-warm); font-size: 1.1rem; }
.g125-testimonial p { margin: .4rem 0; color: var(--g125-text); }
.g125-testimonial cite { color: var(--g125-text-muted); font-style: normal; font-size: 1.2rem; }

/* ===================== Payment / badges ===================== */
.g125-badge-row {
  display: flex; flex-wrap: wrap; gap: .5rem; align-items: center;
}
.g125-badge {
  background: rgba(175,238,238,.12);
  border: 1px solid var(--g125-border);
  color: var(--g125-accent);
  padding: .4rem .8rem;
  border-radius: 999px;
  font-size: 1.15rem;
  font-weight: 600;
}
.g125-stat-row { display: grid; grid-template-columns: repeat(3,1fr); gap: .6rem; margin: 1rem 0; }
.g125-stat {
  text-align: center;
  background: var(--g125-bg-soft);
  border-radius: 12px;
  padding: 1rem .4rem;
  border: 1px solid var(--g125-border);
}
.g125-stat strong { display: block; color: var(--g125-accent); font-size: 1.9rem; }
.g125-stat span { color: var(--g125-text-muted); font-size: 1.1rem; }

/* ===================== Footer ===================== */
.g125-footer {
  background: var(--g125-bg-deep);
  border-top: 1px solid var(--g125-border);
  padding: 2rem 0 1rem;
  margin-top: 2rem;
}
.g125-footer h4 { color: var(--g125-accent); margin: 1rem 0 .5rem; font-size: 1.4rem; }
.g125-footer p { color: var(--g125-text-muted); font-size: 1.25rem; }
.g125-footer-links {
  display: flex; flex-wrap: wrap; gap: .4rem .8rem;
  margin: .5rem 0;
}
.g125-footer-links a {
  color: var(--g125-text-muted);
  font-size: 1.2rem;
}
.g125-footer-links a:hover { color: var(--g125-accent); }
.g125-footer-affbtns {
  display: flex; flex-wrap: wrap; gap: .6rem; margin: 1rem 0;
}
.g125-copyright {
  text-align: center;
  color: var(--g125-text-muted);
  font-size: 1.15rem;
  padding: 1rem 0 0;
  border-top: 1px solid rgba(175,238,238,.08);
}

/* ===================== Bottom nav (mobile only) ===================== */
.g125-bottom-nav {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  height: 60px;
  background: rgba(29,29,29,.97);
  border-top: 1px solid var(--g125-border);
  display: flex;
  justify-content: space-around;
  align-items: stretch;
  z-index: 1000;
  box-shadow: 0 -6px 18px rgba(0,0,0,.45);
}
.g125-bottom-nav a {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  color: var(--g125-text-muted);
  font-size: 1.05rem;
  text-decoration: none;
  transition: color .18s ease, transform .18s ease;
  min-width: 60px;
}
.g125-bottom-nav a i, .g125-bottom-nav a span.material-icons-outlined {
  font-size: 22px;
}
.g125-bottom-nav a:active { transform: scale(.92); }
.g125-bottom-nav a:hover { color: var(--g125-accent); text-decoration: none; }
.g125-bottom-nav .g125-nav-promo1 { color: var(--g125-accent-warm); }
.g125-bottom-nav .g125-nav-promo2 { color: var(--g125-accent); }
.g125-bottom-nav a.g125-nav-active { color: #fff; }

/* ===================== Reveal animation ===================== */
.g125-reveal { opacity: 0; transform: translateY(16px); transition: opacity .5s ease, transform .5s ease; }
.g125-reveal.g125-revealed { opacity: 1; transform: none; }

/* ===================== Desktop ===================== */
@media (min-width: 769px) {
  body { background-attachment: fixed; }
  .g125-container { max-width: 960px; }
  .g125-header-inner { max-width: 960px; }
  .g125-grid { grid-template-columns: repeat(6, 1fr); }
  .g125-carousel-slide { height: 340px; }
  .g125-bottom-nav { display: none; }
  .g125-main { padding-bottom: 0; }
  .g125-mobile-menu, .g125-menu-backdrop, .g125-hamburger { display: none; }
}
