/**
 * ajjili.click - Core Stylesheet
 * Prefix: pgd9-
 * Color Palette: #0E1621 (dark bg), #FFFFBA (light text), #BAE1FF (accent)
 * Mobile-first design, max-width 430px viewport
 */

/* CSS Variables */
:root {
  --pgd9-primary: #BAE1FF;
  --pgd9-bg: #0E1621;
  --pgd9-text: #FFFFBA;
  --pgd9-accent: #BAE1FF;
  --pgd9-accent2: #4DA8DA;
  --pgd9-card-bg: #1a2a3a;
  --pgd9-card-border: #2a3a4a;
  --pgd9-gradient-start: #0E1621;
  --pgd9-gradient-end: #162838;
  --pgd9-success: #4CAF50;
  --pgd9-warning: #FF9800;
  --pgd9-danger: #f44336;
  --pgd9-radius: 0.8rem;
  --pgd9-radius-sm: 0.4rem;
  --pgd9-shadow: 0 0.2rem 0.8rem rgba(0,0,0,0.3);
  --pgd9-header-h: 5.6rem;
  --pgd9-bottom-h: 6.0rem;
  font-size: 62.5%;
}

/* Reset */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  background: var(--pgd9-bg);
  color: var(--pgd9-text);
  line-height: 1.5rem;
  font-size: 1.4rem;
  min-height: 100vh;
  overflow-x: hidden;
}

a {
  color: var(--pgd9-accent);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--pgd9-text);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ===== HEADER ===== */
.pgd9-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: linear-gradient(135deg, #0a1018 0%, #142030 100%);
  border-bottom: 0.1rem solid rgba(186, 225, 255, 0.15);
  height: var(--pgd9-header-h);
  display: flex;
  align-items: center;
  padding: 0 1.2rem;
  backdrop-filter: blur(1rem);
}

.pgd9-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 43rem;
  margin: 0 auto;
}

.pgd9-logo-area {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  cursor: pointer;
}

.pgd9-logo-area img {
  width: 3.2rem;
  height: 3.2rem;
  border-radius: 0.6rem;
}

.pgd9-logo-text {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--pgd9-text);
  letter-spacing: 0.05rem;
}

.pgd9-header-actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.pgd9-btn-register,
.pgd9-btn-login {
  padding: 0.6rem 1.4rem;
  border-radius: var(--pgd9-radius-sm);
  font-size: 1.2rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.03rem;
}

.pgd9-btn-register {
  background: linear-gradient(135deg, #4DA8DA, #2980b9);
  color: #fff;
  box-shadow: 0 0.2rem 0.6rem rgba(77, 168, 218, 0.4);
}

.pgd9-btn-register:hover {
  background: linear-gradient(135deg, #5bb8e8, #3498db);
  transform: translateY(-0.1rem);
}

.pgd9-btn-login {
  background: transparent;
  color: var(--pgd9-accent);
  border: 0.1rem solid var(--pgd9-accent);
}

.pgd9-btn-login:hover {
  background: rgba(186, 225, 255, 0.1);
}

.pgd9-menu-toggle {
  background: none;
  border: none;
  color: var(--pgd9-accent);
  font-size: 2.4rem;
  cursor: pointer;
  padding: 0.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 4.4rem;
  min-height: 4.4rem;
}

/* ===== MOBILE MENU ===== */
.pgd9-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 9998;
  transition: opacity 0.3s ease;
}

.pgd9-overlay-active {
  display: block;
}

.pgd9-mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 28rem;
  height: 100%;
  background: linear-gradient(180deg, #0a1420 0%, #0E1621 100%);
  z-index: 9999;
  transform: translateX(-100%);
  transition: transform 0.3s ease;
  overflow-y: auto;
  padding: 2rem 0;
  border-right: 0.1rem solid rgba(186, 225, 255, 0.1);
}

.pgd9-mobile-menu-active {
  transform: translateX(0) !important;
}

.pgd9-menu-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1.6rem 2rem;
  border-bottom: 0.1rem solid rgba(186, 225, 255, 0.1);
  margin-bottom: 1rem;
}

.pgd9-menu-close {
  background: none;
  border: none;
  color: var(--pgd9-accent);
  font-size: 2.4rem;
  cursor: pointer;
  padding: 0.4rem;
  min-width: 4.4rem;
  min-height: 4.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pgd9-menu-brand {
  font-size: 2rem;
  font-weight: 700;
  color: var(--pgd9-text);
}

.pgd9-menu-nav {
  list-style: none;
  padding: 0;
}

.pgd9-menu-nav li {
  border-bottom: 0.1rem solid rgba(186, 225, 255, 0.06);
}

.pgd9-menu-nav a {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  padding: 1.4rem 1.6rem;
  color: var(--pgd9-text);
  font-size: 1.5rem;
  transition: all 0.2s ease;
}

.pgd9-menu-nav a:hover {
  background: rgba(186, 225, 255, 0.08);
  color: var(--pgd9-accent);
  padding-left: 2rem;
}

.pgd9-menu-nav .material-icons,
.pgd9-menu-nav .fas,
.pgd9-menu-nav .far {
  font-size: 2rem;
  width: 2.4rem;
  text-align: center;
}

/* ===== MAIN CONTENT ===== */
.pgd9-main {
  padding-top: var(--pgd9-header-h);
  min-height: 100vh;
}

.pgd9-container {
  width: 100%;
  max-width: 43rem;
  margin: 0 auto;
  padding: 0 1.2rem;
}

/* ===== SLIDER ===== */
.pgd9-slider {
  position: relative;
  overflow: hidden;
  border-radius: var(--pgd9-radius);
  margin: 1.2rem 0;
}

.pgd9-slide {
  display: none;
  position: relative;
  cursor: pointer;
  aspect-ratio: 16/7;
}

.pgd9-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--pgd9-radius);
}

.pgd9-slide-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(14, 22, 33, 0.9));
  padding: 1.5rem;
}

.pgd9-slide-title {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--pgd9-text);
  margin-bottom: 0.3rem;
}

.pgd9-slide-desc {
  font-size: 1.2rem;
  color: var(--pgd9-accent);
}

.pgd9-slider-dots {
  position: absolute;
  bottom: 0.8rem;
  right: 1rem;
  display: flex;
  gap: 0.5rem;
}

.pgd9-dot {
  width: 0.8rem;
  height: 0.8rem;
  border-radius: 50%;
  background: rgba(255, 255, 186, 0.4);
  cursor: pointer;
  transition: all 0.3s ease;
}

.pgd9-dot-active {
  background: var(--pgd9-accent);
  transform: scale(1.2);
}

/* ===== SECTION HEADERS ===== */
.pgd9-section-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--pgd9-text);
  margin: 2rem 0 1.2rem;
  padding-bottom: 0.8rem;
  border-bottom: 0.15rem solid rgba(186, 225, 255, 0.2);
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.pgd9-section-title .material-icons,
.pgd9-section-title .fas {
  font-size: 2rem;
  color: var(--pgd9-accent);
}

/* ===== GAME GRID ===== */
.pgd9-game-section {
  margin-bottom: 2rem;
}

.pgd9-game-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.8rem;
}

.pgd9-game-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  cursor: pointer;
  padding: 0.6rem;
  border-radius: var(--pgd9-radius-sm);
  transition: all 0.3s ease;
  background: rgba(26, 42, 58, 0.5);
  border: 0.1rem solid transparent;
}

.pgd9-game-card:hover {
  background: rgba(26, 42, 58, 0.9);
  border-color: var(--pgd9-accent);
  transform: translateY(-0.2rem);
}

.pgd9-game-card img {
  width: 6rem;
  height: 6rem;
  border-radius: 0.6rem;
  margin-bottom: 0.4rem;
  object-fit: cover;
}

.pgd9-game-name {
  font-size: 1rem;
  color: var(--pgd9-text);
  line-height: 1.3rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 100%;
}

/* ===== CONTENT SECTIONS ===== */
.pgd9-content-section {
  background: var(--pgd9-card-bg);
  border-radius: var(--pgd9-radius);
  padding: 1.6rem;
  margin: 1.2rem 0;
  border: 0.1rem solid var(--pgd9-card-border);
}

.pgd9-content-section h2 {
  font-size: 1.6rem;
  color: var(--pgd9-text);
  margin-bottom: 1rem;
  padding-bottom: 0.6rem;
  border-bottom: 0.1rem solid rgba(186, 225, 255, 0.15);
}

.pgd9-content-section h3 {
  font-size: 1.4rem;
  color: var(--pgd9-accent);
  margin: 1rem 0 0.6rem;
}

.pgd9-content-section p {
  font-size: 1.3rem;
  color: rgba(255, 255, 186, 0.85);
  line-height: 1.6rem;
  margin-bottom: 0.8rem;
}

.pgd9-content-section ul,
.pgd9-content-section ol {
  padding-left: 1.6rem;
  margin-bottom: 0.8rem;
}

.pgd9-content-section li {
  font-size: 1.3rem;
  color: rgba(255, 255, 186, 0.85);
  line-height: 1.6rem;
  margin-bottom: 0.4rem;
}

/* ===== PROMO BUTTONS ===== */
.pgd9-promo-btn {
  display: inline-block;
  background: linear-gradient(135deg, #4DA8DA, #2980b9);
  color: #fff;
  padding: 1rem 2rem;
  border-radius: var(--pgd9-radius);
  font-size: 1.4rem;
  font-weight: 700;
  cursor: pointer;
  border: none;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 0.3rem 1rem rgba(77, 168, 218, 0.3);
  min-height: 4.4rem;
  text-transform: uppercase;
  letter-spacing: 0.05rem;
}

.pgd9-promo-btn:hover {
  transform: translateY(-0.2rem);
  box-shadow: 0 0.4rem 1.2rem rgba(77, 168, 218, 0.5);
}

.pgd9-promo-text {
  color: var(--pgd9-accent);
  font-weight: 700;
  cursor: pointer;
  transition: color 0.3s ease;
  border-bottom: 0.1rem dashed var(--pgd9-accent);
}

.pgd9-promo-text:hover {
  color: var(--pgd9-text);
  border-color: var(--pgd9-text);
}

/* ===== CTA SECTION ===== */
.pgd9-cta {
  background: linear-gradient(135deg, #1a3050, #0E1621);
  border: 0.15rem solid var(--pgd9-accent);
  border-radius: var(--pgd9-radius);
  padding: 2rem 1.6rem;
  text-align: center;
  margin: 1.6rem 0;
}

.pgd9-cta h2 {
  font-size: 1.8rem;
  color: var(--pgd9-text);
  margin-bottom: 0.8rem;
}

.pgd9-cta p {
  font-size: 1.3rem;
  color: rgba(255, 255, 186, 0.8);
  margin-bottom: 1.2rem;
}

/* ===== FAQ ===== */
.pgd9-faq-item {
  margin-bottom: 1rem;
  border-bottom: 0.1rem solid var(--pgd9-card-border);
  padding-bottom: 1rem;
}

.pgd9-faq-q {
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--pgd9-accent);
  margin-bottom: 0.4rem;
}

.pgd9-faq-a {
  font-size: 1.3rem;
  color: rgba(255, 255, 186, 0.8);
  line-height: 1.6rem;
}

/* ===== FOOTER ===== */
.pgd9-footer {
  background: linear-gradient(180deg, #0a1420, #060c14);
  padding: 2rem 0;
  margin-top: 2rem;
  border-top: 0.1rem solid rgba(186, 225, 255, 0.1);
}

.pgd9-footer-inner {
  max-width: 43rem;
  margin: 0 auto;
  padding: 0 1.2rem;
}

.pgd9-footer-brand {
  font-size: 1.3rem;
  color: rgba(255, 255, 186, 0.7);
  line-height: 1.6rem;
  margin-bottom: 1.2rem;
}

.pgd9-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-bottom: 1.2rem;
}

.pgd9-footer-links a {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: rgba(26, 42, 58, 0.6);
  border-radius: var(--pgd9-radius-sm);
  font-size: 1.1rem;
  color: var(--pgd9-accent);
  transition: all 0.2s ease;
}

.pgd9-footer-links a:hover {
  background: rgba(26, 42, 58, 0.9);
  color: var(--pgd9-text);
}

.pgd9-footer-copy {
  font-size: 1.1rem;
  color: rgba(255, 255, 186, 0.5);
  text-align: center;
  padding-top: 1rem;
  border-top: 0.1rem solid rgba(186, 225, 255, 0.08);
}

/* ===== BOTTOM NAVIGATION ===== */
.pgd9-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--pgd9-bottom-h);
  background: linear-gradient(180deg, #142030, #0a1420);
  border-top: 0.1rem solid rgba(186, 225, 255, 0.15);
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 0 0.4rem;
  backdrop-filter: blur(1rem);
}

.pgd9-bottom-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 6rem;
  min-height: 5.6rem;
  background: none;
  border: none;
  color: rgba(255, 255, 186, 0.6);
  cursor: pointer;
  transition: all 0.2s ease;
  padding: 0.4rem;
  position: relative;
}

.pgd9-bottom-btn:hover,
.pgd9-bottom-btn:active {
  color: var(--pgd9-accent);
  transform: scale(1.05);
}

.pgd9-bottom-btn-active {
  color: var(--pgd9-accent);
}

.pgd9-bottom-btn-active::after {
  content: '';
  position: absolute;
  top: -0.1rem;
  left: 25%;
  right: 25%;
  height: 0.2rem;
  background: var(--pgd9-accent);
  border-radius: 0.1rem;
}

.pgd9-bottom-icon {
  font-size: 2.4rem;
  margin-bottom: 0.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pgd9-bottom-label {
  font-size: 1rem;
  line-height: 1.2rem;
  white-space: nowrap;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .pgd9-main {
    padding-bottom: 8rem;
  }
}

@media (min-width: 769px) {
  .pgd9-bottom-nav {
    display: none;
  }
}

/* ===== UTILITY CLASSES ===== */
.pgd9-text-center { text-align: center; }
.pgd9-text-bold { font-weight: 700; }
.pgd9-mt-1 { margin-top: 1rem; }
.pgd9-mt-2 { margin-top: 2rem; }
.pgd9-mb-1 { margin-bottom: 1rem; }
.pgd9-mb-2 { margin-bottom: 2rem; }
.pgd9-hidden { display: none; }
.pgd9-flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ===== RTP TABLE ===== */
.pgd9-rtp-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 1.2rem;
}

.pgd9-rtp-table th {
  background: rgba(186, 225, 255, 0.1);
  color: var(--pgd9-accent);
  padding: 0.8rem;
  text-align: left;
  font-size: 1.1rem;
  border-bottom: 0.1rem solid var(--pgd9-card-border);
}

.pgd9-rtp-table td {
  padding: 0.6rem 0.8rem;
  color: rgba(255, 255, 186, 0.8);
  border-bottom: 0.1rem solid rgba(186, 225, 255, 0.06);
}

.pgd9-rtp-bar {
  height: 0.6rem;
  border-radius: 0.3rem;
  background: linear-gradient(90deg, #2980b9, #4DA8DA);
}

/* ===== TESTIMONIALS ===== */
.pgd9-testimonial {
  background: rgba(26, 42, 58, 0.4);
  border-radius: var(--pgd9-radius-sm);
  padding: 1.2rem;
  margin-bottom: 0.8rem;
  border-left: 0.3rem solid var(--pgd9-accent);
}

.pgd9-testimonial-text {
  font-size: 1.2rem;
  color: rgba(255, 255, 186, 0.85);
  line-height: 1.5rem;
  font-style: italic;
}

.pgd9-testimonial-author {
  font-size: 1.1rem;
  color: var(--pgd9-accent);
  margin-top: 0.6rem;
  font-weight: 600;
}

/* ===== WINNER SHOWCASE ===== */
.pgd9-winner-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.8rem;
  border-radius: var(--pgd9-radius-sm);
  background: rgba(26, 42, 58, 0.3);
  margin-bottom: 0.6rem;
}

.pgd9-winner-avatar {
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  background: linear-gradient(135deg, #4DA8DA, #2980b9);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: #fff;
  font-size: 1.4rem;
  flex-shrink: 0;
}

.pgd9-winner-info {
  flex: 1;
}

.pgd9-winner-name {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--pgd9-text);
}

.pgd9-winner-game {
  font-size: 1.1rem;
  color: rgba(255, 255, 186, 0.6);
}

.pgd9-winner-amount {
  font-size: 1.4rem;
  font-weight: 700;
  color: #4CAF50;
}

/* ===== PAYMENT METHODS ===== */
.pgd9-payment-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  justify-content: center;
}

.pgd9-payment-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0.8rem;
  background: rgba(26, 42, 58, 0.4);
  border-radius: var(--pgd9-radius-sm);
  font-size: 1rem;
  color: rgba(255, 255, 186, 0.7);
  min-width: 6rem;
}

.pgd9-payment-item .material-icons,
.pgd9-payment-item .fas {
  font-size: 2.4rem;
  color: var(--pgd9-accent);
  margin-bottom: 0.3rem;
}
