/**
 * pinoy time ph - Main Stylesheet
 * Prefix: g5e1-
 * Color Palette: #C71585 | #E8F5E8 | #262626 | #008B8B | #CED4DA | #FFC0CB
 * Mobile-first design, max-width 430px
 */

/* === CSS Variables === */
:root {
  --g5e1-primary: #C71585;
  --g5e1-primary-light: #e84393;
  --g5e1-primary-dark: #9b1069;
  --g5e1-bg: #262626;
  --g5e1-bg-light: #1e1e1e;
  --g5e1-bg-card: #2d2d2d;
  --g5e1-text: #E8F5E8;
  --g5e1-text-muted: #CED4DA;
  --g5e1-accent: #008B8B;
  --g5e1-accent-light: #00b3b3;
  --g5e1-pink: #FFC0CB;
  --g5e1-pink-hot: #ff69b4;
  --g5e1-white: #ffffff;
  --g5e1-border: #3a3a3a;
  --g5e1-radius: 10px;
  --g5e1-radius-sm: 6px;
  --g5e1-shadow: 0 2px 12px rgba(0,0,0,0.3);
  --g5e1-transition: all 0.3s ease;
}

/* === Base Reset === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 62.5%; scroll-behavior: smooth; }
body {
  font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--g5e1-bg);
  color: var(--g5e1-text);
  line-height: 1.6rem;
  font-size: 1.4rem;
  max-width: 430px;
  margin: 0 auto;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--g5e1-primary-light); text-decoration: none; transition: var(--g5e1-transition); }
a:hover { color: var(--g5e1-pink); }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }

/* === Header === */
.g5e1-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: linear-gradient(135deg, var(--g5e1-bg-light) 0%, #1a1a2e 100%);
  border-bottom: 2px solid var(--g5e1-primary);
  max-width: 430px; margin: 0 auto;
  padding: 0.8rem 1rem;
  display: flex; align-items: center; justify-content: space-between;
}
.g5e1-header-left { display: flex; align-items: center; gap: 0.6rem; }
.g5e1-logo { width: 28px; height: 28px; border-radius: 50%; }
.g5e1-site-name { color: var(--g5e1-white); font-size: 1.5rem; font-weight: 700; white-space: nowrap; }
.g5e1-header-right { display: flex; align-items: center; gap: 0.5rem; }
.g5e1-btn-register {
  background: linear-gradient(135deg, var(--g5e1-primary), var(--g5e1-primary-light));
  color: var(--g5e1-white); font-size: 1.2rem; font-weight: 700;
  padding: 0.5rem 1.2rem; border-radius: 20px; border: none; cursor: pointer;
  transition: var(--g5e1-transition); text-transform: uppercase;
}
.g5e1-btn-register:hover { transform: scale(1.05); box-shadow: 0 0 10px rgba(199,21,133,0.5); }
.g5e1-btn-login {
  background: transparent; color: var(--g5e1-pink);
  font-size: 1.2rem; font-weight: 600;
  padding: 0.5rem 1rem; border-radius: 20px;
  border: 1.5px solid var(--g5e1-pink); cursor: pointer;
  transition: var(--g5e1-transition);
}
.g5e1-btn-login:hover { background: rgba(255,192,203,0.1); }
.g5e1-menu-toggle {
  background: none; border: none; color: var(--g5e1-white);
  font-size: 2rem; cursor: pointer; padding: 0.3rem;
  display: flex; align-items: center; justify-content: center;
}

/* === Mobile Menu === */
.g5e1-mobile-menu {
  position: fixed; top: 0; right: -280px; width: 280px; height: 100vh;
  background: var(--g5e1-bg-light); z-index: 9999;
  transition: right 0.3s ease; padding: 2rem 1.5rem;
  border-left: 2px solid var(--g5e1-primary);
}
.g5e1-menu-active { right: 0; }
.g5e1-menu-close {
  background: none; border: none; color: var(--g5e1-white);
  font-size: 2.2rem; cursor: pointer; position: absolute;
  top: 1rem; right: 1rem;
}
.g5e1-menu-title { color: var(--g5e1-primary-light); font-size: 1.8rem; font-weight: 700; margin-bottom: 2rem; }
.g5e1-menu-nav a {
  display: flex; align-items: center; gap: 1rem;
  color: var(--g5e1-text); font-size: 1.4rem; padding: 1rem 0;
  border-bottom: 1px solid var(--g5e1-border);
  transition: var(--g5e1-transition);
}
.g5e1-menu-nav a:hover { color: var(--g5e1-primary-light); padding-left: 0.5rem; }
.g5e1-menu-nav .material-symbols-outlined { font-size: 2rem; color: var(--g5e1-accent); }
.g5e1-menu-overlay {
  position: fixed; top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(0,0,0,0.6); z-index: 9998;
  opacity: 0; visibility: hidden; transition: var(--g5e1-transition);
}
.g5e1-overlay-active { opacity: 1; visibility: visible; }

/* === Main Content === */
main { padding-top: 5.5rem; }

/* === Carousel === */
.g5e1-carousel {
  position: relative; overflow: hidden; width: 100%;
  border-radius: 0 0 var(--g5e1-radius) var(--g5e1-radius);
}
.g5e1-carousel-track { display: flex; transition: transform 0.5s ease; }
.g5e1-slide {
  min-width: 100%; cursor: pointer; position: relative;
}
.g5e1-slide img { width: 100%; height: auto; object-fit: cover; }
.g5e1-slide-overlay {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: linear-gradient(transparent, rgba(0,0,0,0.8));
  padding: 2rem 1.5rem 1.5rem;
}
.g5e1-slide-title { color: var(--g5e1-white); font-size: 1.8rem; font-weight: 700; }
.g5e1-slide-subtitle { color: var(--g5e1-pink); font-size: 1.2rem; margin-top: 0.3rem; }
.g5e1-dots {
  display: flex; justify-content: center; gap: 0.6rem;
  padding: 0.8rem 0; background: var(--g5e1-bg-light);
}
.g5e1-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--g5e1-border); cursor: pointer;
  transition: var(--g5e1-transition);
}
.g5e1-dot-active { background: var(--g5e1-primary); width: 20px; border-radius: 4px; }

/* === Section Titles === */
.g5e1-section-title {
  font-size: 1.8rem; font-weight: 700; color: var(--g5e1-white);
  margin: 1.5rem 1rem 1rem; padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--g5e1-primary);
  display: flex; align-items: center; gap: 0.5rem;
}
.g5e1-section-title .material-symbols-outlined { color: var(--g5e1-primary-light); font-size: 2.2rem; }

/* === Game Grid === */
.g5e1-game-section { padding: 0 0.8rem; }
.g5e1-game-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 0.6rem; padding: 0.5rem 0;
}
.g5e1-game-card {
  display: flex; flex-direction: column; align-items: center;
  cursor: pointer; transition: var(--g5e1-transition);
  border-radius: var(--g5e1-radius-sm);
  padding: 0.4rem; background: var(--g5e1-bg-card);
}
.g5e1-game-card:hover { transform: translateY(-2px); box-shadow: var(--g5e1-shadow); }
.g5e1-game-img {
  width: 100%; aspect-ratio: 1; border-radius: var(--g5e1-radius-sm);
  object-fit: cover; border: 1px solid var(--g5e1-border);
}
.g5e1-game-name {
  font-size: 1rem; color: var(--g5e1-text-muted); text-align: center;
  margin-top: 0.3rem; line-height: 1.2; overflow: hidden;
  text-overflow: ellipsis; white-space: nowrap; width: 100%;
}

/* === Content Modules === */
.g5e1-content-block {
  background: var(--g5e1-bg-card); margin: 1rem; padding: 1.5rem;
  border-radius: var(--g5e1-radius); border-left: 3px solid var(--g5e1-primary);
}
.g5e1-content-block h2 {
  font-size: 1.7rem; color: var(--g5e1-primary-light); margin-bottom: 0.8rem;
}
.g5e1-content-block h3 {
  font-size: 1.5rem; color: var(--g5e1-accent-light); margin: 1rem 0 0.5rem;
}
.g5e1-content-block p {
  color: var(--g5e1-text-muted); line-height: 1.8rem; margin-bottom: 0.8rem;
  font-size: 1.3rem;
}
.g5e1-content-block ul { padding-left: 1.5rem; margin-bottom: 0.8rem; }
.g5e1-content-block li {
  color: var(--g5e1-text-muted); line-height: 1.8rem; font-size: 1.3rem;
  position: relative; padding-left: 0.5rem;
}
.g5e1-content-block li::before {
  content: ''; position: absolute; left: -1rem; top: 0.8rem;
  width: 5px; height: 5px; border-radius: 50%; background: var(--g5e1-primary);
}
.g5e1-promo-text {
  color: var(--g5e1-pink-hot); font-weight: 700; cursor: pointer;
  transition: var(--g5e1-transition);
}
.g5e1-promo-text:hover { color: var(--g5e1-primary-light); text-decoration: underline; }

/* === CTA Button === */
.g5e1-cta-btn {
  display: inline-block;
  background: linear-gradient(135deg, var(--g5e1-primary), var(--g5e1-primary-light));
  color: var(--g5e1-white); font-size: 1.4rem; font-weight: 700;
  padding: 1rem 2.5rem; border-radius: 30px; border: none; cursor: pointer;
  text-align: center; transition: var(--g5e1-transition); text-transform: uppercase;
  box-shadow: 0 4px 15px rgba(199,21,133,0.4);
}
.g5e1-cta-btn:hover { transform: scale(1.05); box-shadow: 0 6px 20px rgba(199,21,133,0.6); }

/* === Testimonials === */
.g5e1-testimonials { display: flex; flex-direction: column; gap: 0.8rem; }
.g5e1-testimonial {
  background: var(--g5e1-bg); border-radius: var(--g5e1-radius-sm);
  padding: 1rem; border: 1px solid var(--g5e1-border);
}
.g5e1-testimonial-name { color: var(--g5e1-primary-light); font-weight: 600; font-size: 1.2rem; }
.g5e1-testimonial-text { color: var(--g5e1-text-muted); font-size: 1.2rem; margin-top: 0.3rem; font-style: italic; }
.g5e1-testimonial-stars { color: #FFD700; font-size: 1.1rem; margin-top: 0.2rem; }

/* === Winners Showcase === */
.g5e1-winners-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.6rem; }
.g5e1-winner {
  background: var(--g5e1-bg); padding: 0.8rem; border-radius: var(--g5e1-radius-sm);
  text-align: center; border: 1px solid var(--g5e1-border);
}
.g5e1-winner-game { color: var(--g5e1-accent-light); font-size: 1.1rem; font-weight: 600; }
.g5e1-winner-amount { color: #FFD700; font-size: 1.4rem; font-weight: 700; }
.g5e1-winner-name { color: var(--g5e1-text-muted); font-size: 1rem; }

/* === RTP Table === */
.g5e1-rtp-table { width: 100%; border-collapse: collapse; font-size: 1.2rem; }
.g5e1-rtp-table th {
  background: var(--g5e1-primary); color: var(--g5e1-white);
  padding: 0.6rem 0.4rem; text-align: left; font-size: 1.1rem;
}
.g5e1-rtp-table td {
  padding: 0.5rem 0.4rem; border-bottom: 1px solid var(--g5e1-border);
  color: var(--g5e1-text-muted);
}
.g5e1-rtp-table tr:hover { background: rgba(199,21,133,0.1); }
.g5e1-rtp-high { color: #4CAF50; font-weight: 700; }
.g5e1-rtp-med { color: #FF9800; font-weight: 600; }

/* === Payment Icons === */
.g5e1-payment-row { display: flex; flex-wrap: wrap; gap: 0.6rem; justify-content: center; padding: 1rem 0; }
.g5e1-payment-item {
  background: var(--g5e1-bg); padding: 0.5rem 1rem; border-radius: 20px;
  font-size: 1.1rem; color: var(--g5e1-text-muted); border: 1px solid var(--g5e1-border);
}

/* === Footer === */
.g5e1-footer {
  background: var(--g5e1-bg-light); padding: 2rem 1rem 1rem;
  border-top: 2px solid var(--g5e1-primary); margin-top: 2rem;
}
.g5e1-footer-brand { color: var(--g5e1-text-muted); font-size: 1.2rem; line-height: 1.8rem; margin-bottom: 1.5rem; }
.g5e1-footer-links { display: flex; flex-wrap: wrap; gap: 0.5rem; justify-content: center; margin-bottom: 1.5rem; }
.g5e1-footer-link {
  background: linear-gradient(135deg, var(--g5e1-primary-dark), var(--g5e1-primary));
  color: var(--g5e1-white); padding: 0.5rem 1rem; border-radius: 15px;
  font-size: 1.1rem; cursor: pointer; transition: var(--g5e1-transition); border: none;
}
.g5e1-footer-link:hover { background: linear-gradient(135deg, var(--g5e1-primary), var(--g5e1-primary-light)); }
.g5e1-footer-copy {
  text-align: center; color: var(--g5e1-border); font-size: 1rem;
  border-top: 1px solid var(--g5e1-border); padding-top: 1rem;
}

/* === Bottom Navigation (Mobile) === */
.g5e1-bottom-nav {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 1000;
  background: linear-gradient(180deg, #1a1a2e 0%, #0d0d1a 100%);
  border-top: 1.5px solid var(--g5e1-primary);
  max-width: 430px; margin: 0 auto;
  display: flex; justify-content: space-around; align-items: center;
  height: 60px; padding: 0 0.3rem;
}
.g5e1-bottom-btn {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  min-width: 60px; min-height: 50px; background: none; border: none;
  color: var(--g5e1-text-muted); cursor: pointer; transition: var(--g5e1-transition);
  padding: 0.3rem; border-radius: 8px; gap: 0.2rem;
}
.g5e1-bottom-btn:hover, .g5e1-bottom-btn:focus { color: var(--g5e1-primary-light); background: rgba(199,21,133,0.1); }
.g5e1-bottom-btn.active { color: var(--g5e1-primary-light); }
.g5e1-bottom-btn.active::after {
  content: ''; display: block; width: 4px; height: 4px;
  border-radius: 50%; background: var(--g5e1-primary);
  margin-top: -0.1rem;
}
.g5e1-bottom-icon { font-size: 22px; line-height: 1; }
.g5e1-bottom-label { font-size: 10px; line-height: 1.2; }

/* === Category Highlights === */
.g5e1-cat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.8rem; }
.g5e1-cat-card {
  background: linear-gradient(135deg, var(--g5e1-bg) 0%, var(--g5e1-bg-card) 100%);
  padding: 1.2rem; border-radius: var(--g5e1-radius); text-align: center;
  border: 1px solid var(--g5e1-border); cursor: pointer;
  transition: var(--g5e1-transition);
}
.g5e1-cat-card:hover { border-color: var(--g5e1-primary); transform: scale(1.02); }
.g5e1-cat-card .material-symbols-outlined { font-size: 2.8rem; color: var(--g5e1-primary-light); }
.g5e1-cat-card h3 { color: var(--g5e1-white); font-size: 1.3rem; margin-top: 0.5rem; }
.g5e1-cat-card p { color: var(--g5e1-text-muted); font-size: 1.1rem; margin-top: 0.3rem; }

/* === App Download CTA === */
.g5e1-app-cta {
  background: linear-gradient(135deg, var(--g5e1-primary-dark) 0%, var(--g5e1-accent) 100%);
  padding: 2rem 1.5rem; text-align: center; border-radius: var(--g5e1-radius);
  margin: 1rem;
}
.g5e1-app-cta h2 { color: var(--g5e1-white); font-size: 2rem; margin-bottom: 0.5rem; }
.g5e1-app-cta p { color: var(--g5e1-pink); font-size: 1.3rem; margin-bottom: 1.5rem; }

/* === Help Pages === */
.g5e1-help-section { padding: 0.5rem 0; }
.g5e1-help-card {
  background: var(--g5e1-bg-card); margin: 0.8rem 1rem; padding: 1.2rem;
  border-radius: var(--g5e1-radius); border-left: 3px solid var(--g5e1-accent);
}
.g5e1-help-card h3 { color: var(--g5e1-accent-light); font-size: 1.4rem; margin-bottom: 0.5rem; }
.g5e1-help-card p { color: var(--g5e1-text-muted); font-size: 1.2rem; line-height: 1.7rem; }
.g5e1-faq-item { margin-bottom: 0.8rem; }
.g5e1-faq-q {
  color: var(--g5e1-primary-light); font-weight: 600; font-size: 1.3rem;
  margin-bottom: 0.3rem; display: flex; align-items: flex-start; gap: 0.5rem;
}
.g5e1-faq-a { color: var(--g5e1-text-muted); font-size: 1.2rem; line-height: 1.7rem; padding-left: 1.8rem; }

/* === Internal Links === */
.g5e1-internal-link {
  color: var(--g5e1-accent-light); text-decoration: underline;
  font-weight: 500;
}
.g5e1-internal-link:hover { color: var(--g5e1-primary-light); }

/* === Responsive === */
@media (min-width: 769px) {
  .g5e1-bottom-nav { display: none; }
  .g5e1-menu-toggle { display: none; }
}
@media (max-width: 768px) {
  main { padding-bottom: 80px; }
}
