/**
 * panalo.click - Core Stylesheet
 * All classes use w2995- prefix
 * Color palette: #BF360C (deep rust) | #FFFFFF (white) | #2E4057 (dark slate)
 * Mobile-first responsive design
 */

/* CSS Variables */
:root {
  --w2995-primary: #BF360C;
  --w2995-primary-light: #E84E1B;
  --w2995-primary-dark: #8E2800;
  --w2995-bg: #2E4057;
  --w2995-bg-light: #3A506B;
  --w2995-bg-dark: #1B2A41;
  --w2995-text: #FFFFFF;
  --w2995-text-muted: #B0BEC5;
  --w2995-accent: #FFD54F;
  --w2995-accent2: #4DB6AC;
  --w2995-success: #66BB6A;
  --w2995-card-bg: #34495E;
  --w2995-border: #4A6580;
  --w2995-shadow: rgba(0, 0, 0, 0.3);
  --w2995-radius: 0.8rem;
  --w2995-radius-sm: 0.4rem;
  font-size: 62.5%;
}

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

/* Container */
.w2995-container {
  max-width: 430px;
  margin: 0 auto;
  padding: 0 1.2rem;
  width: 100%;
}
.w2995-wrapper { width: 100%; min-height: 100vh; }

/* ===== HEADER ===== */
.w2995-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: linear-gradient(135deg, var(--w2995-bg-dark) 0%, var(--w2995-bg) 100%);
  border-bottom: 2px solid var(--w2995-primary);
  padding: 0.6rem 1rem;
  height: auto;
}
.w2995-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 430px;
  margin: 0 auto;
}
.w2995-logo-area {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.w2995-logo-area img { width: 28px; height: 28px; border-radius: 4px; }
.w2995-logo-text {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--w2995-primary-light);
  letter-spacing: 0.5px;
  text-transform: uppercase;
}
.w2995-header-actions { display: flex; align-items: center; gap: 0.6rem; }
.w2995-btn-register {
  background: var(--w2995-primary);
  color: var(--w2995-text);
  border: none;
  padding: 0.5rem 1.2rem;
  border-radius: var(--w2995-radius-sm);
  font-size: 1.2rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
  text-transform: uppercase;
}
.w2995-btn-register:hover { background: var(--w2995-primary-light); transform: scale(1.03); }
.w2995-btn-login {
  background: transparent;
  color: var(--w2995-accent);
  border: 1.5px solid var(--w2995-accent);
  padding: 0.45rem 1rem;
  border-radius: var(--w2995-radius-sm);
  font-size: 1.2rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}
.w2995-btn-login:hover { background: rgba(255,213,79,0.1); }
.w2995-menu-toggle {
  background: none;
  border: none;
  color: var(--w2995-text);
  font-size: 2.2rem;
  cursor: pointer;
  padding: 0.3rem;
  line-height: 1;
}

/* ===== MOBILE MENU ===== */
.w2995-mobile-menu {
  position: fixed;
  top: 0;
  right: -280px;
  width: 260px;
  height: 100vh;
  background: var(--w2995-bg-dark);
  z-index: 9999;
  transition: right 0.3s ease;
  padding: 2rem 1.5rem;
  border-left: 2px solid var(--w2995-primary);
  overflow-y: auto;
}
.w2995-menu-active { right: 0 !important; }
.w2995-menu-close {
  background: none;
  border: none;
  color: var(--w2995-text);
  font-size: 2.4rem;
  cursor: pointer;
  position: absolute;
  top: 1rem;
  right: 1rem;
}
.w2995-menu-list { margin-top: 3rem; }
.w2995-menu-link {
  display: block;
  padding: 1rem 0;
  color: var(--w2995-text);
  font-size: 1.5rem;
  border-bottom: 1px solid var(--w2995-border);
  transition: all 0.2s;
}
.w2995-menu-link:hover { color: var(--w2995-primary-light); padding-left: 0.5rem; }

/* Menu Overlay */
.w2995-menu-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.6);
  z-index: 9998;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}
.w2995-overlay-active { opacity: 1; pointer-events: auto; }

/* ===== MAIN CONTENT ===== */
.w2995-main {
  padding-top: 6.5rem;
  min-height: 100vh;
}
@media (max-width: 768px) {
  .w2995-main { padding-bottom: 80px; }
}

/* ===== CAROUSEL ===== */
.w2995-carousel {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: var(--w2995-radius);
  margin-bottom: 1.5rem;
}
.w2995-carousel-track { position: relative; width: 100%; height: 0; padding-bottom: 50%; }
.w2995-carousel-slide {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  opacity: 0;
  transition: opacity 0.6s ease;
  cursor: pointer;
}
.w2995-slide-active { opacity: 1; }
.w2995-carousel-slide img { width: 100%; height: 100%; object-fit: cover; }
.w2995-carousel-dots {
  position: absolute;
  bottom: 0.8rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.6rem;
  z-index: 5;
}
.w2995-carousel-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  cursor: pointer;
  border: none;
  transition: all 0.3s;
}
.w2995-dot-active { background: var(--w2995-primary-light); transform: scale(1.3); }

/* ===== SECTION TITLES ===== */
.w2995-section-title {
  font-size: 2rem;
  font-weight: 800;
  color: var(--w2995-text);
  margin: 2rem 0 1rem;
  padding-bottom: 0.6rem;
  border-bottom: 3px solid var(--w2995-primary);
  display: inline-block;
}
.w2995-section-subtitle {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--w2995-accent);
  margin: 1.5rem 0 0.8rem;
}

/* ===== GAME GRID ===== */
.w2995-game-section { margin-bottom: 2rem; }
.w2995-game-cat-title {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--w2995-primary-light);
  margin-bottom: 0.8rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.w2995-game-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.8rem;
}
.w2995-game-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
  transition: transform 0.2s;
  text-align: center;
}
.w2995-game-item:hover { transform: scale(1.05); }
.w2995-game-item img {
  width: 72px; height: 72px;
  border-radius: 12px;
  border: 2px solid var(--w2995-border);
  margin-bottom: 0.4rem;
  object-fit: cover;
}
.w2995-game-name {
  font-size: 1.1rem;
  color: var(--w2995-text-muted);
  line-height: 1.3;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 80px;
}

/* ===== CONTENT CARDS ===== */
.w2995-card {
  background: var(--w2995-card-bg);
  border-radius: var(--w2995-radius);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  border: 1px solid var(--w2995-border);
}
.w2995-card-title {
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--w2995-accent);
  margin-bottom: 0.8rem;
}
.w2995-card p {
  font-size: 1.4rem;
  color: var(--w2995-text-muted);
  line-height: 2.2rem;
  margin-bottom: 0.6rem;
}

/* ===== PROMO LINKS ===== */
.w2995-promo-btn {
  display: inline-block;
  background: linear-gradient(135deg, var(--w2995-primary) 0%, var(--w2995-primary-light) 100%);
  color: var(--w2995-text);
  padding: 0.8rem 1.6rem;
  border-radius: var(--w2995-radius-sm);
  font-size: 1.4rem;
  font-weight: 700;
  cursor: pointer;
  border: none;
  transition: all 0.2s;
  text-align: center;
  margin: 0.5rem 0;
}
.w2995-promo-btn:hover { transform: translateY(-2px); box-shadow: 0 4px 12px var(--w2995-shadow); }
.w2995-promo-text {
  color: var(--w2995-primary-light);
  font-weight: 700;
  cursor: pointer;
  transition: color 0.2s;
}
.w2995-promo-text:hover { color: var(--w2995-accent); text-decoration: underline; }

/* ===== FOOTER ===== */
.w2995-footer {
  background: var(--w2995-bg-dark);
  border-top: 2px solid var(--w2995-primary);
  padding: 2rem 1.2rem 3rem;
  margin-top: 2rem;
}
.w2995-footer-inner { max-width: 430px; margin: 0 auto; }
.w2995-footer-brand {
  font-size: 1.4rem;
  color: var(--w2995-text-muted);
  margin-bottom: 1.5rem;
  line-height: 2.2rem;
}
.w2995-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-bottom: 1.5rem;
}
.w2995-footer-link {
  background: var(--w2995-card-bg);
  color: var(--w2995-text);
  padding: 0.5rem 1rem;
  border-radius: var(--w2995-radius-sm);
  font-size: 1.2rem;
  transition: all 0.2s;
  cursor: pointer;
}
.w2995-footer-link:hover { background: var(--w2995-primary); }
.w2995-footer-site-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.2rem;
  margin-bottom: 1rem;
}
.w2995-footer-site-link {
  color: var(--w2995-text-muted);
  font-size: 1.2rem;
}
.w2995-footer-site-link:hover { color: var(--w2995-accent); }
.w2995-copyright {
  font-size: 1.2rem;
  color: var(--w2995-text-muted);
  opacity: 0.6;
  text-align: center;
  margin-top: 1rem;
}

/* ===== BOTTOM NAV ===== */
.w2995-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: linear-gradient(180deg, var(--w2995-bg) 0%, var(--w2995-bg-dark) 100%);
  border-top: 2px solid var(--w2995-primary);
  display: flex;
  justify-content: space-around;
  align-items: center;
  height: 60px;
  padding: 0 0.4rem;
}
.w2995-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(--w2995-text-muted);
  cursor: pointer;
  transition: all 0.2s;
  padding: 0.3rem;
}
.w2995-bottom-nav-btn:hover,
.w2995-nav-active {
  color: var(--w2995-primary-light);
  transform: scale(1.08);
}
.w2995-nav-icon { font-size: 22px; line-height: 1; margin-bottom: 2px; }
.w2995-nav-label { font-size: 1rem; font-weight: 600; }
.w2995-nav-active .w2995-nav-icon { color: var(--w2995-primary-light); }
.w2995-nav-active .w2995-nav-label { color: var(--w2995-primary-light); }

/* Hide bottom nav on desktop */
@media (min-width: 769px) {
  .w2995-bottom-nav { display: none; }
}

/* ===== LAYOUT UTILITIES ===== */
.w2995-text-center { text-align: center; }
.w2995-text-left { text-align: left; }
.w2995-mt-1 { margin-top: 1rem; }
.w2995-mt-2 { margin-top: 2rem; }
.w2995-mb-1 { margin-bottom: 1rem; }
.w2995-mb-2 { margin-bottom: 2rem; }
.w2995-flex-center { display: flex; align-items: center; justify-content: center; }
.w2995-gap-sm { gap: 0.5rem; }
.w2995-hidden { display: none !important; }

/* ===== DESKTOP NAV ===== */
.w2995-desktop-nav {
  display: none;
  background: var(--w2995-bg-dark);
  border-bottom: 1px solid var(--w2995-border);
  padding: 0.5rem 1rem;
}
.w2995-desktop-nav-links {
  max-width: 430px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1rem;
  justify-content: center;
}
.w2995-desktop-nav-links a {
  font-size: 1.2rem;
  color: var(--w2995-text-muted);
  padding: 0.3rem 0;
}
.w2995-desktop-nav-links a:hover { color: var(--w2995-primary-light); }
@media (min-width: 769px) {
  .w2995-desktop-nav { display: block; }
}

/* ===== FAQ SECTION ===== */
.w2995-faq-item {
  background: var(--w2995-card-bg);
  border-radius: var(--w2995-radius-sm);
  margin-bottom: 1rem;
  padding: 1.2rem;
  border-left: 3px solid var(--w2995-primary);
}
.w2995-faq-q {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--w2995-accent);
  margin-bottom: 0.5rem;
}
.w2995-faq-a {
  font-size: 1.3rem;
  color: var(--w2995-text-muted);
  line-height: 2rem;
}

/* ===== WINNER LIST ===== */
.w2995-winner-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.6rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.w2995-winner-name {
  font-size: 1.3rem;
  color: var(--w2995-text);
  font-weight: 600;
}
.w2995-winner-amount {
  font-size: 1.3rem;
  color: var(--w2995-success);
  font-weight: 700;
}
.w2995-winner-game {
  font-size: 1.1rem;
  color: var(--w2995-text-muted);
}

/* ===== PAYMENT SECTION ===== */
.w2995-payment-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  justify-content: center;
}
.w2995-payment-item {
  background: var(--w2995-card-bg);
  padding: 0.6rem 1.2rem;
  border-radius: var(--w2995-radius-sm);
  font-size: 1.2rem;
  color: var(--w2995-text-muted);
  border: 1px solid var(--w2995-border);
}

/* ===== RESPONSIVE ===== */
@media (min-width: 769px) {
  .w2995-header-inner { max-width: 430px; }
  .w2995-footer-inner { max-width: 430px; }
  .w2995-container { max-width: 430px; }
}

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--w2995-bg-dark); }
::-webkit-scrollbar-thumb { background: var(--w2995-primary); border-radius: 2px; }
