/* Paldopanalo - design-8fb0.css */
/* All classes use w8fb0- prefix */

:root {
  --w8fb0-primary: #95A5A6;
  --w8fb0-bg: #1C2833;
  --w8fb0-bg-light: #212F3D;
  --w8fb0-bg-card: #273746;
  --w8fb0-text: #DCDCDC;
  --w8fb0-text-secondary: #ADB5BD;
  --w8fb0-accent: #95A5A6;
  --w8fb0-accent-glow: #7F8C8D;
  --w8fb0-border: #34495E;
  --w8fb0-btn-register: #27AE60;
  --w8fb0-btn-login: #2980B9;
  --w8fb0-btn-promo: #E67E22;
  --w8fb0-radius: 8px;
  --w8fb0-radius-sm: 4px;
  --w8fb0-shadow: 0 2px 8px rgba(0,0,0,0.3);
  --w8fb0-transition: all 0.3s ease;
}

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

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

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, sans-serif;
  background: var(--w8fb0-bg);
  color: var(--w8fb0-text);
  line-height: 1.5rem;
  font-size: 1.4rem;
  max-width: 430px;
  margin: 0 auto;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Header */
.w8fb0-header {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  background: var(--w8fb0-bg-light);
  border-bottom: 1px solid var(--w8fb0-border);
  z-index: 1000;
  padding: 0 1rem;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.w8fb0-logo-wrap {
  display: flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
}

.w8fb0-logo-wrap img {
  width: 28px;
  height: 28px;
  border-radius: var(--w8fb0-radius-sm);
}

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

.w8fb0-header-actions {
  display: flex;
  align-items: center;
  gap: 6px;
}

.w8fb0-btn {
  padding: 6px 14px;
  border-radius: var(--w8fb0-radius-sm);
  border: none;
  font-size: 1.2rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--w8fb0-transition);
  text-decoration: none;
  display: inline-block;
}

.w8fb0-btn-register {
  background: var(--w8fb0-btn-register);
  color: #fff;
}

.w8fb0-btn-register:hover {
  background: #2ECC71;
  transform: scale(1.03);
}

.w8fb0-btn-login {
  background: var(--w8fb0-btn-login);
  color: #fff;
}

.w8fb0-btn-login:hover {
  background: #3498DB;
  transform: scale(1.03);
}

.w8fb0-menu-btn {
  background: none;
  border: none;
  color: var(--w8fb0-text);
  font-size: 2rem;
  cursor: pointer;
  padding: 4px;
  display: flex;
  align-items: center;
}

/* Overlay */
.w8fb0-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5);
  z-index: 9998;
  opacity: 0;
  visibility: hidden;
  transition: var(--w8fb0-transition);
}

.w8fb0-overlay-active {
  opacity: 1;
  visibility: visible;
}

/* Mobile slide menu */
.w8fb0-mobile-menu {
  position: fixed;
  top: 0;
  right: -260px;
  width: 260px;
  height: 100%;
  background: var(--w8fb0-bg-light);
  z-index: 9999;
  transition: right 0.3s ease;
  padding: 60px 0 20px;
  overflow-y: auto;
}

.w8fb0-menu-open {
  right: 0;
}

.w8fb0-menu-close {
  position: absolute;
  top: 12px;
  right: 12px;
  background: none;
  border: none;
  color: var(--w8fb0-text);
  font-size: 2rem;
  cursor: pointer;
}

.w8fb0-menu-nav {
  list-style: none;
  padding: 0;
}

.w8fb0-menu-nav li a {
  display: block;
  padding: 12px 20px;
  color: var(--w8fb0-text);
  text-decoration: none;
  font-size: 1.4rem;
  border-bottom: 1px solid var(--w8fb0-border);
  transition: var(--w8fb0-transition);
}

.w8fb0-menu-nav li a:hover {
  background: var(--w8fb0-bg-card);
  color: var(--w8fb0-accent);
}

/* Main content */
main {
  padding-top: 52px;
  min-height: 100vh;
}

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

/* Banner carousel */
.w8fb0-banner {
  position: relative;
  width: 100%;
  overflow: hidden;
}

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

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

.w8fb0-slide img {
  width: 100%;
  height: auto;
  display: block;
}

.w8fb0-dots {
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
}

.w8fb0-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(220,220,220,0.4);
  cursor: pointer;
  transition: var(--w8fb0-transition);
}

.w8fb0-dot-active {
  background: var(--w8fb0-accent);
  width: 20px;
  border-radius: 4px;
}

/* Container */
.w8fb0-container {
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Section */
.w8fb0-section {
  padding: 1.5rem 0;
}

.w8fb0-section-title {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--w8fb0-text);
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--w8fb0-accent);
  display: flex;
  align-items: center;
  gap: 6px;
}

.w8fb0-section-title i,
.w8fb0-section-title .material-icons-outlined {
  font-size: 1.8rem;
  color: var(--w8fb0-accent);
}

/* Game grid */
.w8fb0-game-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.w8fb0-game-item {
  text-align: center;
  cursor: pointer;
  transition: var(--w8fb0-transition);
  border-radius: var(--w8fb0-radius);
  padding: 4px;
}

.w8fb0-game-item:hover {
  transform: scale(1.05);
  background: var(--w8fb0-bg-card);
}

.w8fb0-game-item img {
  width: 100%;
  aspect-ratio: 1;
  border-radius: var(--w8fb0-radius);
  object-fit: cover;
}

.w8fb0-game-name {
  font-size: 1rem;
  color: var(--w8fb0-text-secondary);
  margin-top: 2px;
  line-height: 1.2rem;
  height: 2.4rem;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

/* Card */
.w8fb0-card {
  background: var(--w8fb0-bg-card);
  border-radius: var(--w8fb0-radius);
  padding: 1.2rem;
  margin-bottom: 1rem;
  border: 1px solid var(--w8fb0-border);
}

.w8fb0-card h3 {
  font-size: 1.4rem;
  color: var(--w8fb0-text);
  margin-bottom: 0.8rem;
}

.w8fb0-card p {
  color: var(--w8fb0-text-secondary);
  font-size: 1.3rem;
  line-height: 1.6rem;
}

/* Promo button */
.w8fb0-promo-btn {
  display: inline-block;
  background: var(--w8fb0-btn-promo);
  color: #fff;
  padding: 10px 24px;
  border-radius: var(--w8fb0-radius);
  font-size: 1.4rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: var(--w8fb0-transition);
  text-align: center;
}

.w8fb0-promo-btn:hover {
  background: #D35400;
  transform: scale(1.03);
}

.w8fb0-promo-text {
  color: var(--w8fb0-btn-promo);
  font-weight: 600;
  cursor: pointer;
  text-decoration: underline;
}

.w8fb0-promo-text:hover {
  color: #D35400;
}

/* Footer */
.w8fb0-footer {
  background: var(--w8fb0-bg-light);
  border-top: 1px solid var(--w8fb0-border);
  padding: 2rem 1rem 1.5rem;
  margin-top: 2rem;
}

.w8fb0-footer-brand {
  font-size: 1.3rem;
  color: var(--w8fb0-text-secondary);
  line-height: 1.6rem;
  margin-bottom: 1rem;
}

.w8fb0-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 1rem;
}

.w8fb0-footer-links a {
  color: var(--w8fb0-text-secondary);
  font-size: 1.2rem;
  text-decoration: none;
  padding: 4px 8px;
  border: 1px solid var(--w8fb0-border);
  border-radius: var(--w8fb0-radius-sm);
  transition: var(--w8fb0-transition);
}

.w8fb0-footer-links a:hover {
  color: var(--w8fb0-accent);
  border-color: var(--w8fb0-accent);
}

.w8fb0-footer-promo {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 1rem;
}

.w8fb0-footer-copyright {
  font-size: 1.1rem;
  color: var(--w8fb0-text-secondary);
  text-align: center;
  padding-top: 1rem;
  border-top: 1px solid var(--w8fb0-border);
}

/* Bottom navigation */
.w8fb0-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  height: 60px;
  background: var(--w8fb0-bg-light);
  border-top: 1px solid var(--w8fb0-border);
  display: flex;
  justify-content: space-around;
  align-items: center;
  z-index: 1000;
  padding: 0 4px;
}

.w8fb0-bottom-nav-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 60px;
  min-height: 54px;
  background: none;
  border: none;
  color: var(--w8fb0-text-secondary);
  cursor: pointer;
  transition: var(--w8fb0-transition);
  border-radius: var(--w8fb0-radius-sm);
  padding: 2px 0;
  text-decoration: none;
}

.w8fb0-bottom-nav-btn i,
.w8fb0-bottom-nav-btn .material-icons,
.w8fb0-bottom-nav-btn ion-icon {
  font-size: 22px;
  margin-bottom: 2px;
}

.w8fb0-bottom-nav-btn span {
  font-size: 10px;
  line-height: 1.2;
}

.w8fb0-bottom-nav-btn:hover,
.w8fb0-bottom-nav-btn:focus {
  color: var(--w8fb0-accent);
  background: rgba(149,165,166,0.1);
}

.w8fb0-bottom-nav-active {
  color: var(--w8fb0-accent);
}

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

/* Desktop nav */
.w8fb0-desktop-nav {
  display: none;
}

@media (min-width: 769px) {
  .w8fb0-desktop-nav {
    display: flex;
    gap: 8px;
  }
  .w8fb0-desktop-nav a {
    color: var(--w8fb0-text-secondary);
    text-decoration: none;
    font-size: 1.2rem;
    padding: 4px 8px;
    border-radius: var(--w8fb0-radius-sm);
    transition: var(--w8fb0-transition);
  }
  .w8fb0-desktop-nav a:hover {
    color: var(--w8fb0-accent);
  }
}

/* Text helpers */
.w8fb0-text-center { text-align: center; }
.w8fb0-mt-1 { margin-top: 0.5rem; }
.w8fb0-mt-2 { margin-top: 1rem; }
.w8fb0-mb-1 { margin-bottom: 0.5rem; }
.w8fb0-mb-2 { margin-bottom: 1rem; }
.w8fb0-py-2 { padding: 1rem 0; }

/* H1 page title */
.w8fb0-page-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--w8fb0-text);
  padding: 1rem 0;
  text-align: center;
}

/* FAQ styles */
.w8fb0-faq-item {
  margin-bottom: 0.8rem;
  border-bottom: 1px solid var(--w8fb0-border);
  padding-bottom: 0.8rem;
}

.w8fb0-faq-q {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--w8fb0-accent);
  margin-bottom: 0.4rem;
}

.w8fb0-faq-a {
  font-size: 1.2rem;
  color: var(--w8fb0-text-secondary);
  line-height: 1.5rem;
}

/* Steps */
.w8fb0-step {
  display: flex;
  gap: 10px;
  margin-bottom: 1rem;
  align-items: flex-start;
}

.w8fb0-step-num {
  width: 28px;
  height: 28px;
  min-width: 28px;
  background: var(--w8fb0-accent);
  color: var(--w8fb0-bg);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.2rem;
}

.w8fb0-step-content h4 {
  font-size: 1.3rem;
  color: var(--w8fb0-text);
  margin-bottom: 2px;
}

.w8fb0-step-content p {
  font-size: 1.2rem;
  color: var(--w8fb0-text-secondary);
  line-height: 1.4rem;
}

/* Winners list */
.w8fb0-winner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid var(--w8fb0-border);
  font-size: 1.2rem;
}

.w8fb0-winner-name {
  color: var(--w8fb0-text);
  font-weight: 600;
}

.w8fb0-winner-amount {
  color: #27AE60;
  font-weight: 700;
}

/* Payment icons */
.w8fb0-payment-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
}

.w8fb0-payment-item {
  background: var(--w8fb0-bg-card);
  border: 1px solid var(--w8fb0-border);
  border-radius: var(--w8fb0-radius-sm);
  padding: 6px 12px;
  font-size: 1.1rem;
  color: var(--w8fb0-text-secondary);
}

/* Responsive adjustments */
@media (max-width: 320px) {
  .w8fb0-game-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
  }
  .w8fb0-game-name {
    font-size: 0.9rem;
  }
}
