/**
 * xgane.click - Main Stylesheet
 * All classes use w2ee0- prefix for namespace isolation
 * Colors: #1B263B (dark bg), #FF0000 (accent red)
 * Mobile-first design, max-width 430px
 */

:root {
  --w2ee0-primary: #FF0000;
  --w2ee0-bg: #1B263B;
  --w2ee0-bg-light: #243447;
  --w2ee0-bg-card: #1e2f44;
  --w2ee0-text: #f0f0f0;
  --w2ee0-text-muted: #a8b8c8;
  --w2ee0-accent: #FF0000;
  --w2ee0-accent-hover: #ff2a2a;
  --w2ee0-gold: #FFD700;
  --w2ee0-border: #2a3f56;
  --w2ee0-radius: 8px;
  --w2ee0-radius-lg: 14px;
  --w2ee0-shadow: 0 2px 12px rgba(0,0,0,0.3);
}

/* Reset and Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 62.5%;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, Roboto, sans-serif;
  background: var(--w2ee0-bg);
  color: var(--w2ee0-text);
  line-height: 1.5rem;
  min-height: 100vh;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--w2ee0-accent);
  text-decoration: none;
  transition: color 0.2s;
}

a:hover {
  color: var(--w2ee0-accent-hover);
}

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

.w2ee0-wrapper {
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
}

/* Header */
.w2ee0-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: linear-gradient(135deg, #1B263B 0%, #0f1a2e 100%);
  border-bottom: 2px solid var(--w2ee0-primary);
  height: 56px;
  display: flex;
  align-items: center;
  padding: 0 1rem;
}

.w2ee0-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
}

.w2ee0-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}

.w2ee0-logo img {
  width: 32px;
  height: 32px;
  border-radius: 6px;
}

.w2ee0-logo-text {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--w2ee0-primary);
  letter-spacing: 1px;
  text-transform: uppercase;
}

.w2ee0-header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.w2ee0-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.6rem 1.2rem;
  border-radius: var(--w2ee0-radius);
  font-size: 1.2rem;
  font-weight: 700;
  cursor: pointer;
  border: none;
  transition: all 0.2s;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.w2ee0-btn-login {
  background: transparent;
  color: var(--w2ee0-text);
  border: 1.5px solid var(--w2ee0-primary);
}

.w2ee0-btn-login:hover {
  background: rgba(255, 0, 0, 0.1);
}

.w2ee0-btn-register {
  background: var(--w2ee0-primary);
  color: #fff;
  box-shadow: 0 2px 8px rgba(255, 0, 0, 0.4);
}

.w2ee0-btn-register:hover {
  background: var(--w2ee0-accent-hover);
  transform: translateY(-1px);
}

.w2ee0-btn-promo {
  background: linear-gradient(135deg, #FF0000, #cc0000);
  color: #fff;
  padding: 1rem 2.4rem;
  font-size: 1.4rem;
  border-radius: var(--w2ee0-radius-lg);
  box-shadow: 0 4px 16px rgba(255, 0, 0, 0.4);
}

.w2ee0-btn-promo:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 0, 0, 0.5);
}

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

/* Mobile Menu */
.w2ee0-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0,0,0,0.6);
  z-index: 9998;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s;
}

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

.w2ee0-mobile-menu {
  position: fixed;
  top: 0;
  right: -280px;
  width: 280px;
  height: 100%;
  background: var(--w2ee0-bg);
  z-index: 9999;
  transition: right 0.3s ease;
  overflow-y: auto;
  border-left: 2px solid var(--w2ee0-primary);
  padding: 2rem 1.6rem;
}

.w2ee0-menu-active {
  right: 0;
}

.w2ee0-menu-close {
  background: none;
  border: none;
  color: var(--w2ee0-text);
  font-size: 2.4rem;
  cursor: pointer;
  position: absolute;
  top: 1rem;
  right: 1rem;
}

.w2ee0-menu-links {
  list-style: none;
  margin-top: 3rem;
}

.w2ee0-menu-links li {
  border-bottom: 1px solid var(--w2ee0-border);
}

.w2ee0-menu-links a {
  display: block;
  padding: 1.2rem 0;
  color: var(--w2ee0-text);
  font-size: 1.4rem;
  transition: color 0.2s;
}

.w2ee0-menu-links a:hover {
  color: var(--w2ee0-primary);
}

/* Bottom Navigation */
.w2ee0-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: linear-gradient(180deg, #1a2a3f 0%, #0d1826 100%);
  border-top: 2px solid var(--w2ee0-primary);
  height: 60px;
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 0 4px;
}

.w2ee0-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 60px;
  min-height: 56px;
  background: none;
  border: none;
  color: var(--w2ee0-text-muted);
  cursor: pointer;
  transition: all 0.25s;
  border-radius: 8px;
  padding: 4px 0;
}

.w2ee0-nav-item:hover, .w2ee0-nav-item:focus {
  color: var(--w2ee0-primary);
  transform: scale(1.08);
}

.w2ee0-nav-item .w2ee0-nav-icon {
  font-size: 2.2rem;
  margin-bottom: 2px;
}

.w2ee0-nav-item .w2ee0-nav-label {
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.3px;
}

.w2ee0-nav-item.w2ee0-nav-active {
  color: var(--w2ee0-primary);
}

/* Main Content */
main {
  padding-top: 56px;
  padding-bottom: 1rem;
}

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

/* Carousel */
.w2ee0-carousel {
  position: relative;
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 0 0 var(--w2ee0-radius-lg) var(--w2ee0-radius-lg);
}

.w2ee0-slides-wrapper {
  position: relative;
  width: 100%;
  height: 200px;
}

.w2ee0-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.6s ease;
  cursor: pointer;
}

.w2ee0-slide-active {
  opacity: 1;
}

.w2ee0-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

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

.w2ee0-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  border: none;
  cursor: pointer;
  transition: background 0.2s;
}

.w2ee0-dot-active {
  background: var(--w2ee0-primary);
}

/* Section Styling */
.w2ee0-section {
  padding: 2rem 1.2rem;
  max-width: 430px;
  margin: 0 auto;
}

.w2ee0-section-title {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--w2ee0-text);
  margin-bottom: 1.2rem;
  padding-bottom: 0.6rem;
  border-bottom: 2px solid var(--w2ee0-primary);
  display: flex;
  align-items: center;
  gap: 8px;
}

.w2ee0-section-title i, .w2ee0-section-title span.material-symbols-outlined {
  color: var(--w2ee0-primary);
  font-size: 2rem;
}

/* Category Header */
.w2ee0-cat-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 2rem 0 1rem;
  padding: 0 1.2rem;
  max-width: 430px;
  margin-left: auto;
  margin-right: auto;
}

.w2ee0-cat-header h2 {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--w2ee0-primary);
}

.w2ee0-cat-header .w2ee0-cat-icon {
  font-size: 2rem;
  color: var(--w2ee0-primary);
}

/* Game Grid */
.w2ee0-game-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  padding: 0 1.2rem;
  max-width: 430px;
  margin: 0 auto;
}

.w2ee0-game-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
  transition: transform 0.2s;
  border-radius: var(--w2ee0-radius);
  overflow: hidden;
  background: var(--w2ee0-bg-card);
  padding: 4px;
}

.w2ee0-game-card:hover {
  transform: scale(1.04);
}

.w2ee0-card-touched {
  transform: scale(0.96);
}

.w2ee0-game-card img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 6px;
}

.w2ee0-game-card .w2ee0-game-name {
  font-size: 1rem;
  color: var(--w2ee0-text-muted);
  text-align: center;
  padding: 3px 2px;
  line-height: 1.2rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  width: 100%;
}

/* Content Sections */
.w2ee0-content-block {
  background: var(--w2ee0-bg-card);
  border-radius: var(--w2ee0-radius-lg);
  padding: 1.6rem;
  margin: 1.2rem 0;
  border: 1px solid var(--w2ee0-border);
}

.w2ee0-content-block h2 {
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--w2ee0-primary);
  margin-bottom: 1rem;
}

.w2ee0-content-block h3 {
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--w2ee0-text);
  margin: 1rem 0 0.5rem;
}

.w2ee0-content-block p {
  font-size: 1.3rem;
  line-height: 1.8rem;
  color: var(--w2ee0-text-muted);
  margin-bottom: 0.8rem;
}

.w2ee0-content-block ul {
  padding-left: 1.6rem;
  margin-bottom: 0.8rem;
}

.w2ee0-content-block li {
  font-size: 1.3rem;
  line-height: 1.8rem;
  color: var(--w2ee0-text-muted);
  margin-bottom: 0.4rem;
}

/* Promo Link in Text */
.w2ee0-promo-link {
  color: var(--w2ee0-primary);
  font-weight: 700;
  cursor: pointer;
  text-decoration: underline;
  transition: color 0.2s;
}

.w2ee0-promo-link:hover {
  color: var(--w2ee0-accent-hover);
}

/* Testimonials */
.w2ee0-testimonial {
  background: var(--w2ee0-bg-light);
  border-radius: var(--w2ee0-radius);
  padding: 1.2rem;
  margin-bottom: 1rem;
  border-left: 3px solid var(--w2ee0-primary);
}

.w2ee0-testimonial p {
  font-style: italic;
  color: var(--w2ee0-text-muted);
  margin-bottom: 0.4rem;
}

.w2ee0-testimonial strong {
  color: var(--w2ee0-primary);
}

/* Stats Row */
.w2ee0-stats-row {
  display: flex;
  justify-content: space-around;
  text-align: center;
  padding: 1.6rem 0;
  margin: 1.2rem 0;
}

.w2ee0-stat-item {
  flex: 1;
}

.w2ee0-stat-number {
  font-size: 2rem;
  font-weight: 800;
  color: var(--w2ee0-primary);
}

.w2ee0-stat-label {
  font-size: 1.1rem;
  color: var(--w2ee0-text-muted);
  margin-top: 4px;
}

/* Winner List */
.w2ee0-winner-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.8rem 0;
  border-bottom: 1px solid var(--w2ee0-border);
}

.w2ee0-winner-item:last-child {
  border-bottom: none;
}

.w2ee0-winner-name {
  font-weight: 600;
  color: var(--w2ee0-text);
  font-size: 1.3rem;
}

.w2ee0-winner-amount {
  color: var(--w2ee0-gold);
  font-weight: 700;
  font-size: 1.3rem;
}

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

/* Payment Methods */
.w2ee0-payment-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin: 1rem 0;
}

.w2ee0-payment-item {
  background: var(--w2ee0-bg-light);
  border: 1px solid var(--w2ee0-border);
  border-radius: var(--w2ee0-radius);
  padding: 0.8rem 1.2rem;
  font-size: 1.2rem;
  color: var(--w2ee0-text);
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Footer */
.w2ee0-footer {
  background: linear-gradient(180deg, var(--w2ee0-bg) 0%, #0a1220 100%);
  border-top: 2px solid var(--w2ee0-border);
  padding: 2rem 1.2rem 3rem;
  max-width: 430px;
  margin: 0 auto;
}

.w2ee0-footer-brand {
  text-align: center;
  margin-bottom: 1.6rem;
}

.w2ee0-footer-brand h3 {
  font-size: 1.6rem;
  color: var(--w2ee0-primary);
  margin-bottom: 0.5rem;
}

.w2ee0-footer-brand p {
  font-size: 1.2rem;
  color: var(--w2ee0-text-muted);
  line-height: 1.6rem;
}

.w2ee0-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-bottom: 1.6rem;
}

.w2ee0-footer-links a {
  background: var(--w2ee0-bg-card);
  border: 1px solid var(--w2ee0-border);
  border-radius: var(--w2ee0-radius);
  padding: 0.5rem 1rem;
  color: var(--w2ee0-text);
  font-size: 1.1rem;
  transition: all 0.2s;
}

.w2ee0-footer-links a:hover {
  border-color: var(--w2ee0-primary);
  color: var(--w2ee0-primary);
}

.w2ee0-footer-partners {
  text-align: center;
  margin-bottom: 1.2rem;
}

.w2ee0-footer-partners p {
  font-size: 1.1rem;
  color: var(--w2ee0-text-muted);
  margin-bottom: 0.8rem;
}

.w2ee0-partner-logos {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  align-items: center;
}

.w2ee0-partner-logos span {
  font-size: 1.1rem;
  color: var(--w2ee0-text-muted);
  background: var(--w2ee0-bg-card);
  padding: 4px 10px;
  border-radius: 4px;
}

.w2ee0-footer-copy {
  text-align: center;
  font-size: 1.1rem;
  color: var(--w2ee0-text-muted);
  border-top: 1px solid var(--w2ee0-border);
  padding-top: 1rem;
  margin-top: 1rem;
}

/* FAQ */
.w2ee0-faq-item {
  border-bottom: 1px solid var(--w2ee0-border);
  padding: 1rem 0;
}

.w2ee0-faq-q {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--w2ee0-text);
  margin-bottom: 0.4rem;
}

.w2ee0-faq-a {
  font-size: 1.3rem;
  color: var(--w2ee0-text-muted);
  line-height: 1.8rem;
}

/* CTA Banner */
.w2ee0-cta-banner {
  background: linear-gradient(135deg, var(--w2ee0-primary), #cc0000);
  border-radius: var(--w2ee0-radius-lg);
  padding: 2rem;
  text-align: center;
  margin: 1.6rem 0;
}

.w2ee0-cta-banner h2 {
  color: #fff;
  font-size: 1.8rem;
  margin-bottom: 0.8rem;
}

.w2ee0-cta-banner p {
  color: rgba(255,255,255,0.85);
  font-size: 1.3rem;
  margin-bottom: 1.2rem;
}

.w2ee0-cta-banner .w2ee0-btn-promo {
  background: #fff;
  color: var(--w2ee0-primary);
  font-weight: 800;
}

/* Responsive - Desktop */
@media (min-width: 769px) {
  .w2ee0-bottom-nav {
    display: none;
  }

  .w2ee0-container, .w2ee0-wrapper, .w2ee0-footer, .w2ee0-section, .w2ee0-game-grid, .w2ee0-cat-header {
    max-width: 430px;
  }
}

/* Highlight badge */
.w2ee0-badge {
  display: inline-block;
  background: var(--w2ee0-primary);
  color: #fff;
  font-size: 1rem;
  padding: 2px 8px;
  border-radius: 4px;
  font-weight: 600;
}

/* Feature cards */
.w2ee0-feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin: 1rem 0;
}

.w2ee0-feature-card {
  background: var(--w2ee0-bg-light);
  border: 1px solid var(--w2ee0-border);
  border-radius: var(--w2ee0-radius);
  padding: 1.2rem;
  text-align: center;
}

.w2ee0-feature-card i, .w2ee0-feature-card .material-symbols-outlined {
  font-size: 2.4rem;
  color: var(--w2ee0-primary);
  margin-bottom: 0.6rem;
}

.w2ee0-feature-card h3 {
  font-size: 1.3rem;
  color: var(--w2ee0-text);
  margin-bottom: 0.4rem;
}

.w2ee0-feature-card p {
  font-size: 1.1rem;
  color: var(--w2ee0-text-muted);
}
