/**
 * pk111.click - Main Stylesheet
 * All classes use s56a- prefix for namespace isolation
 * Color palette: #1B263B (dark bg), #A0522D (accent), #7CFC00 (highlight)
 * Mobile-first responsive design
 */

/* CSS Variables */
:root {
  --s56a-primary: #A0522D;
  --s56a-secondary: #7CFC00;
  --s56a-bg: #1B263B;
  --s56a-bg-light: #243447;
  --s56a-bg-card: #1e3048;
  --s56a-text: #f0f0f0;
  --s56a-text-muted: #a0b4c8;
  --s56a-border: #2d4a66;
  --s56a-gold: #FFD700;
  --s56a-font-size: 62.5%;
}

/* Reset & Base */
html { font-size: var(--s56a-font-size); }
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
  font-family: 'Segoe UI', Roboto, -apple-system, sans-serif;
  background: var(--s56a-bg);
  color: var(--s56a-text);
  line-height: 1.5rem;
  font-size: 1.6rem;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Container & Layout */
.s56a-container { max-width: 430px; margin: 0 auto; padding: 0 1.2rem; width: 100%; }
.s56a-wrapper { padding-top: 6rem; padding-bottom: 2rem; }
.s56a-grid { display: grid; gap: 1rem; }

/* Header */
.s56a-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: linear-gradient(135deg, var(--s56a-bg) 0%, var(--s56a-bg-light) 100%);
  border-bottom: 2px solid var(--s56a-primary);
  padding: 0.8rem 1rem;
  display: flex; align-items: center; justify-content: space-between;
  max-width: 430px; margin: 0 auto;
  transition: all 0.3s ease;
}
.s56a-header-scrolled {
  background: rgba(27, 38, 59, 0.97);
  box-shadow: 0 2px 12px rgba(0,0,0,0.5);
}
.s56a-header-left { display: flex; align-items: center; gap: 0.6rem; }
.s56a-header-logo { width: 28px; height: 28px; border-radius: 6px; }
.s56a-header-title {
  font-size: 1.8rem; font-weight: 800; color: var(--s56a-secondary);
  text-transform: uppercase; letter-spacing: 0.5px;
}
.s56a-header-right { display: flex; align-items: center; gap: 0.5rem; }
.s56a-header-btn {
  padding: 0.5rem 1.2rem; border-radius: 6px; font-size: 1.2rem;
  font-weight: 700; cursor: pointer; border: none; text-transform: uppercase;
  transition: all 0.25s ease; min-height: 32px;
}
.s56a-btn-register {
  background: var(--s56a-secondary); color: var(--s56a-bg);
}
.s56a-btn-register:hover { background: #6ae600; transform: scale(1.05); }
.s56a-btn-login {
  background: transparent; color: var(--s56a-secondary);
  border: 1.5px solid var(--s56a-secondary);
}
.s56a-btn-login:hover { background: rgba(124, 252, 0, 0.1); }
.s56a-menu-btn {
  background: none; border: none; color: var(--s56a-text);
  font-size: 2rem; cursor: pointer; padding: 0.3rem;
  line-height: 1;
}

/* Mobile Menu */
.s56a-mobile-menu {
  position: fixed; top: 0; right: -280px; width: 280px; height: 100%;
  background: var(--s56a-bg-light); z-index: 9999;
  transition: right 0.35s ease; padding-top: 6rem;
  box-shadow: -4px 0 20px rgba(0,0,0,0.5);
}
.s56a-menu-active { right: 0; }
.s56a-menu-overlay {
  position: fixed; top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.6); z-index: 9998;
  opacity: 0; pointer-events: none; transition: opacity 0.3s ease;
}
.s56a-overlay-active { opacity: 1; pointer-events: all; }
.s56a-mobile-menu nav { padding: 1rem 0; }
.s56a-mobile-menu a {
  display: flex; align-items: center; gap: 1rem;
  padding: 1.2rem 2rem; color: var(--s56a-text);
  text-decoration: none; font-size: 1.5rem; font-weight: 500;
  border-bottom: 1px solid var(--s56a-border);
  transition: all 0.2s ease;
}
.s56a-mobile-menu a:hover { background: rgba(160, 82, 45, 0.15); color: var(--s56a-secondary); }
.s56a-mobile-menu a i { width: 24px; text-align: center; }
.s56a-menu-close {
  position: absolute; top: 1.2rem; right: 1.5rem;
  background: none; border: none; color: var(--s56a-text);
  font-size: 2.4rem; cursor: pointer;
}

/* Carousel / Slider */
.s56a-carousel {
  position: relative; width: 100%; aspect-ratio: 16/9;
  border-radius: 10px; overflow: hidden; margin-top: 0.8rem;
}
.s56a-carousel-slide {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  opacity: 0; transition: opacity 0.6s ease;
}
.s56a-slide-active { opacity: 1; }
.s56a-carousel-slide img { width: 100%; height: 100%; object-fit: cover; }
.s56a-carousel-dots {
  position: absolute; bottom: 10px; left: 50%; transform: translateX(-50%);
  display: flex; gap: 8px; z-index: 5;
}
.s56a-carousel-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: rgba(255,255,255,0.4); cursor: pointer;
  transition: all 0.3s ease; border: none;
}
.s56a-dot-active { background: var(--s56a-secondary); transform: scale(1.3); }

/* Section Titles */
.s56a-section-title {
  font-size: 2rem; font-weight: 800; color: var(--s56a-text);
  margin: 2rem 0 1.2rem; padding-bottom: 0.6rem;
  border-bottom: 2px solid var(--s56a-primary);
  display: flex; align-items: center; gap: 0.8rem;
}
.s56a-section-title i { color: var(--s56a-secondary); font-size: 2.2rem; }

/* Game Grid */
.s56a-game-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 0.8rem;
}
.s56a-game-card {
  text-align: center; cursor: pointer; border-radius: 8px;
  padding: 0.5rem; transition: all 0.25s ease;
  background: var(--s56a-bg-card);
}
.s56a-game-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 15px rgba(124, 252, 0, 0.15);
}
.s56a-game-card img {
  width: 100%; aspect-ratio: 1; border-radius: 8px;
  object-fit: cover; margin-bottom: 0.4rem;
}
.s56a-game-card span {
  font-size: 1.1rem; color: var(--s56a-text-muted);
  display: block; line-height: 1.3; overflow: hidden;
  text-overflow: ellipsis; white-space: nowrap;
}

/* Promo Buttons & Links */
.s56a-promo-btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 1.2rem 2.5rem; background: linear-gradient(135deg, var(--s56a-primary) 0%, #c4713d 100%);
  color: #fff; font-size: 1.6rem; font-weight: 700;
  border-radius: 8px; cursor: pointer; border: none;
  text-decoration: none; transition: all 0.3s ease;
  min-height: 48px; text-transform: uppercase;
}
.s56a-promo-btn:hover { transform: scale(1.05); box-shadow: 0 4px 20px rgba(160, 82, 45, 0.4); }
.s56a-promo-btn-green {
  background: linear-gradient(135deg, var(--s56a-secondary) 0%, #5cd600 100%);
  color: var(--s56a-bg);
}
.s56a-promo-link {
  color: var(--s56a-secondary); font-weight: 700; cursor: pointer;
  text-decoration: none; border-bottom: 1px dashed var(--s56a-secondary);
}
.s56a-promo-link:hover { color: #5cd600; }

/* Content Blocks */
.s56a-content-block {
  background: var(--s56a-bg-card); border-radius: 10px;
  padding: 1.5rem; margin: 1.2rem 0;
  border: 1px solid var(--s56a-border);
}
.s56a-content-block h3 {
  font-size: 1.6rem; color: var(--s56a-gold); margin-bottom: 0.8rem;
}
.s56a-content-block p {
  color: var(--s56a-text-muted); line-height: 1.6; font-size: 1.4rem;
}

/* Feature Cards */
.s56a-feature-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.s56a-feature-card {
  background: linear-gradient(145deg, var(--s56a-bg-card), var(--s56a-bg-light));
  border-radius: 10px; padding: 1.2rem; text-align: center;
  border: 1px solid var(--s56a-border); transition: all 0.3s ease;
}
.s56a-feature-card:hover { border-color: var(--s56a-primary); }
.s56a-feature-card i { font-size: 2.8rem; color: var(--s56a-secondary); margin-bottom: 0.6rem; display: block; }
.s56a-feature-card h4 { font-size: 1.3rem; color: var(--s56a-text); margin-bottom: 0.4rem; }
.s56a-feature-card p { font-size: 1.1rem; color: var(--s56a-text-muted); line-height: 1.4; }

/* Testimonial Cards */
.s56a-testimonial {
  background: var(--s56a-bg-card); border-radius: 10px;
  padding: 1.2rem; margin: 0.8rem 0;
  border-left: 3px solid var(--s56a-primary);
}
.s56a-testimonial-name { font-weight: 700; color: var(--s56a-secondary); font-size: 1.4rem; }
.s56a-testimonial-text { color: var(--s56a-text-muted); font-size: 1.3rem; margin-top: 0.4rem; }
.s56a-testimonial-stars { color: var(--s56a-gold); margin: 0.3rem 0; font-size: 1.2rem; }

/* Payment Methods */
.s56a-payment-grid { display: flex; flex-wrap: wrap; gap: 0.8rem; justify-content: center; }
.s56a-payment-item {
  background: var(--s56a-bg-light); border-radius: 8px;
  padding: 0.8rem 1.5rem; font-size: 1.3rem;
  color: var(--s56a-text-muted); border: 1px solid var(--s56a-border);
  display: flex; align-items: center; gap: 0.5rem;
}

/* Winner Showcase */
.s56a-winner-list { display: flex; flex-direction: column; gap: 0.6rem; }
.s56a-winner-item {
  display: flex; justify-content: space-between; align-items: center;
  padding: 0.8rem 1rem; background: var(--s56a-bg-light);
  border-radius: 8px; font-size: 1.3rem;
}
.s56a-winner-name { color: var(--s56a-secondary); font-weight: 600; }
.s56a-winner-game { color: var(--s56a-text-muted); }
.s56a-winner-amount { color: var(--s56a-gold); font-weight: 800; }

/* Footer */
.s56a-footer {
  background: var(--s56a-bg-light); padding: 2rem 1rem;
  margin-top: 2rem; border-top: 2px solid var(--s56a-primary);
}
.s56a-footer-brand { font-size: 1.3rem; color: var(--s56a-text-muted); line-height: 1.6; margin-bottom: 1.5rem; }
.s56a-footer-links { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-bottom: 1.5rem; }
.s56a-footer-links a {
  color: var(--s56a-secondary); font-size: 1.2rem;
  text-decoration: none; padding: 0.4rem 0.8rem;
  background: var(--s56a-bg); border-radius: 4px;
  transition: all 0.2s ease;
}
.s56a-footer-links a:hover { background: var(--s56a-primary); color: #fff; }
.s56a-footer-copy {
  font-size: 1.2rem; color: var(--s56a-text-muted);
  text-align: center; border-top: 1px solid var(--s56a-border);
  padding-top: 1rem;
}

/* Bottom Mobile Navigation */
.s56a-bottom-nav {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 1000;
  background: linear-gradient(180deg, var(--s56a-bg-light) 0%, var(--s56a-bg) 100%);
  border-top: 2px solid var(--s56a-primary);
  display: flex; justify-content: space-around; align-items: center;
  height: 62px; max-width: 430px; margin: 0 auto;
  box-shadow: 0 -4px 15px rgba(0,0,0,0.4);
}
.s56a-bottom-nav-btn {
  display: flex; flex-direction: column; align-items: center;
  justify-content: center; min-width: 60px; min-height: 60px;
  background: none; border: none; color: var(--s56a-text-muted);
  cursor: pointer; transition: all 0.25s ease; gap: 2px;
  padding: 0.4rem;
}
.s56a-bottom-nav-btn:hover { color: var(--s56a-secondary); transform: scale(1.08); }
.s56a-bottom-nav-btn.active { color: var(--s56a-secondary); }
.s56a-bottom-nav-btn .s56a-nav-icon { font-size: 2.2rem; line-height: 1; }
.s56a-bottom-nav-btn .s56a-nav-label { font-size: 1rem; font-weight: 600; }

/* Utility */
.s56a-text-center { text-align: center; }
.s56a-mt-1 { margin-top: 1rem; }
.s56a-mt-2 { margin-top: 2rem; }
.s56a-mb-1 { margin-bottom: 1rem; }
.s56a-mb-2 { margin-bottom: 2rem; }

/* Desktop: hide bottom nav */
@media (min-width: 769px) {
  .s56a-bottom-nav { display: none; }
}
/* Mobile: add bottom padding for nav clearance */
@media (max-width: 768px) {
  .s56a-wrapper { padding-bottom: 80px; }
}

/* Scrollbar */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--s56a-bg); }
::-webkit-scrollbar-thumb { background: var(--s56a-primary); border-radius: 3px; }

/* Selection */
::selection { background: var(--s56a-primary); color: #fff; }

/* FAQ Accordion */
.s56a-faq-item { border-bottom: 1px solid var(--s56a-border); }
.s56a-faq-q {
  padding: 1rem 0; font-weight: 700; color: var(--s56a-text);
  font-size: 1.4rem; cursor: pointer;
}
.s56a-faq-a {
  padding: 0 0 1rem; color: var(--s56a-text-muted);
  font-size: 1.3rem; line-height: 1.6;
}

/* Category Badge */
.s56a-cat-badge {
  display: inline-block; padding: 0.3rem 1rem; border-radius: 20px;
  font-size: 1.1rem; font-weight: 600;
  background: rgba(160, 82, 45, 0.2); color: var(--s56a-primary);
  border: 1px solid var(--s56a-primary); margin-bottom: 0.8rem;
}

/* Info List */
.s56a-info-list { list-style: none; padding: 0; }
.s56a-info-list li {
  padding: 0.8rem 0; border-bottom: 1px solid var(--s56a-border);
  color: var(--s56a-text-muted); font-size: 1.4rem;
  display: flex; align-items: flex-start; gap: 0.8rem;
}
.s56a-info-list li i { color: var(--s56a-secondary); margin-top: 0.2rem; }

/* RTP Table */
.s56a-rtp-table { width: 100%; border-collapse: collapse; font-size: 1.3rem; }
.s56a-rtp-table th {
  background: var(--s56a-primary); color: #fff; padding: 0.8rem;
  text-align: left; font-weight: 700;
}
.s56a-rtp-table td {
  padding: 0.6rem 0.8rem; border-bottom: 1px solid var(--s56a-border);
  color: var(--s56a-text-muted);
}
.s56a-rtp-bar {
  height: 6px; border-radius: 3px; background: var(--s56a-bg);
  overflow: hidden; width: 100%;
}
.s56a-rtp-bar-fill { height: 100%; border-radius: 3px; background: var(--s56a-secondary); }
