/**
 * Poppyplaytime - Core Theme Stylesheet
 * All classes use w7ac0- prefix for namespace isolation
 * Mobile-first design, max-width 430px
 * Colors: #262626 (bg), #FFB3BA (accent), #E9ECEF (text)
 * @version 1.0.0
 */

/* === CSS Variables === */
:root {
  --w7ac0-bg: #262626;
  --w7ac0-bg-dark: #1a1a1a;
  --w7ac0-bg-card: #2e2e2e;
  --w7ac0-accent: #FFB3BA;
  --w7ac0-accent-dark: #e89da4;
  --w7ac0-accent-light: #ffc9cf;
  --w7ac0-text: #E9ECEF;
  --w7ac0-text-muted: #a0a0a0;
  --w7ac0-border: #3a3a3a;
  --w7ac0-gold: #f0c040;
  --w7ac0-green: #4ade80;
  --w7ac0-radius: 8px;
  --w7ac0-radius-lg: 12px;
  --w7ac0-shadow: 0 2px 12px rgba(0,0,0,0.4);
  --w7ac0-transition: all 0.3s ease;
  font-size: 62.5%;
}

/* === Reset & Base === */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: var(--w7ac0-bg);
  color: var(--w7ac0-text);
  line-height: 1.5rem;
  font-size: 1.4rem;
  overflow-x: hidden;
  max-width: 430px;
  margin: 0 auto;
}

/* === Header === */
.w7ac0-header {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  background: var(--w7ac0-bg-dark);
  border-bottom: 1px solid var(--w7ac0-border);
  z-index: 1000;
  padding: 0 1.2rem;
  height: 5.2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.w7ac0-header-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
}
.w7ac0-header-logo img {
  width: 2.8rem;
  height: 2.8rem;
  border-radius: 0.4rem;
}
.w7ac0-header-logo span {
  color: var(--w7ac0-accent);
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: 0.5px;
}
.w7ac0-header-actions {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}
.w7ac0-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.6rem 1.4rem;
  border-radius: var(--w7ac0-radius);
  font-size: 1.2rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: var(--w7ac0-transition);
  text-decoration: none;
  min-height: 3.6rem;
}
.w7ac0-btn-register {
  background: var(--w7ac0-accent);
  color: var(--w7ac0-bg-dark);
}
.w7ac0-btn-register:hover { background: var(--w7ac0-accent-dark); }
.w7ac0-btn-login {
  background: transparent;
  color: var(--w7ac0-accent);
  border: 1px solid var(--w7ac0-accent);
}
.w7ac0-btn-login:hover { background: rgba(255,179,186,0.1); }
.w7ac0-menu-toggle {
  background: none;
  border: none;
  color: var(--w7ac0-text);
  font-size: 2rem;
  cursor: pointer;
  padding: 0.4rem;
  display: flex;
  align-items: center;
}

/* === Mobile Menu === */
.w7ac0-mobile-menu {
  position: fixed;
  top: 0;
  right: -280px;
  width: 260px;
  height: 100vh;
  background: var(--w7ac0-bg-dark);
  z-index: 9999;
  transition: right 0.3s ease;
  padding: 2rem 1.6rem;
  border-left: 1px solid var(--w7ac0-border);
}
.w7ac0-menu-active { right: 0; }
.w7ac0-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;
}
.w7ac0-overlay-active { opacity: 1; pointer-events: auto; }
.w7ac0-menu-close {
  background: none;
  border: none;
  color: var(--w7ac0-text);
  font-size: 2.2rem;
  cursor: pointer;
  position: absolute;
  top: 1rem;
  right: 1.2rem;
}
.w7ac0-menu-nav { margin-top: 3rem; display: flex; flex-direction: column; gap: 0.4rem; }
.w7ac0-menu-link {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  color: var(--w7ac0-text);
  text-decoration: none;
  border-radius: var(--w7ac0-radius);
  font-size: 1.4rem;
  transition: var(--w7ac0-transition);
}
.w7ac0-menu-link:hover { background: rgba(255,179,186,0.1); color: var(--w7ac0-accent); }
.w7ac0-menu-link .material-icons-outlined,
.w7ac0-menu-link .material-icons { font-size: 2rem; color: var(--w7ac0-accent); }

/* === Carousel === */
.w7ac0-carousel {
  position: relative;
  width: 100%;
  margin-top: 5.2rem;
  overflow: hidden;
  border-radius: 0 0 var(--w7ac0-radius-lg) var(--w7ac0-radius-lg);
}
.w7ac0-carousel-track { position: relative; width: 100%; height: 200px; }
.w7ac0-carousel-slide {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  opacity: 0;
  transition: opacity 0.6s ease;
  cursor: pointer;
}
.w7ac0-slide-active { opacity: 1; }
.w7ac0-carousel-slide img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.w7ac0-carousel-dots {
  position: absolute;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.6rem;
}
.w7ac0-carousel-dot {
  width: 0.8rem; height: 0.8rem;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  cursor: pointer;
  border: none;
  transition: var(--w7ac0-transition);
}
.w7ac0-dot-active { background: var(--w7ac0-accent); transform: scale(1.2); }

/* === Main Content === */
.w7ac0-main {
  padding: 1.6rem;
  padding-top: 1.2rem;
  padding-bottom: 2rem;
}
@media (max-width: 768px) {
  .w7ac0-main { padding-bottom: 80px; }
}

/* === Section Titles === */
.w7ac0-section-title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--w7ac0-text);
  margin-bottom: 1.2rem;
  padding-bottom: 0.6rem;
  border-bottom: 2px solid var(--w7ac0-accent);
  display: inline-block;
}
.w7ac0-section-subtitle {
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--w7ac0-accent);
  margin: 1.6rem 0 0.8rem;
}

/* === Game Grid === */
.w7ac0-game-section { margin-bottom: 2.4rem; }
.w7ac0-game-section-title {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--w7ac0-accent);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.w7ac0-game-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.8rem;
}
.w7ac0-game-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
  transition: var(--w7ac0-transition);
  text-decoration: none;
}
.w7ac0-game-card:hover { transform: translateY(-2px); }
.w7ac0-game-card img {
  width: 100%;
  aspect-ratio: 1;
  border-radius: var(--w7ac0-radius);
  object-fit: cover;
  border: 2px solid var(--w7ac0-border);
  transition: var(--w7ac0-transition);
}
.w7ac0-game-card:hover img { border-color: var(--w7ac0-accent); }
.w7ac0-game-name {
  font-size: 1rem;
  color: var(--w7ac0-text-muted);
  text-align: center;
  margin-top: 0.3rem;
  line-height: 1.2rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 100%;
}

/* === Content Blocks === */
.w7ac0-content-block {
  background: var(--w7ac0-bg-card);
  border-radius: var(--w7ac0-radius-lg);
  padding: 1.6rem;
  margin-bottom: 1.6rem;
  border: 1px solid var(--w7ac0-border);
}
.w7ac0-content-block p {
  color: var(--w7ac0-text-muted);
  line-height: 1.8rem;
  margin-bottom: 1rem;
  font-size: 1.3rem;
}
.w7ac0-content-block p:last-child { margin-bottom: 0; }
.w7ac0-promo-text {
  color: var(--w7ac0-accent);
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
}
.w7ac0-promo-text:hover { text-decoration: underline; }
.w7ac0-list { list-style: none; padding: 0; }
.w7ac0-list li {
  padding: 0.6rem 0 0.6rem 1.6rem;
  position: relative;
  color: var(--w7ac0-text-muted);
  font-size: 1.3rem;
  line-height: 1.6rem;
}
.w7ac0-list li::before {
  content: '';
  position: absolute;
  left: 0; top: 1.1rem;
  width: 0.6rem; height: 0.6rem;
  border-radius: 50%;
  background: var(--w7ac0-accent);
}

/* === Promo Buttons === */
.w7ac0-btn-promo {
  background: linear-gradient(135deg, var(--w7ac0-accent), var(--w7ac0-accent-dark));
  color: var(--w7ac0-bg-dark);
  font-weight: 700;
  font-size: 1.4rem;
  padding: 1rem 2.4rem;
  border-radius: var(--w7ac0-radius);
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  cursor: pointer;
  border: none;
  transition: var(--w7ac0-transition);
  text-decoration: none;
  box-shadow: 0 4px 15px rgba(255,179,186,0.3);
}
.w7ac0-btn-promo:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(255,179,186,0.4);
}

/* === FAQ Section === */
.w7ac0-faq-item { margin-bottom: 1.2rem; }
.w7ac0-faq-q {
  font-weight: 600;
  color: var(--w7ac0-accent);
  font-size: 1.4rem;
  margin-bottom: 0.4rem;
}
.w7ac0-faq-a {
  color: var(--w7ac0-text-muted);
  font-size: 1.3rem;
  line-height: 1.6rem;
}

/* === RTP Table === */
.w7ac0-rtp-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 0.8rem;
}
.w7ac0-rtp-table th {
  background: rgba(255,179,186,0.15);
  color: var(--w7ac0-accent);
  padding: 0.6rem 0.8rem;
  font-size: 1.2rem;
  text-align: left;
  border-bottom: 1px solid var(--w7ac0-border);
}
.w7ac0-rtp-table td {
  padding: 0.5rem 0.8rem;
  font-size: 1.2rem;
  color: var(--w7ac0-text-muted);
  border-bottom: 1px solid var(--w7ac0-border);
}

/* === Testimonial Cards === */
.w7ac0-testimonial {
  background: var(--w7ac0-bg-card);
  border-radius: var(--w7ac0-radius);
  padding: 1.2rem;
  margin-bottom: 1rem;
  border-left: 3px solid var(--w7ac0-accent);
}
.w7ac0-testimonial-name {
  color: var(--w7ac0-accent);
  font-weight: 600;
  font-size: 1.3rem;
}
.w7ac0-testimonial-text {
  color: var(--w7ac0-text-muted);
  font-size: 1.2rem;
  margin-top: 0.4rem;
  font-style: italic;
}

/* === Winners Bar === */
.w7ac0-winner {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--w7ac0-border);
}
.w7ac0-winner:last-child { border-bottom: none; }
.w7ac0-winner-name { color: var(--w7ac0-accent); font-size: 1.2rem; font-weight: 600; flex: 1; }
.w7ac0-winner-amount { color: var(--w7ac0-green); font-weight: 700; font-size: 1.2rem; }
.w7ac0-winner-game { color: var(--w7ac0-text-muted); font-size: 1.1rem; }

/* === Footer === */
.w7ac0-footer {
  background: var(--w7ac0-bg-dark);
  padding: 2rem 1.6rem;
  border-top: 1px solid var(--w7ac0-border);
}
.w7ac0-footer-brand {
  color: var(--w7ac0-text-muted);
  font-size: 1.2rem;
  line-height: 1.6rem;
  margin-bottom: 1.6rem;
}
.w7ac0-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 1.6rem;
}
.w7ac0-footer-link {
  color: var(--w7ac0-accent);
  text-decoration: none;
  font-size: 1.2rem;
  padding: 0.4rem 0.8rem;
  border: 1px solid var(--w7ac0-border);
  border-radius: var(--w7ac0-radius);
  transition: var(--w7ac0-transition);
}
.w7ac0-footer-link:hover { border-color: var(--w7ac0-accent); background: rgba(255,179,186,0.1); }
.w7ac0-footer-partners {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  align-items: center;
  margin-bottom: 1.6rem;
}
.w7ac0-footer-partners img { height: 2.4rem; opacity: 0.7; }
.w7ac0-footer-copy {
  color: var(--w7ac0-text-muted);
  font-size: 1.1rem;
  text-align: center;
  padding-top: 1rem;
  border-top: 1px solid var(--w7ac0-border);
}

/* === Bottom Navigation === */
.w7ac0-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  height: 60px;
  background: var(--w7ac0-bg-dark);
  border-top: 1px solid var(--w7ac0-border);
  display: flex;
  justify-content: space-around;
  align-items: center;
  z-index: 1000;
  padding: 0 0.4rem;
}
@media (min-width: 769px) {
  .w7ac0-bottom-nav { display: none; }
}
.w7ac0-nav-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  color: var(--w7ac0-text-muted);
  cursor: pointer;
  min-width: 56px;
  min-height: 56px;
  transition: var(--w7ac0-transition);
  gap: 0.2rem;
}
.w7ac0-nav-btn:hover, .w7ac0-nav-btn:focus { color: var(--w7ac0-accent); }
.w7ac0-nav-btn.active { color: var(--w7ac0-accent); }
.w7ac0-nav-btn .material-icons { font-size: 2.2rem; }
.w7ac0-nav-btn .fas, .w7ac0-nav-btn .far, .w7ac0-nav-btn .fad { font-size: 2rem; }
.w7ac0-nav-btn bi { font-size: 2rem; }
.w7ac0-nav-label {
  font-size: 1rem;
  line-height: 1.2rem;
  white-space: nowrap;
}
.w7ac0-nav-btn:active { transform: scale(0.92); }

/* === Payment Icons === */
.w7ac0-payment-row {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: center;
  margin-top: 0.8rem;
}
.w7ac0-payment-icon {
  font-size: 2.2rem;
  color: var(--w7ac0-text-muted);
}

/* === Achievement Badge === */
.w7ac0-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.3rem 0.8rem;
  border-radius: 2rem;
  font-size: 1.1rem;
  font-weight: 600;
}
.w7ac0-badge-gold { background: rgba(240,192,64,0.15); color: var(--w7ac0-gold); }
.w7ac0-badge-green { background: rgba(74,222,128,0.15); color: var(--w7ac0-green); }
.w7ac0-badge-accent { background: rgba(255,179,186,0.15); color: var(--w7ac0-accent); }

/* === Utility === */
.w7ac0-text-center { text-align: center; }
.w7ac0-mt-1 { margin-top: 0.8rem; }
.w7ac0-mt-2 { margin-top: 1.6rem; }
.w7ac0-mb-1 { margin-bottom: 0.8rem; }
.w7ac0-mb-2 { margin-bottom: 1.6rem; }
.w7ac0-flex-center { display: flex; align-items: center; justify-content: center; }
.w7ac0-gap-1 { gap: 0.8rem; }
.w7ac0-hidden { display: none !important; }

/* === Internal Link Style === */
.w7ac0-internal-link {
  color: var(--w7ac0-accent);
  text-decoration: underline;
  text-decoration-style: dotted;
  transition: var(--w7ac0-transition);
}
.w7ac0-internal-link:hover { color: var(--w7ac0-accent-light); text-decoration-style: solid; }

/* === Step List === */
.w7ac0-steps { counter-reset: step; padding: 0; list-style: none; }
.w7ac0-steps li {
  counter-increment: step;
  padding: 0.6rem 0 0.6rem 3rem;
  position: relative;
  color: var(--w7ac0-text-muted);
  font-size: 1.3rem;
  line-height: 1.6rem;
  margin-bottom: 0.4rem;
}
.w7ac0-steps li::before {
  content: counter(step);
  position: absolute;
  left: 0; top: 0.6rem;
  width: 2rem; height: 2rem;
  background: var(--w7ac0-accent);
  color: var(--w7ac0-bg-dark);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  font-weight: 700;
}

/* === Responsive === */
@media (max-width: 320px) {
  .w7ac0-game-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 769px) {
  body { max-width: 430px; }
}
