/* ============================================================
 * loveph shared stylesheet
 * Palette: #E8F5E8 | #00B8D4 | #26A69A | #1C2833
 * Dark = background, light = text. All classes use the gc20- prefix.
 * ============================================================ */

:root {
  --gc20-bg: #1C2833;
  --gc20-bg-soft: #243443;
  --gc20-bg-card: #2A3B4D;
  --gc20-primary: #00B8D4;
  --gc20-secondary: #26A69A;
  --gc20-light: #E8F5E8;
  --gc20-accent: #F6C945;
  --gc20-text: #E8F5E8;
  --gc20-text-dim: #A8C7B8;
  --gc20-border: rgba(232, 245, 232, 0.08);
  --gc20-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
  --gc20-radius: 14px;
  --gc20-header-h: 60px;
  --gc20-bottom-h: 62px;
}

* { box-sizing: border-box; }

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

html, body {
  margin: 0;
  padding: 0;
  font-family: "Segoe UI", "Helvetica Neue", Arial, system-ui, sans-serif;
  background: var(--gc20-bg);
  color: var(--gc20-text);
  line-height: 1.5;
  font-size: 16px;
  overflow-x: hidden;
}

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

a { color: var(--gc20-primary); text-decoration: none; }
a:hover { color: var(--gc20-light); }

/* ---------------- Layout helpers ---------------- */
.gc20-container {
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
  padding: 0 14px;
}

.gc20-wrapper {
  max-width: 430px;
  margin: 0 auto;
  background: var(--gc20-bg);
  min-height: 100vh;
  position: relative;
}

.gc20-section {
  padding: 24px 0 16px;
}

.gc20-section-alt {
  background: linear-gradient(180deg, var(--gc20-bg-soft) 0%, var(--gc20-bg) 100%);
  padding: 24px 0;
}

.gc20-eyebrow {
  color: var(--gc20-primary);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.gc20-section-title {
  font-size: 22px;
  font-weight: 800;
  margin: 0 0 6px;
  color: var(--gc20-light);
}

.gc20-section-sub {
  font-size: 13px;
  color: var(--gc20-text-dim);
  margin: 0 0 16px;
}

/* ---------------- Header ---------------- */
.gc20-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: linear-gradient(90deg, var(--gc20-bg) 0%, var(--gc20-bg-soft) 100%);
  border-bottom: 1px solid var(--gc20-border);
  box-shadow: var(--gc20-shadow);
}

.gc20-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--gc20-header-h);
  padding: 0 12px;
}

.gc20-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--gc20-light);
  font-weight: 800;
  font-size: 18px;
  letter-spacing: 0.4px;
}

.gc20-logo img {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  object-fit: cover;
}

.gc20-logo .gc20-logo-accent { color: var(--gc20-primary); }

.gc20-header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* ---------------- Buttons ---------------- */
.gc20-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 16px;
  min-height: 40px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  text-align: center;
}
.gc20-btn:focus { outline: 2px solid var(--gc20-primary); outline-offset: 2px; }
.gc20-btn:hover { transform: translateY(-1px); }
.gc20-btn:active { transform: translateY(0) scale(.98); }

.gc20-btn-primary {
  background: linear-gradient(90deg, var(--gc20-primary) 0%, var(--gc20-secondary) 100%);
  color: #07232a;
  box-shadow: 0 4px 14px rgba(0, 184, 212, 0.35);
}
.gc20-btn-ghost {
  background: transparent;
  color: var(--gc20-light);
  border: 1px solid rgba(232, 245, 232, 0.25);
}
.gc20-btn-block { width: 100%; }
.gc20-btn-lg { padding: 14px 20px; font-size: 15px; min-height: 48px; }
.gc20-btn-sm { padding: 7px 12px; min-height: 32px; font-size: 12px; }

/* ---------------- Menu toggle / mobile menu ---------------- */
.gc20-menu-toggle {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: 1px solid var(--gc20-border);
  background: var(--gc20-bg-card);
  color: var(--gc20-light);
  font-size: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.gc20-menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(7, 15, 22, 0.65);
  z-index: 9998;
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease;
}
.gc20-menu-overlay.gc20-overlay-active { opacity: 1; pointer-events: auto; }

.gc20-mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: 82%;
  max-width: 340px;
  height: 100vh;
  background: var(--gc20-bg-soft);
  z-index: 9999;
  transform: translateX(110%);
  transition: transform .28s ease;
  padding: 20px 18px 32px;
  overflow-y: auto;
  border-left: 1px solid var(--gc20-border);
}
.gc20-mobile-menu.gc20-menu-open { transform: translateX(0); }

.gc20-menu-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}
.gc20-menu-close {
  width: 36px; height: 36px; border-radius: 10px;
  background: var(--gc20-bg-card); color: var(--gc20-light);
  border: 1px solid var(--gc20-border); cursor: pointer; font-size: 16px;
}
.gc20-menu-list { list-style: none; padding: 0; margin: 0; }
.gc20-menu-list li { margin-bottom: 6px; }
.gc20-menu-list a {
  display: block;
  padding: 12px 14px;
  border-radius: 10px;
  color: var(--gc20-text);
  font-weight: 600;
  background: var(--gc20-bg-card);
  border: 1px solid var(--gc20-border);
}
.gc20-menu-list a:hover { background: var(--gc20-primary); color: #07232a; }

.gc20-menu-cta { margin-top: 18px; display: flex; gap: 10px; }
.gc20-menu-cta .gc20-btn { flex: 1; }

/* ---------------- Hero carousel ---------------- */
.gc20-hero {
  margin: 14px 0 6px;
}
#gc20-hero-carousel {
  position: relative;
  border-radius: var(--gc20-radius);
  overflow: hidden;
  box-shadow: var(--gc20-shadow);
  background: var(--gc20-bg-soft);
}
.gc20-hero-track { position: relative; }
.gc20-hero-slide {
  display: none;
  position: relative;
  height: 200px;
}
.gc20-hero-slide.gc20-slide-active { display: block; }
.gc20-hero-slide img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}
.gc20-hero-caption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 16px;
  background: linear-gradient(0deg, rgba(7,15,22,.92) 0%, rgba(7,15,22,0) 100%);
  color: var(--gc20-light);
}
.gc20-hero-caption h2 { margin: 0 0 6px; font-size: 18px; }
.gc20-hero-caption p { margin: 0 0 10px; font-size: 12px; color: var(--gc20-text-dim); }
.gc20-hero-dots {
  position: absolute;
  bottom: 10px;
  right: 12px;
  display: flex;
  gap: 6px;
}
.gc20-hero-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: rgba(232, 245, 232, 0.45);
  cursor: pointer;
}
.gc20-hero-dot.gc20-dot-active { background: var(--gc20-primary); }

/* ---------------- Filter chips ---------------- */
.gc20-filters {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 6px 0 12px;
  scrollbar-width: none;
}
.gc20-filters::-webkit-scrollbar { display: none; }
.gc20-filter-chip {
  flex: 0 0 auto;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--gc20-bg-card);
  color: var(--gc20-text-dim);
  font-size: 12px;
  font-weight: 600;
  border: 1px solid var(--gc20-border);
  cursor: pointer;
  white-space: nowrap;
}
.gc20-filter-chip.gc20-chip-active {
  background: var(--gc20-primary);
  color: #07232a;
  border-color: var(--gc20-primary);
}

/* ---------------- Game grid ---------------- */
.gc20-game-group h3 {
  font-size: 16px;
  margin: 18px 0 10px;
  color: var(--gc20-light);
  display: flex;
  align-items: center;
  gap: 8px;
}
.gc20-game-group h3 i { color: var(--gc20-primary); }

.gc20-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.gc20-game-card {
  background: var(--gc20-bg-card);
  border: 1px solid var(--gc20-border);
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
  text-align: center;
}
.gc20-game-card:hover {
  transform: translateY(-2px);
  border-color: var(--gc20-primary);
  box-shadow: 0 6px 16px rgba(0, 184, 212, 0.25);
}
.gc20-game-thumb {
  width: 100%;
  aspect-ratio: 1 / 1;
  background: #0e1721;
  display: flex;
  align-items: center;
  justify-content: center;
}
.gc20-game-thumb img { width: 100%; height: 100%; object-fit: cover; }
.gc20-game-name {
  font-size: 11px;
  padding: 6px 6px 8px;
  color: var(--gc20-text);
  line-height: 1.3;
  word-break: break-word;
}

/* ---------------- Feature / promo cards ---------------- */
.gc20-card {
  background: var(--gc20-bg-card);
  border: 1px solid var(--gc20-border);
  border-radius: var(--gc20-radius);
  padding: 16px;
  margin-bottom: 12px;
  box-shadow: var(--gc20-shadow);
}
.gc20-card h3 { margin: 0 0 8px; font-size: 16px; color: var(--gc20-light); }
.gc20-card p { margin: 0; font-size: 13px; color: var(--gc20-text-dim); }

.gc20-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
.gc20-feature-card {
  background: var(--gc20-bg-card);
  border: 1px solid var(--gc20-border);
  border-radius: 12px;
  padding: 14px;
  text-align: center;
}
.gc20-feature-card .gc20-ic {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(0, 184, 212, .15);
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--gc20-primary);
  font-size: 20px;
  margin-bottom: 8px;
}
.gc20-feature-card h4 { margin: 0 0 4px; font-size: 14px; color: var(--gc20-light); }
.gc20-feature-card p { margin: 0; font-size: 12px; color: var(--gc20-text-dim); }

/* ---------------- Testimonials ---------------- */
.gc20-testimonials { display: grid; gap: 10px; }
.gc20-testimonial {
  background: var(--gc20-bg-card);
  border: 1px solid var(--gc20-border);
  border-radius: 12px;
  padding: 14px;
}
.gc20-testimonial-stars { color: var(--gc20-accent); font-size: 13px; margin-bottom: 6px; }
.gc20-testimonial p { margin: 0 0 8px; font-size: 13px; color: var(--gc20-text); }
.gc20-testimonial .gc20-author { font-size: 12px; color: var(--gc20-text-dim); }

/* ---------------- Winners ticker ---------------- */
.gc20-winners {
  background: var(--gc20-bg-soft);
  border: 1px solid var(--gc20-border);
  border-radius: 12px;
  padding: 12px;
  margin-bottom: 16px;
  overflow: hidden;
}
.gc20-winners-list { list-style: none; padding: 0; margin: 0; }
.gc20-winners-list li {
  display: flex; justify-content: space-between;
  padding: 6px 0;
  border-bottom: 1px dashed var(--gc20-border);
  font-size: 12px;
  color: var(--gc20-text-dim);
}
.gc20-winners-list li:last-child { border-bottom: none; }
.gc20-winners-list .gc20-amt { color: var(--gc20-accent); font-weight: 700; }

/* ---------------- Payment methods ---------------- */
.gc20-pay-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.gc20-pay-item {
  background: var(--gc20-bg-card);
  border: 1px solid var(--gc20-border);
  border-radius: 10px;
  padding: 10px;
  text-align: center;
  font-size: 12px;
  color: var(--gc20-text);
}
.gc20-pay-item i { font-size: 22px; color: var(--gc20-secondary); display: block; margin-bottom: 4px; }

/* ---------------- App download CTA ---------------- */
.gc20-app-cta {
  background: linear-gradient(135deg, var(--gc20-primary) 0%, var(--gc20-secondary) 100%);
  color: #07232a;
  border-radius: var(--gc20-radius);
  padding: 18px;
  margin-bottom: 16px;
}
.gc20-app-cta h3 { margin: 0 0 6px; font-size: 16px; color: #07232a; }
.gc20-app-cta p { margin: 0 0 12px; font-size: 12px; }
.gc20-app-cta .gc20-btn { background: var(--gc20-bg); color: var(--gc20-light); }

/* ---------------- RTP table ---------------- */
.gc20-rtp-table { width: 100%; border-collapse: collapse; font-size: 12px; }
.gc20-rtp-table th, .gc20-rtp-table td {
  padding: 9px 8px;
  text-align: left;
  border-bottom: 1px solid var(--gc20-border);
}
.gc20-rtp-table th { color: var(--gc20-primary); font-size: 11px; text-transform: uppercase; letter-spacing: 0.6px; }
.gc20-rtp-table td { color: var(--gc20-text-dim); }
.gc20-rtp-table .gc20-amt { color: var(--gc20-accent); font-weight: 700; }

/* ---------------- FAQ ---------------- */
.gc20-faq { margin-top: 6px; }
.gc20-faq-item {
  background: var(--gc20-bg-card);
  border: 1px solid var(--gc20-border);
  border-radius: 12px;
  padding: 14px;
  margin-bottom: 10px;
}
.gc20-faq-item h4 { margin: 0 0 6px; font-size: 14px; color: var(--gc20-light); }
.gc20-faq-item p { margin: 0; font-size: 13px; color: var(--gc20-text-dim); }

/* ---------------- SEO article links ---------------- */
.gc20-seo-article p { font-size: 13px; color: var(--gc20-text-dim); margin: 0 0 10px; }
.gc20-seo-article a { color: var(--gc20-primary); font-weight: 600; }

/* ---------------- Footer ---------------- */
.gc20-footer {
  background: var(--gc20-bg-soft);
  border-top: 1px solid var(--gc20-border);
  padding: 22px 0 24px;
  margin-top: 20px;
}
.gc20-footer-brand {
  font-size: 12px;
  color: var(--gc20-text-dim);
  margin-bottom: 14px;
}
.gc20-footer-links {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px 12px;
  margin-bottom: 14px;
}
.gc20-footer-links a {
  font-size: 12px;
  color: var(--gc20-text-dim);
}
.gc20-footer-links a:hover { color: var(--gc20-primary); }
.gc20-footer-buttons {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin: 14px 0;
}
.gc20-footer-copy {
  font-size: 11px;
  color: var(--gc20-text-dim);
  text-align: center;
  border-top: 1px solid var(--gc20-border);
  padding-top: 12px;
}

/* ---------------- Bottom navigation ---------------- */
.gc20-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  max-width: 430px;
  margin: 0 auto;
  height: var(--gc20-bottom-h);
  background: rgba(28, 40, 51, 0.98);
  border-top: 1px solid var(--gc20-border);
  display: flex;
  justify-content: space-around;
  align-items: stretch;
  z-index: 1000;
  box-shadow: 0 -4px 18px rgba(0, 0, 0, 0.35);
}
.gc20-bottom-nav-btn {
  flex: 1;
  min-width: 60px;
  min-height: 60px;
  background: transparent;
  border: none;
  color: var(--gc20-text-dim);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  cursor: pointer;
  font-size: 10px;
  font-weight: 600;
  transition: color .15s ease, transform .15s ease;
  padding: 4px;
}
.gc20-bottom-nav-btn i { font-size: 22px; }
.gc20-bottom-nav-btn:hover { color: var(--gc20-primary); transform: translateY(-1px); }
.gc20-bottom-nav-btn:active { transform: scale(.94); }
.gc20-bottom-nav-btn.gc20-nav-current { color: var(--gc20-primary); }
.gc20-bottom-nav-btn.gc20-nav-promo {
  color: var(--gc20-accent);
}

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

/* ---------------- Mobile bottom padding ---------------- */
@media (max-width: 768px) {
  .gc20-main { padding-bottom: 80px; }
}

/* ---------------- Desktop: hide bottom nav, widen wrapper ---------------- */
@media (min-width: 769px) {
  .gc20-bottom-nav { display: none; }
  .gc20-wrapper, .gc20-container { max-width: 760px; }
}
