/**
 * niceph21.click - Main Stylesheet
 * Prefix: pg43-
 * Colors: #DC143C (Crimson), #141414 (Dark), #FF1493 (Deep Pink)
 */

:root {
  --pg43-primary: #DC143C;
  --pg43-secondary: #FF1493;
  --pg43-bg: #141414;
  --pg43-bg-light: #1e1e1e;
  --pg43-bg-card: #252525;
  --pg43-text: #f0f0f0;
  --pg43-text-muted: #a0a0a0;
  --pg43-accent: #FFD700;
  --pg43-border: #333333;
  --pg43-gradient: linear-gradient(135deg, #DC143C 0%, #FF1493 100%);
  --pg43-radius: 8px;
  --pg43-radius-lg: 12px;
  --pg43-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
  --pg43-transition: all 0.3s ease;
}

/* Reset & Base */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 62.5%; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  background: var(--pg43-bg);
  color: var(--pg43-text);
  line-height: 1.5rem;
  min-height: 100vh;
  overflow-x: hidden;
}
a { color: var(--pg43-secondary); text-decoration: none; transition: var(--pg43-transition); }
a:hover { color: var(--pg43-accent); }
img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }

/* Container */
.pg43-container { max-width: 430px; margin: 0 auto; padding: 0 1.2rem; width: 100%; }

/* Header */
.pg43-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: linear-gradient(180deg, #1a1a1a 0%, #141414 100%);
  border-bottom: 1px solid var(--pg43-border);
  height: 5.4rem;
}
.pg43-header-inner {
  display: flex; align-items: center; justify-content: space-between;
  max-width: 430px; margin: 0 auto; padding: 0 1rem; height: 100%;
}
.pg43-logo { display: flex; align-items: center; gap: 0.6rem; cursor: pointer; }
.pg43-logo img { width: 28px; height: 28px; border-radius: 6px; }
.pg43-logo span { font-size: 1.6rem; font-weight: 700; color: var(--pg43-primary); letter-spacing: 0.5px; }
.pg43-header-actions { display: flex; align-items: center; gap: 0.6rem; }
.pg43-btn-register, .pg43-btn-login {
  padding: 0.5rem 1.2rem; border-radius: 20px; font-size: 1.2rem;
  font-weight: 600; cursor: pointer; border: none; transition: var(--pg43-transition);
}
.pg43-btn-register {
  background: var(--pg43-gradient); color: #fff;
  box-shadow: 0 2px 8px rgba(220, 20, 60, 0.4);
}
.pg43-btn-register:hover { transform: scale(1.05); box-shadow: 0 4px 16px rgba(220, 20, 60, 0.6); }
.pg43-btn-login {
  background: transparent; color: var(--pg43-secondary);
  border: 1.5px solid var(--pg43-secondary);
}
.pg43-btn-login:hover { background: rgba(255, 20, 147, 0.1); }
.pg43-menu-btn {
  background: none; border: none; color: var(--pg43-text);
  font-size: 2rem; cursor: pointer; padding: 0.4rem; line-height: 1;
}

/* Mobile Menu Overlay */
.pg43-menu-overlay {
  display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0, 0, 0, 0.7); z-index: 9998;
}
.pg43-overlay-active { display: block; }

/* Mobile Menu Panel */
.pg43-mobile-menu {
  position: fixed; top: 0; right: -280px; width: 280px; height: 100%;
  background: var(--pg43-bg-light); z-index: 9999; transition: right 0.3s ease;
  overflow-y: auto; padding: 2rem 1.5rem;
}
.pg43-menu-active { right: 0; }
.pg43-menu-close {
  background: none; border: none; color: var(--pg43-text);
  font-size: 2.4rem; position: absolute; top: 1rem; right: 1.5rem; cursor: pointer;
}
.pg43-menu-links { margin-top: 3rem; display: flex; flex-direction: column; gap: 0.3rem; }
.pg43-menu-link {
  display: flex; align-items: center; gap: 1rem; padding: 1.2rem 1rem;
  color: var(--pg43-text); font-size: 1.4rem; border-radius: var(--pg43-radius);
  transition: var(--pg43-transition); cursor: pointer;
}
.pg43-menu-link:hover { background: var(--pg43-bg-card); color: var(--pg43-primary); }
.pg43-menu-link i, .pg43-menu-link .material-icons { font-size: 2rem; }

/* Main Content */
main { padding-top: 5.4rem; }
@media (max-width: 768px) { main { padding-bottom: 72px; } }

/* Carousel */
.pg43-carousel { position: relative; overflow: hidden; border-radius: var(--pg43-radius-lg); margin: 1rem 0; }
.pg43-carousel-slide {
  display: none; width: 100%; cursor: pointer; border-radius: var(--pg43-radius-lg);
  overflow: hidden;
}
.pg43-slide-active { display: block; }
.pg43-carousel-slide img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.pg43-carousel-dots {
  position: absolute; bottom: 1rem; left: 50%; transform: translateX(-50%);
  display: flex; gap: 0.6rem;
}
.pg43-carousel-dot {
  width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,0.4);
  cursor: pointer; transition: var(--pg43-transition);
}
.pg43-dot-active { background: var(--pg43-primary); transform: scale(1.3); }

/* Section Titles */
.pg43-section-title {
  font-size: 1.8rem; font-weight: 700; margin: 2rem 0 1rem; padding-left: 1rem;
  border-left: 3px solid var(--pg43-primary); color: var(--pg43-text);
}
.pg43-section-subtitle { font-size: 1.3rem; color: var(--pg43-text-muted); margin-bottom: 1.2rem; }

/* Game Grid */
.pg43-game-section { margin-bottom: 2rem; }
.pg43-game-section h2 {
  font-size: 1.6rem; font-weight: 700; margin-bottom: 1rem; padding: 0.5rem 0;
  border-bottom: 2px solid var(--pg43-primary); display: inline-block; color: var(--pg43-primary);
}
.pg43-game-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.8rem;
}
.pg43-game-item {
  display: flex; flex-direction: column; align-items: center; cursor: pointer;
  padding: 0.6rem; border-radius: var(--pg43-radius); transition: var(--pg43-transition);
  background: var(--pg43-bg-card);
}
.pg43-game-item:hover { background: var(--pg43-bg-light); transform: translateY(-2px); }
.pg43-game-item img {
  width: 100%; aspect-ratio: 1; border-radius: 10px;
  border: 2px solid transparent; transition: var(--pg43-transition);
}
.pg43-game-item:hover img { border-color: var(--pg43-secondary); }
.pg43-game-item span {
  font-size: 1rem; color: var(--pg43-text-muted); margin-top: 0.4rem;
  text-align: center; line-height: 1.2rem; max-width: 100%;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}

/* Content Sections */
.pg43-content-section {
  background: var(--pg43-bg-card); border-radius: var(--pg43-radius-lg);
  padding: 1.5rem; margin: 1.5rem 0; border: 1px solid var(--pg43-border);
}
.pg43-content-section h2 {
  font-size: 1.6rem; font-weight: 700; color: var(--pg43-primary); margin-bottom: 1rem;
}
.pg43-content-section h3 {
  font-size: 1.4rem; font-weight: 600; color: var(--pg43-secondary); margin: 1rem 0 0.5rem;
}
.pg43-content-section p {
  font-size: 1.3rem; line-height: 1.8rem; color: var(--pg43-text-muted); margin-bottom: 0.8rem;
}
.pg43-content-section ul { padding-left: 1.5rem; }
.pg43-content-section li {
  font-size: 1.3rem; line-height: 1.8rem; color: var(--pg43-text-muted);
  list-style: disc; margin-bottom: 0.4rem;
}

/* Promo Button */
.pg43-promo-btn {
  display: inline-block; padding: 1rem 2rem; border-radius: 25px;
  background: var(--pg43-gradient); color: #fff; font-size: 1.4rem;
  font-weight: 700; text-align: center; cursor: pointer; border: none;
  transition: var(--pg43-transition); box-shadow: 0 3px 12px rgba(220, 20, 60, 0.4);
  text-decoration: none;
}
.pg43-promo-btn:hover { transform: scale(1.05); box-shadow: 0 5px 20px rgba(220, 20, 60, 0.6); color: #fff; }

/* Promo Text Link */
.pg43-promo-link {
  color: var(--pg43-secondary); font-weight: 700; cursor: pointer;
  text-decoration: underline; transition: var(--pg43-transition);
}
.pg43-promo-link:hover { color: var(--pg43-accent); }

/* CTA Section */
.pg43-cta {
  background: var(--pg43-gradient); border-radius: var(--pg43-radius-lg);
  padding: 2rem; text-align: center; margin: 2rem 0;
}
.pg43-cta h2 { font-size: 2rem; color: #fff; margin-bottom: 0.8rem; }
.pg43-cta p { font-size: 1.3rem; color: rgba(255,255,255,0.9); margin-bottom: 1.5rem; }
.pg43-cta .pg43-promo-btn {
  background: #fff; color: var(--pg43-primary);
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.3);
}

/* Testimonial */
.pg43-testimonial {
  background: var(--pg43-bg-card); border-radius: var(--pg43-radius-lg);
  padding: 1.2rem; margin: 0.8rem 0; border-left: 3px solid var(--pg43-secondary);
}
.pg43-testimonial p { font-size: 1.2rem; color: var(--pg43-text-muted); font-style: italic; line-height: 1.6rem; }
.pg43-testimonial strong { color: var(--pg43-accent); font-style: normal; }

/* Payment Methods */
.pg43-payment-grid {
  display: flex; flex-wrap: wrap; gap: 0.8rem; justify-content: center; margin: 1rem 0;
}
.pg43-payment-item {
  background: var(--pg43-bg-light); border: 1px solid var(--pg43-border);
  border-radius: var(--pg43-radius); padding: 0.8rem 1.2rem;
  font-size: 1.2rem; color: var(--pg43-text-muted); text-align: center;
}

/* Winners */
.pg43-winner-list { display: flex; flex-direction: column; gap: 0.6rem; }
.pg43-winner-item {
  display: flex; justify-content: space-between; align-items: center;
  background: var(--pg43-bg-light); padding: 0.8rem 1rem; border-radius: var(--pg43-radius);
  font-size: 1.2rem;
}
.pg43-winner-name { color: var(--pg43-text); }
.pg43-winner-amount { color: var(--pg43-accent); font-weight: 700; }
.pg43-winner-game { color: var(--pg43-text-muted); font-size: 1.1rem; }

/* Footer */
.pg43-footer {
  background: var(--pg43-bg-light); border-top: 1px solid var(--pg43-border);
  padding: 2rem 0 1rem; margin-top: 2rem;
}
.pg43-footer-brand { text-align: center; margin-bottom: 1.5rem; }
.pg43-footer-brand p { font-size: 1.2rem; color: var(--pg43-text-muted); line-height: 1.6rem; max-width: 360px; margin: 0 auto; }
.pg43-footer-links {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 0.8rem; margin-bottom: 1.5rem;
}
.pg43-footer-link {
  padding: 0.6rem 1.2rem; background: var(--pg43-bg-card); border: 1px solid var(--pg43-border);
  border-radius: 20px; font-size: 1.1rem; color: var(--pg43-text-muted); transition: var(--pg43-transition);
}
.pg43-footer-link:hover { border-color: var(--pg43-primary); color: var(--pg43-primary); }
.pg43-footer-promos {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 0.6rem; margin-bottom: 1.5rem;
}
.pg43-footer-promo-btn {
  padding: 0.7rem 1.5rem; background: var(--pg43-gradient); color: #fff;
  border-radius: 20px; font-size: 1.1rem; font-weight: 600; cursor: pointer; border: none;
}
.pg43-footer-copyright { text-align: center; font-size: 1.1rem; color: var(--pg43-text-muted); padding-bottom: 1rem; }

/* Bottom Navigation */
.pg43-bottom-nav {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 1000;
  background: linear-gradient(180deg, #1e1e1e 0%, #141414 100%);
  border-top: 1px solid var(--pg43-border);
  display: none; height: 60px;
  padding-bottom: env(safe-area-inset-bottom);
}
.pg43-bottom-nav-inner {
  display: flex; justify-content: space-around; align-items: center;
  height: 100%; max-width: 430px; margin: 0 auto;
}
.pg43-nav-btn {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  min-width: 60px; min-height: 54px; background: none; border: none;
  color: var(--pg43-text-muted); cursor: pointer; transition: var(--pg43-transition);
  padding: 0.3rem; gap: 0.2rem;
}
.pg43-nav-btn:hover, .pg43-nav-btn:focus { color: var(--pg43-primary); transform: scale(1.1); }
.pg43-nav-btn.active { color: var(--pg43-primary); }
.pg43-nav-btn i, .pg43-nav-btn .material-icons, .pg43-nav-btn ion-icon, .pg43-nav-btn bi {
  font-size: 22px;
}
.pg43-nav-btn span { font-size: 1rem; line-height: 1.2rem; }

/* Show bottom nav only on mobile */
@media (max-width: 768px) { .pg43-bottom-nav { display: block; } }

/* FAQ Accordion */
.pg43-faq-item { margin-bottom: 0.8rem; border-radius: var(--pg43-radius); overflow: hidden; }
.pg43-faq-q {
  background: var(--pg43-bg-card); padding: 1rem 1.2rem; font-size: 1.3rem;
  font-weight: 600; color: var(--pg43-text); cursor: pointer; border: 1px solid var(--pg43-border);
  border-radius: var(--pg43-radius);
}
.pg43-faq-a {
  background: var(--pg43-bg-light); padding: 1rem 1.2rem; font-size: 1.2rem;
  color: var(--pg43-text-muted); line-height: 1.6rem; border: 1px solid var(--pg43-border);
  border-top: none; border-radius: 0 0 var(--pg43-radius) var(--pg43-radius);
}

/* Achievement Cards */
.pg43-achievement-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.8rem; }
.pg43-achievement-card {
  background: var(--pg43-bg-card); border-radius: var(--pg43-radius);
  padding: 1rem; text-align: center; border: 1px solid var(--pg43-border);
}
.pg43-achievement-card .material-icons { font-size: 2.4rem; color: var(--pg43-accent); margin-bottom: 0.4rem; }
.pg43-achievement-card h4 { font-size: 1.1rem; color: var(--pg43-text); margin-bottom: 0.3rem; }
.pg43-achievement-card p { font-size: 1rem; color: var(--pg43-text-muted); }

/* Responsive Tweaks */
@media (max-width: 360px) {
  .pg43-game-grid { grid-template-columns: repeat(3, 1fr); gap: 0.6rem; }
  .pg43-achievement-grid { grid-template-columns: 1fr; }
}
@media (min-width: 769px) {
  .pg43-bottom-nav { display: none; }
}
