/* 2999 bdt - Main Stylesheet */
/* All classes use pga6- prefix for namespace isolation */

:root {
  --pga6-primary: #9370DB;
  --pga6-secondary: #DB7093;
  --pga6-dark: #262626;
  --pga6-bg: #1a1a2e;
  --pga6-bg2: #16213e;
  --pga6-text: #f0f0f0;
  --pga6-text2: #b8b8d0;
  --pga6-accent: #e8b4f8;
  --pga6-gold: #ffd700;
  --pga6-card-bg: #1e1e3a;
  --pga6-card-border: #3a3a5c;
  --pga6-gradient: linear-gradient(135deg, #9370DB, #DB7093);
}

* {
  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(--pga6-bg);
  color: var(--pga6-text);
  line-height: 1.5rem;
  font-size: 1.4rem;
  -webkit-font-smoothing: antialiased;
  padding-top: 56px;
  padding-bottom: 0;
}

@media (max-width: 768px) {
  body {
    padding-bottom: 70px;
  }
}

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

a:hover {
  color: var(--pga6-secondary);
}

/* Container */
.pga6-container {
  max-width: 430px;
  margin: 0 auto;
  padding: 0 1.2rem;
}

/* Header */
.pga6-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 56px;
  background: var(--pga6-dark);
  border-bottom: 2px solid var(--pga6-primary);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1rem;
}

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

.pga6-header-logo img {
  width: 28px;
  height: 28px;
  border-radius: 4px;
}

.pga6-header-logo span {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--pga6-primary);
  white-space: nowrap;
}

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

.pga6-btn-register,
.pga6-btn-login {
  padding: 0.5rem 1.2rem;
  border-radius: 2rem;
  font-size: 1.2rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all 0.25s;
  touch-action: manipulation;
}

.pga6-btn-register {
  background: var(--pga6-gradient);
  color: #fff;
}

.pga6-btn-register:hover {
  transform: scale(1.05);
  box-shadow: 0 0 12px rgba(147, 112, 219, 0.5);
}

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

.pga6-btn-login:hover {
  background: var(--pga6-primary);
  color: #fff;
}

.pga6-menu-toggle {
  background: none;
  border: none;
  color: var(--pga6-text);
  font-size: 2rem;
  cursor: pointer;
  padding: 0.4rem;
  display: none;
}

@media (max-width: 768px) {
  .pga6-menu-toggle {
    display: block;
  }
}

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

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

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

.pga6-menu-open {
  right: 0 !important;
}

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

.pga6-mobile-menu a {
  display: block;
  padding: 1.2rem 0;
  color: var(--pga6-text);
  font-size: 1.4rem;
  border-bottom: 1px solid var(--pga6-card-border);
  transition: color 0.2s;
}

.pga6-mobile-menu a:hover {
  color: var(--pga6-primary);
}

/* Desktop Nav */
.pga6-desktop-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.pga6-desktop-nav a {
  color: var(--pga6-text2);
  font-size: 1.2rem;
  transition: color 0.2s;
}

.pga6-desktop-nav a:hover {
  color: var(--pga6-primary);
}

@media (max-width: 768px) {
  .pga6-desktop-nav {
    display: none;
  }
}

/* Bottom Navigation */
.pga6-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 60px;
  background: var(--pga6-dark);
  border-top: 2px solid var(--pga6-primary);
  z-index: 1000;
  display: none;
  justify-content: space-around;
  align-items: center;
  padding: 0 0.4rem;
}

@media (max-width: 768px) {
  .pga6-bottom-nav {
    display: flex;
  }
}

.pga6-bottom-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 60px;
  min-height: 54px;
  background: none;
  border: none;
  color: var(--pga6-text2);
  cursor: pointer;
  transition: all 0.25s;
  touch-action: manipulation;
  text-decoration: none;
}

.pga6-bottom-btn:hover,
.pga6-bottom-btn:active {
  color: var(--pga6-primary);
  transform: scale(1.08);
}

.pga6-bottom-btn .pga6-bottom-icon {
  font-size: 2.2rem;
  line-height: 1;
  margin-bottom: 0.2rem;
}

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

.pga6-bottom-btn.pga6-active {
  color: var(--pga6-primary);
}

/* Carousel */
.pga6-carousel {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: 0.8rem;
  margin-bottom: 2rem;
}

.pga6-carousel-slide {
  display: none;
  width: 100%;
  cursor: pointer;
}

.pga6-carousel-slide img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 0.8rem;
}

.pga6-carousel-dots {
  display: flex;
  justify-content: center;
  gap: 0.6rem;
  margin-top: 0.8rem;
}

.pga6-carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--pga6-card-border);
  border: none;
  cursor: pointer;
  transition: background 0.3s;
}

.pga6-dot-active {
  background: var(--pga6-primary) !important;
}

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

.pga6-section-title .pga6-icon-prefix {
  margin-right: 0.5rem;
  color: var(--pga6-primary);
}

/* Game Grid */
.pga6-game-section {
  margin-bottom: 2rem;
}

.pga6-game-category-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--pga6-accent);
  margin: 1.5rem 0 0.8rem;
  padding-left: 0.5rem;
  border-left: 3px solid var(--pga6-primary);
}

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

@media (max-width: 320px) {
  .pga6-game-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.pga6-game-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
  transition: transform 0.2s;
  text-decoration: none;
}

.pga6-game-card:hover {
  transform: scale(1.05);
}

.pga6-game-card img {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 0.6rem;
  object-fit: cover;
  border: 1.5px solid var(--pga6-card-border);
}

.pga6-game-card span {
  font-size: 1rem;
  color: var(--pga6-text2);
  text-align: center;
  margin-top: 0.3rem;
  line-height: 1.2;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Cards */
.pga6-card {
  background: var(--pga6-card-bg);
  border-radius: 0.8rem;
  border: 1px solid var(--pga6-card-border);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}

.pga6-card h3 {
  color: var(--pga6-accent);
  font-size: 1.6rem;
  margin-bottom: 0.8rem;
}

.pga6-card p {
  color: var(--pga6-text2);
  font-size: 1.3rem;
  line-height: 1.6;
}

/* Promo Banner */
.pga6-promo-banner {
  background: var(--pga6-gradient);
  border-radius: 0.8rem;
  padding: 1.5rem;
  text-align: center;
  margin: 1.5rem 0;
  cursor: pointer;
}

.pga6-promo-banner h3 {
  color: #fff;
  font-size: 1.6rem;
  margin-bottom: 0.5rem;
}

.pga6-promo-banner p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.3rem;
}

/* CTA Button */
.pga6-cta-btn {
  display: inline-block;
  background: var(--pga6-gradient);
  color: #fff;
  padding: 1rem 2.4rem;
  border-radius: 3rem;
  font-size: 1.4rem;
  font-weight: 700;
  cursor: pointer;
  border: none;
  transition: all 0.3s;
  text-decoration: none;
  touch-action: manipulation;
}

.pga6-cta-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 18px rgba(147, 112, 219, 0.5);
  color: #fff;
}

/* Highlight text */
.pga6-highlight {
  color: var(--pga6-primary);
  font-weight: 700;
}

.pga6-highlight-pink {
  color: var(--pga6-secondary);
  font-weight: 700;
}

/* Footer */
.pga6-footer {
  background: var(--pga6-dark);
  border-top: 2px solid var(--pga6-primary);
  padding: 2.5rem 1.5rem 2rem;
  margin-top: 2rem;
}

.pga6-footer-brand {
  color: var(--pga6-text2);
  font-size: 1.2rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

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

.pga6-footer-links a {
  color: var(--pga6-primary);
  font-size: 1.2rem;
  padding: 0.4rem 0.8rem;
  border: 1px solid var(--pga6-card-border);
  border-radius: 0.5rem;
  transition: all 0.2s;
}

.pga6-footer-links a:hover {
  background: var(--pga6-primary);
  color: #fff;
}

.pga6-footer-copy {
  color: var(--pga6-text2);
  font-size: 1.1rem;
  text-align: center;
  border-top: 1px solid var(--pga6-card-border);
  padding-top: 1rem;
}

/* FAQ Section */
.pga6-faq-item {
  background: var(--pga6-card-bg);
  border: 1px solid var(--pga6-card-border);
  border-radius: 0.6rem;
  padding: 1.2rem;
  margin-bottom: 0.8rem;
}

.pga6-faq-item h4 {
  color: var(--pga6-accent);
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
}

.pga6-faq-item p {
  color: var(--pga6-text2);
  font-size: 1.2rem;
  line-height: 1.5;
}

/* Feature Grid */
.pga6-feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.8rem;
  margin: 1rem 0;
}

.pga6-feature-item {
  background: var(--pga6-card-bg);
  border: 1px solid var(--pga6-card-border);
  border-radius: 0.6rem;
  padding: 1rem;
  text-align: center;
  cursor: pointer;
  transition: all 0.25s;
}

.pga6-feature-item:hover {
  border-color: var(--pga6-primary);
  transform: scale(1.03);
}

.pga6-feature-item .pga6-feature-icon {
  font-size: 2.4rem;
  color: var(--pga6-primary);
  margin-bottom: 0.5rem;
}

.pga6-feature-item h4 {
  color: var(--pga6-accent);
  font-size: 1.2rem;
  margin-bottom: 0.3rem;
}

.pga6-feature-item p {
  color: var(--pga6-text2);
  font-size: 1.1rem;
}

/* Winner Showcase */
.pga6-winner-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--pga6-card-border);
}

.pga6-winner-name {
  color: var(--pga6-accent);
  font-size: 1.2rem;
}

.pga6-winner-amount {
  color: var(--pga6-gold);
  font-weight: 700;
  font-size: 1.2rem;
}

/* Payment Methods */
.pga6-payment-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin: 1rem 0;
}

.pga6-payment-item {
  background: var(--pga6-card-bg);
  border: 1px solid var(--pga6-card-border);
  border-radius: 0.5rem;
  padding: 0.5rem 1rem;
  color: var(--pga6-text2);
  font-size: 1.2rem;
}

/* Responsive Helpers */
@media (max-width: 430px) {
  .pga6-container {
    padding: 0 0.8rem;
  }

  .pga6-header-logo span {
    font-size: 1.4rem;
  }

  .pga6-btn-register,
  .pga6-btn-login {
    padding: 0.4rem 0.8rem;
    font-size: 1.1rem;
  }
}

/* Text link for promo */
.pga6-text-link {
  color: var(--pga6-primary);
  font-weight: 600;
  cursor: pointer;
  text-decoration: underline;
  transition: color 0.2s;
}

.pga6-text-link:hover {
  color: var(--pga6-secondary);
}

/* Scroll to top */
.pga6-scroll-top {
  position: fixed;
  bottom: 75px;
  right: 12px;
  width: 40px;
  height: 40px;
  background: var(--pga6-gradient);
  border-radius: 50%;
  border: none;
  color: #fff;
  font-size: 1.8rem;
  cursor: pointer;
  display: none;
  z-index: 999;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
}

.pga6-scroll-top:hover {
  transform: scale(1.1);
}

@media (max-width: 768px) {
  .pga6-scroll-top {
    bottom: 72px;
  }
}