/**
 * 777 Slots - design.css
 * Core stylesheet with pgfe- prefix for all classes
 * Color palette: #1A1A2E | #00FFFF | #4DB6AC | #F0E68C | #26A69A
 * Mobile-first design, max-width 430px
 */

/* CSS Variables */
:root {
  --pgfe-primary: #00FFFF;
  --pgfe-secondary: #4DB6AC;
  --pgfe-accent: #26A69A;
  --pgfe-bg: #1A1A2E;
  --pgfe-bg-light: #16213E;
  --pgfe-bg-card: #0F3460;
  --pgfe-text: #F0E68C;
  --pgfe-text-light: #E0E0E0;
  --pgfe-text-muted: #9E9E9E;
  --pgfe-border: #2A2A4A;
  --pgfe-glow: rgba(0, 255, 255, 0.15);
  --pgfe-radius: 8px;
  --pgfe-radius-lg: 12px;
  --pgfe-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  --pgfe-font: 'Segoe UI', 'Noto Sans Bengali', sans-serif;
}

/* Reset & Base */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 62.5%; scroll-behavior: smooth; }
body {
  font-family: var(--pgfe-font);
  background: var(--pgfe-bg);
  color: var(--pgfe-text);
  line-height: 1.5rem;
  font-size: 1.4rem;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: var(--pgfe-primary); }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }

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

/* Header */
.pgfe-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: linear-gradient(135deg, #1A1A2E 0%, #0F3460 100%);
  border-bottom: 1px solid var(--pgfe-border);
  height: 5.6rem;
}
.pgfe-header-inner {
  max-width: 430px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 1rem; height: 5.6rem;
}
.pgfe-logo { display: flex; align-items: center; gap: 0.6rem; cursor: pointer; }
.pgfe-logo img { width: 3.2rem; height: 3.2rem; border-radius: 0.4rem; }
.pgfe-logo-text { font-size: 1.6rem; font-weight: 700; color: var(--pgfe-primary); white-space: nowrap; }
.pgfe-header-btns { display: flex; gap: 0.6rem; align-items: center; }
.pgfe-btn-reg {
  background: linear-gradient(135deg, #26A69A, #00BFA5);
  color: #1A1A2E; font-weight: 700; font-size: 1.2rem;
  padding: 0.5rem 1.2rem; border-radius: 2rem; border: none;
  cursor: pointer; transition: all 0.2s;
}
.pgfe-btn-login {
  background: transparent; color: var(--pgfe-primary);
  font-weight: 600; font-size: 1.2rem;
  padding: 0.5rem 1.2rem; border-radius: 2rem;
  border: 1.5px solid var(--pgfe-primary); cursor: pointer; transition: all 0.2s;
}
.pgfe-btn-reg:hover, .pgfe-btn-login:hover { transform: scale(1.05); box-shadow: 0 0 10px var(--pgfe-glow); }
.pgfe-menu-toggle {
  background: none; border: none; color: var(--pgfe-primary);
  font-size: 2.2rem; cursor: pointer; padding: 0.4rem;
  display: flex; align-items: center; justify-content: center;
}

/* Mobile Menu */
.pgfe-mobile-menu {
  position: fixed; top: 5.6rem; left: 0; right: 0; z-index: 9999;
  background: linear-gradient(180deg, #1A1A2E, #0F3460);
  border-bottom: 2px solid var(--pgfe-primary);
  max-height: 0; overflow: hidden;
  transition: max-height 0.35s ease;
}
.pgfe-menu-active { max-height: 50rem; }
.pgfe-mobile-menu ul { padding: 1rem 0; }
.pgfe-mobile-menu li { border-bottom: 1px solid var(--pgfe-border); }
.pgfe-mobile-menu a {
  display: block; padding: 1.2rem 2rem;
  color: var(--pgfe-text-light); font-size: 1.4rem;
  transition: all 0.2s;
}
.pgfe-mobile-menu a:hover { color: var(--pgfe-primary); background: rgba(0,255,255,0.05); padding-left: 2.5rem; }

/* Carousel */
.pgfe-carousel { position: relative; overflow: hidden; border-radius: var(--pgfe-radius-lg); margin: 1rem 0; }
.pgfe-slide { display: none; width: 100%; cursor: pointer; }
.pgfe-slide img { width: 100%; height: auto; border-radius: var(--pgfe-radius-lg); }
.pgfe-slide-active { display: block; }
.pgfe-dots { display: flex; justify-content: center; gap: 0.6rem; padding: 0.8rem 0; }
.pgfe-dot {
  width: 1rem; height: 1rem; border-radius: 50%;
  background: var(--pgfe-text-muted); cursor: pointer;
  transition: all 0.3s; border: none;
}
.pgfe-dot-active { background: var(--pgfe-primary); transform: scale(1.3); box-shadow: 0 0 8px var(--pgfe-glow); }

/* Section Headers */
.pgfe-section-title {
  font-size: 1.8rem; font-weight: 700; color: var(--pgfe-primary);
  margin: 2rem 0 1rem; padding-bottom: 0.6rem;
  border-bottom: 2px solid var(--pgfe-accent);
  display: flex; align-items: center; gap: 0.6rem;
}
.pgfe-section-title i, .pgfe-section-title .material-icons { font-size: 2rem; }
.pgfe-cat-label {
  font-size: 1.6rem; font-weight: 700; color: var(--pgfe-text);
  margin: 1.8rem 0 0.8rem; padding: 0.6rem 1rem;
  background: linear-gradient(90deg, var(--pgfe-bg-card), transparent);
  border-left: 3px solid var(--pgfe-primary); border-radius: 0 var(--pgfe-radius) var(--pgfe-radius) 0;
}

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

/* Promo CTA */
.pgfe-cta-box {
  background: linear-gradient(135deg, #0F3460, #1A1A2E);
  border: 1.5px solid var(--pgfe-primary);
  border-radius: var(--pgfe-radius-lg);
  padding: 1.6rem; margin: 1.5rem 0; text-align: center;
}
.pgfe-cta-box h3 { font-size: 1.6rem; color: var(--pgfe-primary); margin-bottom: 0.6rem; }
.pgfe-cta-box p { font-size: 1.3rem; color: var(--pgfe-text-light); margin-bottom: 1rem; line-height: 1.6rem; }
.pgfe-cta-btn {
  display: inline-block; padding: 1rem 2.4rem;
  background: linear-gradient(135deg, #26A69A, #00BFA5);
  color: #1A1A2E; font-weight: 700; font-size: 1.4rem;
  border-radius: 2.5rem; border: none; cursor: pointer;
  transition: all 0.25s; box-shadow: 0 4px 12px rgba(0,191,165,0.3);
}
.pgfe-cta-btn:hover { transform: translateY(-2px); box-shadow: 0 6px 16px rgba(0,191,165,0.5); }
.pgfe-promo-text { color: var(--pgfe-primary); font-weight: 600; cursor: pointer; }
.pgfe-promo-text:hover { text-decoration: underline; }

/* Content Modules */
.pgfe-info-card {
  background: var(--pgfe-bg-light); border: 1px solid var(--pgfe-border);
  border-radius: var(--pgfe-radius-lg); padding: 1.4rem; margin: 1.2rem 0;
}
.pgfe-info-card h3 { color: var(--pgfe-primary); font-size: 1.5rem; margin-bottom: 0.6rem; }
.pgfe-info-card p { color: var(--pgfe-text-light); font-size: 1.3rem; line-height: 1.7rem; }
.pgfe-info-card ul { padding-left: 1.4rem; margin-top: 0.5rem; }
.pgfe-info-card li { color: var(--pgfe-text-light); font-size: 1.3rem; margin-bottom: 0.4rem; list-style: disc; }

/* FAQ */
.pgfe-faq-item { margin: 0.8rem 0; }
.pgfe-faq-q { color: var(--pgfe-primary); font-weight: 600; font-size: 1.3rem; margin-bottom: 0.3rem; }
.pgfe-faq-a { color: var(--pgfe-text-light); font-size: 1.2rem; padding-left: 1rem; line-height: 1.6rem; }

/* Winners */
.pgfe-winner-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 0.7rem 0; border-bottom: 1px solid var(--pgfe-border);
}
.pgfe-winner-name { color: var(--pgfe-primary); font-weight: 600; font-size: 1.2rem; }
.pgfe-winner-game { color: var(--pgfe-text-muted); font-size: 1.1rem; }
.pgfe-winner-amount { color: #FFD700; font-weight: 700; font-size: 1.3rem; }

/* Payment icons */
.pgfe-payment-row { display: flex; gap: 1rem; flex-wrap: wrap; justify-content: center; margin: 1rem 0; }
.pgfe-payment-item {
  background: var(--pgfe-bg-card); border: 1px solid var(--pgfe-border);
  border-radius: var(--pgfe-radius); padding: 0.6rem 1.2rem;
  color: var(--pgfe-text-light); font-size: 1.2rem; font-weight: 600;
}

/* Footer */
.pgfe-footer {
  background: linear-gradient(180deg, var(--pgfe-bg-light), #0D0D1A);
  padding: 2rem 1rem 8rem; margin-top: 2rem;
  border-top: 2px solid var(--pgfe-primary);
}
.pgfe-footer-brand { text-align: center; margin-bottom: 1.5rem; }
.pgfe-footer-brand p { color: var(--pgfe-text-muted); font-size: 1.2rem; line-height: 1.6rem; }
.pgfe-footer-links { display: flex; flex-wrap: wrap; gap: 0.6rem; justify-content: center; margin: 1rem 0; }
.pgfe-footer-link {
  background: var(--pgfe-bg-card); border: 1px solid var(--pgfe-border);
  border-radius: 2rem; padding: 0.4rem 1rem;
  color: var(--pgfe-text-light); font-size: 1.1rem; cursor: pointer;
  transition: all 0.2s;
}
.pgfe-footer-link:hover { border-color: var(--pgfe-primary); color: var(--pgfe-primary); }
.pgfe-footer-copy { text-align: center; color: var(--pgfe-text-muted); font-size: 1.1rem; margin-top: 1rem; }

/* Bottom Fixed Nav */
.pgfe-bottom-nav {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 1000;
  background: linear-gradient(180deg, #16213E, #0D0D1A);
  border-top: 2px solid var(--pgfe-accent);
  display: flex; justify-content: space-around; align-items: center;
  height: 6rem; padding: 0 0.4rem;
}
.pgfe-bottom-btn {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  min-width: 6rem; min-height: 5rem; background: none; border: none;
  color: var(--pgfe-text-muted); cursor: pointer; transition: all 0.2s;
  border-radius: 0.6rem; padding: 0.3rem;
}
.pgfe-bottom-btn i, .pgfe-bottom-btn .material-icons, .pgfe-bottom-btn ion-icon, .pgfe-bottom-btn bi {
  font-size: 2.2rem; margin-bottom: 0.2rem;
}
.pgfe-bottom-btn span { font-size: 1rem; line-height: 1.2rem; }
.pgfe-bottom-btn:hover { color: var(--pgfe-primary); background: rgba(0,255,255,0.08); transform: scale(1.08); }
.pgfe-bottom-active { color: var(--pgfe-primary); }
.pgfe-bottom-active::after {
  content: ''; display: block; width: 2rem; height: 0.25rem;
  background: var(--pgfe-primary); border-radius: 0.2rem; margin-top: 0.2rem;
}

/* Responsive */
@media (min-width: 769px) {
  .pgfe-bottom-nav { display: none; }
}
@media (max-width: 768px) {
  .pgfe-wrapper { padding-bottom: 7.5rem; }
  .pgfe-game-grid { grid-template-columns: repeat(4, 1fr); gap: 0.6rem; }
}
@media (max-width: 360px) {
  .pgfe-game-grid { grid-template-columns: repeat(3, 1fr); }
  .pgfe-logo-text { font-size: 1.3rem; }
}
