/* layout-5bd9.css - Core Stylesheet for Scatter Free Spin */
/* All classes use prefix "w5bd9-" */

:root {
  --w5bd9-primary: #6F4E37;
  --w5bd9-secondary: #FAF0E6;
  --w5bd9-accent: #00FF7F;
  --w5bd9-dark: #333333;
  --w5bd9-muted: #8B7355;
  --w5bd9-bg: #1a0f0a;
  --w5bd9-bg-card: #2a1a10;
  --w5bd9-bg-alt: #3a2518;
  --w5bd9-text: #FAF0E6;
  --w5bd9-text-muted: #c4a882;
  --w5bd9-border: #5a3a28;
  --w5bd9-gold: #d4a853;
  --w5bd9-green: #00FF7F;
  --w5bd9-radius: 1.2rem;
  --w5bd9-shadow: 0 4px 16px rgba(0,0,0,0.4);
}

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

html {
  font-size: 62.5%;
  scroll-behavior: smooth;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: var(--w5bd9-bg);
  color: var(--w5bd9-text);
  line-height: 1.5rem;
  max-width: 430px;
  margin: 0 auto;
  overflow-x: hidden;
}

a { color: var(--w5bd9-green); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; height: auto; display: block; }

/* ===== HEADER ===== */
.w5bd9-header {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  background: linear-gradient(135deg, #1a0f0a 0%, #2a1a10 100%);
  border-bottom: 2px solid var(--w5bd9-gold);
  z-index: 1000;
  padding: 0.8rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.w5bd9-logo-area {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex: 1;
  min-width: 0;
}

.w5bd9-logo-area img {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  flex-shrink: 0;
}

.w5bd9-site-name {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--w5bd9-gold);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.w5bd9-header-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

.w5bd9-btn-register, .w5bd9-btn-login {
  padding: 0.5rem 1rem;
  border: none;
  border-radius: 0.6rem;
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
}

.w5bd9-btn-register {
  background: linear-gradient(135deg, var(--w5bd9-green), #00cc66);
  color: var(--w5bd9-dark);
}

.w5bd9-btn-register:hover {
  transform: scale(1.05);
  box-shadow: 0 0 12px rgba(0,255,127,0.4);
}

.w5bd9-btn-login {
  background: transparent;
  color: var(--w5bd9-gold);
  border: 1px solid var(--w5bd9-gold);
}

.w5bd9-btn-login:hover {
  background: var(--w5bd9-gold);
  color: var(--w5bd9-dark);
}

.w5bd9-menu-toggle {
  background: none;
  border: none;
  color: var(--w5bd9-gold);
  font-size: 2rem;
  cursor: pointer;
  padding: 0.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ===== MOBILE MENU ===== */
.w5bd9-mobile-menu {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%) translateY(-100%);
  width: 100%;
  max-width: 430px;
  background: rgba(26,15,10,0.98);
  z-index: 9999;
  padding: 5rem 1.5rem 2rem;
  transition: transform 0.3s ease;
  border-bottom: 2px solid var(--w5bd9-gold);
}

.w5bd9-mobile-menu.w5bd9-menu-active {
  transform: translateX(-50%) translateY(0);
}

.w5bd9-mobile-menu a {
  display: block;
  padding: 1.2rem 1rem;
  color: var(--w5bd9-text);
  font-size: 1.4rem;
  border-bottom: 1px solid rgba(139,115,85,0.3);
  transition: all 0.2s;
}

.w5bd9-mobile-menu a:hover {
  background: var(--w5bd9-bg-alt);
  color: var(--w5bd9-green);
  text-decoration: none;
  padding-left: 1.5rem;
}

/* ===== MAIN CONTENT ===== */
.w5bd9-main {
  padding-top: 5.5rem;
  min-height: 100vh;
}

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

/* ===== CAROUSEL ===== */
.w5bd9-carousel {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: 0 0 var(--w5bd9-radius) var(--w5bd9-radius);
}

.w5bd9-slide {
  display: none;
  cursor: pointer;
}

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

.w5bd9-slide img {
  width: 100%;
  height: auto;
  min-height: 160px;
  object-fit: cover;
}

.w5bd9-carousel-dots {
  position: absolute;
  bottom: 0.8rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.6rem;
}

.w5bd9-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(250,240,230,0.4);
  cursor: pointer;
  transition: all 0.3s;
}

.w5bd9-dot.w5bd9-dot-active {
  background: var(--w5bd9-green);
  transform: scale(1.3);
}

/* ===== SECTION TITLES ===== */
.w5bd9-section-title {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--w5bd9-gold);
  margin: 2rem 1rem 1rem;
  padding-bottom: 0.8rem;
  border-bottom: 2px solid var(--w5bd9-border);
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

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

/* ===== GAME GRID ===== */
.w5bd9-game-section { padding: 0 0.5rem; }

.w5bd9-cat-title {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--w5bd9-gold);
  margin: 1.5rem 0.5rem 0.8rem;
  padding-left: 0.5rem;
  border-left: 3px solid var(--w5bd9-green);
}

.w5bd9-game-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.6rem;
  padding: 0.5rem;
}

.w5bd9-game-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
  transition: transform 0.2s;
  text-align: center;
}

.w5bd9-game-item:hover {
  transform: scale(1.08);
}

.w5bd9-game-item img {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 0.8rem;
  border: 2px solid var(--w5bd9-border);
  object-fit: cover;
  transition: border-color 0.3s;
}

.w5bd9-game-item:hover img {
  border-color: var(--w5bd9-green);
}

.w5bd9-game-name {
  font-size: 0.95rem;
  color: var(--w5bd9-text-muted);
  margin-top: 0.3rem;
  line-height: 1.2rem;
  max-height: 2.4rem;
  overflow: hidden;
  word-break: break-word;
}

/* ===== CONTENT SECTIONS ===== */
.w5bd9-content-section {
  padding: 1.5rem 1rem;
  margin: 1rem;
  background: var(--w5bd9-bg-card);
  border-radius: var(--w5bd9-radius);
  border: 1px solid var(--w5bd9-border);
}

.w5bd9-content-section h2 {
  font-size: 1.6rem;
  color: var(--w5bd9-gold);
  margin-bottom: 1rem;
  line-height: 2rem;
}

.w5bd9-content-section h3 {
  font-size: 1.3rem;
  color: var(--w5bd9-green);
  margin: 1rem 0 0.5rem;
}

.w5bd9-content-section p {
  font-size: 1.2rem;
  line-height: 1.8rem;
  color: var(--w5bd9-text-muted);
  margin-bottom: 0.8rem;
}

.w5bd9-content-section ul {
  padding-left: 1.5rem;
  margin-bottom: 0.8rem;
}

.w5bd9-content-section li {
  font-size: 1.2rem;
  line-height: 1.8rem;
  color: var(--w5bd9-text-muted);
  margin-bottom: 0.4rem;
}

/* ===== CTA BUTTONS ===== */
.w5bd9-cta-btn {
  display: inline-block;
  background: linear-gradient(135deg, var(--w5bd9-green), #00cc66);
  color: var(--w5bd9-dark);
  font-size: 1.3rem;
  font-weight: 800;
  padding: 1rem 2rem;
  border-radius: 0.8rem;
  cursor: pointer;
  border: none;
  text-align: center;
  transition: all 0.3s;
  text-decoration: none;
  width: 100%;
}

.w5bd9-cta-btn:hover {
  transform: scale(1.03);
  box-shadow: 0 0 20px rgba(0,255,127,0.4);
  text-decoration: none;
}

.w5bd9-cta-gold {
  background: linear-gradient(135deg, var(--w5bd9-gold), #b8922e);
  color: #1a0f0a;
}

.w5bd9-text-link {
  color: var(--w5bd9-green);
  font-weight: 700;
  cursor: pointer;
  text-decoration: underline;
}

.w5bd9-text-link:hover {
  color: #66ffbb;
}

/* ===== FOOTER ===== */
.w5bd9-footer {
  background: linear-gradient(180deg, var(--w5bd9-bg-card) 0%, #0d0705 100%);
  padding: 2rem 1rem;
  margin-top: 2rem;
  border-top: 2px solid var(--w5bd9-gold);
}

.w5bd9-footer-brand {
  font-size: 1.2rem;
  color: var(--w5bd9-text-muted);
  margin-bottom: 1.2rem;
  line-height: 1.7rem;
}

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

.w5bd9-footer-links a {
  padding: 0.4rem 0.8rem;
  background: var(--w5bd9-bg-alt);
  border-radius: 0.5rem;
  font-size: 1rem;
  color: var(--w5bd9-text-muted);
  border: 1px solid var(--w5bd9-border);
  transition: all 0.2s;
}

.w5bd9-footer-links a:hover {
  color: var(--w5bd9-green);
  border-color: var(--w5bd9-green);
  text-decoration: none;
}

.w5bd9-footer-copy {
  font-size: 1rem;
  color: rgba(196,168,130,0.5);
  text-align: center;
  padding-top: 1rem;
  border-top: 1px solid rgba(90,58,40,0.3);
}

/* ===== BOTTOM NAV ===== */
.w5bd9-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  height: 60px;
  background: linear-gradient(135deg, #1a0f0a 0%, #2a1a10 100%);
  border-top: 2px solid var(--w5bd9-gold);
  display: flex;
  justify-content: space-around;
  align-items: center;
  z-index: 1000;
  box-shadow: 0 -4px 16px rgba(0,0,0,0.5);
}

.w5bd9-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(--w5bd9-text-muted);
  cursor: pointer;
  transition: all 0.25s;
  gap: 0.2rem;
  position: relative;
}

.w5bd9-bottom-nav-btn:hover,
.w5bd9-bottom-nav-btn.w5bd9-nav-active {
  color: var(--w5bd9-green);
  transform: scale(1.1);
}

.w5bd9-bottom-nav-btn.w5bd9-nav-active::after {
  content: '';
  position: absolute;
  top: -2px;
  left: 50%;
  transform: translateX(-50%);
  width: 24px;
  height: 3px;
  background: var(--w5bd9-green);
  border-radius: 0 0 3px 3px;
}

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

.w5bd9-bottom-nav-btn span {
  font-size: 1rem;
  line-height: 1.2rem;
}

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

/* ===== RTP TABLE ===== */
.w5bd9-rtp-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.5rem;
}

.w5bd9-rtp-item {
  background: var(--w5bd9-bg-alt);
  padding: 0.8rem;
  border-radius: 0.6rem;
  text-align: center;
  border: 1px solid var(--w5bd9-border);
}

.w5bd9-rtp-name {
  font-size: 1rem;
  color: var(--w5bd9-text-muted);
  margin-bottom: 0.3rem;
}

.w5bd9-rtp-value {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--w5bd9-green);
}

/* ===== TESTIMONIALS ===== */
.w5bd9-testimonial {
  background: var(--w5bd9-bg-alt);
  padding: 1rem;
  border-radius: 0.8rem;
  margin-bottom: 0.8rem;
  border-left: 3px solid var(--w5bd9-green);
}

.w5bd9-testimonial-name {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--w5bd9-gold);
}

.w5bd9-testimonial-text {
  font-size: 1.1rem;
  color: var(--w5bd9-text-muted);
  margin-top: 0.4rem;
  line-height: 1.6rem;
}

/* ===== WINNER SHOWCASE ===== */
.w5bd9-winner-list { list-style: none; }

.w5bd9-winner-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.6rem 0;
  border-bottom: 1px solid rgba(90,58,40,0.3);
}

.w5bd9-winner-name {
  font-size: 1.1rem;
  color: var(--w5bd9-gold);
  font-weight: 600;
}

.w5bd9-winner-amount {
  font-size: 1.2rem;
  color: var(--w5bd9-green);
  font-weight: 800;
}

.w5bd9-winner-game {
  font-size: 1rem;
  color: var(--w5bd9-text-muted);
}

/* ===== PAYMENT METHODS ===== */
.w5bd9-payment-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.w5bd9-payment-item {
  padding: 0.5rem 1rem;
  background: var(--w5bd9-bg-alt);
  border-radius: 0.5rem;
  font-size: 1.1rem;
  color: var(--w5bd9-text-muted);
  border: 1px solid var(--w5bd9-border);
}

/* ===== FAQ ===== */
.w5bd9-faq-item {
  margin-bottom: 1rem;
}

.w5bd9-faq-q {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--w5bd9-gold);
  margin-bottom: 0.3rem;
}

.w5bd9-faq-a {
  font-size: 1.1rem;
  color: var(--w5bd9-text-muted);
  line-height: 1.6rem;
  padding-left: 1rem;
  border-left: 2px solid var(--w5bd9-border);
}

/* ===== FEATURES GRID ===== */
.w5bd9-features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.8rem;
}

.w5bd9-feature-card {
  background: var(--w5bd9-bg-alt);
  padding: 1rem;
  border-radius: 0.8rem;
  text-align: center;
  border: 1px solid var(--w5bd9-border);
  transition: border-color 0.3s;
}

.w5bd9-feature-card:hover {
  border-color: var(--w5bd9-green);
}

.w5bd9-feature-card i {
  font-size: 2.4rem;
  color: var(--w5bd9-green);
  margin-bottom: 0.5rem;
}

.w5bd9-feature-card h4 {
  font-size: 1.1rem;
  color: var(--w5bd9-gold);
  margin-bottom: 0.3rem;
}

.w5bd9-feature-card p {
  font-size: 1rem;
  color: var(--w5bd9-text-muted);
  line-height: 1.4rem;
}

/* ===== DESKTOP ADJUSTMENTS ===== */
@media (min-width: 769px) {
  .w5bd9-main { padding-bottom: 0; }
  .w5bd9-game-grid { grid-template-columns: repeat(6, 1fr); }
}
