/* cv9.click - Core Stylesheet */
/* Prefix: pg9d- */
/* Colors: #FF69B4 | #2D2D2D | #DAA520 | #CD853F */

:root {
  --pg9d-primary: #FF69B4;
  --pg9d-bg: #1a1a2e;
  --pg9d-bg-light: #16213e;
  --pg9d-gold: #DAA520;
  --pg9d-copper: #CD853F;
  --pg9d-text: #f0f0f0;
  --pg9d-text-muted: #a0a0b0;
  --pg9d-dark: #2D2D2D;
  --pg9d-radius: 8px;
  --pg9d-shadow: 0 2px 12px rgba(255, 105, 180, 0.15);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html {
  font-size: 62.5%;
  scroll-behavior: smooth;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: var(--pg9d-bg);
  color: var(--pg9d-text);
  line-height: 1.5rem;
  font-size: 1.4rem;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

/* === Container & Layout === */
.pg9d-container { max-width: 430px; margin: 0 auto; padding: 0 1.2rem; }
.pg9d-wrapper { width: 100%; overflow-x: hidden; }
.pg9d-grid { display: grid; gap: 1rem; }
.pg9d-grid-2 { grid-template-columns: repeat(2, 1fr); }
.pg9d-grid-3 { grid-template-columns: repeat(3, 1fr); }
.pg9d-grid-4 { grid-template-columns: repeat(4, 1fr); }

/* === Header === */
.pg9d-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: linear-gradient(135deg, #1a1a2e 0%, #0f0f23 100%);
  border-bottom: 2px solid var(--pg9d-primary);
  height: 5.6rem;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 1.2rem;
  box-shadow: 0 2px 20px rgba(255, 105, 180, 0.2);
}

.pg9d-logo {
  display: flex; align-items: center; gap: 0.8rem;
  text-decoration: none; color: var(--pg9d-primary);
}

.pg9d-logo img { width: 3.2rem; height: 3.2rem; border-radius: 0.5rem; }

.pg9d-logo span {
  font-size: 2rem; font-weight: 800;
  background: linear-gradient(135deg, var(--pg9d-primary), var(--pg9d-gold));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}

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

.pg9d-btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0.7rem 1.4rem; border: none; border-radius: var(--pg9d-radius);
  font-size: 1.3rem; font-weight: 700; cursor: pointer;
  transition: all 0.25s ease; text-decoration: none;
  min-height: 4rem; min-width: 4.4rem;
}

.pg9d-btn-register {
  background: linear-gradient(135deg, var(--pg9d-primary), #ff8dc7);
  color: #fff; box-shadow: 0 3px 12px rgba(255, 105, 180, 0.4);
}

.pg9d-btn-register:hover { transform: translateY(-1px); box-shadow: 0 5px 18px rgba(255, 105, 180, 0.5); }

.pg9d-btn-login {
  background: linear-gradient(135deg, var(--pg9d-gold), var(--pg9d-copper));
  color: #fff; box-shadow: 0 3px 12px rgba(218, 165, 32, 0.3);
}

.pg9d-btn-login:hover { transform: translateY(-1px); box-shadow: 0 5px 18px rgba(218, 165, 32, 0.4); }

.pg9d-btn-promo {
  background: linear-gradient(135deg, var(--pg9d-primary), var(--pg9d-gold));
  color: #fff; padding: 1rem 2.4rem; font-size: 1.5rem;
  border-radius: 5rem; box-shadow: 0 4px 20px rgba(255, 105, 180, 0.35);
  width: 100%; text-align: center;
}

.pg9d-btn-promo:hover { transform: scale(1.02); }

.pg9d-menu-btn {
  background: none; border: none; color: var(--pg9d-primary);
  font-size: 2.2rem; cursor: pointer; padding: 0.8rem;
  display: flex; align-items: center;
}

/* === Mobile Menu === */
.pg9d-menu-overlay {
  display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.6); z-index: 9998;
}

.pg9d-mobile-menu {
  position: fixed; top: 0; right: 0; bottom: 0; width: 75%; max-width: 300px;
  background: linear-gradient(180deg, #1a1a2e, #0f0f23);
  z-index: 9999; transform: translateX(100%);
  transition: transform 0.3s ease; padding: 2rem 1.5rem;
  overflow-y: auto; border-left: 2px solid var(--pg9d-primary);
}

.pg9d-mobile-menu-title {
  font-size: 1.8rem; font-weight: 800; color: var(--pg9d-primary);
  margin-bottom: 2rem; padding-bottom: 1rem;
  border-bottom: 1px solid rgba(255, 105, 180, 0.2);
}

.pg9d-mobile-menu a {
  display: block; padding: 1.2rem 1rem; color: var(--pg9d-text);
  text-decoration: none; font-size: 1.4rem; border-radius: var(--pg9d-radius);
  transition: all 0.2s; margin-bottom: 0.3rem;
}

.pg9d-mobile-menu a:hover, .pg9d-mobile-menu a:focus {
  background: rgba(255, 105, 180, 0.1); color: var(--pg9d-primary);
}

/* === Carousel === */
.pg9d-carousel { position: relative; overflow: hidden; border-radius: var(--pg9d-radius); margin-bottom: 1.5rem; }

.pg9d-slide {
  display: none; width: 100%; cursor: pointer; position: relative;
}

.pg9d-slide img { width: 100%; height: auto; display: block; border-radius: var(--pg9d-radius); }

.pg9d-slide-dots {
  display: flex; justify-content: center; gap: 0.6rem;
  padding: 0.8rem 0; position: absolute; bottom: 0; left: 0; right: 0;
  background: linear-gradient(transparent, rgba(0,0,0,0.5));
}

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

.pg9d-slide-dot-active { background: var(--pg9d-primary); transform: scale(1.3); }

/* === Section === */
.pg9d-section {
  padding: 2rem 0; margin-bottom: 1rem;
}

.pg9d-section-title {
  font-size: 1.8rem; font-weight: 800; color: var(--pg9d-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.8rem;
}

.pg9d-section-title i { color: var(--pg9d-gold); font-size: 2rem; }

/* === Game Card === */
.pg9d-game-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.8rem;
}

.pg9d-game-item {
  text-align: center; cursor: pointer; transition: all 0.25s;
  border-radius: var(--pg9d-radius); padding: 0.5rem;
  background: rgba(255, 105, 180, 0.05);
}

.pg9d-game-item:hover { background: rgba(255, 105, 180, 0.12); transform: translateY(-2px); }

.pg9d-game-item img {
  width: 100%; aspect-ratio: 1; object-fit: cover;
  border-radius: 0.6rem; border: 2px solid rgba(255, 105, 180, 0.2);
  margin-bottom: 0.4rem;
}

.pg9d-game-item span {
  font-size: 1.1rem; color: var(--pg9d-text); display: block;
  line-height: 1.3; overflow: hidden; text-overflow: ellipsis;
  white-space: nowrap;
}

/* === Category Label === */
.pg9d-cat-label {
  display: inline-flex; align-items: center; gap: 0.4rem;
  background: linear-gradient(135deg, var(--pg9d-primary), var(--pg9d-gold));
  color: #fff; padding: 0.5rem 1.2rem; border-radius: 5rem;
  font-size: 1.3rem; font-weight: 700; margin-bottom: 1rem;
}

/* === Content Card === */
.pg9d-card {
  background: linear-gradient(135deg, rgba(255, 105, 180, 0.08), rgba(218, 165, 32, 0.05));
  border: 1px solid rgba(255, 105, 180, 0.15);
  border-radius: var(--pg9d-radius); padding: 1.5rem;
  margin-bottom: 1rem; transition: all 0.3s;
}

.pg9d-card:hover { border-color: rgba(255, 105, 180, 0.3); }

.pg9d-card h3 {
  font-size: 1.5rem; color: var(--pg9d-primary); margin-bottom: 0.8rem;
  font-weight: 700;
}

.pg9d-card p { font-size: 1.3rem; color: var(--pg9d-text-muted); line-height: 1.8rem; }

/* === Winners === */
.pg9d-winner-item {
  display: flex; align-items: center; gap: 1rem;
  background: rgba(218, 165, 32, 0.06); padding: 0.8rem 1rem;
  border-radius: var(--pg9d-radius); margin-bottom: 0.5rem;
  border-left: 3px solid var(--pg9d-gold);
}

.pg9d-winner-item .pg9d-winner-name { font-weight: 700; color: var(--pg9d-gold); font-size: 1.2rem; }
.pg9d-winner-item .pg9d-winner-amount { color: var(--pg9d-primary); font-weight: 800; font-size: 1.3rem; }

/* === Payment Icons === */
.pg9d-payment-row {
  display: flex; gap: 1rem; flex-wrap: wrap; justify-content: center;
  padding: 1rem 0;
}

.pg9d-payment-item {
  background: rgba(255,255,255,0.08); border-radius: 0.6rem;
  padding: 0.6rem 1.2rem; font-size: 1.2rem; color: var(--pg9d-text-muted);
}

/* === Footer === */
.pg9d-footer {
  background: linear-gradient(180deg, var(--pg9d-bg-light), #0a0a18);
  padding: 2.5rem 1.2rem 8rem; border-top: 2px solid rgba(255, 105, 180, 0.2);
}

.pg9d-footer-desc {
  font-size: 1.2rem; color: var(--pg9d-text-muted); line-height: 1.8rem;
  margin-bottom: 1.5rem;
}

.pg9d-footer-links {
  display: flex; flex-wrap: wrap; gap: 0.6rem; margin-bottom: 1.5rem;
}

.pg9d-footer-links a {
  display: inline-flex; align-items: center; gap: 0.4rem;
  background: rgba(255, 105, 180, 0.1); border: 1px solid rgba(255, 105, 180, 0.2);
  color: var(--pg9d-text); padding: 0.5rem 1rem; border-radius: 5rem;
  text-decoration: none; font-size: 1.1rem; transition: all 0.2s;
}

.pg9d-footer-links a:hover { background: rgba(255, 105, 180, 0.2); color: var(--pg9d-primary); }

.pg9d-footer-copy {
  text-align: center; font-size: 1.1rem; color: var(--pg9d-text-muted);
  padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,0.06);
}

/* === Bottom Nav === */
.pg9d-bottom-nav {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 1000;
  background: linear-gradient(180deg, #1e1e38, #0f0f23);
  border-top: 2px solid var(--pg9d-primary);
  display: flex; justify-content: space-around; align-items: center;
  height: 6rem; padding: 0 0.3rem;
  box-shadow: 0 -4px 20px rgba(255, 105, 180, 0.15);
}

.pg9d-bottom-nav button {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  background: none; border: none; color: var(--pg9d-text-muted);
  min-width: 6rem; min-height: 5rem; cursor: pointer;
  transition: all 0.25s; border-radius: 0.8rem; padding: 0.4rem;
}

.pg9d-bottom-nav button:hover, .pg9d-bottom-nav button:focus {
  color: var(--pg9d-primary); background: rgba(255, 105, 180, 0.1);
}

.pg9d-bottom-nav button .pg9d-nav-icon { font-size: 2.4rem; line-height: 1; margin-bottom: 0.2rem; }
.pg9d-bottom-nav button .pg9d-nav-label { font-size: 1rem; font-weight: 600; }
.pg9d-bottom-nav button.pg9d-nav-active { color: var(--pg9d-primary); }
.pg9d-bottom-nav button.pg9d-nav-active .pg9d-nav-icon { transform: scale(1.1); }

/* === Utility === */
.pg9d-text-gold { color: var(--pg9d-gold); }
.pg9d-text-pink { color: var(--pg9d-primary); }
.pg9d-text-center { text-align: center; }
.pg9d-mt-1 { margin-top: 1rem; }
.pg9d-mb-1 { margin-bottom: 1rem; }
.pg9d-mb-2 { margin-bottom: 2rem; }

.pg9d-promo-text {
  font-size: 1.3rem; color: var(--pg9d-primary); font-weight: 700;
  text-decoration: none; cursor: pointer;
  border-bottom: 1px dashed var(--pg9d-primary);
  transition: all 0.2s;
}
.pg9d-promo-text:hover { color: var(--pg9d-gold); border-color: var(--pg9d-gold); }

/* === Content spacing for fixed nav === */
.pg9d-main { padding-top: 6.5rem; }

/* === Responsive === */
@media (max-width: 768px) {
  .pg9d-main { padding-bottom: 7.5rem; }
}

@media (min-width: 769px) {
  .pg9d-bottom-nav { display: none; }
  .pg9d-container { max-width: 430px; }
}

/* === Animations === */
@keyframes pg9d-fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.pg9d-animate-in { animation: pg9d-fadeIn 0.4s ease forwards; }
