/**
 * tk6.click - Core Stylesheet
 * All classes prefixed with pg56- for namespace isolation
 * Color palette: #ADB5BD | #CD5C5C | #2C3E50 | #A0522D | #8B7355 | #FFC0CB
 * Mobile-first design, max-width: 430px
 */

/* ===== CSS Variables ===== */
:root {
  --pg56-primary: #CD5C5C;
  --pg56-primary-dark: #A0522D;
  --pg56-primary-light: #FFC0CB;
  --pg56-bg-dark: #2C3E50;
  --pg56-bg-darker: #1a2530;
  --pg56-bg-card: #34495E;
  --pg56-bg-card-hover: #3d566e;
  --pg56-text-light: #ADB5BD;
  --pg56-text-white: #F8F9FA;
  --pg56-accent-warm: #8B7355;
  --pg56-accent-gold: #D4A574;
  --pg56-border-color: #4a6278;
  --pg56-shadow: 0 2px 8px rgba(0,0,0,0.3);
  --pg56-radius: 8px;
  --pg56-radius-lg: 12px;
  --pg56-transition: all 0.3s ease;
}

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

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

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: var(--pg56-bg-dark);
  color: var(--pg56-text-light);
  line-height: 1.5rem;
  font-size: 1.4rem;
  max-width: 430px;
  margin: 0 auto;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--pg56-accent-gold); text-decoration: none; }
a:hover { color: var(--pg56-primary-light); }
img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }

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

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

.pg56-header-logo {
  width: 2.8rem;
  height: 2.8rem;
  border-radius: 50%;
}

.pg56-header-brand {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--pg56-primary);
  letter-spacing: 0.5px;
}

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

.pg56-btn-register {
  background: var(--pg56-primary);
  color: var(--pg56-text-white);
  border: none;
  padding: 0.6rem 1.2rem;
  border-radius: var(--pg56-radius);
  font-size: 1.2rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--pg56-transition);
}

.pg56-btn-register:hover {
  background: #b84a4a;
  transform: scale(1.05);
}

.pg56-btn-login {
  background: transparent;
  color: var(--pg56-accent-gold);
  border: 1.5px solid var(--pg56-accent-gold);
  padding: 0.5rem 1rem;
  border-radius: var(--pg56-radius);
  font-size: 1.2rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--pg56-transition);
}

.pg56-btn-login:hover {
  background: var(--pg56-accent-gold);
  color: var(--pg56-bg-darker);
}

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

/* ===== Mobile Menu ===== */
.pg56-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.6);
  z-index: 9998;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.pg56-overlay-active {
  opacity: 1;
  pointer-events: auto;
}

.pg56-mobile-menu {
  position: fixed;
  top: 0;
  right: -280px;
  width: 260px;
  height: 100%;
  background: var(--pg56-bg-darker);
  z-index: 9999;
  transition: right 0.3s ease;
  padding: 2rem 1.5rem;
  border-left: 1px solid var(--pg56-border-color);
}

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

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

.pg56-mobile-menu-title {
  font-size: 1.6rem;
  color: var(--pg56-primary);
  margin-bottom: 2rem;
  font-weight: 700;
}

.pg56-mobile-menu-link {
  display: block;
  padding: 1rem 0;
  color: var(--pg56-text-light);
  font-size: 1.4rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  transition: var(--pg56-transition);
}

.pg56-mobile-menu-link:hover {
  color: var(--pg56-accent-gold);
  padding-left: 0.5rem;
}

/* ===== Main Content ===== */
.pg56-main {
  padding-top: 5.8rem;
  padding-bottom: 1rem;
}

@media (max-width: 768px) {
  .pg56-main {
    padding-bottom: 7.5rem;
  }
}

.pg56-container {
  width: 100%;
  padding: 0 1rem;
}

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

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

.pg56-slide-active {
  display: block;
  animation: pg56-fadeIn 0.6s ease;
}

@keyframes pg56-fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.pg56-carousel-slide img {
  width: 100%;
  height: 18rem;
  object-fit: cover;
}

.pg56-carousel-dots {
  position: absolute;
  bottom: 0.8rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.6rem;
}

.pg56-carousel-dot {
  width: 0.8rem;
  height: 0.8rem;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  cursor: pointer;
  transition: var(--pg56-transition);
}

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

/* ===== Section Titles ===== */
.pg56-section-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--pg56-text-white);
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--pg56-primary);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.pg56-section-title i {
  color: var(--pg56-primary);
}

/* ===== Category Label ===== */
.pg56-category-label {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--pg56-primary);
  margin: 1.5rem 0 0.8rem;
  padding-left: 0.5rem;
  border-left: 3px solid var(--pg56-primary);
}

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

.pg56-game-item {
  text-align: center;
  cursor: pointer;
  transition: var(--pg56-transition);
  border-radius: var(--pg56-radius);
  padding: 0.4rem;
}

.pg56-game-item:hover {
  background: var(--pg56-bg-card);
  transform: translateY(-2px);
}

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

.pg56-game-name {
  font-size: 1.05rem;
  color: var(--pg56-text-light);
  margin-top: 0.3rem;
  line-height: 1.2;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* ===== Content Cards ===== */
.pg56-card {
  background: var(--pg56-bg-card);
  border-radius: var(--pg56-radius-lg);
  padding: 1.5rem;
  margin-bottom: 1.2rem;
  border: 1px solid var(--pg56-border-color);
  box-shadow: var(--pg56-shadow);
}

.pg56-card h2 {
  font-size: 1.6rem;
  color: var(--pg56-text-white);
  margin-bottom: 0.8rem;
}

.pg56-card h3 {
  font-size: 1.4rem;
  color: var(--pg56-primary);
  margin-bottom: 0.6rem;
}

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

/* ===== Promo Buttons ===== */
.pg56-promo-btn {
  display: inline-block;
  background: linear-gradient(135deg, var(--pg56-primary), var(--pg56-primary-dark));
  color: var(--pg56-text-white);
  padding: 0.8rem 1.6rem;
  border-radius: var(--pg56-radius);
  font-size: 1.3rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: var(--pg56-transition);
  text-align: center;
  margin: 0.5rem 0;
}

.pg56-promo-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(205,92,92,0.4);
}

/* ===== Promo Text Link ===== */
.pg56-promo-link {
  color: var(--pg56-primary);
  font-weight: 600;
  cursor: pointer;
  text-decoration: underline;
  transition: var(--pg56-transition);
}

.pg56-promo-link:hover {
  color: var(--pg56-primary-light);
}

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

.pg56-testimonial-name {
  font-size: 1.2rem;
  color: var(--pg56-accent-gold);
  font-weight: 600;
  margin-bottom: 0.3rem;
}

.pg56-testimonial-text {
  font-size: 1.2rem;
  color: var(--pg56-text-light);
  line-height: 1.4;
  font-style: italic;
}

/* ===== Payment Methods ===== */
.pg56-payment-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin: 0.8rem 0;
}

.pg56-payment-item {
  background: var(--pg56-bg-card);
  border: 1px solid var(--pg56-border-color);
  border-radius: var(--pg56-radius);
  padding: 0.5rem 1rem;
  font-size: 1.1rem;
  color: var(--pg56-text-light);
}

/* ===== Winner List ===== */
.pg56-winner-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.6rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  font-size: 1.2rem;
}

.pg56-winner-name { color: var(--pg56-accent-gold); }
.pg56-winner-amount { color: var(--pg56-primary-light); font-weight: 600; }
.pg56-winner-game { color: var(--pg56-text-light); font-size: 1.1rem; }

/* ===== FAQ Section ===== */
.pg56-faq-item {
  margin-bottom: 0.8rem;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  padding-bottom: 0.8rem;
}

.pg56-faq-question {
  font-size: 1.3rem;
  color: var(--pg56-accent-gold);
  font-weight: 600;
  margin-bottom: 0.3rem;
}

.pg56-faq-answer {
  font-size: 1.2rem;
  color: var(--pg56-text-light);
  line-height: 1.5;
}

/* ===== Footer ===== */
.pg56-footer {
  background: var(--pg56-bg-darker);
  border-top: 1px solid var(--pg56-border-color);
  padding: 2rem 1rem;
  margin-top: 2rem;
}

.pg56-footer-brand {
  font-size: 1.2rem;
  color: var(--pg56-text-light);
  line-height: 1.6;
  margin-bottom: 1.2rem;
}

.pg56-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.pg56-footer-link {
  background: var(--pg56-bg-card);
  color: var(--pg56-text-light);
  padding: 0.4rem 0.8rem;
  border-radius: var(--pg56-radius);
  font-size: 1.1rem;
  cursor: pointer;
  transition: var(--pg56-transition);
  border: 1px solid var(--pg56-border-color);
}

.pg56-footer-link:hover {
  color: var(--pg56-accent-gold);
  border-color: var(--pg56-accent-gold);
}

.pg56-footer-copy {
  text-align: center;
  font-size: 1.1rem;
  color: rgba(173,181,189,0.6);
  margin-top: 1rem;
}

/* ===== Bottom Navigation ===== */
.pg56-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  height: 60px;
  background: var(--pg56-bg-darker);
  border-top: 1px solid var(--pg56-border-color);
  display: flex;
  justify-content: space-around;
  align-items: center;
  z-index: 1000;
  box-shadow: 0 -2px 10px rgba(0,0,0,0.3);
}

.pg56-bottom-nav-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 60px;
  min-height: 54px;
  background: none;
  border: none;
  color: var(--pg56-text-light);
  cursor: pointer;
  transition: var(--pg56-transition);
  padding: 0.4rem;
  border-radius: var(--pg56-radius);
}

.pg56-bottom-nav-btn i,
.pg56-bottom-nav-btn .material-icons-outlined,
.pg56-bottom-nav-btn ion-icon {
  font-size: 22px;
  margin-bottom: 0.2rem;
}

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

.pg56-bottom-nav-btn:hover,
.pg56-nav-active {
  color: var(--pg56-primary);
}

.pg56-nav-active {
  position: relative;
}

.pg56-nav-active::after {
  content: '';
  position: absolute;
  top: -2px;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 2px;
  background: var(--pg56-primary);
  border-radius: 2px;
}

/* ===== Utility Classes ===== */
.pg56-text-center { text-align: center; }
.pg56-text-white { color: var(--pg56-text-white); }
.pg56-text-gold { color: var(--pg56-accent-gold); }
.pg56-mt-1 { margin-top: 0.5rem; }
.pg56-mt-2 { margin-top: 1rem; }
.pg56-mt-3 { margin-top: 1.5rem; }
.pg56-mb-1 { margin-bottom: 0.5rem; }
.pg56-mb-2 { margin-bottom: 1rem; }
.pg56-hidden { display: none; }

/* ===== Internal Link Style ===== */
.pg56-internal-link {
  color: var(--pg56-accent-gold);
  text-decoration: underline;
  font-weight: 500;
  transition: var(--pg56-transition);
}

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

/* ===== Desktop Hide ===== */
@media (min-width: 769px) {
  .pg56-bottom-nav {
    display: none;
  }
}

/* ===== Mobile Adjustments ===== */
@media (max-width: 430px) {
  body {
    max-width: 100%;
  }
  .pg56-header {
    max-width: 100%;
  }
  .pg56-bottom-nav {
    max-width: 100%;
  }
}

/* ===== App Download CTA ===== */
.pg56-app-cta {
  background: linear-gradient(135deg, var(--pg56-bg-card), var(--pg56-accent-warm));
  border-radius: var(--pg56-radius-lg);
  padding: 1.5rem;
  text-align: center;
  margin: 1.5rem 0;
  border: 1px solid var(--pg56-accent-gold);
}

.pg56-app-cta h3 {
  color: var(--pg56-text-white);
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

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

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

.pg56-rtp-table th {
  background: var(--pg56-primary-dark);
  color: var(--pg56-text-white);
  padding: 0.6rem;
  text-align: left;
  font-size: 1.1rem;
}

.pg56-rtp-table td {
  padding: 0.5rem 0.6rem;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  color: var(--pg56-text-light);
}

.pg56-rtp-table tr:hover td {
  background: rgba(205,92,92,0.1);
}

/* ===== Help Page Specific ===== */
.pg56-help-section {
  margin-bottom: 1.5rem;
}

.pg56-help-section h2 {
  font-size: 1.6rem;
  color: var(--pg56-primary);
  margin-bottom: 0.8rem;
  padding-bottom: 0.4rem;
  border-bottom: 1px solid var(--pg56-border-color);
}

.pg56-help-section p,
.pg56-help-section li {
  font-size: 1.3rem;
  color: var(--pg56-text-light);
  line-height: 1.6;
  margin-bottom: 0.4rem;
}

.pg56-help-section ol {
  padding-left: 1.5rem;
  list-style: decimal;
}

.pg56-help-section ul {
  padding-left: 1.5rem;
  list-style: disc;
}

/* ===== Badge ===== */
.pg56-badge {
  display: inline-block;
  background: var(--pg56-primary);
  color: var(--pg56-text-white);
  padding: 0.2rem 0.6rem;
  border-radius: 10px;
  font-size: 1rem;
  font-weight: 600;
}

/* ===== Feature List ===== */
.pg56-feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.8rem;
  margin: 1rem 0;
}

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

.pg56-feature-item i {
  font-size: 2rem;
  color: var(--pg56-primary);
  margin-bottom: 0.4rem;
}

.pg56-feature-item p {
  font-size: 1.1rem;
  color: var(--pg56-text-light);
  margin-top: 0.3rem;
}
