/* =========================================================
   theme-2d07.css - www cwin com 444 (wwwcwincom444.click)
   All custom classes use the "pg2d-" prefix.
   Palette: #34495E | #212F3D | #00FF7F | #2E8B57 | #5D5D5D
   ========================================================= */

:root {
  --pg2d-primary: #34495E;
  --pg2d-bg: #212F3D;
  --pg2d-accent: #00FF7F;
  --pg2d-accent2: #2E8B57;
  --pg2d-muted: #5D5D5D;
  --pg2d-text: #F4F8FB;
  --pg2d-text-soft: #C7D2DA;
  --pg2d-card: #2A3A4A;
  --pg2d-card-border: #3C5266;
  --pg2d-radius: 12px;
  --pg2d-shadow: 0 6px 22px rgba(0, 0, 0, 0.35);
}

* { box-sizing: border-box; }
html { font-size: 62.5%; }
body {
  margin: 0;
  padding: 0;
  background: var(--pg2d-bg);
  color: var(--pg2d-text);
  font-family: "Segoe UI", "Roboto", "Inter", "Helvetica Neue", Arial, sans-serif;
  font-size: 1.5rem;
  line-height: 1.5;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
}
a { color: var(--pg2d-accent); text-decoration: none; }
img { max-width: 100%; display: block; }
h1, h2, h3, h4 { margin: 0 0 0.6em; line-height: 1.25; font-weight: 700; }
p { margin: 0 0 1em; }

.pg2d-container {
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
  padding: 0 12px;
}
.pg2d-wrapper { width: 100%; }

/* ---------- Header ---------- */
.pg2d-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: linear-gradient(135deg, #1a2530 0%, #34495E 100%);
  border-bottom: 2px solid var(--pg2d-accent);
  box-shadow: 0 2px 14px rgba(0, 0, 0, 0.4);
}
.pg2d-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 12px;
  max-width: 480px;
  margin: 0 auto;
}
.pg2d-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  font-weight: 800;
  font-size: 1.5rem;
  letter-spacing: 0.2px;
}
.pg2d-logo img { width: 28px; height: 28px; border-radius: 6px; }
.pg2d-logo .pg2d-logo-text { line-height: 1.05; }
.pg2d-logo .pg2d-logo-text small { display: block; font-size: 1rem; color: var(--pg2d-accent); font-weight: 600; }

.pg2d-header-actions { display: flex; align-items: center; gap: 6px; }
.pg2d-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border: 0;
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 1.3rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  min-height: 36px;
}
.pg2d-btn:hover { transform: translateY(-1px); }
.pg2d-btn-primary {
  background: linear-gradient(135deg, #00FF7F 0%, #2E8B57 100%);
  color: #0d1f17;
  box-shadow: 0 4px 14px rgba(0, 255, 127, 0.35);
}
.pg2d-btn-ghost {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.35);
}
.pg2d-btn-block {
  display: flex;
  width: 100%;
  padding: 12px;
  font-size: 1.5rem;
}
.pg2d-menu-btn {
  background: transparent;
  border: 0;
  color: #fff;
  font-size: 2rem;
  cursor: pointer;
  padding: 4px 8px;
}

/* ---------- Mobile / expandable nav ---------- */
.pg2d-mobile-menu {
  position: fixed;
  top: 0; right: -100%;
  width: 78%;
  max-width: 320px;
  height: 100vh;
  background: var(--pg2d-bg);
  border-left: 2px solid var(--pg2d-accent);
  z-index: 9999;
  padding: 70px 16px 24px;
  transition: right 0.28s ease;
  overflow-y: auto;
}
.pg2d-mobile-menu.pg2d-menu-open { right: 0; }
.pg2d-mobile-menu h3 {
  color: var(--pg2d-accent);
  font-size: 1.5rem;
  margin: 14px 0 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.pg2d-mobile-menu a {
  display: block;
  padding: 10px 12px;
  border-radius: 8px;
  color: var(--pg2d-text);
  font-size: 1.4rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.pg2d-mobile-menu a:hover { background: rgba(0, 255, 127, 0.08); }
.pg2d-menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  z-index: 9998;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}
.pg2d-menu-overlay.pg2d-menu-open { opacity: 1; pointer-events: auto; }

/* ---------- Main layout ---------- */
.pg2d-main { padding-top: 64px; padding-bottom: 84px; }

/* ---------- Carousel ---------- */
.pg2d-carousel {
  position: relative;
  border-radius: var(--pg2d-radius);
  overflow: hidden;
  box-shadow: var(--pg2d-shadow);
  margin: 14px 0 18px;
}
.pg2d-slide {
  display: none;
  position: relative;
  cursor: pointer;
}
.pg2d-slide.pg2d-slide-active { display: block; }
.pg2d-slide img { width: 100%; height: 200px; object-fit: cover; }
.pg2d-slide-cap {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 14px 16px;
  background: linear-gradient(to top, rgba(0,0,0,0.85), transparent);
  color: #fff;
  font-size: 1.5rem;
  font-weight: 700;
}
.pg2d-slide-cap span { color: var(--pg2d-accent); }
.pg2d-dots {
  position: absolute;
  bottom: 10px;
  right: 14px;
  display: flex;
  gap: 6px;
}
.pg2d-dot {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  cursor: pointer;
  border: 0;
}
.pg2d-dot.pg2d-dot-active { background: var(--pg2d-accent); }

/* ---------- Section ---------- */
.pg2d-section { margin: 22px 0; }
.pg2d-section-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1.8rem;
  color: #fff;
  margin-bottom: 12px;
  border-left: 4px solid var(--pg2d-accent);
  padding-left: 10px;
}
.pg2d-section-title small { color: var(--pg2d-text-soft); font-size: 1.25rem; font-weight: 500; }

/* ---------- Game grid ---------- */
.pg2d-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.pg2d-card {
  background: var(--pg2d-card);
  border: 1px solid var(--pg2d-card-border);
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.15s ease, border-color 0.15s ease;
  position: relative;
}
.pg2d-card:hover { transform: translateY(-2px); border-color: var(--pg2d-accent); }
.pg2d-card img { width: 100%; height: 96px; object-fit: cover; background: #0e1820; }
.pg2d-card-name {
  padding: 6px 8px;
  font-size: 1.15rem;
  color: var(--pg2d-text);
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-height: 30px;
}
.pg2d-card-tag {
  position: absolute;
  top: 4px; left: 4px;
  background: var(--pg2d-accent2);
  color: #fff;
  font-size: 0.95rem;
  padding: 2px 6px;
  border-radius: 4px;
  font-weight: 700;
}
.pg2d-card-tag.hot { background: #d33; }

/* ---------- Generic info / feature boxes ---------- */
.pg2d-info {
  background: var(--pg2d-card);
  border: 1px solid var(--pg2d-card-border);
  border-radius: var(--pg2d-radius);
  padding: 16px;
  margin: 12px 0;
}
.pg2d-info h3 { color: var(--pg2d-accent); font-size: 1.6rem; }
.pg2d-info p { color: var(--pg2d-text-soft); font-size: 1.35rem; margin: 0; }
.pg2d-info a.pg2d-inline { color: var(--pg2d-accent); font-weight: 700; }

.pg2d-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}
.pg2d-feature {
  background: var(--pg2d-card);
  border-radius: 10px;
  padding: 14px 10px;
  text-align: center;
  border: 1px solid var(--pg2d-card-border);
}
.pg2d-feature .pg2d-feature-ico { font-size: 2.4rem; color: var(--pg2d-accent); margin-bottom: 6px; }
.pg2d-feature h4 { font-size: 1.35rem; color: #fff; margin: 0 0 4px; }
.pg2d-feature p { font-size: 1.2rem; color: var(--pg2d-text-soft); margin: 0; }

/* ---------- Testimonial ---------- */
.pg2d-testimonials { display: grid; gap: 10px; }
.pg2d-testimonial {
  background: var(--pg2d-card);
  border-left: 3px solid var(--pg2d-accent);
  border-radius: 8px;
  padding: 12px 14px;
}
.pg2d-testimonial .pg2d-who { font-weight: 700; color: var(--pg2d-accent); font-size: 1.3rem; }
.pg2d-testimonial p { font-size: 1.3rem; color: var(--pg2d-text-soft); margin: 6px 0 0; }

/* ---------- Payment / winners strip ---------- */
.pg2d-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 10px 0;
}
.pg2d-pill {
  background: rgba(0,255,127,0.08);
  border: 1px solid var(--pg2d-card-border);
  padding: 6px 10px;
  border-radius: 999px;
  color: var(--pg2d-text-soft);
  font-size: 1.2rem;
}

/* ---------- FAQ ---------- */
.pg2d-faq-item {
  background: var(--pg2d-card);
  border-radius: 8px;
  padding: 12px 14px;
  margin-bottom: 8px;
  border: 1px solid var(--pg2d-card-border);
}
.pg2d-faq-item h4 { color: var(--pg2d-accent); font-size: 1.4rem; margin: 0 0 4px; }
.pg2d-faq-item p { color: var(--pg2d-text-soft); font-size: 1.3rem; margin: 0; }

/* ---------- Footer ---------- */
.pg2d-footer {
  background: #15202b;
  border-top: 2px solid var(--pg2d-accent2);
  padding: 22px 14px 30px;
  color: var(--pg2d-text-soft);
  font-size: 1.25rem;
}
.pg2d-footer .pg2d-container { max-width: 480px; }
.pg2d-footer h4 { color: #fff; font-size: 1.4rem; margin: 14px 0 8px; }
.pg2d-footer p { color: var(--pg2d-text-soft); }
.pg2d-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 12px;
  margin: 10px 0;
}
.pg2d-footer-links a { color: var(--pg2d-text-soft); font-size: 1.2rem; text-decoration: underline; }
.pg2d-footer-btns { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; margin: 12px 0; }
.pg2d-footer-copy { margin-top: 14px; color: #7a8896; font-size: 1.1rem; text-align: center; }

/* ---------- Bottom mobile nav ---------- */
.pg2d-bottomnav {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  height: 62px;
  background: linear-gradient(180deg, #1a2530 0%, #0e1820 100%);
  border-top: 2px solid var(--pg2d-accent);
  display: flex;
  justify-content: space-around;
  align-items: stretch;
  z-index: 1000;
  box-shadow: 0 -3px 18px rgba(0, 0, 0, 0.5);
}
.pg2d-bottomnav-btn {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  background: transparent;
  border: 0;
  color: var(--pg2d-text-soft);
  font-size: 1.05rem;
  cursor: pointer;
  min-width: 60px;
  min-height: 60px;
  transition: color 0.15s ease, transform 0.15s ease;
  text-decoration: none;
}
.pg2d-bottomnav-btn .pg2d-ico { font-size: 2.2rem; line-height: 1; }
.pg2d-bottomnav-btn:hover { color: var(--pg2d-accent); transform: translateY(-1px); }
.pg2d-bottomnav-btn.pg2d-bottomnav-active { color: var(--pg2d-accent); }
.pg2d-bottomnav-promo { color: var(--pg2d-accent); }

/* ---------- Desktop ---------- */
@media (min-width: 769px) {
  .pg2d-bottomnav { display: none; }
  .pg2d-main { padding-bottom: 30px; }
  .pg2d-container { max-width: 960px; }
  .pg2d-header-inner { max-width: 960px; }
  .pg2d-grid { grid-template-columns: repeat(6, 1fr); }
  .pg2d-features { grid-template-columns: repeat(4, 1fr); }
  .pg2d-footer-btns { grid-template-columns: repeat(4, 1fr); }
}

/* ---------- Small mobile (max 430px) ---------- */
@media (max-width: 430px) {
  .pg2d-container,
  .pg2d-header-inner,
  .pg2d-footer .pg2d-container { max-width: 100%; padding-left: 12px; padding-right: 12px; }
  .pg2d-main { padding: 12px 0 90px; }
  .pg2d-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .pg2d-features { grid-template-columns: 1fr; gap: 10px; }
  .pg2d-footer-btns { grid-template-columns: repeat(2, 1fr); }
  .pg2d-header-logo { font-size: 1.25rem; }
  .pg2d-btn { padding: 8px 14px; font-size: 0.85rem; }
  .pg2d-hero h1 { font-size: 1.5rem; }
  .pg2d-hero p { font-size: 0.9rem; }
  .pg2d-bottomnav-btn .pg2d-ico { font-size: 1.8rem; }
  .pg2d-section-title { font-size: 1.15rem; }
}
