/* ph365 apk - Core stylesheet (prefix: pgcf-) */
/* Palette: #FFDEAD | #1E90FF | #0A0A0A | #8B7355 | #E9967A */

:root {
  --pgcf-primary: #1E90FF;
  --pgcf-accent: #FFDEAD;
  --pgcf-warm: #E9967A;
  --pgcf-bronze: #8B7355;
  --pgcf-bg: #0A0A0A;
  --pgcf-bg-2: #141414;
  --pgcf-card: #1c1c1c;
  --pgcf-text: #FFDEAD;
  --pgcf-text-light: #f5f5f5;
  --pgcf-text-muted: #b9b3a7;
  --pgcf-border: #2a2a2a;
  --pgcf-success: #2ecc71;
}

* { box-sizing: border-box; }
html { font-size: 62.5%; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
  background: var(--pgcf-bg);
  color: var(--pgcf-text-light);
  line-height: 1.5rem;
  font-size: 1.4rem;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: var(--pgcf-primary); text-decoration: none; }

/* Layout containers */
.pgcf-container { width: 100%; max-width: 430px; margin: 0 auto; padding: 0 1.2rem; }
.pgcf-wrapper { padding-top: 5.4rem; padding-bottom: 8rem; }
.pgcf-grid { display: grid; gap: 1rem; }

/* Header */
.pgcf-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: linear-gradient(90deg, #0A0A0A 0%, #14233a 60%, #0A0A0A 100%);
  border-bottom: 1px solid var(--pgcf-border);
}
.pgcf-header-inner {
  max-width: 430px; margin: 0 auto; padding: 0.6rem 1rem;
  display: flex; align-items: center; justify-content: space-between; gap: 0.8rem;
}
.pgcf-brand { display: flex; align-items: center; gap: 0.6rem; min-width: 0; }
.pgcf-brand img { width: 28px; height: 28px; border-radius: 6px; }
.pgcf-brand-name { font-weight: 800; font-size: 1.6rem; color: var(--pgcf-accent); white-space: nowrap; }
.pgcf-header-actions { display: flex; align-items: center; gap: 0.5rem; }
.pgcf-btn {
  border: 0; cursor: pointer; border-radius: 8px; padding: 0.7rem 1.1rem;
  font-size: 1.3rem; font-weight: 700; min-height: 38px; min-width: 44px;
  transition: transform 0.15s ease, opacity 0.15s ease;
}
.pgcf-btn:active { transform: scale(0.95); }
.pgcf-btn-login {
  background: transparent; color: var(--pgcf-text-light);
  border: 1px solid var(--pgcf-primary);
}
.pgcf-btn-register {
  background: linear-gradient(90deg, var(--pgcf-primary), var(--pgcf-warm));
  color: #0A0A0A;
}
.pgcf-menu-toggle {
  background: transparent; color: var(--pgcf-accent); border: 1px solid var(--pgcf-border);
  width: 38px; height: 38px; border-radius: 8px; font-size: 1.8rem; cursor: pointer;
}

/* Mobile expandable menu */
.pgcf-mobile-menu {
  position: fixed; top: 5.4rem; left: 0; right: 0; z-index: 9999;
  background: #0d0d0d; border-bottom: 1px solid var(--pgcf-border);
  max-height: 0; overflow: hidden; transition: max-height 0.28s ease;
  display: flex; flex-direction: column;
}
.pgcf-mobile-menu.pgcf-menu-open { max-height: 460px; }
.pgcf-mobile-menu a {
  color: var(--pgcf-text-light); padding: 1.1rem 1.4rem;
  border-bottom: 1px solid var(--pgcf-border); font-size: 1.4rem;
}
.pgcf-mobile-menu a:active { background: #1a1a1a; }

/* Hero carousel */
.pgcf-hero {
  position: relative; border-radius: 14px; overflow: hidden; margin: 1rem 0;
  aspect-ratio: 16/9; background: #111;
}
.pgcf-slide {
  position: absolute; inset: 0; opacity: 0; transition: opacity 0.6s ease;
}
.pgcf-slide.pgcf-slide-active { opacity: 1; }
.pgcf-slide img { width: 100%; height: 100%; object-fit: cover; }
.pgcf-slide-cap {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 1rem;
  background: linear-gradient(transparent, rgba(0,0,0,0.85));
  color: var(--pgcf-accent); font-weight: 700; font-size: 1.4rem;
}
.pgcf-dots { position: absolute; bottom: 8px; left: 0; right: 0; display: flex; gap: 6px; justify-content: center; }
.pgcf-slide-dot { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,0.4); }
.pgcf-slide-dot.pgcf-dot-active { background: var(--pgcf-primary); }

/* Section headings */
.pgcf-section { margin: 2rem 0; }
.pgcf-h1 { font-size: 2rem; line-height: 1.4; color: var(--pgcf-accent); margin: 1rem 0; font-weight: 800; }
.pgcf-h2 { font-size: 1.7rem; color: var(--pgcf-warm); margin: 1.6rem 0 0.8rem; font-weight: 700; }
.pgcf-h3 { font-size: 1.4rem; color: var(--pgcf-primary); margin: 1.2rem 0 0.6rem; font-weight: 700; }
.pgcf-lead { color: var(--pgcf-text-muted); margin-bottom: 1rem; }

/* Card */
.pgcf-card {
  background: var(--pgcf-card); border: 1px solid var(--pgcf-border);
  border-radius: 12px; padding: 1.2rem; margin-bottom: 1rem;
}
.pgcf-card-title { color: var(--pgcf-accent); font-weight: 700; margin-bottom: 0.5rem; }

/* Promo CTA */
.pgcf-cta {
  display: inline-block; margin: 0.6rem 0.4rem 0.6rem 0;
  padding: 0.9rem 1.4rem; border-radius: 10px; font-weight: 800; cursor: pointer;
  background: linear-gradient(90deg, var(--pgcf-warm), var(--pgcf-primary));
  color: #0A0A0A; border: 0; font-size: 1.4rem; min-height: 44px;
}
.pgcf-cta:hover { opacity: 0.92; }
.pgcf-link-text { color: var(--pgcf-primary); font-weight: 700; text-decoration: underline; }

/* Game grid */
.pgcf-game-section { margin: 1.4rem 0; }
.pgcf-game-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.8rem;
}
.pgcf-game-item { text-align: center; cursor: pointer; }
.pgcf-game-item img {
  width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 10px;
  border: 1px solid var(--pgcf-border); background: #111;
}
.pgcf-game-item:active img { transform: scale(0.96); }
.pgcf-game-name {
  font-size: 1.1rem; color: var(--pgcf-text-light); margin-top: 0.4rem;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}

/* Feature list */
.pgcf-feature-list { list-style: none; padding: 0; margin: 0; }
.pgcf-feature-list li {
  padding: 0.8rem 0; border-bottom: 1px dashed var(--pgcf-border);
  display: flex; gap: 0.8rem; align-items: flex-start;
}
.pgcf-feature-list li:last-child { border-bottom: 0; }
.pgcf-feature-icon { color: var(--pgcf-warm); font-size: 1.6rem; }

/* Testimonials */
.pgcf-testimonials { display: grid; gap: 0.8rem; }
.pgcf-quote {
  background: #161616; border-left: 3px solid var(--pgcf-primary);
  padding: 0.9rem 1rem; border-radius: 8px; font-style: italic; color: var(--pgcf-text-light);
}
.pgcf-quote-author { display: block; margin-top: 0.4rem; font-style: normal; color: var(--pgcf-warm); font-size: 1.2rem; }

/* Payment chips */
.pgcf-pay-row { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.pgcf-pay-chip {
  background: #181818; border: 1px solid var(--pgcf-border); border-radius: 20px;
  padding: 0.5rem 1rem; color: var(--pgcf-text); font-size: 1.2rem;
}

/* Winners */
.pgcf-winner-row {
  display: flex; justify-content: space-between; padding: 0.6rem 0;
  border-bottom: 1px solid var(--pgcf-border); font-size: 1.2rem;
}
.pgcf-winner-row:last-child { border-bottom: 0; }
.pgcf-winner-amount { color: var(--pgcf-success); font-weight: 700; }

/* Footer */
.pgcf-footer {
  background: #060606; border-top: 1px solid var(--pgcf-border);
  padding: 2rem 1.2rem 2rem; margin-top: 2rem; color: var(--pgcf-text-muted);
}
.pgcf-footer-links { display: flex; flex-wrap: wrap; gap: 0.6rem 1rem; margin: 1rem 0; }
.pgcf-footer-links a { color: var(--pgcf-accent); font-size: 1.2rem; }
.pgcf-footer-copy { font-size: 1.1rem; color: #6a6a6a; margin-top: 1rem; }

/* Bottom navigation */
.pgcf-bottom-nav {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 1000;
  height: 62px; background: #0d0d0d; border-top: 1px solid var(--pgcf-border);
  display: flex; justify-content: space-around; align-items: stretch;
}
.pgcf-bottom-nav-btn {
  flex: 1; min-width: 60px; min-height: 60px; background: transparent; border: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  color: var(--pgcf-text-muted); cursor: pointer; padding: 4px 0; gap: 2px;
  transition: color 0.15s ease, transform 0.15s ease;
}
.pgcf-bottom-nav-btn:active { transform: scale(0.92); color: var(--pgcf-warm); }
.pgcf-bottom-nav-btn .material-icons,
.pgcf-bottom-nav-btn i { font-size: 22px; }
.pgcf-bottom-nav-btn span.pgcf-nav-label { font-size: 1rem; line-height: 1.2; }
.pgcf-bottom-nav-btn.pgcf-nav-current { color: var(--pgcf-primary); }

/* Desktop: hide bottom nav, show top menu links row */
@media (min-width: 769px) {
  .pgcf-bottom-nav { display: none; }
  .pgcf-wrapper { padding-bottom: 2rem; }
}
@media (min-width: 431px) {
  body { background: #0A0A0A; }
  .pgcf-container { max-width: 430px; }
}

/* Mobile-first small screens */
@media (max-width: 430px) {
  html { font-size: 58%; }
  .pgcf-game-grid { grid-template-columns: repeat(3, 1fr); gap: 0.6rem; }
  .pgcf-h1 { font-size: 1.8rem; }
  .pgcf-h2 { font-size: 1.55rem; }
  .pgcf-header-inner { padding: 0.5rem 0.8rem; }
  .pgcf-btn { padding: 0.6rem 0.9rem; font-size: 1.2rem; }
  .pgcf-brand-name { font-size: 1.4rem; }
}

/* Utility */
.pgcf-text-center { text-align: center; }
.pgcf-mt-1 { margin-top: 0.6rem; }
.pgcf-mt-2 { margin-top: 1.2rem; }
.pgcf-hidden { display: none; }
