/**
 * phwin casino - design-00d8.css
 * Mobile-first styles. Every custom class uses the w00d8- prefix.
 * Palette: #ADD8E6 | #DA70D6 | #7B68EE | #DDA0DD | #262626 (dark bg)
 */

:root {
  --w00d8-primary: #7B68EE;
  --w00d8-secondary: #DA70D6;
  --w00d8-accent: #ADD8E6;
  --w00d8-plum: #DDA0DD;
  --w00d8-bg: #262626;
  --w00d8-bg-dark: #1a1a1a;
  --w00d8-bg-card: #303030;
  --w00d8-text: #f5f5f5;
  --w00d8-text-muted: #b0b0b0;
  --w00d8-gold: #FFD700;
  --w00d8-success: #4ade80;
  --w00d8-gradient: linear-gradient(135deg, #7B68EE 0%, #DA70D6 100%);
  --w00d8-shadow: 0 4px 18px rgba(0, 0, 0, 0.45);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { font-size: 62.5%; scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  background-color: var(--w00d8-bg);
  color: var(--w00d8-text);
  line-height: 1.5;
  max-width: 430px;
  margin: 0 auto;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--w00d8-secondary); text-decoration: none; }
.w00d8-container { width: 100%; padding: 0 1.2rem; }
.w00d8-wrapper { max-width: 430px; margin: 0 auto; position: relative; }

/* ===== Header ===== */
.w00d8-header {
  position: sticky; top: 0; z-index: 1000;
  background: linear-gradient(135deg, #1a1a1a 0%, #262626 100%);
  border-bottom: 2px solid var(--w00d8-primary);
  padding: 0.8rem 1rem;
  display: flex; align-items: center; justify-content: space-between; gap: 0.5rem;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.45);
}
.w00d8-logo { display: flex; align-items: center; gap: 0.6rem; color: var(--w00d8-text); }
.w00d8-logo img { width: 32px; height: 32px; border-radius: 6px; }
.w00d8-logo-text {
  font-size: 1.6rem; font-weight: 800; letter-spacing: 0.5px;
  background: linear-gradient(90deg, var(--w00d8-accent), var(--w00d8-secondary));
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.w00d8-header-actions { display: flex; align-items: center; gap: 0.5rem; }

.w00d8-btn {
  display: inline-flex; align-items: center; gap: 0.4rem;
  padding: 0.7rem 1.2rem; border-radius: 999px;
  font-size: 1.25rem; font-weight: 700; text-decoration: none;
  border: none; cursor: pointer; font-family: inherit;
  transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}
.w00d8-btn:active { transform: scale(0.95); }
.w00d8-btn-login { background: transparent; color: var(--w00d8-accent); border: 1.5px solid var(--w00d8-primary); }
.w00d8-btn-login:hover { background: rgba(123, 104, 238, 0.18); }
.w00d8-btn-register { background: var(--w00d8-gradient); color: #fff; box-shadow: 0 4px 14px rgba(123, 104, 238, 0.5); }
.w00d8-btn-register:hover { opacity: 0.92; }
.w00d8-menu-toggle { background: transparent; border: none; color: var(--w00d8-text); font-size: 1.9rem; cursor: pointer; padding: 0.4rem; }

/* ===== Mobile slide-in menu ===== */
.w00d8-mobile-menu {
  position: fixed; top: 0; right: -100%;
  width: 82%; max-width: 320px; height: 100vh;
  background: var(--w00d8-bg-dark);
  padding: 5.5rem 1.2rem 2rem;
  transition: right 0.32s ease;
  z-index: 9999; overflow-y: auto;
  border-left: 1px solid var(--w00d8-primary);
  box-shadow: -4px 0 24px rgba(0, 0, 0, 0.5);
}
.w00d8-mobile-menu.w00d8-active { right: 0; }
.w00d8-mobile-menu a {
  display: block; padding: 1rem 1.2rem;
  color: var(--w00d8-text); text-decoration: none;
  font-size: 1.35rem; font-weight: 600;
  border-radius: 8px; margin-bottom: 0.3rem;
  transition: background 0.2s, color 0.2s;
  border-left: 3px solid transparent;
}
.w00d8-mobile-menu a:hover { background: rgba(123, 104, 238, 0.18); border-left-color: var(--w00d8-secondary); color: var(--w00d8-accent); }
.w00d8-menu-close { position: absolute; top: 1rem; right: 1.2rem; background: transparent; border: none; color: var(--w00d8-text); font-size: 2rem; cursor: pointer; }
.w00d8-overlay { position: fixed; inset: 0; background: rgba(0, 0, 0, 0.55); z-index: 9998; opacity: 0; visibility: hidden; transition: opacity 0.3s; }
.w00d8-overlay.w00d8-active { opacity: 1; visibility: visible; }

/* ===== Hero Carousel ===== */
.w00d8-hero { position: relative; width: 100%; height: 190px; overflow: hidden; border-radius: 14px; margin: 1rem 0; box-shadow: var(--w00d8-shadow); }
.w00d8-slides { position: relative; width: 100%; height: 100%; }
.w00d8-slide { position: absolute; inset: 0; opacity: 0; transition: opacity 0.6s ease; cursor: pointer; }
.w00d8-slide.w00d8-active { opacity: 1; }
.w00d8-slide img { width: 100%; height: 100%; object-fit: cover; border-radius: 14px; }
.w00d8-slide-overlay { position: absolute; bottom: 0; left: 0; right: 0; padding: 1rem 1.2rem; background: linear-gradient(transparent, rgba(0, 0, 0, 0.88)); }
.w00d8-slide-title { color: #fff; font-size: 1.55rem; font-weight: 800; }
.w00d8-slide-cta { display: inline-block; margin-top: 0.5rem; padding: 0.5rem 1.2rem; background: var(--w00d8-gradient); color: #fff; border-radius: 999px; font-size: 1.2rem; font-weight: 700; }
.w00d8-dots { position: absolute; bottom: 0.6rem; left: 50%; transform: translateX(-50%); display: flex; gap: 0.5rem; z-index: 5; }
.w00d8-dot { width: 8px; height: 8px; border-radius: 50%; background: rgba(255, 255, 255, 0.5); cursor: pointer; transition: background 0.2s, transform 0.2s; }
.w00d8-dot.w00d8-active { background: var(--w00d8-accent); transform: scale(1.25); }

/* ===== Section / Headings ===== */
.w00d8-section { padding: 1.5rem 1.2rem; }
.w00d8-section-title {
  font-size: 1.7rem; font-weight: 800; margin-bottom: 1rem;
  padding-left: 0.8rem; border-left: 4px solid var(--w00d8-primary);
  color: var(--w00d8-text);
  display: flex; align-items: center; gap: 0.5rem;
}
.w00d8-section-title .w00d8-accent { color: var(--w00d8-secondary); }
.w00d8-section-title .w00d8-icon { color: var(--w00d8-accent); font-size: 1.8rem; }
.w00d8-h1 { font-size: 1.85rem; font-weight: 800; color: var(--w00d8-accent); text-align: center; margin: 1.2rem 0; padding: 0 1rem; line-height: 1.35; }

/* ===== Game Grid ===== */
.w00d8-game-group { margin-bottom: 1rem; }
.w00d8-game-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.7rem; }
.w00d8-game-card {
  background: rgba(255, 255, 255, 0.04);
  border-radius: 10px; padding: 0.45rem;
  text-align: center; cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
  text-decoration: none; color: var(--w00d8-text);
  border: 1px solid rgba(123, 104, 238, 0.18); display: block;
}
.w00d8-game-card:hover { transform: translateY(-3px); box-shadow: 0 6px 18px rgba(123, 104, 238, 0.35); border-color: var(--w00d8-secondary); }
.w00d8-game-card img { width: 100%; height: 78px; object-fit: cover; border-radius: 6px; }
.w00d8-game-name { font-size: 1.1rem; margin-top: 0.4rem; color: var(--w00d8-text); font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* ===== Promo Banner ===== */
.w00d8-promo-banner {
  background: linear-gradient(135deg, rgba(123, 104, 238, 0.32), rgba(218, 112, 214, 0.32));
  border: 1px solid var(--w00d8-primary);
  border-radius: 14px; padding: 1.5rem 1.2rem; text-align: center;
  margin: 1.5rem 0; position: relative; overflow: hidden;
}
.w00d8-promo-banner::before { content: ''; position: absolute; top: -30%; right: -10%; width: 200px; height: 200px; background: radial-gradient(circle, rgba(255, 215, 0, 0.15), transparent); pointer-events: none; }
.w00d8-promo-title { font-size: 1.75rem; font-weight: 800; color: var(--w00d8-accent); margin-bottom: 0.4rem; }
.w00d8-promo-text { color: var(--w00d8-text); margin-bottom: 1rem; font-size: 1.3rem; }
.w00d8-promo-btn { display: inline-block; padding: 0.8rem 1.8rem; background: var(--w00d8-gradient); color: #fff; border-radius: 999px; font-weight: 700; font-size: 1.3rem; cursor: pointer; border: none; box-shadow: 0 4px 14px rgba(218, 112, 214, 0.5); }

/* ===== Cards ===== */
.w00d8-card { background: var(--w00d8-bg-card); border-radius: 12px; padding: 1.2rem; margin-bottom: 1rem; border: 1px solid rgba(221, 160, 221, 0.18); }
.w00d8-card-title { font-size: 1.45rem; font-weight: 700; color: var(--w00d8-accent); margin-bottom: 0.6rem; display: flex; align-items: center; gap: 0.5rem; }
.w00d8-card-title .w00d8-icon { color: var(--w00d8-secondary); }
.w00d8-card-text { color: var(--w00d8-text); font-size: 1.3rem; line-height: 1.6; }
.w00d8-card-text p { margin-bottom: 0.6rem; }
.w00d8-card-text strong { color: var(--w00d8-accent); }

/* ===== Feature list / Steps ===== */
.w00d8-feature-list { list-style: none; }
.w00d8-feature-list li { padding: 0.8rem 0; border-bottom: 1px solid rgba(255, 255, 255, 0.08); font-size: 1.3rem; display: flex; align-items: flex-start; gap: 0.6rem; line-height: 1.5; }
.w00d8-feature-list li:last-child { border: none; }
.w00d8-feature-list .w00d8-bullet { color: var(--w00d8-secondary); flex-shrink: 0; margin-top: 0.2rem; }
.w00d8-steps { counter-reset: step; list-style: none; }
.w00d8-steps li { position: relative; padding: 0.8rem 0 0.8rem 3.2rem; font-size: 1.3rem; border-bottom: 1px dashed rgba(255, 255, 255, 0.08); line-height: 1.55; }
.w00d8-steps li:last-child { border: none; }
.w00d8-steps li::before { counter-increment: step; content: counter(step); position: absolute; left: 0; top: 0.7rem; width: 2.4rem; height: 2.4rem; background: var(--w00d8-gradient); color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 1.1rem; }

/* ===== Inline promo link ===== */
.w00d8-inline-link { color: var(--w00d8-secondary); font-weight: 700; text-decoration: none; border-bottom: 1px dashed var(--w00d8-secondary); cursor: pointer; }

/* ===== Testimonials ===== */
.w00d8-testimonials { display: grid; gap: 0.8rem; }
.w00d8-testimonial { background: rgba(173, 216, 230, 0.07); padding: 1rem; border-radius: 10px; border-left: 3px solid var(--w00d8-secondary); }
.w00d8-stars { color: var(--w00d8-gold); margin-bottom: 0.4rem; letter-spacing: 1px; }
.w00d8-testimonial-name { font-weight: 700; color: var(--w00d8-accent); font-size: 1.2rem; margin-top: 0.4rem; }
.w00d8-testimonial-text { font-size: 1.25rem; color: var(--w00d8-text); line-height: 1.5; }

/* ===== Payment grid ===== */
.w00d8-payment-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.5rem; }
.w00d8-payment-item { background: rgba(255, 255, 255, 0.06); padding: 0.7rem 0.3rem; border-radius: 8px; text-align: center; font-size: 1.05rem; color: var(--w00d8-text); font-weight: 600; border: 1px solid rgba(255, 255, 255, 0.08); }
.w00d8-payment-item .w00d8-icon { display: block; font-size: 1.8rem; color: var(--w00d8-accent); margin-bottom: 0.2rem; }

/* ===== Winners ===== */
.w00d8-winner { display: flex; align-items: center; gap: 0.7rem; padding: 0.6rem 0; border-bottom: 1px dashed rgba(255, 255, 255, 0.1); font-size: 1.2rem; }
.w00d8-winner:last-child { border: none; }
.w00d8-winner-avatar { width: 32px; height: 32px; border-radius: 50%; background: var(--w00d8-gradient); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 1.1rem; }
.w00d8-winner-name { flex: 1; }
.w00d8-winner-game { color: var(--w00d8-text-muted); font-size: 1.05rem; }
.w00d8-winner-amount { color: var(--w00d8-gold); font-weight: 700; font-size: 1.3rem; }

/* ===== RTP grid ===== */
.w00d8-rtp-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.6rem; }
.w00d8-rtp-item { background: rgba(255, 255, 255, 0.04); border: 1px solid rgba(123, 104, 238, 0.25); border-radius: 8px; padding: 0.8rem; }
.w00d8-rtp-game { font-size: 1.2rem; font-weight: 700; color: var(--w00d8-accent); margin-bottom: 0.3rem; }
.w00d8-rtp-value { font-size: 1.6rem; font-weight: 800; color: var(--w00d8-gold); }
.w00d8-rtp-bar { height: 5px; background: rgba(255, 255, 255, 0.1); border-radius: 999px; overflow: hidden; margin-top: 0.4rem; }
.w00d8-rtp-fill { height: 100%; background: var(--w00d8-gradient); border-radius: 999px; }

/* ===== App download CTA ===== */
.w00d8-app-cta { background: linear-gradient(135deg, rgba(123, 104, 238, 0.18), rgba(218, 112, 214, 0.18)); border: 1px solid var(--w00d8-primary); border-radius: 14px; padding: 1.5rem 1.2rem; text-align: center; margin: 1.5rem 0; }
.w00d8-app-cta h3 { font-size: 1.6rem; color: var(--w00d8-accent); margin-bottom: 0.4rem; }
.w00d8-app-cta p { font-size: 1.25rem; color: var(--w00d8-text); margin-bottom: 1rem; }
.w00d8-app-buttons { display: flex; gap: 0.6rem; justify-content: center; flex-wrap: wrap; }
.w00d8-app-btn { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.7rem 1.2rem; background: var(--w00d8-bg-dark); border: 1px solid var(--w00d8-primary); border-radius: 8px; color: var(--w00d8-text); font-size: 1.2rem; font-weight: 700; cursor: pointer; }

/* ===== FAQ accordion ===== */
.w00d8-faq { margin-bottom: 0.8rem; }
.w00d8-faq summary { font-size: 1.3rem; font-weight: 700; color: var(--w00d8-accent); padding: 0.9rem 0; cursor: pointer; list-style: none; position: relative; padding-right: 2rem; }
.w00d8-faq summary::after { content: '+'; position: absolute; right: 0; font-size: 1.6rem; color: var(--w00d8-secondary); transition: transform 0.2s; }
.w00d8-faq[open] summary::after { transform: rotate(45deg); }
.w00d8-faq p { font-size: 1.25rem; color: var(--w00d8-text); padding-bottom: 0.8rem; line-height: 1.55; }

/* ===== Footer ===== */
.w00d8-footer { background: var(--w00d8-bg-dark); padding: 2rem 1.2rem 9rem; margin-top: 2rem; border-top: 2px solid var(--w00d8-primary); }
.w00d8-footer-title { color: var(--w00d8-accent); font-size: 1.5rem; font-weight: 700; margin-bottom: 0.8rem; }
.w00d8-footer-text { color: var(--w00d8-text-muted); font-size: 1.2rem; line-height: 1.6; margin-bottom: 1.5rem; }
.w00d8-footer-links { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.4rem 0.8rem; margin-bottom: 1.5rem; }
.w00d8-footer-links a { color: var(--w00d8-text); text-decoration: none; font-size: 1.2rem; padding: 0.3rem 0; transition: color 0.2s; }
.w00d8-footer-links a:hover { color: var(--w00d8-secondary); }
.w00d8-footer-buttons { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1.5rem; }
.w00d8-footer-buttons button { flex: 1; min-width: 130px; padding: 0.7rem; background: var(--w00d8-gradient); color: #fff; border: none; border-radius: 8px; font-size: 1.2rem; font-weight: 700; cursor: pointer; font-family: inherit; }
.w00d8-footer-buttons button:hover { opacity: 0.92; }
.w00d8-partners { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.5rem; margin: 0 0 1.5rem; }
.w00d8-partner-logo { min-height: 44px; border-radius: 10px; background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(173, 216, 230, 0.16); display: flex; flex-direction: column; align-items: center; justify-content: center; color: var(--w00d8-accent); font-size: 1rem; font-weight: 700; text-align: center; }
.w00d8-partner-logo .w00d8-icon { font-size: 1.8rem; margin-bottom: 0.2rem; color: var(--w00d8-secondary); }
.w00d8-copyright { text-align: center; color: var(--w00d8-text-muted); font-size: 1.1rem; padding-top: 1rem; border-top: 1px solid rgba(255, 255, 255, 0.1); }

/* ===== Mobile Bottom Navigation ===== */
.w00d8-bottom-nav {
  position: fixed; bottom: 0; left: 0; right: 0;
  max-width: 430px; margin: 0 auto;
  height: 62px;
  background: linear-gradient(180deg, #1f1f1f 0%, #111111 100%);
  border-top: 1px solid var(--w00d8-primary);
  display: flex; justify-content: space-around; align-items: center;
  z-index: 1000;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.6);
}
.w00d8-bottom-nav a {
  flex: 1; min-width: 60px; min-height: 60px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 0.2rem; color: var(--w00d8-text-muted); text-decoration: none;
  font-size: 1rem; font-weight: 600; padding: 0.3rem;
  cursor: pointer; position: relative;
  transition: color 0.2s, transform 0.2s;
}
.w00d8-bottom-nav a:active { transform: scale(0.92); }
.w00d8-bottom-nav a:hover,
.w00d8-bottom-nav a.w00d8-current { color: var(--w00d8-secondary); }
.w00d8-bottom-nav a .w00d8-nav-icon { font-size: 2.1rem; line-height: 1; }
.w00d8-bottom-nav a.w00d8-current .w00d8-nav-icon { color: var(--w00d8-gold); }
.w00d8-nav-badge { position: absolute; top: 4px; right: 22%; background: var(--w00d8-secondary); color: #fff; border-radius: 999px; padding: 1px 5px; font-size: 0.85rem; font-weight: 700; line-height: 1.3; }

/* ===== Helpers ===== */
.w00d8-text-center { text-align: center; }
.w00d8-mt-1 { margin-top: 0.5rem; }
.w00d8-mt-2 { margin-top: 1rem; }
.w00d8-mt-3 { margin-top: 1.5rem; }
.w00d8-text-muted { color: var(--w00d8-text-muted); }
.w00d8-divider { height: 1px; background: linear-gradient(90deg, transparent, var(--w00d8-primary), transparent); margin: 1.5rem 0; }

/* ===== Responsive ===== */
@media (min-width: 769px) {
  body { max-width: 768px; }
  .w00d8-bottom-nav { display: none; }
  .w00d8-footer { padding-bottom: 2rem; }
  .w00d8-game-grid { grid-template-columns: repeat(5, 1fr); }
  .w00d8-payment-grid { grid-template-columns: repeat(6, 1fr); }
  .w00d8-hero { height: 280px; }
}
@media (max-width: 768px) {
  main, .w00d8-main { padding-bottom: 80px; }
}
