/* pjokk.sbs - Theme Stylesheet */
/* All classes use s290- prefix for namespace isolation */
/* Color palette: #CD853F | #FFEF94 | #FFFACD | #FFA500 | #2C2C2C */

:root {
  --s290-primary: #CD853F;
  --s290-accent: #FFA500;
  --s290-gold: #FFEF94;
  --s290-cream: #FFFACD;
  --s290-dark: #2C2C2C;
  --s290-bg: #1a1a1a;
  --s290-card: #252525;
  --s290-text: #FFFACD;
  --s290-muted: #b8a080;
  --s290-border: #3a3020;
  --s290-success: #4CAF50;
  --s290-danger: #e74c3c;
}

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

html {
  font-size: 62.5%;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: var(--s290-bg);
  color: var(--s290-text);
  line-height: 1.5rem;
  font-size: 1.4rem;
  max-width: 430px;
  margin: 0 auto;
  min-height: 100vh;
  overflow-x: hidden;
}

a { color: var(--s290-gold); text-decoration: none; }
a:hover { color: var(--s290-accent); }
img { max-width: 100%; height: auto; display: block; }

/* Header */
.s290-header {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  height: 56px;
  background: linear-gradient(135deg, var(--s290-dark) 0%, #1f1f1f 100%);
  border-bottom: 2px solid var(--s290-primary);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1rem;
  z-index: 1000;
  transition: box-shadow 0.3s ease;
}

.s290-header-scrolled {
  box-shadow: 0 4px 20px rgba(205, 133, 63, 0.3);
}

.s290-logo-area {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.s290-logo-area img {
  width: 28px;
  height: 28px;
  border-radius: 4px;
}

.s290-logo-area span {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--s290-gold);
  letter-spacing: 0.5px;
}

.s290-header-btns {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.s290-btn-register {
  background: linear-gradient(135deg, var(--s290-accent), #e69500);
  color: var(--s290-dark);
  border: none;
  padding: 0.6rem 1.2rem;
  border-radius: 20px;
  font-size: 1.2rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s;
}

.s290-btn-register:hover { transform: scale(1.05); box-shadow: 0 2px 10px rgba(255, 165, 0, 0.5); }

.s290-btn-login {
  background: transparent;
  color: var(--s290-gold);
  border: 1.5px solid var(--s290-primary);
  padding: 0.5rem 1.1rem;
  border-radius: 20px;
  font-size: 1.2rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s;
}

.s290-btn-login:hover { background: var(--s290-primary); color: var(--s290-dark); }

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

/* Mobile Menu */
.s290-menu-overlay {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.7);
  z-index: 9998;
}
.s290-overlay-active { display: block; }

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

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

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

.s290-mobile-menu nav a {
  display: block;
  padding: 1.2rem 0;
  color: var(--s290-cream);
  font-size: 1.5rem;
  border-bottom: 1px solid var(--s290-border);
  transition: color 0.2s, padding-left 0.2s;
}

.s290-mobile-menu nav a:hover {
  color: var(--s290-accent);
  padding-left: 0.5rem;
}

/* Main Content */
.s290-main {
  padding-top: 56px;
  padding-bottom: 1rem;
}

/* Carousel */
.s290-carousel {
  position: relative;
  width: 100%;
  overflow: hidden;
  aspect-ratio: 16/8;
}

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

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

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

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

.s290-carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  cursor: pointer;
  transition: background 0.3s;
  border: none;
}

.s290-dot-active { background: var(--s290-accent); }

/* Sections */
.s290-section {
  padding: 2rem 1.2rem;
}

.s290-section-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--s290-gold);
  margin-bottom: 1.2rem;
  padding-bottom: 0.6rem;
  border-bottom: 2px solid var(--s290-primary);
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.s290-section-title i {
  color: var(--s290-accent);
  font-size: 2rem;
}

.s290-category-title {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--s290-gold);
  margin: 1.6rem 0 1rem;
  padding-left: 0.8rem;
  border-left: 3px solid var(--s290-accent);
}

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

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

.s290-game-item:hover { transform: translateY(-2px); }

.s290-game-item img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 10px;
  border: 2px solid transparent;
  transition: border-color 0.2s;
}

.s290-game-item:hover img { border-color: var(--s290-accent); }

.s290-game-item p {
  font-size: 1.1rem;
  color: var(--s290-cream);
  margin-top: 0.4rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

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

.s290-card h3 {
  font-size: 1.5rem;
  color: var(--s290-gold);
  margin-bottom: 0.8rem;
}

.s290-card p {
  font-size: 1.3rem;
  line-height: 1.7rem;
  color: var(--s290-cream);
  margin-bottom: 0.6rem;
}

/* Promo Button */
.s290-promo-btn {
  display: inline-block;
  background: linear-gradient(135deg, var(--s290-accent), #e69500);
  color: var(--s290-dark);
  padding: 0.8rem 2rem;
  border-radius: 25px;
  font-size: 1.4rem;
  font-weight: 700;
  cursor: pointer;
  border: none;
  text-align: center;
  transition: transform 0.15s, box-shadow 0.15s;
}

.s290-promo-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 15px rgba(255,165,0,0.5);
}

/* Promo Link Text */
.s290-promo-link {
  color: var(--s290-accent);
  font-weight: 700;
  cursor: pointer;
  text-decoration: underline;
}

.s290-promo-link:hover { color: var(--s290-gold); }

/* Features List */
.s290-features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.s290-feature-item {
  background: var(--s290-card);
  border-radius: 10px;
  padding: 1.2rem;
  text-align: center;
  border: 1px solid var(--s290-border);
}

.s290-feature-item i {
  font-size: 2.4rem;
  color: var(--s290-accent);
  margin-bottom: 0.6rem;
}

.s290-feature-item h4 {
  font-size: 1.3rem;
  color: var(--s290-gold);
  margin-bottom: 0.4rem;
}

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

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

.s290-rtp-table th {
  background: var(--s290-primary);
  color: var(--s290-dark);
  padding: 0.7rem 0.5rem;
  text-align: left;
  font-weight: 700;
}

.s290-rtp-table td {
  padding: 0.6rem 0.5rem;
  border-bottom: 1px solid var(--s290-border);
  color: var(--s290-cream);
}

.s290-rtp-table tr:nth-child(even) { background: rgba(205,133,63,0.05); }

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

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

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

.s290-footer-links a {
  background: var(--s290-card);
  color: var(--s290-cream);
  padding: 0.5rem 1rem;
  border-radius: 6px;
  font-size: 1.1rem;
  border: 1px solid var(--s290-border);
  transition: border-color 0.2s;
}

.s290-footer-links a:hover { border-color: var(--s290-accent); color: var(--s290-accent); }

.s290-partner-logos {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1.2rem;
  opacity: 0.6;
}

.s290-partner-logos img {
  height: 24px;
  filter: grayscale(1);
}

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

/* Bottom Navigation */
.s290-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  height: 60px;
  background: linear-gradient(180deg, var(--s290-dark), #111);
  border-top: 2px solid var(--s290-primary);
  display: flex;
  justify-content: space-around;
  align-items: center;
  z-index: 1000;
}

.s290-bottom-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 60px;
  min-height: 48px;
  background: none;
  border: none;
  color: var(--s290-muted);
  cursor: pointer;
  transition: color 0.2s, transform 0.15s;
  text-decoration: none;
  gap: 2px;
}

.s290-bottom-nav-item:hover { color: var(--s290-accent); }
.s290-bottom-nav-item:active { transform: scale(0.92); }

.s290-bottom-nav-item i,
.s290-bottom-nav-item .material-icons {
  font-size: 22px;
}

.s290-bottom-nav-item span {
  font-size: 1rem;
  font-weight: 500;
}

.s290-bottom-nav-item.s290-nav-active {
  color: var(--s290-accent);
}

.s290-bottom-nav-item.s290-nav-active::after {
  content: '';
  display: block;
  width: 20px;
  height: 2px;
  background: var(--s290-accent);
  border-radius: 2px;
  margin-top: 1px;
}

/* Winner List */
.s290-winners-list {
  list-style: none;
}

.s290-winners-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--s290-border);
  font-size: 1.2rem;
}

.s290-winners-list .s290-winner-name { color: var(--s290-gold); }
.s290-winners-list .s290-winner-amount { color: var(--s290-accent); font-weight: 700; }

/* Payment Methods */
.s290-payment-grid {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}

.s290-payment-item {
  background: var(--s290-card);
  border-radius: 8px;
  padding: 0.8rem 1.2rem;
  border: 1px solid var(--s290-border);
  font-size: 1.2rem;
  color: var(--s290-cream);
}

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

.s290-testimonial p { font-size: 1.2rem; color: var(--s290-cream); font-style: italic; }
.s290-testimonial .s290-author { font-size: 1.1rem; color: var(--s290-muted); margin-top: 0.5rem; }

/* FAQ */
.s290-faq-item { margin-bottom: 1rem; }
.s290-faq-item h4 { color: var(--s290-gold); font-size: 1.4rem; margin-bottom: 0.4rem; }
.s290-faq-item p { color: var(--s290-cream); font-size: 1.2rem; line-height: 1.6rem; }

/* CTA Section */
.s290-cta-section {
  text-align: center;
  padding: 2rem 1.2rem;
  background: linear-gradient(135deg, rgba(205,133,63,0.15), rgba(255,165,0,0.1));
  border-radius: 12px;
  margin: 1.5rem 1.2rem;
}

.s290-cta-section h2 { color: var(--s290-gold); font-size: 1.8rem; margin-bottom: 0.8rem; }
.s290-cta-section p { color: var(--s290-cream); font-size: 1.3rem; margin-bottom: 1.2rem; }

/* Responsive */
@media (min-width: 769px) {
  .s290-bottom-nav { display: none; }
  .s290-menu-btn { display: none; }
}

@media (max-width: 768px) {
  .s290-main { padding-bottom: 70px; }
  .s290-game-grid { grid-template-columns: repeat(3, 1fr); gap: 0.6rem; }
  .s290-features-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 360px) {
  .s290-game-grid { grid-template-columns: repeat(3, 1fr); gap: 0.5rem; }
  .s290-btn-register { padding: 0.5rem 0.8rem; font-size: 1.1rem; }
  .s290-btn-login { padding: 0.4rem 0.7rem; font-size: 1.1rem; }
}

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