/* Landing Page Styles */

/* Hero Section */
.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #000000 0%, #1a1a1a 50%, #000000 100%);
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.05) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(255, 255, 255, 0.03) 0%, transparent 50%);
  animation: pulseGlow 8s ease-in-out infinite;
}

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

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 1200px;
  padding: 40px 24px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 50px;
  padding: 8px 20px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.5px;
  margin-bottom: 32px;
  backdrop-filter: blur(10px);
  animation: slideDown 1s ease;
}

@keyframes slideDown {
  from { opacity: 0; transform: translateY(-20px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero-title {
  font-size: clamp(48px, 8vw, 96px);
  font-weight: 900;
  letter-spacing: -3px;
  line-height: 1.1;
  margin-bottom: 24px;
  background: linear-gradient(135deg, #ffffff 0%, #666666 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: slideUp 1s ease 0.2s both;
}

@keyframes slideUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero-subtitle {
  font-size: clamp(18px, 2.5vw, 24px);
  line-height: 1.6;
  color: var(--text-secondary);
  margin-bottom: 48px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  animation: slideUp 1s ease 0.4s both;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  animation: slideUp 1s ease 0.6s both;
}

.hero-actions .btn {
  padding: 16px 40px;
  font-size: 16px;
  font-weight: 700;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 32px;
  margin-top: 80px;
  animation: slideUp 1s ease 0.8s both;
}

.hero-stat {
  text-align: center;
}

.hero-stat-value {
  font-size: 48px;
  font-weight: 900;
  letter-spacing: -2px;
  background: linear-gradient(135deg, #ffffff 0%, #888888 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 8px;
}

.hero-stat-label {
  font-size: 14px;
  color: var(--text-tertiary);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 700;
}

/* Features Section */
.features-section {
  padding: 120px 24px;
  position: relative;
  background: var(--primary-black);
}

.section-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 80px;
}

.section-badge {
  display: inline-block;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 50px;
  padding: 8px 20px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.section-title {
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 900;
  letter-spacing: -2px;
  line-height: 1.2;
  margin-bottom: 20px;
}

.section-description {
  font-size: 18px;
  line-height: 1.7;
  color: var(--text-secondary);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
  max-width: 1400px;
  margin: 0 auto;
}

.feature-card {
  background: var(--secondary-black);
  border: 1px solid var(--border-subtle);
  border-radius: 24px;
  padding: 40px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--text-primary), transparent);
  transform: translateX(-100%);
  transition: transform 0.6s;
}

.feature-card:hover::before {
  transform: translateX(100%);
}

.feature-card:hover {
  transform: translateY(-8px);
  border-color: var(--border-medium);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6);
}

.feature-icon {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  margin-bottom: 24px;
}

.feature-icon i {
  width: 32px;
  height: 32px;
  color: var(--text-primary);
}

.feature-card-title {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 12px;
}

.feature-card-description {
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-secondary);
}

/* How It Works */
.how-section {
  padding: 120px 24px;
  background: var(--secondary-black);
}

.steps-container {
  max-width: 1200px;
  margin: 0 auto;
}

.steps-grid {
  display: grid;
  gap: 40px;
}

.step-item {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 32px;
  align-items: start;
}

.step-number {
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--tertiary-black), var(--secondary-black));
  border: 2px solid var(--border-medium);
  border-radius: 20px;
  font-size: 32px;
  font-weight: 900;
  position: relative;
}

.step-number::after {
  content: '';
  position: absolute;
  bottom: -40px;
  left: 50%;
  width: 2px;
  height: 40px;
  background: linear-gradient(180deg, var(--border-medium), transparent);
}

.step-item:last-child .step-number::after {
  display: none;
}

.step-content {
  padding-top: 8px;
}

.step-title {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 12px;
}

.step-description {
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-secondary);
}

/* Games Section */
.games-section {
  padding: 120px 24px;
  background: var(--primary-black);
  position: relative;
  overflow: hidden;
}

.games-section::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.03) 0%, transparent 70%);
  pointer-events: none;
}

.games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 32px;
  max-width: 1400px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.game-preview {
  background: var(--secondary-black);
  border: 1px solid var(--border-subtle);
  border-radius: 24px;
  overflow: hidden;
  transition: all 0.4s;
  text-decoration: none;
  display: block;
}

.game-preview:hover {
  transform: translateY(-8px);
  border-color: var(--border-medium);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6);
}

.game-preview-image {
  height: 200px;
  background: linear-gradient(135deg, var(--tertiary-black) 0%, var(--secondary-black) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 80px;
  border-bottom: 1px solid var(--border-subtle);
  position: relative;
  overflow: hidden;
}

.game-preview-image::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at center, rgba(255, 255, 255, 0.05), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}

.game-preview:hover .game-preview-image::before {
  opacity: 1;
}

.game-preview-content {
  padding: 32px;
}

.game-preview-title {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 12px;
  color: var(--text-primary);
}

.game-preview-description {
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 20px;
}

.game-preview-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text-primary);
  font-weight: 700;
  font-size: 14px;
  transition: gap 0.3s;
}

.game-preview:hover .game-preview-cta {
  gap: 12px;
}

/* CTA Section */
.cta-section {
  padding: 120px 24px;
  background: var(--secondary-black);
}

.cta-container {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  background: linear-gradient(135deg, var(--tertiary-black), var(--secondary-black));
  border: 1px solid var(--border-medium);
  border-radius: 32px;
  padding: 80px 40px;
  position: relative;
  overflow: hidden;
}

.cta-container::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.05) 0%, transparent 50%);
  animation: rotate 20s linear infinite;
}

@keyframes rotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.cta-content {
  position: relative;
  z-index: 1;
}

.cta-title {
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 900;
  letter-spacing: -2px;
  line-height: 1.2;
  margin-bottom: 20px;
}

.cta-description {
  font-size: 18px;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 40px;
}

.cta-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.cta-actions .btn {
  padding: 16px 40px;
  font-size: 16px;
  font-weight: 700;
}

/* Footer */
.landing-footer {
  padding: 40px 24px;
  background: var(--primary-black);
  border-top: 1px solid var(--border-subtle);
  text-align: center;
}

.footer-content {
  max-width: 1400px;
  margin: 0 auto;
}

.footer-text {
  font-size: 14px;
  color: var(--text-tertiary);
  line-height: 1.6;
}

.footer-links {
  display: flex;
  gap: 24px;
  justify-content: center;
  margin-bottom: 20px;
}

.footer-link {
  font-size: 14px;
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-link:hover {
  color: var(--text-primary);
}

/* Responsive */
@media (max-width: 768px) {
  .hero-section {
    min-height: auto;
    padding: 80px 0;
  }

  .hero-stats {
    grid-template-columns: 1fr;
    gap: 24px;
    margin-top: 60px;
  }

  .features-section,
  .how-section,
  .games-section,
  .cta-section {
    padding: 80px 24px;
  }

  .features-grid,
  .games-grid {
    grid-template-columns: 1fr;
  }

  .step-item {
    grid-template-columns: 60px 1fr;
    gap: 20px;
  }

  .step-number {
    width: 60px;
    height: 60px;
    font-size: 24px;
  }

  .cta-container {
    padding: 60px 32px;
  }
}

/* Scroll Reveal Animation */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

