/**
 * nbajje.sbs - Main Stylesheet
 * All classes use prefix "w9161-" for namespace isolation
 * Color Palette: #2C2C2C | #8B008B | #AFEEEE | #BAE1FF | #F5F5F5 | #880E4F
 * Mobile-first design, max-width 430px
 */

/* CSS Variables */
:root {
  --w9161-dark: #2C2C2C;
  --w9161-purple: #8B008B;
  --w9161-light-blue: #AFEEEE;
  --w9161-sky: #BAE1FF;
  --w9161-light: #F5F5F5;
  --w9161-berry: #880E4F;
  --w9161-bg: #1a1a2e;
  --w9161-surface: #16213e;
  --w9161-accent: #e94560;
  --w9161-gold: #ffd700;
  --w9161-text: #F5F5F5;
  --w9161-text-secondary: #BAE1FF;
  --w9161-radius: 12px;
  --w9161-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

/* Base Reset */
*, *::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: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: var(--w9161-bg);
  color: var(--w9161-text);
  line-height: 1.5rem;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a {
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul, ol {
  list-style: none;
}

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

.w9161-wrapper {
  width: 100%;
  position: relative;
}

.w9161-grid {
  display: grid;
  gap: 1.2rem;
}

.w9161-grid-2 {
  grid-template-columns: repeat(2, 1fr);
}

.w9161-grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.w9161-grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

/* Header */
.w9161-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: linear-gradient(135deg, var(--w9161-dark), #1a1a2e);
  border-bottom: 2px solid var(--w9161-purple);
  padding: 0.8rem 1rem;
  transition: all 0.3s ease;
}

.w9161-header-scrolled {
  background: rgba(44, 44, 44, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 15px rgba(139, 0, 139, 0.3);
}

.w9161-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 430px;
  margin: 0 auto;
}

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

.w9161-logo-img {
  width: 32px;
  height: 32px;
  border-radius: 6px;
}

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

.w9161-header-btns {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.w9161-btn-register {
  background: linear-gradient(135deg, var(--w9161-purple), var(--w9161-berry));
  color: var(--w9161-text);
  padding: 0.5rem 1.2rem;
  border-radius: 20px;
  font-size: 1.2rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
}

.w9161-btn-register:hover {
  transform: scale(1.05);
  box-shadow: 0 2px 12px rgba(139, 0, 139, 0.5);
}

.w9161-btn-login {
  background: transparent;
  color: var(--w9161-sky);
  padding: 0.5rem 1.2rem;
  border-radius: 20px;
  font-size: 1.2rem;
  font-weight: 600;
  border: 1px solid var(--w9161-sky);
  cursor: pointer;
  transition: all 0.2s;
}

.w9161-btn-login:hover {
  background: rgba(186, 225, 255, 0.1);
}

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

/* Mobile Menu */
.w9161-mobile-menu {
  position: fixed;
  top: 0;
  right: -280px;
  width: 280px;
  height: 100vh;
  background: linear-gradient(180deg, var(--w9161-dark), var(--w9161-surface));
  z-index: 9999;
  transition: right 0.3s ease;
  padding: 2rem 1.5rem;
  overflow-y: auto;
}

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

.w9161-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;
}

.w9161-overlay-active {
  opacity: 1;
  pointer-events: all;
}

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

.w9161-menu-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--w9161-gold);
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--w9161-purple);
}

.w9161-menu-links a {
  display: block;
  padding: 1rem 0;
  font-size: 1.4rem;
  color: var(--w9161-light-blue);
  border-bottom: 1px solid rgba(139, 0, 139, 0.2);
  transition: color 0.2s, padding-left 0.2s;
}

.w9161-menu-links a:hover {
  color: var(--w9161-gold);
  padding-left: 0.5rem;
}

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

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

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

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

.w9161-dots {
  display: flex;
  justify-content: center;
  gap: 0.6rem;
  padding: 1rem 0;
}

.w9161-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(175, 238, 238, 0.3);
  cursor: pointer;
  transition: background 0.3s;
}

.w9161-dot-active {
  background: var(--w9161-purple);
  width: 24px;
  border-radius: 4px;
}

/* Section Title */
.w9161-section-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--w9161-gold);
  margin-bottom: 1.2rem;
  padding-left: 1rem;
  border-left: 3px solid var(--w9161-purple);
}

.w9161-section-subtitle {
  font-size: 1.4rem;
  color: var(--w9161-light-blue);
  margin-bottom: 1rem;
}

/* Game Card */
.w9161-game-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.w9161-game-card {
  background: var(--w9161-surface);
  border-radius: var(--w9161-radius);
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  border: 1px solid rgba(139, 0, 139, 0.2);
}

.w9161-game-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(139, 0, 139, 0.3);
}

.w9161-game-card img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

.w9161-game-name {
  font-size: 1.1rem;
  color: var(--w9161-text);
  text-align: center;
  padding: 0.5rem 0.3rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Category Tabs */
.w9161-cat-label {
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--w9161-sky);
  margin: 1.5rem 0 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--w9161-purple);
}

/* Content Blocks */
.w9161-content-block {
  background: var(--w9161-surface);
  border-radius: var(--w9161-radius);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(139, 0, 139, 0.15);
}

.w9161-content-block h2 {
  font-size: 1.6rem;
  color: var(--w9161-gold);
  margin-bottom: 1rem;
}

.w9161-content-block h3 {
  font-size: 1.4rem;
  color: var(--w9161-light-blue);
  margin-bottom: 0.8rem;
}

.w9161-content-block p {
  font-size: 1.3rem;
  line-height: 2rem;
  color: var(--w9161-text);
  margin-bottom: 0.8rem;
}

.w9161-content-block ul {
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}

.w9161-content-block li {
  font-size: 1.3rem;
  line-height: 2rem;
  color: var(--w9161-text);
  position: relative;
  padding-left: 1rem;
  margin-bottom: 0.4rem;
}

.w9161-content-block li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.8rem;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--w9161-purple);
}

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

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

/* Promo Link (text) */
.w9161-promo-link {
  color: var(--w9161-gold);
  font-weight: 600;
  cursor: pointer;
  border-bottom: 1px dashed var(--w9161-gold);
  transition: color 0.2s;
}

.w9161-promo-link:hover {
  color: #fff;
}

/* Stats / Features Grid */
.w9161-stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.w9161-stat-card {
  background: linear-gradient(135deg, var(--w9161-surface), rgba(139, 0, 139, 0.1));
  border-radius: var(--w9161-radius);
  padding: 1.2rem;
  text-align: center;
  border: 1px solid rgba(139, 0, 139, 0.2);
}

.w9161-stat-value {
  font-size: 2rem;
  font-weight: 700;
  color: var(--w9161-gold);
}

.w9161-stat-label {
  font-size: 1.1rem;
  color: var(--w9161-light-blue);
  margin-top: 0.3rem;
}

/* Testimonial */
.w9161-testimonial {
  background: var(--w9161-surface);
  border-radius: var(--w9161-radius);
  padding: 1.2rem;
  margin-bottom: 1rem;
  border-left: 3px solid var(--w9161-purple);
}

.w9161-testimonial-text {
  font-size: 1.3rem;
  line-height: 1.8rem;
  color: var(--w9161-text);
  font-style: italic;
  margin-bottom: 0.6rem;
}

.w9161-testimonial-author {
  font-size: 1.1rem;
  color: var(--w9161-gold);
  font-weight: 600;
}

/* Payment Icons */
.w9161-payment-row {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  padding: 1rem 0;
}

.w9161-payment-item {
  background: rgba(175, 238, 238, 0.08);
  border-radius: 8px;
  padding: 0.8rem 1.2rem;
  font-size: 1.2rem;
  color: var(--w9161-light-blue);
  border: 1px solid rgba(175, 238, 238, 0.15);
}

/* Winner showcase */
.w9161-winner-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: var(--w9161-surface);
  border-radius: var(--w9161-radius);
  padding: 1rem;
  margin-bottom: 0.8rem;
}

.w9161-winner-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--w9161-purple), var(--w9161-berry));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  color: #fff;
  flex-shrink: 0;
}

.w9161-winner-info {
  flex: 1;
}

.w9161-winner-name {
  font-size: 1.2rem;
  color: var(--w9161-text);
  font-weight: 600;
}

.w9161-winner-amount {
  font-size: 1.3rem;
  color: var(--w9161-gold);
  font-weight: 700;
}

.w9161-winner-game {
  font-size: 1rem;
  color: var(--w9161-light-blue);
}

/* Footer */
.w9161-footer {
  background: linear-gradient(180deg, var(--w9161-dark), #0d0d1a);
  padding: 2rem 1rem 1rem;
  margin-top: 3rem;
  border-top: 2px solid var(--w9161-purple);
}

.w9161-footer-brand {
  text-align: center;
  margin-bottom: 1.5rem;
}

.w9161-footer-brand-name {
  font-size: 1.6rem;
  color: var(--w9161-gold);
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.w9161-footer-desc {
  font-size: 1.2rem;
  color: var(--w9161-light-blue);
  line-height: 1.8rem;
}

.w9161-footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.8rem;
  margin-bottom: 1.5rem;
}

.w9161-footer-links a {
  font-size: 1.1rem;
  color: var(--w9161-light-blue);
  padding: 0.4rem 0.8rem;
  background: rgba(139, 0, 139, 0.15);
  border-radius: 6px;
  transition: background 0.2s;
}

.w9161-footer-links a:hover {
  background: rgba(139, 0, 139, 0.3);
  color: #fff;
}

.w9161-footer-partners {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.w9161-footer-partners span {
  font-size: 1rem;
  color: rgba(175, 238, 238, 0.5);
  padding: 0.3rem 0.6rem;
}

.w9161-footer-copyright {
  text-align: center;
  font-size: 1.1rem;
  color: rgba(175, 238, 238, 0.4);
  padding-top: 1rem;
  border-top: 1px solid rgba(139, 0, 139, 0.2);
}

/* Bottom Navigation (Mobile) */
.w9161-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: linear-gradient(180deg, rgba(26, 26, 46, 0.97), rgba(13, 13, 26, 0.99));
  border-top: 2px solid var(--w9161-purple);
  display: flex;
  justify-content: space-around;
  align-items: center;
  height: 60px;
  padding: 0 0.3rem;
  backdrop-filter: blur(10px);
}

.w9161-bottom-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 60px;
  min-height: 56px;
  background: none;
  border: none;
  cursor: pointer;
  color: rgba(175, 238, 238, 0.6);
  transition: color 0.2s, transform 0.2s;
  padding: 0.3rem;
}

.w9161-bottom-btn:hover,
.w9161-bottom-btn:focus {
  color: var(--w9161-gold);
  transform: scale(1.1);
}

.w9161-bottom-btn-active {
  color: var(--w9161-gold);
}

.w9161-bottom-btn-icon {
  font-size: 2rem;
  line-height: 1;
  margin-bottom: 0.2rem;
}

.w9161-bottom-btn-label {
  font-size: 1rem;
  line-height: 1;
  font-weight: 500;
}

/* Main Content Padding */
.w9161-main {
  padding-top: 60px;
}

@media (max-width: 768px) {
  .w9161-main {
    padding-bottom: 80px;
  }
}

@media (min-width: 769px) {
  .w9161-bottom-nav {
    display: none;
  }
}

/* Utility Classes */
.w9161-text-center {
  text-align: center;
}

.w9161-text-gold {
  color: var(--w9161-gold);
}

.w9161-text-sky {
  color: var(--w9161-sky);
}

.w9161-mb-1 {
  margin-bottom: 0.5rem;
}

.w9161-mb-2 {
  margin-bottom: 1rem;
}

.w9161-mb-3 {
  margin-bottom: 1.5rem;
}

.w9161-mt-2 {
  margin-top: 1rem;
}

.w9161-mt-3 {
  margin-top: 1.5rem;
}

/* Badge */
.w9161-badge {
  display: inline-block;
  background: var(--w9161-purple);
  color: #fff;
  font-size: 1rem;
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
  font-weight: 600;
}

/* Trick/Tip cards */
.w9161-trick-card {
  background: linear-gradient(135deg, var(--w9161-surface), rgba(136, 14, 79, 0.08));
  border-radius: var(--w9161-radius);
  padding: 1.2rem;
  margin-bottom: 1rem;
  border: 1px solid rgba(139, 0, 139, 0.15);
}

.w9161-trick-card h4 {
  font-size: 1.3rem;
  color: var(--w9161-gold);
  margin-bottom: 0.5rem;
}

.w9161-trick-card p {
  font-size: 1.2rem;
  color: var(--w9161-text);
  line-height: 1.8rem;
}

/* Achievement badge */
.w9161-achievement {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: var(--w9161-surface);
  border-radius: var(--w9161-radius);
  padding: 1rem;
  margin-bottom: 0.8rem;
}

.w9161-achievement-icon {
  font-size: 2.4rem;
  flex-shrink: 0;
}

.w9161-achievement-text {
  flex: 1;
}

.w9161-achievement-title {
  font-size: 1.3rem;
  color: var(--w9161-gold);
  font-weight: 600;
}

.w9161-achievement-desc {
  font-size: 1.1rem;
  color: var(--w9161-light-blue);
}

/* FAQ Section */
.w9161-faq-item {
  background: var(--w9161-surface);
  border-radius: var(--w9161-radius);
  padding: 1.2rem;
  margin-bottom: 0.8rem;
  border-left: 3px solid var(--w9161-purple);
}

.w9161-faq-q {
  font-size: 1.4rem;
  color: var(--w9161-gold);
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.w9161-faq-a {
  font-size: 1.3rem;
  color: var(--w9161-text);
  line-height: 1.8rem;
}

/* RTP Table */
.w9161-rtp-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.8rem 1rem;
  background: var(--w9161-surface);
  border-radius: 8px;
  margin-bottom: 0.5rem;
}

.w9161-rtp-game {
  font-size: 1.2rem;
  color: var(--w9161-text);
  flex: 1;
}

.w9161-rtp-value {
  font-size: 1.3rem;
  color: var(--w9161-gold);
  font-weight: 700;
}

.w9161-rtp-bar {
  width: 80px;
  height: 6px;
  background: rgba(139, 0, 139, 0.2);
  border-radius: 3px;
  overflow: hidden;
  margin-left: 1rem;
}

.w9161-rtp-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--w9161-purple), var(--w9161-gold));
  border-radius: 3px;
}

/* CTA Banner */
.w9161-cta-banner {
  background: linear-gradient(135deg, var(--w9161-purple), var(--w9161-berry));
  border-radius: var(--w9161-radius);
  padding: 2rem 1.5rem;
  text-align: center;
  margin: 2rem 0;
}

.w9161-cta-title {
  font-size: 1.8rem;
  color: var(--w9161-gold);
  font-weight: 700;
  margin-bottom: 0.8rem;
}

.w9161-cta-text {
  font-size: 1.3rem;
  color: var(--w9161-text);
  margin-bottom: 1.2rem;
  line-height: 1.8rem;
}

/* App download section */
.w9161-app-section {
  background: var(--w9161-surface);
  border-radius: var(--w9161-radius);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  text-align: center;
}

.w9161-app-img {
  width: 120px;
  height: 120px;
  border-radius: 20px;
  margin: 0 auto 1rem;
  object-fit: cover;
}
