/**
 * playtime apps - Theme Stylesheet
 * All classes use prefix "pgb7-" for namespace isolation
 * Color palette: #40E0D0 | #FFB6C1 | #D3D3D3 | #2C2C2C | #DC143C | #AFEEEE
 * @version 1.0.0
 */

/* CSS Variables */
:root {
  --pgb7-primary: #40E0D0;
  --pgb7-secondary: #FFB6C1;
  --pgb7-accent: #DC143C;
  --pgb7-bg: #2C2C2C;
  --pgb7-bg-light: #3a3a3a;
  --pgb7-text: #D3D3D3;
  --pgb7-text-bright: #ffffff;
  --pgb7-highlight: #AFEEEE;
  --pgb7-border: #4a4a4a;
  --pgb7-card-bg: #353535;
  --pgb7-font-base: 62.5%;
}

/* Reset & Base */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: var(--pgb7-font-base); scroll-behavior: smooth; }
body {
  font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, Roboto, sans-serif;
  background-color: var(--pgb7-bg);
  color: var(--pgb7-text);
  line-height: 1.5rem;
  font-size: 1.4rem;
  overflow-x: hidden;
  max-width: 430px;
  margin: 0 auto;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--pgb7-primary); text-decoration: none; }
a:hover { color: var(--pgb7-secondary); }

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

/* Header */
.pgb7-header {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 1000;
  background: linear-gradient(135deg, #1a1a1a 0%, #2C2C2C 100%);
  border-bottom: 2px solid var(--pgb7-primary);
  max-width: 430px; margin: 0 auto;
  padding: 0.8rem 1rem;
  display: flex; align-items: center; justify-content: space-between;
}
.pgb7-header-left { display: flex; align-items: center; gap: 0.6rem; }
.pgb7-logo { width: 28px; height: 28px; border-radius: 4px; }
.pgb7-site-name { color: var(--pgb7-primary); font-size: 1.4rem; font-weight: 700; white-space: nowrap; }
.pgb7-header-right { display: flex; align-items: center; gap: 0.5rem; }
.pgb7-btn-register {
  background: var(--pgb7-accent); color: #fff; border: none;
  padding: 0.5rem 1rem; border-radius: 6px; font-size: 1.2rem;
  font-weight: 700; cursor: pointer; transition: all 0.2s;
}
.pgb7-btn-register:hover { background: #e8153f; transform: scale(1.05); }
.pgb7-btn-login {
  background: transparent; color: var(--pgb7-primary); border: 1px solid var(--pgb7-primary);
  padding: 0.5rem 1rem; border-radius: 6px; font-size: 1.2rem;
  font-weight: 600; cursor: pointer; transition: all 0.2s;
}
.pgb7-btn-login:hover { background: var(--pgb7-primary); color: var(--pgb7-bg); }
.pgb7-menu-toggle {
  background: none; border: none; color: var(--pgb7-primary);
  font-size: 2rem; cursor: pointer; padding: 0.2rem 0.4rem;
  display: flex; align-items: center;
}

/* Mobile Menu Overlay */
.pgb7-menu-overlay {
  position: fixed; inset: 0; z-index: 9998;
  background: rgba(0,0,0,0.7); opacity: 0;
  pointer-events: none; transition: opacity 0.3s;
}
.pgb7-overlay-active { opacity: 1; pointer-events: all; }

/* Mobile Menu Panel */
.pgb7-mobile-menu {
  position: fixed; top: 0; right: -260px; z-index: 9999;
  width: 260px; height: 100vh;
  background: linear-gradient(180deg, #1a1a1a, #2C2C2C);
  transition: right 0.3s ease; overflow-y: auto;
  padding: 2rem 1.5rem;
}
.pgb7-menu-active { right: 0; }
.pgb7-menu-close {
  background: none; border: none; color: var(--pgb7-primary);
  font-size: 2.4rem; cursor: pointer; position: absolute;
  top: 1rem; right: 1rem;
}
.pgb7-menu-links { list-style: none; margin-top: 3rem; }
.pgb7-menu-links li { margin-bottom: 0.8rem; }
.pgb7-menu-links a {
  color: var(--pgb7-text-bright); font-size: 1.4rem;
  display: block; padding: 0.8rem 0; border-bottom: 1px solid var(--pgb7-border);
  transition: color 0.2s;
}
.pgb7-menu-links a:hover { color: var(--pgb7-primary); }

/* Main content offset for fixed header */
main { padding-top: 5.6rem; }

/* Carousel */
.pgb7-carousel {
  position: relative; width: 100%; overflow: hidden;
  border-radius: 0 0 12px 12px;
}
.pgb7-carousel-slide {
  display: none; width: 100%; cursor: pointer;
}
.pgb7-slide-active { display: block; }
.pgb7-carousel-slide img { width: 100%; height: auto; min-height: 160px; object-fit: cover; }
.pgb7-carousel-dots {
  position: absolute; bottom: 8px; left: 50%;
  transform: translateX(-50%); display: flex; gap: 6px;
}
.pgb7-carousel-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: rgba(255,255,255,0.4); cursor: pointer;
  transition: background 0.3s; border: none;
}
.pgb7-dot-active { background: var(--pgb7-primary); transform: scale(1.3); }

/* Section Headings */
.pgb7-section-title {
  font-size: 1.8rem; font-weight: 700; color: var(--pgb7-text-bright);
  margin: 2rem 0 1rem; padding-bottom: 0.6rem;
  border-bottom: 2px solid var(--pgb7-primary);
}
.pgb7-section-title i { margin-right: 0.5rem; color: var(--pgb7-primary); }

/* H1 */
.pgb7-h1 {
  font-size: 2rem; font-weight: 800; color: var(--pgb7-text-bright);
  text-align: center; padding: 1.5rem 0; line-height: 1.3;
}
.pgb7-h1 span { color: var(--pgb7-primary); }

/* Game Grid */
.pgb7-game-category-title {
  font-size: 1.5rem; font-weight: 700; color: var(--pgb7-highlight);
  margin: 1.5rem 0 0.8rem; padding-left: 0.5rem;
  border-left: 3px solid var(--pgb7-accent);
}
.pgb7-game-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 0.8rem; padding: 0.5rem 0;
}
.pgb7-game-card {
  background: var(--pgb7-card-bg); border-radius: 8px;
  overflow: hidden; cursor: pointer; transition: transform 0.2s, box-shadow 0.2s;
  border: 1px solid var(--pgb7-border);
}
.pgb7-game-card:hover { transform: translateY(-2px); box-shadow: 0 4px 12px rgba(64,224,208,0.2); }
.pgb7-game-card img { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; }
.pgb7-game-card-name {
  font-size: 1rem; color: var(--pgb7-text); padding: 0.4rem 0.3rem;
  text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

/* Content Cards */
.pgb7-card {
  background: var(--pgb7-card-bg); border-radius: 10px;
  padding: 1.5rem; margin: 1rem 0;
  border: 1px solid var(--pgb7-border);
}
.pgb7-card h3 { color: var(--pgb7-primary); font-size: 1.5rem; margin-bottom: 0.8rem; }
.pgb7-card p { color: var(--pgb7-text); line-height: 1.6; font-size: 1.3rem; }

/* Promo Button */
.pgb7-promo-btn {
  display: inline-block; background: linear-gradient(135deg, var(--pgb7-accent), #ff4466);
  color: #fff; padding: 1rem 2.5rem; border-radius: 8px;
  font-size: 1.4rem; font-weight: 700; cursor: pointer;
  border: none; transition: all 0.3s; text-align: center;
  box-shadow: 0 4px 15px rgba(220,20,60,0.3);
}
.pgb7-promo-btn:hover { transform: scale(1.05); box-shadow: 0 6px 20px rgba(220,20,60,0.5); }

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

/* Features Grid */
.pgb7-features-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 1rem; margin: 1rem 0;
}
.pgb7-feature-item {
  background: var(--pgb7-card-bg); border-radius: 8px;
  padding: 1.2rem; text-align: center; border: 1px solid var(--pgb7-border);
}
.pgb7-feature-item i { font-size: 2.4rem; color: var(--pgb7-primary); margin-bottom: 0.6rem; display: block; }
.pgb7-feature-item h4 { color: var(--pgb7-highlight); font-size: 1.2rem; margin-bottom: 0.4rem; }
.pgb7-feature-item p { font-size: 1.1rem; color: var(--pgb7-text); }

/* Testimonial */
.pgb7-testimonial {
  background: var(--pgb7-card-bg); border-radius: 10px;
  padding: 1.2rem; margin: 0.8rem 0;
  border-left: 3px solid var(--pgb7-primary);
}
.pgb7-testimonial-text { color: var(--pgb7-text); font-style: italic; font-size: 1.2rem; margin-bottom: 0.5rem; }
.pgb7-testimonial-author { color: var(--pgb7-secondary); font-size: 1.1rem; font-weight: 600; }

/* Winners Strip */
.pgb7-winners-strip {
  display: flex; gap: 0.8rem; overflow-x: auto;
  padding: 0.5rem 0; scrollbar-width: none;
}
.pgb7-winners-strip::-webkit-scrollbar { display: none; }
.pgb7-winner-item {
  flex: 0 0 140px; background: var(--pgb7-card-bg);
  border-radius: 8px; padding: 0.8rem; text-align: center;
  border: 1px solid var(--pgb7-border);
}
.pgb7-winner-name { color: var(--pgb7-primary); font-size: 1.1rem; font-weight: 600; }
.pgb7-winner-amount { color: var(--pgb7-accent); font-size: 1.3rem; font-weight: 700; }
.pgb7-winner-game { color: var(--pgb7-text); font-size: 1rem; }

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

/* Footer */
.pgb7-footer {
  background: linear-gradient(180deg, #1a1a1a, #111);
  padding: 2rem 1rem 7rem; margin-top: 2rem;
  border-top: 2px solid var(--pgb7-primary);
}
.pgb7-footer-desc { color: var(--pgb7-text); font-size: 1.2rem; line-height: 1.6; margin-bottom: 1.5rem; }
.pgb7-footer-links { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-bottom: 1.5rem; }
.pgb7-footer-link {
  background: var(--pgb7-accent); color: #fff; padding: 0.5rem 1rem;
  border-radius: 6px; font-size: 1.1rem; font-weight: 600;
  cursor: pointer; transition: all 0.2s; border: none;
}
.pgb7-footer-link:hover { background: #e8153f; transform: scale(1.05); }
.pgb7-footer-nav { list-style: none; display: flex; flex-wrap: wrap; gap: 0.8rem; margin-bottom: 1.5rem; }
.pgb7-footer-nav a { color: var(--pgb7-primary); font-size: 1.1rem; }
.pgb7-footer-nav a:hover { color: var(--pgb7-secondary); }
.pgb7-footer-copy { color: #666; font-size: 1rem; text-align: center; margin-top: 1rem; }

/* Bottom Navigation */
.pgb7-bottom-nav {
  position: fixed; bottom: 0; left: 0; right: 0;
  z-index: 1000;
  background: linear-gradient(180deg, #1a1a1a, #111);
  border-top: 2px solid var(--pgb7-primary);
  display: flex; justify-content: space-around; align-items: center;
  height: 60px; max-width: 430px; margin: 0 auto;
  padding: 0 0.3rem;
}
.pgb7-bottom-btn {
  display: flex; flex-direction: column; align-items: center;
  justify-content: center; min-width: 60px; min-height: 56px;
  background: none; border: none; color: var(--pgb7-text);
  cursor: pointer; transition: all 0.2s; padding: 0.3rem;
}
.pgb7-bottom-btn i, .pgb7-bottom-btn .material-icons {
  font-size: 22px; margin-bottom: 2px; transition: transform 0.2s, color 0.2s;
}
.pgb7-bottom-btn span { font-size: 10px; white-space: nowrap; }
.pgb7-bottom-btn:hover i, .pgb7-bottom-btn:hover .material-icons {
  color: var(--pgb7-primary); transform: scale(1.15);
}
.pgb7-bottom-btn:hover span { color: var(--pgb7-primary); }
.pgb7-bottom-btn-active i, .pgb7-bottom-btn-active .material-icons {
  color: var(--pgb7-accent) !important;
}
.pgb7-bottom-btn-active span { color: var(--pgb7-accent) !important; }

/* FAQ Section */
.pgb7-faq-item { margin-bottom: 1rem; }
.pgb7-faq-q {
  color: var(--pgb7-primary); font-weight: 700;
  font-size: 1.3rem; margin-bottom: 0.3rem;
}
.pgb7-faq-a { color: var(--pgb7-text); font-size: 1.2rem; line-height: 1.6; }

/* Steps Component */
.pgb7-step {
  display: flex; gap: 1rem; margin-bottom: 1.2rem; align-items: flex-start;
}
.pgb7-step-num {
  background: var(--pgb7-primary); color: var(--pgb7-bg);
  width: 2.8rem; height: 2.8rem; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 1.4rem; flex-shrink: 0;
}
.pgb7-step-content h4 { color: var(--pgb7-highlight); font-size: 1.3rem; margin-bottom: 0.3rem; }
.pgb7-step-content p { color: var(--pgb7-text); font-size: 1.2rem; }

/* Responsive: Desktop hides bottom nav */
@media (min-width: 769px) {
  .pgb7-bottom-nav { display: none; }
  .pgb7-footer { padding-bottom: 2rem; }
}

/* Responsive: Mobile adds bottom padding */
@media (max-width: 768px) {
  main { padding-bottom: 80px; }
}

/* Utility */
.pgb7-text-center { text-align: center; }
.pgb7-text-accent { color: var(--pgb7-accent); }
.pgb7-text-primary { color: var(--pgb7-primary); }
.pgb7-text-highlight { color: var(--pgb7-highlight); }
.pgb7-mt-1 { margin-top: 1rem; }
.pgb7-mt-2 { margin-top: 2rem; }
.pgb7-mb-1 { margin-bottom: 1rem; }
.pgb7-mb-2 { margin-bottom: 2rem; }
