/* jilicrown apk - shared styles (en-PH).
   All custom classes use the pg74- prefix.
   Palette: #34495E | #696969 | #32CD32 | #A9A9A9 | #4A4A4A (dark = bg, light = text). */

:root {
  --pg74-primary: #34495E;
  --pg74-secondary: #696969;
  --pg74-accent: #32CD32;
  --pg74-muted: #A9A9A9;
  --pg74-bg: #4A4A4A;
  --pg74-bg-deep: #2c2f36;
  --pg74-text: #f3f5f7;
  --pg74-card: #3a3f47;
  --pg74-radius: 12px;
}

* { box-sizing: border-box; }
html { font-size: 62.5%; }
body {
  margin: 0;
  font-family: "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background: var(--pg74-bg-deep);
  color: var(--pg74-text);
  line-height: 1.5rem;
  -webkit-text-size-adjust: 100%;
}
img { max-width: 100%; display: block; }
a { color: var(--pg74-accent); text-decoration: none; }
h1, h2, h3, h4 { line-height: 1.4; margin: 0 0 1rem; }

.pg74-wrapper { max-width: 430px; margin: 0 auto; position: relative; }
.pg74-container { padding: 1.2rem 1.2rem 0; }

/* ===== Header ===== */
.pg74-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: linear-gradient(135deg, var(--pg74-primary), #2c3a47);
  padding: 0.8rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 2px 8px rgba(0,0,0,0.35);
}
.pg74-brand { display: flex; align-items: center; gap: 0.6rem; color: #fff; }
.pg74-brand img { width: 28px; height: 28px; border-radius: 6px; }
.pg74-brand-text { font-size: 1.5rem; font-weight: 700; letter-spacing: 0.3px; }
.pg74-brand-text span { color: var(--pg74-accent); }
.pg74-header-actions { display: flex; align-items: center; gap: 0.5rem; }
.pg74-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border: 0;
  border-radius: 999px;
  padding: 0.65rem 1.1rem;
  font-size: 1.2rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.15s ease, opacity 0.15s ease;
  min-height: 36px;
}
.pg74-btn:active { transform: scale(0.96); }
.pg74-btn-login { background: rgba(255,255,255,0.12); color: #fff; border: 1px solid rgba(255,255,255,0.35); }
.pg74-btn-register { background: var(--pg74-accent); color: #0f2417; }
.pg74-menu-btn {
  background: transparent; color: #fff; border: 0; font-size: 1.8rem;
  padding: 0.4rem 0.6rem; cursor: pointer; border-radius: 6px;
}

/* ===== Mobile slide-down menu ===== */
.pg74-mobile-menu {
  position: fixed;
  top: 0; right: -85%;
  width: 80%; max-width: 320px;
  height: 100%;
  background: var(--pg74-bg-deep);
  z-index: 9999;
  padding: 2rem 1.4rem;
  transform: translateX(0);
  transition: right 0.3s ease;
  overflow-y: auto;
  box-shadow: -4px 0 16px rgba(0,0,0,0.4);
}
.pg74-mobile-menu.pg74-menu-open { right: 0; }
.pg74-menu-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.55);
  z-index: 9998;
  display: none;
}
.pg74-mobile-menu.pg74-menu-open ~ .pg74-menu-overlay { display: block; }
.pg74-menu-close { background: var(--pg74-accent); color:#0f2417; border:0; border-radius:8px; padding:0.6rem 1rem; font-size:1.3rem; font-weight:700; cursor:pointer; }
.pg74-mobile-menu h3 { color: var(--pg74-accent); font-size: 1.3rem; margin-top: 1.6rem; }
.pg74-mobile-menu ul { list-style: none; padding: 0; margin: 0; }
.pg74-mobile-menu li { border-bottom: 1px solid rgba(255,255,255,0.08); }
.pg74-mobile-menu a { display:block; padding: 0.85rem 0.4rem; color: var(--pg74-text); font-size: 1.25rem; }
.pg74-mobile-menu a:active { color: var(--pg74-accent); }
body.pg74-no-scroll { overflow: hidden; }

/* ===== Hero carousel ===== */
.pg74-hero {
  position: relative;
  margin: 1rem 0;
  border-radius: var(--pg74-radius);
  overflow: hidden;
  background: #11151b;
}
.pg74-slides { position: relative; }
.pg74-slide {
  display: none;
  cursor: pointer;
  position: relative;
}
.pg74-slide.pg74-slide-active { display: block; }
.pg74-slide img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.pg74-slide-cap {
  position: absolute; left: 0; right: 0; bottom: 0;
  background: linear-gradient(transparent, rgba(0,0,0,0.85));
  padding: 1.2rem 1rem 0.9rem;
  color: #fff;
}
.pg74-slide-cap strong { font-size: 1.35rem; display:block; color: var(--pg74-accent); }
.pg74-slide-cap span { font-size: 1.1rem; }
.pg74-dots { display:flex; gap: 0.4rem; padding: 0.5rem; justify-content: center; background: rgba(0,0,0,0.3); }
.pg74-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: rgba(255,255,255,0.4); cursor: pointer;
}
.pg74-dot.pg74-dot-active { background: var(--pg74-accent); }

/* ===== Section heading ===== */
.pg74-section { padding: 1.2rem 0; }
.pg74-section-title {
  display: flex; align-items: center; justify-content: space-between;
  margin: 0 0 0.8rem;
}
.pg74-section-title h2 { font-size: 1.5rem; color: #fff; }
.pg74-section-title h2 i { color: var(--pg74-accent); margin-right: 0.4rem; }
.pg74-section-title a { font-size: 1.1rem; }

/* ===== Game grid ===== */
.pg74-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.7rem;
}
.pg74-card {
  background: var(--pg74-card);
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
  position: relative;
  border: 1px solid rgba(255,255,255,0.06);
  transition: transform 0.15s ease;
}
.pg74-card:active { transform: scale(0.97); }
.pg74-card img { width: 100%; aspect-ratio: 1/1; object-fit: cover; }
.pg74-card-name {
  padding: 0.5rem 0.45rem;
  font-size: 1.05rem;
  color: var(--pg74-text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-align: center;
}
.pg74-card-tag {
  position: absolute; top: 4px; left: 4px;
  background: var(--pg74-accent); color: #0f2417;
  font-size: 0.85rem; font-weight: 700;
  padding: 1px 6px; border-radius: 4px;
}

/* ===== Content blocks ===== */
.pg74-block {
  background: var(--pg74-card);
  border-radius: var(--pg74-radius);
  padding: 1.2rem;
  margin: 0.6rem 0;
  border-left: 3px solid var(--pg74-accent);
}
.pg74-block h3 { color: var(--pg74-accent); font-size: 1.35rem; }
.pg74-block p { font-size: 1.2rem; color: #e7ebee; margin: 0.4rem 0; }
.pg74-block ul { margin: 0.4rem 0; padding-left: 1.4rem; }
.pg74-block li { font-size: 1.2rem; margin: 0.3rem 0; }
.pg74-prose { font-size: 1.2rem; color: #d7dde2; }
.pg74-prose a { color: var(--pg74-accent); font-weight: 600; }

/* ===== Promo banner ===== */
.pg74-cta {
  background: linear-gradient(135deg, var(--pg74-primary), #1f2a36);
  border-radius: var(--pg74-radius);
  padding: 1.4rem;
  text-align: center;
  margin: 0.8rem 0;
  border: 1px solid var(--pg74-accent);
}
.pg74-cta h3 { color: var(--pg74-accent); font-size: 1.5rem; }
.pg74-cta p { font-size: 1.15rem; color: #e7ebee; margin: 0.4rem 0 1rem; }
.pg74-cta .pg74-btn { font-size: 1.3rem; padding: 0.8rem 1.8rem; }

/* ===== Testimonials ===== */
.pg74-testimonials { display: grid; grid-template-columns: 1fr; gap: 0.7rem; }
.pg74-testimonial {
  background: var(--pg74-card);
  border-radius: 10px;
  padding: 0.9rem 1rem;
  border-left: 3px solid var(--pg74-muted);
}
.pg74-testimonial .pg74-stars { color: #ffce3b; font-size: 1rem; }
.pg74-testimonial p { font-size: 1.15rem; margin: 0.4rem 0; color: #e7ebee; }
.pg74-testimonial .pg74-author { font-size: 1.05rem; color: var(--pg74-muted); }

/* ===== Payment methods ===== */
.pg74-payments { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.pg74-pay {
  flex: 1 1 30%;
  background: var(--pg74-card);
  border-radius: 8px;
  padding: 0.8rem;
  text-align: center;
  font-size: 1.1rem;
  border: 1px solid rgba(255,255,255,0.06);
}
.pg74-pay i { color: var(--pg74-accent); font-size: 1.6rem; display:block; margin-bottom: 0.3rem; }

/* ===== Winners ticker ===== */
.pg74-winners {
  background: rgba(50,205,50,0.08);
  border: 1px dashed var(--pg74-accent);
  border-radius: 10px;
  padding: 0.7rem 0.9rem;
  margin: 0.6rem 0;
}
.pg74-winner-row {
  display: flex; justify-content: space-between;
  font-size: 1.1rem; padding: 0.25rem 0;
  color: #e7ebee;
}
.pg74-winner-row b { color: var(--pg74-accent); }

/* ===== Footer ===== */
.pg74-footer {
  background: var(--pg74-primary);
  color: #e7ebee;
  padding: 1.6rem 1.2rem 9rem;
  margin-top: 1.4rem;
}
.pg74-footer h4 { color: var(--pg74-accent); font-size: 1.2rem; margin: 0.6rem 0; }
.pg74-footer p { font-size: 1.1rem; color: #cdd3d8; }
.pg74-footer-links {
  display: flex; flex-wrap: wrap; gap: 0.4rem 0.8rem;
  margin: 0.6rem 0;
}
.pg74-footer-links a {
  font-size: 1.05rem;
  color: #d7dde2;
  text-decoration: underline;
}
.pg74-footer-promos {
  display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 0.8rem 0;
}
.pg74-footer-promos button {
  background: var(--pg74-accent); color:#0f2417; border:0;
  border-radius: 999px; padding: 0.55rem 1rem;
  font-size: 1.1rem; font-weight: 600; cursor: pointer;
}
.pg74-footer-promos button:active { transform: scale(0.96); }
.pg74-copyright { font-size: 1rem; color: var(--pg74-muted); margin-top: 1rem; border-top: 1px solid rgba(255,255,255,0.1); padding-top: 0.8rem; }

/* ===== Mobile bottom navigation ===== */
.pg74-bottom-nav {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  height: 62px;
  background: linear-gradient(180deg, #2c3a47, #1f2a36);
  border-top: 2px solid var(--pg74-accent);
  display: flex;
  justify-content: space-around;
  align-items: stretch;
  z-index: 1000;
  box-shadow: 0 -2px 10px rgba(0,0,0,0.4);
}
.pg74-bottom-nav-btn {
  flex: 1;
  background: transparent;
  border: 0;
  color: #cdd3d8;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 60px;
  min-height: 60px;
  cursor: pointer;
  font-size: 1rem;
  gap: 2px;
  transition: color 0.15s ease, transform 0.15s ease;
}
.pg74-bottom-nav-btn i,
.pg74-bottom-nav-btn span.material-icons-outlined {
  font-size: 22px;
}
.pg74-bottom-nav-btn:active { transform: scale(0.92); }
.pg74-bottom-nav-btn.pg74-nav-active { color: var(--pg74-accent); }
.pg74-bottom-nav-btn.pg74-nav-active i { color: var(--pg74-accent); }

@media (min-width: 769px) {
  .pg74-bottom-nav { display: none; }
  .pg74-wrapper { max-width: 760px; }
}
@media (max-width: 768px) {
  main { padding-bottom: 80px; }
  .pg74-footer { padding-bottom: 9rem; }
}
