/* 33win app - Base stylesheet
 * Class prefix: pgc1-
 * Palette: #0E1621 (dark background) | #008000 (brand green)
 * Mobile-first, max-width 430px. Root font 62.5% (1rem = 10px).
 */

:root {
  --pgc1-primary: #008000;
  --pgc1-primary-dark: #006600;
  --pgc1-primary-light: #1ea61e;
  --pgc1-bg: #0e1621;
  --pgc1-bg-soft: #131f2e;
  --pgc1-bg-card: #18283c;
  --pgc1-text: #f3f6f4;
  --pgc1-text-muted: #9fb0c0;
  --pgc1-border: #23384f;
  --pgc1-gold: #f5c542;
  --pgc1-danger: #e23b3b;
  --pgc1-radius: 10px;
}

* {
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

html {
  font-size: 62.5%;
}

body {
  margin: 0;
  padding: 0;
  font-family: "Segoe UI", "Roboto", "Helvetica Neue", Arial, sans-serif;
  background: var(--pgc1-bg);
  color: var(--pgc1-text);
  line-height: 1.5rem;
  font-size: 1.4rem;
  -webkit-font-smoothing: antialiased;
}

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

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

.pgc1-wrapper {
  max-width: 430px;
  margin: 0 auto;
  position: relative;
  min-height: 100vh;
}

/* ============ Header ============ */
.pgc1-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: linear-gradient(180deg, #0b121c 0%, #0e1621 100%);
  border-bottom: 1px solid var(--pgc1-border);
  max-width: 430px;
  margin: 0 auto;
}

.pgc1-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 56px;
  padding: 0 12px;
}

.pgc1-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--pgc1-text);
  font-weight: 700;
  font-size: 1.6rem;
}

.pgc1-brand img {
  width: 28px;
  height: 28px;
  border-radius: 6px;
}

.pgc1-brand-name span {
  color: var(--pgc1-primary-light);
}

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

.pgc1-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 36px;
  padding: 0 14px;
  border-radius: 8px;
  font-size: 1.3rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: transform .15s ease, background-color .15s ease;
}

.pgc1-btn:active { transform: scale(0.96); }

.pgc1-btn-login {
  background: transparent;
  color: var(--pgc1-text);
  border: 1px solid var(--pgc1-border);
}

.pgc1-btn-register {
  background: linear-gradient(135deg, var(--pgc1-primary) 0%, var(--pgc1-primary-dark) 100%);
  color: #fff;
  box-shadow: 0 3px 8px rgba(0, 128, 0, 0.35);
}

.pgc1-menu-toggle {
  background: transparent;
  border: 1px solid var(--pgc1-border);
  color: var(--pgc1-text);
  width: 36px;
  height: 36px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

/* ============ Mobile dropdown menu ============ */
.pgc1-mobile-menu {
  position: fixed;
  top: 56px;
  left: 0;
  right: 0;
  z-index: 9999;
  background: var(--pgc1-bg-soft);
  border-bottom: 1px solid var(--pgc1-border);
  max-height: 0;
  overflow: hidden;
  transition: max-height .25s ease;
  max-width: 430px;
  margin: 0 auto;
}

.pgc1-mobile-menu.pgc1-menu-open {
  max-height: 480px;
}

.pgc1-mobile-menu a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  color: var(--pgc1-text);
  border-bottom: 1px solid var(--pgc1-border);
  font-size: 1.4rem;
}

.pgc1-mobile-menu a:active {
  background: var(--pgc1-bg-card);
}

/* ============ Main content ============ */
.pgc1-main {
  padding-top: 64px;
  padding-bottom: 80px;
}

.pgc1-section {
  padding: 16px 12px;
}

.pgc1-section-title {
  font-size: 1.7rem;
  font-weight: 700;
  margin: 0 0 10px;
  color: var(--pgc1-text);
  display: flex;
  align-items: center;
  gap: 8px;
}

.pgc1-section-title i,
.pgc1-section-title span.mat {
  color: var(--pgc1-gold);
}

.pgc1-section-intro {
  color: var(--pgc1-text-muted);
  font-size: 1.3rem;
  margin: 0 0 14px;
}

/* ============ Carousel ============ */
.pgc1-carousel {
  position: relative;
  border-radius: var(--pgc1-radius);
  overflow: hidden;
  margin: 0 12px 8px;
}

.pgc1-carousel-track {
  position: relative;
  height: 170px;
}

.pgc1-carousel-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity .5s ease;
  cursor: pointer;
}

.pgc1-carousel-slide.pgc1-active {
  opacity: 1;
}

.pgc1-carousel-slide img {
  width: 100%;
  height: 170px;
  object-fit: cover;
}

.pgc1-carousel-caption {
  position: absolute;
  left: 12px;
  bottom: 12px;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  padding: 6px 10px;
  border-radius: 6px;
  font-size: 1.2rem;
  font-weight: 600;
}

.pgc1-carousel-dots {
  display: flex;
  justify-content: center;
  gap: 6px;
  padding: 6px 0;
}

.pgc1-carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--pgc1-border);
  cursor: pointer;
}

.pgc1-carousel-dot.pgc1-active {
  background: var(--pgc1-primary-light);
}

/* ============ Filter chips ============ */
.pgc1-filter-bar {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 4px 12px 10px;
  -webkit-overflow-scrolling: touch;
}

.pgc1-filter-chip {
  flex: 0 0 auto;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--pgc1-bg-card);
  color: var(--pgc1-text-muted);
  font-size: 1.2rem;
  border: 1px solid var(--pgc1-border);
  cursor: pointer;
}

.pgc1-filter-chip.pgc1-chip-active {
  background: var(--pgc1-primary);
  color: #fff;
  border-color: var(--pgc1-primary-dark);
}

/* ============ Game grid ============ */
.pgc1-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  padding: 0 12px;
}

.pgc1-game-card {
  background: var(--pgc1-bg-card);
  border: 1px solid var(--pgc1-border);
  border-radius: var(--pgc1-radius);
  overflow: hidden;
  text-align: center;
  cursor: pointer;
  transition: transform .15s ease, border-color .15s ease;
}

.pgc1-game-card:active {
  transform: scale(0.97);
  border-color: var(--pgc1-primary-light);
}

.pgc1-game-card img {
  width: 100%;
  height: 88px;
  object-fit: cover;
}

.pgc1-game-name {
  font-size: 1.1rem;
  color: var(--pgc1-text);
  padding: 6px 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ============ Cards & feature blocks ============ */
.pgc1-card {
  background: var(--pgc1-bg-card);
  border: 1px solid var(--pgc1-border);
  border-radius: var(--pgc1-radius);
  padding: 14px;
  margin: 0 12px 12px;
}

.pgc1-card h3 {
  margin: 0 0 6px;
  font-size: 1.5rem;
  color: var(--pgc1-text);
}

.pgc1-card p {
  margin: 0 0 8px;
  color: var(--pgc1-text-muted);
  font-size: 1.3rem;
}

.pgc1-feature-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.pgc1-feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 8px 0;
  border-bottom: 1px dashed var(--pgc1-border);
  color: var(--pgc1-text-muted);
  font-size: 1.3rem;
}

.pgc1-feature-list li:last-child { border-bottom: none; }

.pgc1-feature-list i,
.pgc1-feature-list .mat {
  color: var(--pgc1-primary-light);
  margin-top: 2px;
}

/* Inline affiliate text link */
.pgc1-play-link {
  color: var(--pgc1-gold);
  font-weight: 700;
  cursor: pointer;
  text-decoration: underline;
}

.pgc1-promo-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 8px 12px 0;
  padding: 10px 16px;
  background: linear-gradient(135deg, var(--pgc1-primary) 0%, var(--pgc1-primary-dark) 100%);
  color: #fff;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1.3rem;
  box-shadow: 0 4px 10px rgba(0, 128, 0, 0.35);
  cursor: pointer;
}

/* ============ Testimonials ============ */
.pgc1-testimonial {
  background: var(--pgc1-bg-card);
  border-left: 3px solid var(--pgc1-primary);
  padding: 10px 12px;
  border-radius: 6px;
  margin: 0 12px 10px;
  font-size: 1.25rem;
  color: var(--pgc1-text-muted);
}

.pgc1-testimonial strong {
  color: var(--pgc1-text);
  display: block;
  margin-top: 4px;
}

/* ============ Payment / winners compact rows ============ */
.pgc1-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px dashed var(--pgc1-border);
  font-size: 1.25rem;
}

.pgc1-row:last-child { border-bottom: none; }

.pgc1-row .pgc1-amount {
  color: var(--pgc1-gold);
  font-weight: 700;
}

.pgc1-payment-logos {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0 12px;
}

.pgc1-payment-logos span {
  background: var(--pgc1-bg-card);
  border: 1px solid var(--pgc1-border);
  border-radius: 6px;
  padding: 6px 10px;
  font-size: 1.15rem;
  color: var(--pgc1-text-muted);
}

/* ============ Footer ============ */
.pgc1-footer {
  background: var(--pgc1-bg-soft);
  border-top: 1px solid var(--pgc1-border);
  padding: 18px 14px 24px;
  color: var(--pgc1-text-muted);
  font-size: 1.2rem;
}

.pgc1-footer-brand {
  color: var(--pgc1-text);
  font-weight: 700;
  font-size: 1.5rem;
  margin-bottom: 6px;
}

.pgc1-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 10px 0;
}

.pgc1-footer-links a {
  background: var(--pgc1-bg-card);
  border: 1px solid var(--pgc1-border);
  color: var(--pgc1-text-muted);
  padding: 6px 10px;
  border-radius: 6px;
  font-size: 1.15rem;
}

.pgc1-footer-promos {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 10px 0;
}

.pgc1-footer-promos button {
  background: var(--pgc1-primary);
  color: #fff;
  border: none;
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 1.2rem;
  font-weight: 600;
  cursor: pointer;
}

.pgc1-footer-copy {
  margin-top: 12px;
  font-size: 1.1rem;
  color: var(--pgc1-text-muted);
}

/* ============ Mobile bottom nav ============ */
.pgc1-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: 62px;
  background: linear-gradient(180deg, #0b121c 0%, #0a0f17 100%);
  border-top: 1px solid var(--pgc1-border);
  display: flex;
  justify-content: space-around;
  align-items: stretch;
  max-width: 430px;
  margin: 0 auto;
}

.pgc1-bottom-nav-btn {
  flex: 1 1 0;
  min-width: 60px;
  min-height: 60px;
  background: transparent;
  border: none;
  color: var(--pgc1-text-muted);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  cursor: pointer;
  font-size: 1rem;
  transition: color .15s ease, transform .15s ease;
}

.pgc1-bottom-nav-btn:active { transform: scale(0.94); }

.pgc1-bottom-nav-btn i,
.pgc1-bottom-nav-btn .material-icons-outlined,
.pgc1-bottom-nav-btn .material-icons {
  font-size: 22px;
}

.pgc1-bottom-nav-btn.pgc1-nav-current {
  color: var(--pgc1-primary-light);
}

.pgc1-bottom-nav-btn.pgc1-nav-current::after {
  content: "";
  display: block;
  width: 24px;
  height: 3px;
  background: var(--pgc1-primary-light);
  border-radius: 2px;
  margin-top: 2px;
}

/* ============ Desktop ============ */
@media (min-width: 769px) {
  .pgc1-bottom-nav { display: none; }
  .pgc1-main { padding-bottom: 24px; }
  .pgc1-wrapper { max-width: 430px; }
}

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