/**
 * fd77.click - Main Stylesheet
 * Prefix: pgad-
 * Color palette: #800080 | #FFEBCD | #2C3E50 | #DA70D6 | #FF8C00
 */

:root {
  --pgad-primary: #800080;
  --pgad-bg: #2C3E50;
  --pgad-bg-dark: #1a252f;
  --pgad-bg-card: #34495e;
  --pgad-text: #FFEBCD;
  --pgad-text-muted: #c4a882;
  --pgad-accent: #DA70D6;
  --pgad-orange: #FF8C00;
  --pgad-border: #4a6274;
  --pgad-radius: 8px;
  --pgad-shadow: 0 2px 8px rgba(0,0,0,0.3);
  --pgad-font: 'Hind Siliguri', sans-serif;
}

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

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

body {
  font-family: var(--pgad-font);
  background: var(--pgad-bg);
  color: var(--pgad-text);
  line-height: 1.5rem;
  max-width: 430px;
  margin: 0 auto;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a {
  color: var(--pgad-accent);
  text-decoration: none;
  transition: color 0.2s;
}

a:hover {
  color: var(--pgad-orange);
}

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

/* ===== HEADER ===== */
.pgad-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--pgad-bg-dark);
  border-bottom: 2px solid var(--pgad-primary);
  max-width: 430px;
  margin: 0 auto;
}

.pgad-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.8rem 1rem;
  min-height: 48px;
}

.pgad-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
}

.pgad-logo-icon {
  width: 32px;
  height: 32px;
  border-radius: 6px;
}

.pgad-logo-text {
  font-size: 2rem;
  font-weight: 700;
  color: var(--pgad-orange);
  letter-spacing: -0.5px;
}

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

.pgad-btn-register,
.pgad-btn-login {
  border: none;
  border-radius: 6px;
  padding: 0.6rem 1.2rem;
  font-size: 1.3rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  font-family: var(--pgad-font);
  min-height: 36px;
}

.pgad-btn-register {
  background: linear-gradient(135deg, var(--pgad-orange), #e67e00);
  color: #fff;
}

.pgad-btn-register:hover {
  background: linear-gradient(135deg, #e67e00, var(--pgad-orange));
  transform: scale(1.05);
}

.pgad-btn-login {
  background: transparent;
  color: var(--pgad-accent);
  border: 1.5px solid var(--pgad-accent);
}

.pgad-btn-login:hover {
  background: var(--pgad-accent);
  color: var(--pgad-bg-dark);
}

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

/* ===== MOBILE MENU ===== */
.pgad-mobile-menu {
  position: fixed;
  top: 0;
  right: -280px;
  width: 280px;
  height: 100%;
  background: var(--pgad-bg-dark);
  z-index: 9999;
  transition: right 0.3s ease;
  overflow-y: auto;
  padding: 2rem 0;
}

.pgad-menu-active {
  right: 0;
}

.pgad-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.6);
  z-index: 9998;
  display: none;
}

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

.pgad-menu-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  color: var(--pgad-text);
  font-size: 2.4rem;
  cursor: pointer;
}

.pgad-menu-nav {
  list-style: none;
  padding: 1rem 0;
}

.pgad-menu-nav li {
  border-bottom: 1px solid var(--pgad-border);
}

.pgad-menu-nav a {
  display: block;
  padding: 1.2rem 2rem;
  color: var(--pgad-text);
  font-size: 1.5rem;
  transition: all 0.2s;
}

.pgad-menu-nav a:hover {
  background: var(--pgad-primary);
  color: #fff;
  padding-left: 2.5rem;
}

/* ===== CAROUSEL ===== */
.pgad-carousel {
  position: relative;
  overflow: hidden;
  margin-top: 52px;
  border-radius: 0 0 var(--pgad-radius) var(--pgad-radius);
}

.pgad-carousel-slide {
  display: none;
  cursor: pointer;
}

.pgad-carousel-slide img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.pgad-carousel-dots {
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
}

.pgad-carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  cursor: pointer;
  transition: all 0.3s;
}

.pgad-dot-active {
  background: var(--pgad-orange);
  width: 20px;
  border-radius: 4px;
}

/* ===== SECTION TITLES ===== */
.pgad-section {
  padding: 1.5rem 1rem;
}

.pgad-section-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--pgad-orange);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

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

/* ===== GAME GRID ===== */
.pgad-game-category {
  margin-bottom: 1.5rem;
}

.pgad-category-title {
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--pgad-accent);
  padding: 0.6rem 0;
  margin-bottom: 0.8rem;
  border-bottom: 2px solid var(--pgad-primary);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

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

.pgad-game-item {
  text-align: center;
  cursor: pointer;
  transition: transform 0.2s;
}

.pgad-game-item:hover {
  transform: scale(1.05);
}

.pgad-game-img {
  width: 100%;
  aspect-ratio: 1;
  border-radius: var(--pgad-radius);
  object-fit: cover;
  border: 2px solid var(--pgad-border);
  transition: border-color 0.2s;
}

.pgad-game-item:hover .pgad-game-img {
  border-color: var(--pgad-orange);
}

.pgad-game-name {
  font-size: 1.1rem;
  color: var(--pgad-text);
  margin-top: 0.3rem;
  line-height: 1.3rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* ===== CONTENT MODULES ===== */
.pgad-card {
  background: var(--pgad-bg-card);
  border-radius: var(--pgad-radius);
  padding: 1.5rem;
  margin-bottom: 1rem;
  box-shadow: var(--pgad-shadow);
  border-left: 3px solid var(--pgad-primary);
}

.pgad-card h2 {
  font-size: 1.7rem;
  color: var(--pgad-orange);
  margin-bottom: 0.8rem;
}

.pgad-card h3 {
  font-size: 1.4rem;
  color: var(--pgad-accent);
  margin: 0.8rem 0 0.4rem;
}

.pgad-card p {
  font-size: 1.3rem;
  line-height: 1.6;
  color: var(--pgad-text);
  margin-bottom: 0.6rem;
}

.pgad-card ul {
  padding-left: 1.5rem;
  margin-bottom: 0.6rem;
}

.pgad-card li {
  font-size: 1.3rem;
  line-height: 1.6;
  color: var(--pgad-text);
  margin-bottom: 0.3rem;
}

.pgad-promo-text {
  display: inline;
  color: var(--pgad-orange);
  font-weight: 600;
  cursor: pointer;
  text-decoration: underline;
}

.pgad-promo-text:hover {
  color: var(--pgad-accent);
}

/* ===== CTA BUTTON ===== */
.pgad-cta-btn {
  display: inline-block;
  background: linear-gradient(135deg, var(--pgad-orange), #e67e00);
  color: #fff;
  border: none;
  border-radius: 25px;
  padding: 1rem 2.5rem;
  font-size: 1.5rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s;
  text-align: center;
  font-family: var(--pgad-font);
  box-shadow: 0 4px 15px rgba(255,140,0,0.4);
}

.pgad-cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255,140,0,0.6);
}

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

.pgad-payment-item {
  background: var(--pgad-bg-dark);
  border: 1px solid var(--pgad-border);
  border-radius: var(--pgad-radius);
  padding: 0.6rem 1.2rem;
  font-size: 1.2rem;
  color: var(--pgad-text);
  text-align: center;
}

/* ===== TESTIMONIALS ===== */
.pgad-testimonial {
  background: var(--pgad-bg-dark);
  border-radius: var(--pgad-radius);
  padding: 1rem;
  margin-bottom: 0.8rem;
  border-left: 3px solid var(--pgad-accent);
}

.pgad-testimonial-name {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--pgad-orange);
}

.pgad-testimonial-text {
  font-size: 1.2rem;
  color: var(--pgad-text-muted);
  margin-top: 0.4rem;
  font-style: italic;
}

/* ===== WINNER SHOWCASE ===== */
.pgad-winner-list {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.pgad-winner-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--pgad-bg-dark);
  padding: 0.6rem 1rem;
  border-radius: var(--pgad-radius);
  font-size: 1.2rem;
}

.pgad-winner-game {
  color: var(--pgad-accent);
}

.pgad-winner-amount {
  color: var(--pgad-orange);
  font-weight: 700;
}

/* ===== FAQ ===== */
.pgad-faq-item {
  background: var(--pgad-bg-card);
  border-radius: var(--pgad-radius);
  margin-bottom: 0.8rem;
  overflow: hidden;
}

.pgad-faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.2rem;
  cursor: pointer;
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--pgad-text);
  transition: background 0.2s;
}

.pgad-faq-question:hover {
  background: var(--pgad-bg-dark);
}

.pgad-faq-icon {
  transition: transform 0.3s;
  color: var(--pgad-accent);
  font-size: 1.4rem;
}

.pgad-faq-icon-open {
  transform: rotate(180deg);
}

.pgad-faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  padding: 0 1.2rem;
  font-size: 1.3rem;
  color: var(--pgad-text-muted);
  line-height: 1.6;
}

.pgad-faq-open {
  max-height: 500px;
  padding: 0 1.2rem 1rem;
}

/* ===== FOOTER ===== */
.pgad-footer {
  background: var(--pgad-bg-dark);
  padding: 2rem 1rem;
  border-top: 2px solid var(--pgad-primary);
}

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

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

.pgad-footer-link {
  background: var(--pgad-bg-card);
  color: var(--pgad-text);
  padding: 0.5rem 1rem;
  border-radius: 4px;
  font-size: 1.2rem;
  transition: all 0.2s;
  text-decoration: none;
}

.pgad-footer-link:hover {
  background: var(--pgad-primary);
  color: #fff;
}

.pgad-partners {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.pgad-partner {
  background: var(--pgad-bg-card);
  padding: 0.4rem 0.8rem;
  border-radius: 4px;
  font-size: 1.1rem;
  color: var(--pgad-text-muted);
}

.pgad-copyright {
  text-align: center;
  font-size: 1.1rem;
  color: var(--pgad-text-muted);
  padding-top: 1rem;
  border-top: 1px solid var(--pgad-border);
}

/* ===== BOTTOM NAV ===== */
.pgad-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--pgad-bg-dark);
  border-top: 2px solid var(--pgad-primary);
  display: flex;
  justify-content: space-around;
  align-items: center;
  height: 60px;
  max-width: 430px;
  margin: 0 auto;
}

.pgad-nav-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  color: var(--pgad-text-muted);
  font-size: 1rem;
  cursor: pointer;
  min-width: 60px;
  min-height: 52px;
  transition: all 0.2s;
  font-family: var(--pgad-font);
  text-decoration: none;
  gap: 2px;
}

.pgad-nav-btn i,
.pgad-nav-btn .material-icons,
.pgad-nav-btn bi {
  font-size: 22px;
}

.pgad-nav-btn:hover,
.pgad-nav-btn:focus {
  color: var(--pgad-orange);
  transform: scale(1.1);
}

.pgad-nav-btn-active {
  color: var(--pgad-orange);
}

.pgad-nav-btn-label {
  font-size: 1rem;
  line-height: 1.2;
}

/* ===== SCROLL TOP BTN ===== */
.pgad-scroll-top {
  position: fixed;
  bottom: 70px;
  right: 15px;
  width: 40px;
  height: 40px;
  background: var(--pgad-primary);
  color: #fff;
  border: none;
  border-radius: 50%;
  font-size: 1.8rem;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 999;
  box-shadow: var(--pgad-shadow);
}

/* ===== DESKTOP: hide bottom nav ===== */
@media (min-width: 769px) {
  .pgad-bottom-nav {
    display: none;
  }
}

/* ===== MOBILE: bottom padding ===== */
@media (max-width: 768px) {
  main {
    padding-bottom: 80px;
  }
  .pgad-footer {
    padding-bottom: 80px;
  }
}
