/**
 * tk77.click - Layout Stylesheet
 * Class prefix: pg06-
 * Color palette: #333333 | #EE82EE | #FFC0CB | #BA55D3 | #DDA0DD
 */

/* Root variables and reset */
:root {
  --pg06-bg: #333333;
  --pg06-bg-dark: #1a1a2e;
  --pg06-bg-card: #2a2a3e;
  --pg06-primary: #EE82EE;
  --pg06-secondary: #BA55D3;
  --pg06-accent: #FFC0CB;
  --pg06-light: #DDA0DD;
  --pg06-text: #f0e6f6;
  --pg06-text-muted: #b8a9c2;
  --pg06-border: rgba(238, 130, 238, 0.2);
  --pg06-radius: 10px;
  --pg06-shadow: 0 2px 12px rgba(0,0,0,0.3);
  --pg06-gradient: linear-gradient(135deg, #EE82EE, #BA55D3);
}

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

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

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  background-color: var(--pg06-bg);
  color: var(--pg06-text);
  line-height: 1.5rem;
  font-size: 1.4rem;
  max-width: 430px;
  margin: 0 auto;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

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

/* Header */
.pg06-header {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  background: var(--pg06-bg-dark);
  border-bottom: 1px solid var(--pg06-border);
  z-index: 1000;
  padding: 0.8rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.pg06-header-left {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.pg06-logo {
  width: 28px;
  height: 28px;
  border-radius: 6px;
}

.pg06-site-name {
  font-size: 1.6rem;
  font-weight: 700;
  background: var(--pg06-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.pg06-header-right {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.pg06-btn-register,
.pg06-btn-login {
  border: none;
  border-radius: 6px;
  padding: 0.5rem 1rem;
  font-size: 1.2rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s, opacity 0.2s;
}

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

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

.pg06-btn-register:active,
.pg06-btn-login:active {
  transform: scale(0.95);
  opacity: 0.85;
}

.pg06-menu-toggle {
  background: none;
  border: none;
  color: var(--pg06-primary);
  font-size: 2rem;
  cursor: pointer;
  padding: 0.4rem;
  line-height: 1;
}

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

/* Mobile slide menu */
.pg06-mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: 75%;
  max-width: 300px;
  height: 100%;
  background: var(--pg06-bg-dark);
  z-index: 9999;
  transform: translateX(100%);
  transition: transform 0.3s ease;
  padding: 2rem 1.5rem;
  overflow-y: auto;
}

.pg06-mobile-menu-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--pg06-border);
}

.pg06-mobile-menu-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--pg06-primary);
}

.pg06-mobile-menu-close {
  background: none;
  border: none;
  color: var(--pg06-text);
  font-size: 2.2rem;
  cursor: pointer;
  line-height: 1;
}

.pg06-mobile-menu a {
  display: block;
  padding: 1rem 0;
  color: var(--pg06-text);
  text-decoration: none;
  font-size: 1.4rem;
  border-bottom: 1px solid var(--pg06-border);
  transition: color 0.2s, padding-left 0.2s;
}

.pg06-mobile-menu a:hover {
  color: var(--pg06-primary);
  padding-left: 0.5rem;
}

/* Spacer for fixed header */
.pg06-header-spacer {
  height: 52px;
}

/* Carousel / Slider */
.pg06-carousel {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: var(--pg06-radius);
  margin-bottom: 1.5rem;
}

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

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

.pg06-slide-active {
  display: block;
}

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

.pg06-carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  border: none;
  cursor: pointer;
  padding: 0;
}

.pg06-carousel-dot-active {
  background: var(--pg06-primary);
}

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

.pg06-section-subtitle {
  font-size: 1.5rem;
  font-weight: 600;
  margin: 1.2rem 0 0.8rem;
  color: var(--pg06-light);
}

/* Game grid */
.pg06-game-section {
  margin-bottom: 2rem;
}

.pg06-game-section h2 {
  font-size: 1.6rem;
  color: var(--pg06-primary);
  margin-bottom: 0.8rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

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

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

.pg06-game-item:active {
  transform: scale(0.93);
}

.pg06-game-item img {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 10px;
  object-fit: cover;
  border: 1px solid var(--pg06-border);
}

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

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

.pg06-card-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--pg06-primary);
  margin-bottom: 0.8rem;
}

/* Promo buttons */
.pg06-btn-promo {
  display: inline-block;
  background: var(--pg06-gradient);
  color: #fff;
  padding: 0.8rem 1.8rem;
  border-radius: 25px;
  font-size: 1.3rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: transform 0.2s, box-shadow 0.2s;
  text-align: center;
}

.pg06-btn-promo:active {
  transform: scale(0.95);
  box-shadow: 0 0 15px rgba(238, 130, 238, 0.4);
}

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

.pg06-promo-link:hover {
  color: var(--pg06-accent);
}

/* Content section */
.pg06-content-section {
  margin-bottom: 2rem;
  padding: 0 1.2rem;
}

.pg06-content-section h1 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--pg06-primary);
  margin-bottom: 1rem;
  line-height: 2.4rem;
}

.pg06-content-section h2 {
  font-size: 1.7rem;
  font-weight: 600;
  color: var(--pg06-light);
  margin: 1.5rem 0 0.8rem;
}

.pg06-content-section h3 {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--pg06-accent);
  margin: 1.2rem 0 0.6rem;
}

.pg06-content-section p {
  margin-bottom: 0.8rem;
  line-height: 1.8rem;
  color: var(--pg06-text);
}

.pg06-content-section ul,
.pg06-content-section ol {
  margin: 0.5rem 0 1rem 1.5rem;
}

.pg06-content-section li {
  margin-bottom: 0.4rem;
  line-height: 1.7rem;
}

/* Payment methods */
.pg06-payment-grid {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin: 1rem 0;
}

.pg06-payment-item {
  background: var(--pg06-bg-card);
  border: 1px solid var(--pg06-border);
  border-radius: 8px;
  padding: 0.6rem 1.2rem;
  font-size: 1.2rem;
  color: var(--pg06-light);
}

/* Testimonials */
.pg06-testimonial {
  background: var(--pg06-bg-card);
  border-radius: var(--pg06-radius);
  padding: 1.2rem;
  margin-bottom: 1rem;
  border-left: 3px solid var(--pg06-primary);
}

.pg06-testimonial-name {
  font-weight: 600;
  color: var(--pg06-primary);
  font-size: 1.3rem;
}

.pg06-testimonial-text {
  font-size: 1.2rem;
  color: var(--pg06-text-muted);
  margin-top: 0.4rem;
  line-height: 1.6rem;
}

/* Winners showcase */
.pg06-winners-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.8rem;
}

.pg06-winner-item {
  background: var(--pg06-bg-card);
  border-radius: 8px;
  padding: 0.8rem;
  text-align: center;
  border: 1px solid var(--pg06-border);
}

.pg06-winner-amount {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--pg06-accent);
}

.pg06-winner-game {
  font-size: 1.1rem;
  color: var(--pg06-text-muted);
  margin-top: 0.3rem;
}

/* Footer */
.pg06-footer {
  background: var(--pg06-bg-dark);
  border-top: 1px solid var(--pg06-border);
  padding: 2rem 1.2rem;
  margin-top: 2rem;
}

.pg06-footer-brand {
  font-size: 1.3rem;
  color: var(--pg06-text-muted);
  line-height: 1.7rem;
  margin-bottom: 1.2rem;
}

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

.pg06-footer-links a {
  color: var(--pg06-primary);
  text-decoration: none;
  font-size: 1.2rem;
  padding: 0.4rem 0.8rem;
  background: var(--pg06-bg-card);
  border-radius: 5px;
  border: 1px solid var(--pg06-border);
  transition: background 0.2s;
}

.pg06-footer-links a:hover {
  background: rgba(238, 130, 238, 0.15);
}

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

/* Bottom nav */
.pg06-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  background: var(--pg06-bg-dark);
  border-top: 1px solid var(--pg06-border);
  display: flex;
  justify-content: space-around;
  align-items: center;
  height: 60px;
  z-index: 1000;
  padding: 0 0.3rem;
}

.pg06-bottom-nav-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 60px;
  min-height: 56px;
  background: none;
  border: none;
  color: var(--pg06-text-muted);
  cursor: pointer;
  transition: color 0.2s, transform 0.2s;
  padding: 0.3rem;
  text-decoration: none;
}

.pg06-bottom-nav-btn:active {
  transform: scale(0.9);
}

.pg06-bottom-nav-active {
  color: var(--pg06-primary);
}

.pg06-bottom-nav-btn i,
.pg06-bottom-nav-btn .material-icons,
.pg06-bottom-nav-btn ion-icon {
  font-size: 22px;
  margin-bottom: 2px;
}

.pg06-bottom-nav-btn span {
  font-size: 1rem;
  line-height: 1.2rem;
}

/* Internal link styles */
.pg06-internal-link {
  color: var(--pg06-light);
  text-decoration: underline;
  transition: color 0.2s;
}

.pg06-internal-link:hover {
  color: var(--pg06-primary);
}

/* FAQ styles */
.pg06-faq-item {
  margin-bottom: 1rem;
}

.pg06-faq-q {
  font-weight: 600;
  color: var(--pg06-primary);
  font-size: 1.3rem;
  margin-bottom: 0.3rem;
}

.pg06-faq-a {
  color: var(--pg06-text);
  font-size: 1.2rem;
  line-height: 1.6rem;
  padding-left: 1rem;
}

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

.pg06-feature-item {
  background: var(--pg06-bg-card);
  border-radius: 8px;
  padding: 1rem;
  text-align: center;
  border: 1px solid var(--pg06-border);
}

.pg06-feature-item i,
.pg06-feature-item .material-icons {
  font-size: 2rem;
  color: var(--pg06-primary);
  margin-bottom: 0.5rem;
}

.pg06-feature-item p {
  font-size: 1.2rem;
  color: var(--pg06-text);
}

/* Mobile bottom padding */
@media (max-width: 768px) {
  .pg06-main-content {
    padding-bottom: 75px;
  }
}

/* Hide bottom nav on desktop */
@media (min-width: 769px) {
  .pg06-bottom-nav {
    display: none;
  }
}

/* App download section */
.pg06-app-cta {
  background: linear-gradient(135deg, rgba(186, 85, 211, 0.3), rgba(238, 130, 238, 0.2));
  border-radius: var(--pg06-radius);
  padding: 1.5rem;
  text-align: center;
  border: 1px solid var(--pg06-border);
  margin-bottom: 1.5rem;
}

.pg06-app-cta h3 {
  font-size: 1.6rem;
  color: var(--pg06-primary);
  margin-bottom: 0.6rem;
}

.pg06-app-cta p {
  font-size: 1.2rem;
  color: var(--pg06-text-muted);
  margin-bottom: 1rem;
}
