/* =========================================================
 * plus22.click - core theme stylesheet
 * All custom classes use the "gd01-" prefix.
 * Palette: #228B22 | #FFCC33 | #66CDAA | #90EE90 | #2E4057
 * ========================================================= */

:root {
  --gd01-primary: #228B22;      /* forest green */
  --gd01-accent: #FFCC33;       /* warm gold */
  --gd01-aqua: #66CDAA;         /* medium aquamarine */
  --gd01-light: #90EE90;        /* light green */
  --gd01-bg: #2E4057;           /* deep slate */
  --gd01-bg-dark: #1d2b3a;
  --gd01-text: #f4fff4;
  --gd01-muted: #b8c9c0;
  --gd01-card: #34485c;
  --gd01-radius: 14px;
  --gd01-shadow: 0 6px 22px rgba(0, 0, 0, 0.28);
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background: linear-gradient(160deg, var(--gd01-bg-dark) 0%, var(--gd01-bg) 60%);
  color: var(--gd01-text);
  line-height: 1.5rem;
  font-size: 1.5rem;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

.gd01-container { width: 100%; max-width: 430px; margin: 0 auto; padding: 0 1.2rem; }
.gd01-wrapper { width: 100%; }

/* ---------- Header ---------- */
.gd01-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: linear-gradient(90deg, var(--gd01-primary), #1c6b1c);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
}
.gd01-header-inner {
  max-width: 430px;
  margin: 0 auto;
  padding: 0.6rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
}
.gd01-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex: 1;
  min-width: 0;
}
.gd01-logo img { width: 30px; height: 30px; border-radius: 8px; }
.gd01-logo-text {
  font-weight: 800;
  font-size: 1.7rem;
  color: var(--gd01-accent);
  letter-spacing: 0.4px;
  white-space: nowrap;
}
.gd01-logo-text span { color: var(--gd01-text); }

.gd01-header-actions { display: flex; gap: 0.5rem; align-items: center; }
.gd01-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border: none;
  cursor: pointer;
  font-weight: 700;
  font-size: 1.3rem;
  border-radius: 30px;
  padding: 0.7rem 1.4rem;
  transition: transform .15s ease, box-shadow .15s ease, background .2s ease;
  min-height: 36px;
  text-decoration: none;
}
.gd01-btn:active { transform: scale(0.96); }
.gd01-btn-primary { background: var(--gd01-accent); color: #4a3300; }
.gd01-btn-primary:hover { background: #ffd955; text-decoration: none; }
.gd01-btn-ghost { background: transparent; color: var(--gd01-text); border: 1.5px solid var(--gd01-light); }
.gd01-btn-ghost:hover { background: rgba(144, 238, 144, 0.15); text-decoration: none; }

.gd01-menu-btn {
  background: transparent;
  border: none;
  color: var(--gd01-text);
  font-size: 1.8rem;
  cursor: pointer;
  padding: 0.4rem 0.6rem;
  border-radius: 8px;
}

/* ---------- Mobile slide-down menu ---------- */
.gd01-mobile-menu {
  max-height: 0;
  overflow: hidden;
  background: var(--gd01-bg-dark);
  transition: max-height .3s ease;
  position: fixed;
  top: 56px; left: 0; right: 0;
  z-index: 9999;
  border-bottom: 2px solid var(--gd01-primary);
}
.gd01-mobile-menu.gd01-open { max-height: 420px; }
.gd01-mobile-menu-inner { padding: 0.6rem 1.2rem 1rem; display: flex; flex-direction: column; gap: 0.4rem; }
.gd01-mobile-menu a {
  display: block;
  padding: 0.85rem 1rem;
  border-radius: 10px;
  color: var(--gd01-text);
  font-weight: 600;
  background: rgba(255, 255, 255, 0.04);
}
.gd01-mobile-menu a:hover { background: var(--gd01-primary); text-decoration: none; }

/* ---------- Hero / Carousel ---------- */
.gd01-hero {
  margin-top: 60px;
  padding: 1rem 0 0;
}
.gd01-carousel {
  position: relative;
  border-radius: var(--gd01-radius);
  overflow: hidden;
  box-shadow: var(--gd01-shadow);
}
.gd01-carousel-track {
  display: flex;
  transition: transform .5s ease;
  will-change: transform;
}
.gd01-carousel-slide {
  min-width: 100%;
  position: relative;
}
.gd01-carousel-slide img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}
.gd01-carousel-cap {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 1.2rem 1.4rem 1rem;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.75));
  color: var(--gd01-text);
}
.gd01-carousel-cap h2 { margin: 0 0 0.3rem; font-size: 1.7rem; color: var(--gd01-accent); }
.gd01-carousel-cap p { margin: 0; font-size: 1.25rem; }
.gd01-carousel-dots {
  position: absolute;
  bottom: 8px; left: 0; right: 0;
  display: flex;
  justify-content: center;
  gap: 6px;
  z-index: 2;
}
.gd01-carousel-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  border: none; cursor: pointer; padding: 0;
}
.gd01-carousel-dot.gd01-active { background: var(--gd01-accent); width: 22px; border-radius: 4px; }

/* ---------- Section titles ---------- */
.gd01-section {
  padding: 1.6rem 0 0.4rem;
}
.gd01-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}
.gd01-section-head h2 {
  margin: 0;
  font-size: 1.8rem;
  color: var(--gd01-accent);
  display: flex; align-items: center; gap: 0.5rem;
}
.gd01-section-head .gd01-more {
  font-size: 1.25rem;
  color: var(--gd01-light);
  font-weight: 600;
}
.gd01-h1 {
  font-size: 2.1rem;
  margin: 1.4rem 0 0.6rem;
  color: var(--gd01-text);
  line-height: 1.35;
}
.gd01-h1 b { color: var(--gd01-accent); }
.gd01-lead { font-size: 1.4rem; color: var(--gd01-muted); margin: 0 0 1rem; }

/* ---------- Game grid ---------- */
.gd01-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.9rem;
}
.gd01-card {
  background: var(--gd01-card);
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  transition: transform .15s ease, box-shadow .2s ease;
  border: 1px solid rgba(255, 255, 255, 0.06);
}
.gd01-card:hover { transform: translateY(-3px); box-shadow: var(--gd01-shadow); }
.gd01-card-img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  background: #1d2b3a;
}
.gd01-card-name {
  padding: 0.5rem 0.6rem;
  font-size: 1.15rem;
  text-align: center;
  color: var(--gd01-text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.gd01-card-badge {
  position: absolute;
  top: 6px; left: 6px;
  background: var(--gd01-primary);
  color: var(--gd01-accent);
  font-size: 1rem;
  padding: 0.15rem 0.5rem;
  border-radius: 6px;
  font-weight: 700;
}
.gd01-card-badge.hot { background: #c0392b; color: #fff; }

/* ---------- Promo banner ---------- */
.gd01-promo {
  background: linear-gradient(120deg, var(--gd01-primary), var(--gd01-aqua));
  border-radius: var(--gd01-radius);
  padding: 1.4rem 1.2rem;
  margin: 1.4rem 0;
  display: flex;
  align-items: center;
  gap: 1rem;
  box-shadow: var(--gd01-shadow);
}
.gd01-promo-icon { font-size: 2.8rem; color: var(--gd01-accent); }
.gd01-promo-body { flex: 1; }
.gd01-promo-body h3 { margin: 0 0 0.3rem; font-size: 1.6rem; color: var(--gd01-text); }
.gd01-promo-body p { margin: 0; font-size: 1.2rem; color: rgba(255, 255, 255, 0.9); }

/* ---------- SEO content ---------- */
.gd01-content { padding: 1.4rem 0; }
.gd01-content h2 { color: var(--gd01-accent); font-size: 1.7rem; margin: 1.2rem 0 0.5rem; }
.gd01-content h3 { color: var(--gd01-light); font-size: 1.4rem; margin: 1rem 0 0.4rem; }
.gd01-content p { color: var(--gd01-muted); margin: 0 0 0.8rem; }
.gd01-content ul { color: var(--gd01-muted); padding-left: 1.6rem; }

.gd01-link-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin: 1rem 0;
}
.gd01-link-list a {
  background: rgba(144, 238, 144, 0.08);
  border: 1px solid var(--gd01-primary);
  padding: 0.5rem 0.9rem;
  border-radius: 20px;
  font-size: 1.2rem;
  color: var(--gd01-light);
}

/* ---------- Footer ---------- */
.gd01-footer {
  margin-top: 2rem;
  background: var(--gd01-bg-dark);
  padding: 1.8rem 1.2rem 100px;
  border-top: 3px solid var(--gd01-primary);
}
.gd01-footer-brand { font-size: 1.3rem; color: var(--gd01-muted); margin-bottom: 1rem; line-height: 1.6; }
.gd01-footer-brand b { color: var(--gd01-accent); }
.gd01-footer-promos {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 1.2rem;
}
.gd01-footer-promos button, .gd01-footer-promos a {
  flex: 1 1 45%;
  min-width: 140px;
}
.gd01-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.2rem;
  margin: 1rem 0;
}
.gd01-footer-links a { font-size: 1.2rem; color: var(--gd01-light); }
.gd01-footer-copy { font-size: 1.15rem; color: var(--gd01-muted); border-top: 1px solid rgba(255, 255, 255, 0.08); padding-top: 1rem; }

/* ---------- Bottom navigation ---------- */
.gd01-bottomnav {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  height: 62px;
  background: var(--gd01-bg-dark);
  border-top: 2px solid var(--gd01-primary);
  display: flex;
  justify-content: space-around;
  align-items: center;
  z-index: 1000;
  box-shadow: 0 -3px 14px rgba(0, 0, 0, 0.35);
}
.gd01-bottomnav-btn {
  flex: 1;
  min-width: 60px;
  min-height: 60px;
  background: transparent;
  border: none;
  color: var(--gd01-muted);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 600;
  padding: 4px 2px;
  transition: color .2s ease, transform .12s ease;
}
.gd01-bottomnav-btn .gd01-ico {
  font-size: 22px;
  line-height: 1;
}
.gd01-bottomnav-btn.gd01-current { color: var(--gd01-accent); }
.gd01-bottomnav-btn.gd01-current .gd01-ico { transform: translateY(-1px); }
.gd01-bottomnav-btn:active, .gd01-bottomnav-btn.gd01-tapped {
  color: var(--gd01-accent);
  transform: scale(0.92);
}
.gd01-bottomnav-btn.gd01-promo-btn { color: var(--gd01-aqua); }
.gd01-bottomnav-btn.gd01-promo-btn .gd01-ico { color: var(--gd01-accent); }

/* ---------- Compact content helpers ---------- */
.gd01-info-card {
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(144, 238, 144, 0.16);
  border-radius: var(--gd01-radius);
  padding: 1.1rem;
  margin: 0.9rem 0;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.16);
}
.gd01-info-card h3 { margin-top: 0; }
.gd01-mini-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.8rem; }
.gd01-metric {
  background: linear-gradient(145deg, rgba(34,139,34,.28), rgba(102,205,170,.16));
  border-radius: 12px;
  padding: 0.9rem;
  border: 1px solid rgba(255, 204, 51, 0.18);
}
.gd01-metric b { display: block; color: var(--gd01-accent); font-size: 1.8rem; margin-bottom: 0.25rem; }
.gd01-metric span { color: var(--gd01-muted); font-size: 1.15rem; }
.gd01-steps { counter-reset: gd01step; list-style: none; padding-left: 0; }
.gd01-steps li { position: relative; padding: 0.85rem 0.85rem 0.85rem 3.6rem; margin: 0.75rem 0; background: rgba(255,255,255,.045); border-radius: 12px; color: var(--gd01-muted); }
.gd01-steps li::before { counter-increment: gd01step; content: counter(gd01step); position: absolute; left: 0.85rem; top: 0.8rem; width: 2.2rem; height: 2.2rem; border-radius: 50%; background: var(--gd01-accent); color: #3a2a00; display: grid; place-items: center; font-weight: 800; }
.gd01-quote { border-left: 4px solid var(--gd01-accent); padding: 0.8rem 1rem; background: rgba(255,204,51,.08); border-radius: 0 12px 12px 0; color: var(--gd01-text); }
.gd01-payments { display: flex; flex-wrap: wrap; gap: 0.7rem; }
.gd01-payments span { background: rgba(102,205,170,.14); color: var(--gd01-light); border: 1px solid rgba(102,205,170,.35); border-radius: 20px; padding: 0.45rem 0.8rem; font-weight: 700; font-size: 1.15rem; }

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

/* ---------- Desktop / tablet ---------- */
@media (min-width: 769px) {
  body { background: linear-gradient(160deg, #14202c 0%, var(--gd01-bg) 70%); }
  .gd01-container { max-width: 960px; padding: 0 2rem; }
  .gd01-header-inner { max-width: 960px; }
  .gd01-grid { grid-template-columns: repeat(6, 1fr); }
  .gd01-mobile-menu { display: none; }
  .gd01-menu-btn { display: none; }
  .gd01-bottomnav { display: none; }
  .gd01-footer { padding-bottom: 2rem; }
  .gd01-carousel-slide img { height: 360px; }
}

@media (max-width: 768px) {
  main { padding-bottom: 80px; }
}
