/* Layout System */

/* Container */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.container-sm {
  max-width: 960px;
}

.container-lg {
  max-width: 1440px;
}

/* Grid System */
.grid {
  display: grid;
  gap: var(--space-md);
}

.grid-2 { grid-template-columns: 1fr; }
.grid-3 { grid-template-columns: 1fr; }
.grid-4 { grid-template-columns: 1fr; }
.grid-5 { grid-template-columns: 1fr; }

/* Flexbox utilities */
.flex {
  display: flex;
}

.flex-col {
  flex-direction: column;
}

.flex-wrap {
  flex-wrap: wrap;
}

.items-center {
  align-items: center;
}

.items-start {
  align-items: flex-start;
}

.items-end {
  align-items: flex-end;
}

.justify-center {
  justify-content: center;
}

.justify-between {
  justify-content: space-between;
}

.justify-end {
  justify-content: flex-end;
}

.gap-xs { gap: var(--space-xs); }
.gap-sm { gap: var(--space-sm); }
.gap-md { gap: var(--space-md); }
.gap-lg { gap: var(--space-lg); }
.gap-xl { gap: var(--space-xl); }

/* Sections */
.section {
  padding: var(--space-2xl) 0;
}

.section-lg {
  padding: var(--space-3xl) 0;
}

/* Main layout */
.site-wrapper {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.site-main {
  flex: 1;
}

/* Header - CYBERPUNK */
.site-header {
  position: sticky;
  top: 0;
  z-index: var(--z-sticky);
  background: rgba(10, 10, 15, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--color-primary);
  box-shadow:
    0 0 20px rgba(255, 45, 149, 0.2),
    inset 0 -1px 0 rgba(15, 240, 252, 0.1);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
  gap: var(--space-md);
}

/* Footer */
.site-footer {
  background: var(--color-bg-secondary);
  border-top: 1px solid rgba(255, 215, 0, 0.1);
  padding: var(--space-2xl) 0 var(--space-lg);
}

.footer-grid {
  display: grid;
  gap: var(--space-xl);
  margin-bottom: var(--space-xl);
}

.footer-bottom {
  padding-top: var(--space-lg);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  color: var(--color-text-muted);
  font-size: var(--text-sm);
}

/* Hero Section - CYBERPUNK */
.hero {
  position: relative;
  padding: var(--space-3xl) 0;
  text-align: center;
  background:
    linear-gradient(180deg, var(--color-bg) 0%, var(--color-bg-secondary) 100%);
  overflow: hidden;
  min-height: 500px;
  display: flex;
  align-items: center;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    /* Grid pattern */
    linear-gradient(rgba(15, 240, 252, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 240, 252, 0.03) 1px, transparent 1px),
    /* Neon glow spots */
    radial-gradient(ellipse at 20% 30%, rgba(255, 45, 149, 0.15) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 70%, rgba(15, 240, 252, 0.15) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 80%, rgba(139, 92, 246, 0.1) 0%, transparent 60%);
  background-size: 50px 50px, 50px 50px, 100% 100%, 100% 100%, 100% 100%;
  z-index: 0;
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    /* Scanline effect */
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 2px,
      rgba(0, 0, 0, 0.1) 2px,
      rgba(0, 0, 0, 0.1) 4px
    );
  z-index: 1;
  pointer-events: none;
  opacity: 0.5;
}

@keyframes heroGlow {
  0%, 100% { opacity: 0.6; }
  50% { opacity: 1; }
}

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 0.5; }
  50% { transform: scale(1.1); opacity: 0.8; }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-20px); }
}

@keyframes shimmer {
  0% { background-position: -200% center; }
  100% { background-position: 200% center; }
}

.hero-content {
  position: relative;
  z-index: 1;
  width: 100%;
}

/* Two-column hero layout */
.hero-inner {
  display: flex;
  align-items: center;
  gap: var(--space-2xl);
  text-align: left;
}

.hero-image {
  flex: 0 0 auto;
  width: 320px;
  max-width: 35%;
}

.hero-image img {
  width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 0 40px rgba(255, 45, 149, 0.4));
  animation: heroImageFloat 6s ease-in-out infinite;
}

@keyframes heroImageFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-15px); }
}

.hero-text {
  flex: 1;
}

.hero h1 {
  font-size: var(--text-3xl);
  margin-bottom: var(--space-md);
  font-family: var(--font-cyber);
  text-transform: uppercase;
  letter-spacing: 4px;
  color: var(--color-text);
  text-shadow:
    0 0 10px rgba(255, 45, 149, 0.8),
    0 0 20px rgba(255, 45, 149, 0.5),
    0 0 40px rgba(255, 45, 149, 0.3),
    0 0 80px rgba(15, 240, 252, 0.2);
}

.hero-subtitle {
  font-size: var(--text-lg);
  color: var(--color-text-muted);
  max-width: 600px;
  margin: 0 0 var(--space-xl);
}

/* Mobile: stack vertically */
@media (max-width: 767px) {
  .hero-inner {
    flex-direction: column;
    text-align: center;
  }

  .hero-image {
    width: 180px;
    max-width: 50%;
    order: -1;
  }

  .hero-subtitle {
    margin: 0 auto var(--space-xl);
  }

  /* Center hero buttons on mobile */
  .hero-text .flex {
    justify-content: center;
  }

  .hero-text .badge {
    justify-content: center;
  }

  .hero h1 {
    font-size: var(--text-xl);
    letter-spacing: 2px;
  }

  .jackpot-counter {
    margin-left: auto;
    margin-right: auto;
  }
}

/* Hero decorative images - now hidden, using hero-image instead */
.hero-decoration {
  display: none;
}

/* Breadcrumbs */
.breadcrumbs {
  padding: var(--space-md) 0;
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

.breadcrumbs a {
  color: var(--color-primary);
  transition: color var(--transition);
}

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

.breadcrumbs span {
  margin: 0 var(--space-sm);
}

/* Prevent horizontal scroll */
html, body {
  overflow-x: hidden;
  max-width: 100vw;
}
