/**
 * pojok Core CSS Stylesheet
 * All classes use prefix "s183-" for namespace isolation
 * Color palette: #880E4F | #34495E | #FFFFBA | #A0522D | #80CBC4
 * Mobile-first responsive design (max-width: 430px)
 */

/* CSS Variables */
:root {
  --s183-primary: #880E4F;
  --s183-secondary: #34495E;
  --s173-accent: #80CBC4;
  --s183-light: #FFFFBA;
  --s183-brown: #A0522D;
  --s183-bg: #1a0d12;
  --s183-bg-card: #2a1520;
  --s183-bg-dark: #0f0709;
  --s183-text: #FFFFBA;
  --s183-text-muted: #c4a97d;
  --s183-border: rgba(136, 14, 79, 0.3);
  --s183-radius: 8px;
  --s183-shadow: 0 2px 12px rgba(0,0,0,0.3);
}

/* 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', 'Helvetica Neue', Arial, sans-serif;
  background: var(--s183-bg);
  color: var(--s183-text);
  line-height: 1.5rem;
  font-size: 1.4rem;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: var(--s173-accent); text-decoration: none; }
a:hover { color: var(--s183-light); }
img { max-width: 100%; height: auto; display: block; }

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

/* Header */
.s183-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: linear-gradient(135deg, var(--s183-bg-dark), var(--s183-primary));
  border-bottom: 1px solid var(--s183-border);
  height: 56px;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 1rem;
}
.s183-header-left { display: flex; align-items: center; gap: 0.8rem; }
.s183-logo { width: 28px; height: 28px; border-radius: 50%; }
.s183-site-name { color: var(--s183-light); font-size: 1.8rem; font-weight: 700; letter-spacing: 0.5px; }
.s183-header-right { display: flex; align-items: center; gap: 0.6rem; }
.s183-btn-register {
  background: linear-gradient(135deg, #e91e63, #880E4F);
  color: #fff; border: none; padding: 0.5rem 1.2rem; border-radius: 20px;
  font-size: 1.2rem; font-weight: 600; cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
}
.s183-btn-register:hover { transform: scale(1.05); box-shadow: 0 2px 8px rgba(136,14,79,0.5); }
.s183-btn-login {
  background: transparent; color: var(--s173-accent); border: 1px solid var(--s173-accent);
  padding: 0.45rem 1.2rem; border-radius: 20px; font-size: 1.2rem; font-weight: 500;
  cursor: pointer; transition: background 0.2s, color 0.2s;
}
.s183-btn-login:hover { background: var(--s173-accent); color: var(--s183-bg-dark); }
.s183-menu-toggle {
  background: none; border: none; color: var(--s183-light); font-size: 2rem;
  cursor: pointer; padding: 0.4rem; display: flex; align-items: center;
}

/* Mobile Menu */
.s183-mobile-menu {
  position: fixed; top: 0; right: -280px; width: 280px; height: 100%;
  background: linear-gradient(180deg, var(--s183-bg-dark), #1a0d16);
  z-index: 9999; transition: right 0.3s ease; padding-top: 6rem; overflow-y: auto;
}
.s183-menu-active { right: 0 !important; }
.s183-menu-overlay {
  position: fixed; top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(0,0,0,0.6); z-index: 9998; display: none;
}
.s183-overlay-active { display: block !important; }
.s183-mobile-menu a {
  display: flex; align-items: center; gap: 1rem; padding: 1.2rem 2rem;
  color: var(--s183-light); font-size: 1.4rem; border-bottom: 1px solid rgba(255,255,255,0.05);
  transition: background 0.2s;
}
.s183-mobile-menu a:hover { background: rgba(136,14,79,0.2); color: var(--s173-accent); }
.s183-menu-close {
  position: absolute; top: 1.2rem; right: 1.5rem; background: none; border: none;
  color: var(--s183-light); font-size: 2.4rem; cursor: pointer;
}

/* Main Content */
.s183-main { padding-top: 56px; }

/* Carousel */
.s183-carousel { position: relative; overflow: hidden; border-radius: var(--s183-radius); margin: 1rem 0; }
.s183-carousel-slide {
  display: none; width: 100%; cursor: pointer; position: relative;
}
.s183-slide-active { display: block !important; }
.s183-carousel-slide img { width: 100%; height: 180px; object-fit: cover; border-radius: var(--s183-radius); }
.s183-carousel-dots {
  display: flex; justify-content: center; gap: 0.6rem;
  padding: 0.8rem 0;
}
.s183-carousel-dot {
  width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,0.3);
  border: none; cursor: pointer;
}
.s183-dot-active { background: var(--s173-accent); }

/* Section Headings */
.s183-section-title {
  font-size: 1.8rem; font-weight: 700; color: var(--s183-light);
  margin: 2rem 0 1rem; padding-left: 1rem;
  border-left: 3px solid var(--s183-primary);
  line-height: 2.2rem;
}
.s183-section-title span { color: var(--s173-accent); }

/* Game Grid */
.s183-game-section { margin-bottom: 2rem; }
.s183-game-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.8rem;
  padding: 0 0.5rem;
}
.s183-game-item { text-align: center; cursor: pointer; transition: transform 0.2s; }
.s183-game-item:hover { transform: translateY(-2px); }
.s183-game-icon {
  width: 100%; aspect-ratio: 1; border-radius: var(--s183-radius);
  object-fit: cover; border: 1px solid var(--s183-border);
}
.s183-game-name {
  font-size: 1.1rem; color: var(--s183-text-muted); margin-top: 0.4rem;
  line-height: 1.3rem; overflow: hidden; text-overflow: ellipsis;
  white-space: nowrap;
}

/* Cards */
.s183-card {
  background: var(--s183-bg-card); border-radius: var(--s183-radius);
  padding: 1.5rem; margin: 1rem 0; border: 1px solid var(--s183-border);
}
.s183-card-title { font-size: 1.6rem; font-weight: 600; color: var(--s183-light); margin-bottom: 1rem; }
.s183-card p { font-size: 1.3rem; line-height: 2rem; color: var(--s183-text-muted); }

/* Promo Buttons */
.s183-promo-btn {
  display: inline-block; background: linear-gradient(135deg, #e91e63, #880E4F);
  color: #fff; padding: 1rem 2rem; border-radius: 25px; font-size: 1.4rem;
  font-weight: 700; cursor: pointer; border: none; text-align: center;
  transition: transform 0.2s, box-shadow 0.2s;
  text-decoration: none;
}
.s183-promo-btn:hover { transform: scale(1.05); box-shadow: 0 4px 16px rgba(136,14,79,0.5); color: #fff; }

.s183-promo-link {
  color: var(--s173-accent); font-weight: 600; cursor: pointer;
  text-decoration: underline; transition: color 0.2s;
}
.s183-promo-link:hover { color: var(--s183-light); }

/* Footer */
.s183-footer {
  background: linear-gradient(180deg, var(--s183-bg-dark), #0a0508);
  padding: 2rem 1.2rem 8rem; margin-top: 2rem;
  border-top: 1px solid var(--s183-border);
}
.s183-footer-brand { font-size: 1.3rem; color: var(--s183-text-muted); line-height: 2rem; margin-bottom: 1.5rem; }
.s183-footer-links { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-bottom: 1.5rem; }
.s183-footer-link {
  background: rgba(136,14,79,0.15); color: var(--s173-accent); padding: 0.5rem 1rem;
  border-radius: 15px; font-size: 1.1rem; border: 1px solid var(--s183-border);
  cursor: pointer; transition: background 0.2s;
}
.s183-footer-link:hover { background: rgba(136,14,79,0.3); }
.s183-footer-copy { font-size: 1.1rem; color: rgba(255,255,255,0.3); text-align: center; margin-top: 1.5rem; }

/* Bottom Navigation */
.s183-bottom-nav {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 1000;
  background: linear-gradient(180deg, #1e1018, #0a0508);
  border-top: 1px solid var(--s183-border);
  display: flex; justify-content: space-around; align-items: center;
  height: 60px; padding: 0 0.3rem;
}
.s183-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(--s183-text-muted); cursor: pointer; transition: color 0.2s, transform 0.2s;
  gap: 0.2rem; border-radius: 8px; padding: 0.3rem;
}
.s183-bottom-nav-btn:hover { color: var(--s173-accent); transform: scale(1.08); }
.s183-nav-active { color: var(--s183-primary) !important; background: rgba(136,14,79,0.15); }
.s183-bottom-nav-btn .s183-nav-icon { font-size: 22px; line-height: 1; }
.s183-bottom-nav-btn .s183-nav-label { font-size: 1rem; line-height: 1.2; }

/* Back to Top */
.s183-back-top {
  position: fixed; bottom: 72px; right: 1.2rem; z-index: 999;
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--s183-primary); color: #fff; border: none;
  font-size: 1.8rem; cursor: pointer; display: none;
  align-items: center; justify-content: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}
.s183-back-top:hover { background: #a0125f; }

/* Testimonials */
.s183-testimonial { padding: 1rem; border-left: 3px solid var(--s183-brown); margin: 0.8rem 0; }
.s183-testimonial-text { font-style: italic; font-size: 1.3rem; color: var(--s183-text-muted); }
.s183-testimonial-author { font-size: 1.1rem; color: var(--s173-accent); margin-top: 0.5rem; }

/* Stats Grid */
.s183-stats-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.8rem; margin: 1rem 0; }
.s183-stat-item {
  text-align: center; padding: 1rem; border-radius: var(--s183-radius);
  background: rgba(136,14,79,0.1); border: 1px solid var(--s183-border);
}
.s183-stat-num { font-size: 2rem; font-weight: 700; color: var(--s173-accent); }
.s183-stat-label { font-size: 1.1rem; color: var(--s183-text-muted); }

/* Payment Icons */
.s183-payment-row { display: flex; gap: 1rem; flex-wrap: wrap; justify-content: center; margin: 1rem 0; }
.s183-payment-item {
  background: rgba(255,255,255,0.05); padding: 0.6rem 1rem; border-radius: 6px;
  font-size: 1.2rem; color: var(--s173-accent); border: 1px solid var(--s183-border);
}

/* Winners List */
.s183-winners-list { list-style: none; padding: 0; }
.s183-winners-list li {
  display: flex; justify-content: space-between; align-items: center;
  padding: 0.8rem 0; border-bottom: 1px solid rgba(255,255,255,0.05);
  font-size: 1.3rem;
}
.s183-winner-name { color: var(--s183-light); }
.s183-winner-amount { color: var(--s173-accent); font-weight: 700; }

/* FAQ */
.s183-faq-item { margin: 0.8rem 0; }
.s183-faq-q { font-weight: 600; color: var(--s183-light); font-size: 1.4rem; margin-bottom: 0.3rem; }
.s183-faq-a { color: var(--s183-text-muted); font-size: 1.3rem; line-height: 2rem; padding-left: 1rem; }

/* Responsive */
@media (min-width: 769px) {
  .s183-bottom-nav { display: none; }
  .s183-container { max-width: 480px; }
}
@media (max-width: 768px) {
  .s183-main { padding-bottom: 80px; }
  .s183-footer { padding-bottom: 8rem; }
}
