/**
 * Playtime Apps - Layout Stylesheet
 * File: css/layout-a3c4.css
 * Prefix: pga3-
 * Palette: #FF69B4 | #FFB6C1 | #0F0F23 | #2C3E50 | #FF0000 | #EEEEEE
 */
:root {
  --pga3-primary: #FF69B4;
  --pga3-secondary: #FFB6C1;
  --pga3-bg-dark: #0F0F23;
  --pga3-bg-mid: #2C3E50;
  --pga3-accent: #FF0000;
  --pga3-text-light: #EEEEEE;
  --pga3-text-muted: #c0c0c0;
  --pga3-radius: 8px;
  --pga3-radius-lg: 14px;
  --pga3-shadow: 0 4px 16px rgba(0,0,0,0.35);
  --pga3-transition: all 0.3s ease;
  font-size: 62.5%;
}
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: var(--pga3-bg-dark); color: var(--pga3-text-light);
  line-height: 1.5rem; font-size: 1.6rem; overflow-x: hidden;
  max-width: 430px; margin: 0 auto;
}
a { color: var(--pga3-primary); text-decoration: none; transition: var(--pga3-transition); }
a:hover { color: var(--pga3-secondary); }
img { max-width: 100%; height: auto; display: block; }

/* HEADER */
.pga3-header {
  position: fixed; top: 0; left: 50%; transform: translateX(-50%);
  width: 100%; max-width: 430px; z-index: 1000;
  background: linear-gradient(135deg, var(--pga3-bg-dark), var(--pga3-bg-mid));
  padding: 0 1.2rem; height: 56px; display: flex; align-items: center;
  justify-content: space-between; border-bottom: 2px solid var(--pga3-primary);
  transition: var(--pga3-transition);
}
.pga3-header-scrolled { box-shadow: var(--pga3-shadow); background: rgba(15,15,35,0.96); }
.pga3-header-left { display: flex; align-items: center; gap: 0.8rem; }
.pga3-header-logo { width: 32px; height: 32px; border-radius: 6px; object-fit: contain; }
.pga3-header-brand { font-size: 1.8rem; font-weight: 700; color: var(--pga3-primary); letter-spacing: -0.5px; }
.pga3-header-right { display: flex; align-items: center; gap: 0.6rem; }
.pga3-btn-register {
  background: linear-gradient(135deg, var(--pga3-primary), #ff85c8); color: #fff;
  border: none; padding: 0.6rem 1.2rem; border-radius: var(--pga3-radius);
  font-size: 1.3rem; font-weight: 700; cursor: pointer; transition: var(--pga3-transition); min-height: 36px;
}
.pga3-btn-register:hover { transform: scale(1.05); box-shadow: 0 0 12px rgba(255,105,180,0.5); }
.pga3-btn-login {
  background: transparent; color: var(--pga3-primary); border: 2px solid var(--pga3-primary);
  padding: 0.55rem 1.1rem; border-radius: var(--pga3-radius);
  font-size: 1.3rem; font-weight: 700; cursor: pointer; transition: var(--pga3-transition); min-height: 36px;
}
.pga3-btn-login:hover { background: rgba(255,105,180,0.15); }
.pga3-menu-toggle { background: none; border: none; color: var(--pga3-primary); font-size: 2.4rem; cursor: pointer; padding: 4px; display: flex; align-items: center; }

/* MOBILE MENU */
.pga3-mobile-menu {
  position: fixed; top: 0; right: -280px; width: 280px; height: 100vh;
  background: linear-gradient(180deg, var(--pga3-bg-dark), #1a1a3e);
  z-index: 9999; transition: right 0.35s cubic-bezier(0.4,0,0.2,1); padding: 2rem 1.5rem; overflow-y: auto;
}
.pga3-menu-active { right: 0 !important; }
.pga3-menu-overlay {
  position: fixed; top: 0; left: 0; width: 100%; height: 100vh;
  background: rgba(0,0,0,0.6); z-index: 9998; opacity: 0;
  pointer-events: none; transition: opacity 0.3s ease;
}
.pga3-overlay-active { opacity: 1; pointer-events: auto; }
.pga3-menu-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 2rem; padding-bottom: 1rem; border-bottom: 1px solid rgba(255,105,180,0.3); }
.pga3-menu-title { font-size: 1.8rem; color: var(--pga3-primary); font-weight: 700; }
.pga3-menu-close { background: none; border: none; color: var(--pga3-text-light); font-size: 2.4rem; cursor: pointer; }
.pga3-menu-links { list-style: none; }
.pga3-menu-links li { margin-bottom: 0.5rem; }
.pga3-menu-links a {
  display: flex; align-items: center; gap: 1rem; padding: 1rem;
  color: var(--pga3-text-light); font-size: 1.5rem; border-radius: var(--pga3-radius); transition: var(--pga3-transition);
}
.pga3-menu-links a:hover { background: rgba(255,105,180,0.15); color: var(--pga3-primary); }
.pga3-menu-links .material-icons, .pga3-menu-links .fas, .pga3-menu-links .bi { font-size: 2rem; color: var(--pga3-primary); }

/* MAIN CONTENT */
.pga3-main { padding-top: 56px; min-height: 100vh; }
@media (max-width: 768px) { .pga3-main { padding-bottom: 80px; } }
.pga3-container { width: 100%; max-width: 430px; margin: 0 auto; padding: 0 1rem; }

/* CAROUSEL */
.pga3-carousel { position: relative; width: 100%; overflow: hidden; border-radius: var(--pga3-radius-lg); margin-top: 0.8rem; }
.pga3-carousel-track { position: relative; width: 100%; aspect-ratio: 16/7; }
.pga3-carousel-slide { position: absolute; top: 0; left: 0; width: 100%; height: 100%; opacity: 0; transition: opacity 0.5s ease; cursor: pointer; }
.pga3-slide-active { opacity: 1; }
.pga3-carousel-slide img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--pga3-radius-lg); }
.pga3-carousel-dots { position: absolute; bottom: 8px; left: 50%; transform: translateX(-50%); display: flex; gap: 6px; z-index: 5; }
.pga3-carousel-dot { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,0.4); cursor: pointer; transition: var(--pga3-transition); border: none; }
.pga3-dot-active { background: var(--pga3-primary); transform: scale(1.3); }

/* SECTIONS */
.pga3-section { padding: 2rem 0; }
.pga3-section-title {
  font-size: 2rem; font-weight: 700; color: var(--pga3-primary); margin-bottom: 1.2rem;
  padding-bottom: 0.6rem; border-bottom: 2px solid rgba(255,105,180,0.3);
  display: flex; align-items: center; gap: 0.6rem;
}
.pga3-section-title .fas, .pga3-section-title .material-icons { font-size: 2.2rem; }

/* GAME GRID */
.pga3-game-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.8rem; }
.pga3-game-card {
  background: linear-gradient(145deg, rgba(44,62,80,0.7), rgba(15,15,35,0.9));
  border-radius: var(--pga3-radius); padding: 0.6rem; text-align: center;
  cursor: pointer; transition: var(--pga3-transition); border: 1px solid rgba(255,105,180,0.15);
}
.pga3-game-card:hover { transform: translateY(-3px); border-color: var(--pga3-primary); box-shadow: 0 4px 12px rgba(255,105,180,0.2); }
.pga3-game-card img { width: 56px; height: 56px; margin: 0 auto 0.4rem; border-radius: 10px; object-fit: cover; }
.pga3-game-card span { display: block; font-size: 1.1rem; color: var(--pga3-text-light); line-height: 1.3rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* CATEGORY HEADER */
.pga3-cat-header { display: flex; align-items: center; gap: 0.6rem; margin: 1.5rem 0 1rem; font-size: 1.7rem; font-weight: 700; color: var(--pga3-secondary); }
.pga3-cat-header .fas, .pga3-cat-header .material-icons { font-size: 1.9rem; color: var(--pga3-primary); }

/* CONTENT BLOCKS */
.pga3-content-block {
  background: linear-gradient(145deg, rgba(44,62,80,0.5), rgba(15,15,35,0.8));
  border-radius: var(--pga3-radius-lg); padding: 1.5rem; margin-bottom: 1.2rem; border: 1px solid rgba(255,105,180,0.1);
}
.pga3-content-block h3 { font-size: 1.6rem; color: var(--pga3-primary); margin-bottom: 0.8rem; }
.pga3-content-block p { color: var(--pga3-text-muted); font-size: 1.4rem; line-height: 1.6; margin-bottom: 0.8rem; }
.pga3-content-block ul { list-style: none; padding: 0; }
.pga3-content-block li {
  padding: 0.6rem 0; border-bottom: 1px solid rgba(255,255,255,0.05);
  font-size: 1.4rem; color: var(--pga3-text-muted); display: flex; align-items: flex-start; gap: 0.6rem;
}
.pga3-content-block li:last-child { border-bottom: none; }

/* CTA BUTTONS */
.pga3-cta-btn {
  display: inline-block; background: linear-gradient(135deg, var(--pga3-primary), #ff85c8);
  color: #fff; font-size: 1.5rem; font-weight: 700; padding: 1rem 2rem; border-radius: 50px;
  text-align: center; cursor: pointer; transition: var(--pga3-transition); border: none; width: 100%; margin: 0.5rem 0;
}
.pga3-cta-btn:hover { transform: scale(1.02); box-shadow: 0 4px 20px rgba(255,105,180,0.4); }
.pga3-cta-outline { background: transparent; border: 2px solid var(--pga3-primary); color: var(--pga3-primary); }
.pga3-cta-outline:hover { background: rgba(255,105,180,0.15); }
.pga3-promo-link { color: var(--pga3-primary); font-weight: 700; cursor: pointer; text-decoration: underline; transition: var(--pga3-transition); }
.pga3-promo-link:hover { color: var(--pga3-secondary); }

/* FOOTER */
.pga3-footer {
  background: linear-gradient(180deg, var(--pga3-bg-mid), var(--pga3-bg-dark));
  padding: 2rem 1rem 1.5rem; margin-top: 2rem; border-top: 2px solid var(--pga3-primary);
}
.pga3-footer-brand { text-align: center; margin-bottom: 1.5rem; }
.pga3-footer-brand h3 { font-size: 1.8rem; color: var(--pga3-primary); margin-bottom: 0.5rem; }
.pga3-footer-brand p { font-size: 1.3rem; color: var(--pga3-text-muted); line-height: 1.5; }
.pga3-footer-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.8rem; margin-bottom: 1.5rem; }
.pga3-footer-links a {
  background: rgba(255,105,180,0.12); color: var(--pga3-text-light); padding: 0.5rem 1rem;
  border-radius: 20px; font-size: 1.2rem; transition: var(--pga3-transition);
}
.pga3-footer-links a:hover { background: var(--pga3-primary); color: #fff; }
.pga3-footer-copy { text-align: center; font-size: 1.2rem; color: var(--pga3-text-muted); padding-top: 1rem; border-top: 1px solid rgba(255,255,255,0.08); }

/* BOTTOM NAV */
.pga3-bottom-nav {
  position: fixed; bottom: 0; left: 50%; transform: translateX(-50%);
  width: 100%; max-width: 430px; height: 62px;
  background: linear-gradient(135deg, var(--pga3-bg-dark), #1a1a3e);
  display: flex; justify-content: space-around; align-items: center;
  z-index: 1000; border-top: 2px solid var(--pga3-primary); box-shadow: 0 -4px 16px rgba(0,0,0,0.4);
}
.pga3-bottom-btn {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 2px; min-width: 60px; min-height: 56px; background: none; border: none;
  cursor: pointer; transition: var(--pga3-transition); color: var(--pga3-text-muted); padding: 0.3rem; position: relative;
}
.pga3-bottom-btn:hover, .pga3-bottom-btn:focus { color: var(--pga3-primary); transform: scale(1.08); }
.pga3-bottom-btn .fas, .pga3-bottom-btn .material-icons, .pga3-bottom-btn ion-icon, .pga3-bottom-btn .bi { font-size: 22px; }
.pga3-bottom-btn span { font-size: 1rem; line-height: 1.2rem; }
.pga3-bottom-btn.pga3-active { color: var(--pga3-primary); }
.pga3-bottom-btn.pga3-active::after { content: ''; position: absolute; top: -2px; left: 25%; right: 25%; height: 3px; background: var(--pga3-primary); border-radius: 0 0 3px 3px; }

/* HIGHLIGHT BOX & STATS */
.pga3-highlight-box {
  background: linear-gradient(135deg, rgba(255,105,180,0.15), rgba(255,0,0,0.1));
  border: 1px solid var(--pga3-primary); border-radius: var(--pga3-radius-lg); padding: 1.2rem; margin: 1rem 0; text-align: center;
}
.pga3-highlight-box p { font-size: 1.4rem; color: var(--pga3-text-light); }
.pga3-stats-row { display: flex; justify-content: space-around; gap: 0.5rem; margin: 1rem 0; }
.pga3-stat-item { text-align: center; flex: 1; }
.pga3-stat-value { font-size: 2rem; font-weight: 700; color: var(--pga3-primary); }
.pga3-stat-label { font-size: 1.1rem; color: var(--pga3-text-muted); }

/* WINNERS & FAQ */
.pga3-winner-row { display: flex; align-items: center; gap: 1rem; padding: 0.8rem 0; border-bottom: 1px solid rgba(255,255,255,0.05); }
.pga3-winner-row img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; }
.pga3-winner-info { flex: 1; }
.pga3-winner-name { font-size: 1.3rem; color: var(--pga3-text-light); font-weight: 600; }
.pga3-winner-amount { font-size: 1.2rem; color: var(--pga3-primary); font-weight: 700; }
.pga3-faq-item { border: 1px solid rgba(255,105,180,0.15); border-radius: var(--pga3-radius); margin-bottom: 0.6rem; overflow: hidden; }
.pga3-faq-q { padding: 1rem 1.2rem; background: rgba(44,62,80,0.4); font-weight: 600; font-size: 1.4rem; color: var(--pga3-text-light); cursor: pointer; }
.pga3-faq-a { padding: 0.8rem 1.2rem; font-size: 1.3rem; color: var(--pga3-text-muted); line-height: 1.5; }

/* PAYMENT & TESTIMONIAL */
.pga3-payment-row { display: flex; justify-content: center; gap: 1rem; flex-wrap: wrap; margin: 1rem 0; }
.pga3-payment-icon { background: rgba(255,255,255,0.08); border-radius: var(--pga3-radius); padding: 0.6rem 1rem; font-size: 1.2rem; color: var(--pga3-text-muted); border: 1px solid rgba(255,255,255,0.1); }
.pga3-testimonial { background: linear-gradient(145deg, rgba(44,62,80,0.5), rgba(15,15,35,0.7)); border-radius: var(--pga3-radius); padding: 1rem 1.2rem; margin-bottom: 0.8rem; border-left: 3px solid var(--pga3-primary); }
.pga3-testimonial-text { font-size: 1.3rem; color: var(--pga3-text-muted); font-style: italic; margin-bottom: 0.5rem; }
.pga3-testimonial-author { font-size: 1.2rem; color: var(--pga3-primary); font-weight: 600; }

/* UTILITIES & RESPONSIVE */
.pga3-text-center { text-align: center; }
.pga3-hidden { display: none !important; }
@media (min-width: 769px) { .pga3-bottom-nav { display: none; } body { max-width: 430px; } }
@media (max-width: 768px) { .pga3-main { padding-bottom: 80px; } }
