/**
 * PG Slot Gen10 - Design Stylesheet
 * All classes use w349b- prefix for namespace isolation
 * Mobile-first design, max-width 430px
 * Color palette: #0F0F23 | #FFB6C1 | #00695C | #F0FDFF
 */

/* CSS Variables */
:root {
  --w349b-primary: #00695C;
  --w349b-bg: #0F0F23;
  --w349b-text: #FFB6C1;
  --w349b-light-bg: #F0FDFF;
  --w349b-accent: #00695C;
  --w349b-dark: #0F0F23;
  --w349b-muted: #2a2a4a;
  --w349b-border: #1a1a3a;
  --w349b-font-size: 62.5%;
  font-size: var(--w349b-font-size);
}

/* Reset & Base */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  background-color: var(--w349b-bg);
  color: var(--w349b-text);
  line-height: 1.5rem;
  max-width: 430px;
  margin: 0 auto;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--w349b-text); text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }

/* Header */
.w349b-header {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  height: 56px;
  background: var(--w349b-dark);
  border-bottom: 1px solid var(--w349b-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1.2rem;
  z-index: 1000;
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}
.w349b-logo-wrap {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}
.w349b-logo-wrap img {
  width: 28px;
  height: 28px;
  border-radius: 4px;
}
.w349b-logo-wrap span {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--w349b-text);
  letter-spacing: 0.5px;
}
.w349b-header-actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.w349b-btn-register, .w349b-btn-login {
  padding: 0.5rem 1.2rem;
  border: none;
  border-radius: 6px;
  font-size: 1.2rem;
  font-weight: 600;
  cursor: pointer;
  min-height: 36px;
  transition: all 0.2s ease;
}
.w349b-btn-register {
  background: var(--w349b-primary);
  color: var(--w349b-light-bg);
}
.w349b-btn-register:hover { opacity: 0.9; transform: scale(1.02); }
.w349b-btn-login {
  background: transparent;
  color: var(--w349b-text);
  border: 1px solid var(--w349b-text);
}
.w349b-btn-login:hover { background: rgba(255,182,193,0.1); }
.w349b-menu-toggle {
  background: none;
  border: none;
  color: var(--w349b-text);
  font-size: 2rem;
  cursor: pointer;
  padding: 4px;
  min-width: 44px;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Side Menu */
.w349b-side-menu {
  position: fixed;
  top: 0;
  right: -280px;
  width: 280px;
  height: 100vh;
  background: var(--w349b-dark);
  z-index: 9999;
  transition: right 0.3s ease;
  padding: 2rem 1.5rem;
  overflow-y: auto;
}
.w349b-menu-active { right: 0; }
.w349b-side-menu-close {
  position: absolute;
  top: 1rem;
  right: 1.5rem;
  background: none;
  border: none;
  color: var(--w349b-text);
  font-size: 2.2rem;
  cursor: pointer;
  min-width: 44px;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.w349b-side-menu h3 {
  font-size: 1.6rem;
  color: var(--w349b-text);
  margin-bottom: 1.5rem;
  padding-bottom: 0.8rem;
  border-bottom: 1px solid var(--w349b-border);
}
.w349b-side-menu ul { display: flex; flex-direction: column; gap: 0.5rem; }
.w349b-side-menu li a {
  display: block;
  padding: 1rem;
  color: var(--w349b-text);
  font-size: 1.3rem;
  border-radius: 6px;
  transition: background 0.2s;
  min-height: 44px;
}
.w349b-side-menu li a:hover {
  background: var(--w349b-muted);
}
.w349b-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;
}
.w349b-overlay-active {
  opacity: 1;
  pointer-events: auto;
}

/* Main Content */
.w349b-main {
  padding-top: 56px;
  min-height: 100vh;
}
@media (max-width: 768px) {
  .w349b-main { padding-bottom: 80px; }
}

/* Carousel */
.w349b-carousel {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: 0;
}
.w349b-carousel-slide {
  display: none;
  width: 100%;
  cursor: pointer;
}
.w349b-slide-active { display: block; }
.w349b-carousel-slide img {
  width: 100%;
  height: auto;
  min-height: 180px;
  object-fit: cover;
}
.w349b-carousel-dots {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
}
.w349b-carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  border: none;
  cursor: pointer;
  transition: background 0.3s;
  padding: 0;
}
.w349b-dot-active { background: var(--w349b-text); }

/* Section */
.w349b-section {
  padding: 2rem 1.2rem;
}
.w349b-section-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--w349b-text);
  margin-bottom: 1.2rem;
  padding-bottom: 0.6rem;
  border-bottom: 2px solid var(--w349b-primary);
}
.w349b-section-title i {
  margin-right: 0.5rem;
  color: var(--w349b-primary);
}

/* Game Grid */
.w349b-game-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
@media (max-width: 360px) {
  .w349b-game-grid { grid-template-columns: repeat(3, 1fr); gap: 0.8rem; }
}
.w349b-game-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  cursor: pointer;
  transition: transform 0.2s;
  padding: 0.5rem;
  border-radius: 8px;
}
.w349b-game-item:hover { transform: scale(1.05); background: var(--w349b-muted); }
.w349b-game-item img {
  width: 60px;
  height: 60px;
  border-radius: 10px;
  object-fit: cover;
  border: 2px solid var(--w349b-border);
}
.w349b-game-item span {
  font-size: 1.1rem;
  color: var(--w349b-text);
  text-align: center;
  line-height: 1.3rem;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Category Title */
.w349b-cat-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--w349b-text);
  margin: 1.5rem 0 1rem;
  padding-left: 0.8rem;
  border-left: 3px solid var(--w349b-primary);
}

/* Content Card */
.w349b-card {
  background: var(--w349b-muted);
  border-radius: 12px;
  padding: 1.5rem;
  margin-bottom: 1.2rem;
  border: 1px solid var(--w349b-border);
}
.w349b-card h2, .w349b-card h3 {
  color: var(--w349b-text);
  margin-bottom: 0.8rem;
}
.w349b-card p {
  font-size: 1.3rem;
  line-height: 1.8rem;
  color: rgba(255,182,193,0.85);
  margin-bottom: 0.8rem;
}

/* Promo Button */
.w349b-promo-btn {
  display: inline-block;
  padding: 1rem 2rem;
  background: var(--w349b-primary);
  color: var(--w349b-light-bg);
  border: none;
  border-radius: 8px;
  font-size: 1.4rem;
  font-weight: 700;
  cursor: pointer;
  min-height: 44px;
  text-align: center;
  transition: all 0.2s ease;
}
.w349b-promo-btn:hover {
  opacity: 0.9;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0,105,92,0.4);
}
.w349b-promo-link {
  color: var(--w349b-text);
  font-weight: 600;
  text-decoration: underline;
  cursor: pointer;
  transition: color 0.2s;
}
.w349b-promo-link:hover { color: #fff; }

/* Bottom Nav */
.w349b-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  height: 60px;
  background: var(--w349b-dark);
  border-top: 1px solid var(--w349b-border);
  display: flex;
  justify-content: space-around;
  align-items: center;
  z-index: 1000;
  box-shadow: 0 -2px 8px rgba(0,0,0,0.3);
}
@media (min-width: 769px) {
  .w349b-bottom-nav { display: none; }
}
.w349b-bottom-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  color: rgba(255,182,193,0.6);
  font-size: 1rem;
  cursor: pointer;
  min-width: 60px;
  min-height: 56px;
  transition: all 0.2s ease;
  gap: 2px;
  padding: 0;
}
.w349b-bottom-btn i,
.w349b-bottom-btn .material-icons,
.w349b-bottom-btn .material-icons-outlined,
.w349b-bottom-btn bi {
  font-size: 22px;
}
.w349b-bottom-btn:hover {
  color: var(--w349b-text);
  transform: scale(1.1);
}
.w349b-bottom-btn-active {
  color: var(--w349b-text) !important;
}
.w349b-bottom-btn span {
  font-size: 1rem;
}

/* Footer */
.w349b-footer {
  background: var(--w349b-dark);
  border-top: 1px solid var(--w349b-border);
  padding: 2rem 1.2rem;
  text-align: center;
}
.w349b-footer-brand {
  font-size: 1.3rem;
  color: rgba(255,182,193,0.7);
  line-height: 1.8rem;
  margin-bottom: 1.2rem;
}
.w349b-footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.8rem;
  margin-bottom: 1.2rem;
}
.w349b-footer-links a {
  padding: 0.5rem 1rem;
  background: var(--w349b-muted);
  color: var(--w349b-text);
  border-radius: 6px;
  font-size: 1.2rem;
  transition: background 0.2s;
  min-height: 36px;
  display: flex;
  align-items: center;
}
.w349b-footer-links a:hover { background: var(--w349b-primary); }
.w349b-footer-copy {
  font-size: 1.1rem;
  color: rgba(255,182,193,0.5);
  margin-top: 1rem;
}

/* Internal Link */
.w349b-internal-link {
  color: var(--w349b-text);
  text-decoration: underline;
  font-weight: 500;
  transition: color 0.2s;
}
.w349b-internal-link:hover { color: #fff; }

/* RTP Table */
.w349b-rtp-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0;
  font-size: 1.2rem;
}
.w349b-rtp-table th {
  background: var(--w349b-primary);
  color: var(--w349b-light-bg);
  padding: 0.8rem;
  text-align: left;
  font-weight: 600;
}
.w349b-rtp-table td {
  padding: 0.6rem 0.8rem;
  border-bottom: 1px solid var(--w349b-border);
  color: rgba(255,182,193,0.85);
}
.w349b-rtp-table tr:hover td { background: var(--w349b-muted); }

/* FAQ */
.w349b-faq-item {
  margin-bottom: 1rem;
  padding: 1rem;
  background: var(--w349b-muted);
  border-radius: 8px;
  border: 1px solid var(--w349b-border);
}
.w349b-faq-item h3 {
  font-size: 1.4rem;
  color: var(--w349b-text);
  margin-bottom: 0.5rem;
}
.w349b-faq-item p {
  font-size: 1.2rem;
  color: rgba(255,182,193,0.8);
  line-height: 1.6rem;
}

/* Winners */
.w349b-winner-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.8rem;
  background: var(--w349b-muted);
  border-radius: 8px;
  margin-bottom: 0.6rem;
}
.w349b-winner-item img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
}
.w349b-winner-info { flex: 1; }
.w349b-winner-info span { display: block; }
.w349b-winner-name { font-size: 1.2rem; color: var(--w349b-text); font-weight: 600; }
.w349b-winner-game { font-size: 1.1rem; color: rgba(255,182,193,0.7); }
.w349b-winner-amount { font-size: 1.4rem; color: #4caf50; font-weight: 700; }

/* Feature list */
.w349b-feature-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.8rem;
}
.w349b-feature-item {
  background: var(--w349b-muted);
  padding: 1rem;
  border-radius: 8px;
  text-align: center;
  border: 1px solid var(--w349b-border);
}
.w349b-feature-item i {
  font-size: 2.4rem;
  color: var(--w349b-primary);
  margin-bottom: 0.5rem;
}
.w349b-feature-item h4 {
  font-size: 1.2rem;
  color: var(--w349b-text);
  margin-bottom: 0.3rem;
}
.w349b-feature-item p {
  font-size: 1.1rem;
  color: rgba(255,182,193,0.7);
}

/* CTA Banner */
.w349b-cta-banner {
  background: linear-gradient(135deg, var(--w349b-primary), #00897B);
  padding: 2rem 1.2rem;
  text-align: center;
  border-radius: 12px;
  margin: 1.5rem 0;
}
.w349b-cta-banner h2 {
  color: var(--w349b-light-bg);
  font-size: 1.8rem;
  margin-bottom: 0.8rem;
}
.w349b-cta-banner p {
  color: rgba(240,253,255,0.85);
  font-size: 1.3rem;
  margin-bottom: 1.2rem;
}

/* Payment Methods */
.w349b-payment-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  justify-content: center;
}
.w349b-payment-item {
  background: var(--w349b-muted);
  padding: 0.8rem 1.2rem;
  border-radius: 8px;
  font-size: 1.2rem;
  color: var(--w349b-text);
  border: 1px solid var(--w349b-border);
}

/* Review Stars */
.w349b-stars { color: #FFD700; font-size: 1.4rem; }

/* Tags */
.w349b-tag {
  display: inline-block;
  padding: 0.3rem 0.8rem;
  background: var(--w349b-primary);
  color: var(--w349b-light-bg);
  border-radius: 4px;
  font-size: 1.1rem;
  margin: 0.2rem;
}

/* Divider */
.w349b-divider {
  height: 1px;
  background: var(--w349b-border);
  margin: 1.5rem 0;
  border: none;
}

/* Desktop adjustments */
@media (min-width: 769px) {
  .w349b-main { padding-bottom: 0; }
  body { max-width: 430px; }
}
