/* ============================================
   ZEUS'UN İRADESİ - INDEX PAGE STYLES
   ============================================ */

:root {
  --bg-primary: #0A0E14;
  --bg-secondary-start: #131B2A;
  --bg-secondary-end: #1E2E46;
  --accent-lightning: #5AD0FF;
  --accent-divine: #FFD36E;
  --text-primary: #EAEAEA;
  --text-secondary: #9CA8B2;
  --hover-glow: #89E0FF;
}

body {
  background: var(--bg-primary);
  color: var(--text-primary);
  font-family: 'Roboto', sans-serif;
  overflow-x: hidden;
}

/* Hero Section */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--bg-primary);
  padding-top: 80px;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('../images/hero.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 0;
  opacity: 1;
}

.hero-image::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(10, 14, 20, 0.2) 0%, rgba(19, 27, 42, 0.3) 100%);
  z-index: 1;
}

.hero-container {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 2rem;
  display: flex;
  align-items: center;
  gap: 3rem;
}

.hero-image-mobile {
  display: none;
}

#stormCanvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
}

.clouds-layer {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--bg-secondary-start) 0%, var(--bg-secondary-end) 100%);
  opacity: 0.3;
  animation: cloudMove 30s ease-in-out infinite;
  z-index: 2;
}

@keyframes cloudMove {
  0%, 100% { transform: translateX(0) translateY(0); }
  50% { transform: translateX(-20px) translateY(-10px); }
}

.lightning-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(ellipse at center, transparent 0%, rgba(90, 208, 255, 0.1) 100%);
  animation: lightningFlash 8s ease-in-out infinite;
  z-index: 3;
}

@keyframes lightningFlash {
  0%, 90%, 100% { opacity: 0; }
  5%, 10% { opacity: 0.3; }
  7% { opacity: 0.6; }
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  flex: 1;
  max-width: 900px;
  margin: 0 auto;
  padding: 2rem;
  animation: fadeInUp 1.5s ease-out;
}

.hero-image-mobile img {
  width: 100%;
  height: auto;
  border-radius: 15px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
  margin-bottom: 2rem;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-title {
  font-size: 4.5rem;
  font-weight: 900;
  font-family: 'Cinzel', serif;
  color: var(--accent-divine);
  text-shadow: 0 0 30px rgba(255, 211, 110, 0.5), 0 0 60px rgba(255, 211, 110, 0.3);
  margin-bottom: 1.5rem;
  letter-spacing: 3px;
  animation: titleGlow 3s ease-in-out infinite;
}

@keyframes titleGlow {
  0%, 100% { text-shadow: 0 0 30px rgba(255, 211, 110, 0.5), 0 0 60px rgba(255, 211, 110, 0.3); }
  50% { text-shadow: 0 0 40px rgba(255, 211, 110, 0.8), 0 0 80px rgba(255, 211, 110, 0.5); }
}

.hero-subtitle {
  font-size: 1.8rem;
  color: var(--accent-lightning);
  margin-bottom: 1rem;
  font-weight: 500;
}

.hero-description {
  font-size: 1.3rem;
  color: var(--text-primary);
  margin-bottom: 1.5rem;
  line-height: 1.8;
}

.hero-subheading {
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
}

.hero-release {
  font-size: 1rem;
  color: var(--text-secondary);
  margin-bottom: 1rem;
}

.hero-bonus {
  font-size: 1.1rem;
  color: var(--accent-divine);
  margin-bottom: 2.5rem;
  font-weight: 600;
  text-shadow: 0 0 10px rgba(255, 211, 110, 0.5);
}

.hero-buttons {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-primary, .btn-secondary, .btn-call {
  padding: 1rem 2.5rem;
  font-size: 1.1rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 50px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  border: 2px solid transparent;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-lightning), var(--accent-divine));
  color: var(--bg-primary);
  box-shadow: 0 4px 20px rgba(90, 208, 255, 0.4);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 30px rgba(90, 208, 255, 0.6);
  border-color: var(--hover-glow);
}

.btn-secondary {
  background: transparent;
  color: var(--accent-divine);
  border: 2px solid var(--accent-divine);
  box-shadow: 0 0 20px rgba(255, 211, 110, 0.3);
}

.btn-secondary:hover {
  background: var(--accent-divine);
  color: var(--bg-primary);
  transform: translateY(-3px);
  box-shadow: 0 6px 30px rgba(255, 211, 110, 0.5);
}

/* Section Styles */
.section-title {
  font-size: 3rem;
  font-weight: 700;
  font-family: 'Cinzel', serif;
  color: var(--accent-divine);
  text-align: center;
  margin-bottom: 2rem;
  text-shadow: 0 0 20px rgba(255, 211, 110, 0.3);
}

/* About World Section */
.about-world-section {
  position: relative;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6rem 2rem;
  background: linear-gradient(135deg, var(--bg-secondary-start), var(--bg-secondary-end));
  overflow: hidden;
}

.about-world-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(ellipse at center, rgba(90, 208, 255, 0.1) 0%, transparent 70%);
  z-index: 1;
}

.about-world-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  text-align: center;
}

.world-description {
  font-size: 1.4rem;
  line-height: 2;
  color: var(--text-primary);
}

/* Thunder Trial Section */
.thunder-trial-section {
  padding: 6rem 2rem;
  background: var(--bg-primary);
  text-align: center;
}

.trial-container {
  max-width: 900px;
  margin: 0 auto;
}

.trial-description {
  font-size: 1.2rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
}

.game-wrapper {
  position: relative;
  margin: 2rem auto;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 0 40px rgba(90, 208, 255, 0.3);
  background: var(--bg-secondary-start);
}

#thunderGame {
  display: block;
  width: 100%;
  height: auto;
  background: linear-gradient(135deg, var(--bg-secondary-start), var(--bg-secondary-end));
  cursor: crosshair;
}

.success-message {
  margin-top: 1.5rem;
  font-size: 1.3rem;
  color: var(--accent-divine);
  font-weight: 700;
  text-align: center;
  text-shadow: 0 0 20px rgba(255, 211, 110, 0.8);
  opacity: 0;
  transform: translateY(-10px);
  transition: all 0.5s ease;
  min-height: 2rem;
}

.success-message.show {
  opacity: 1;
  transform: translateY(0);
  animation: messageSlideIn 0.5s ease-out;
}

@keyframes messageSlideIn {
  0% { 
    opacity: 0;
    transform: translateY(-10px);
  }
  100% { 
    opacity: 1;
    transform: translateY(0);
  }
}

.charge-indicator {
  margin-top: 2rem;
}

.charge-bar {
  width: 100%;
  height: 30px;
  background: rgba(30, 46, 70, 0.5);
  border-radius: 15px;
  overflow: hidden;
  border: 2px solid var(--accent-lightning);
  margin-bottom: 1rem;
}

.charge-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--accent-lightning), var(--accent-divine));
  transition: width 0.5s ease;
  box-shadow: 0 0 20px rgba(90, 208, 255, 0.6);
}

.charge-text {
  color: var(--text-primary);
  font-size: 1.1rem;
}

.restart-game-btn {
  margin-top: 2rem;
  padding: 1rem 2.5rem;
  font-size: 1.1rem;
  font-weight: 600;
  background: linear-gradient(135deg, var(--accent-lightning), var(--accent-divine));
  color: var(--bg-primary);
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px rgba(90, 208, 255, 0.4);
  font-family: 'Roboto', sans-serif;
}

.restart-game-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 30px rgba(255, 211, 110, 0.6);
}

.restart-game-btn:active {
  transform: translateY(-1px);
}

/* Features Section */
.features-section {
  padding: 6rem 2rem;
  background: var(--bg-primary);
  position: relative;
  overflow: hidden;
}

.features-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    linear-gradient(90deg, transparent 0%, rgba(90, 208, 255, 0.05) 50%, transparent 100%),
    linear-gradient(0deg, transparent 0%, rgba(90, 208, 255, 0.05) 50%, transparent 100%);
  background-size: 200px 200px;
  opacity: 0.3;
  z-index: 1;
}

.features-content {
  position: relative;
  z-index: 2;
  max-width: 1000px;
  margin: 0 auto;
}

.features-list {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.feature-item {
  padding: 2rem;
  border-left: 4px solid transparent;
  transition: all 0.5s ease;
}

.feature-item h3 {
  font-size: 2rem;
  color: var(--accent-lightning);
  margin-bottom: 0.5rem;
  font-family: 'Cinzel', serif;
}

.feature-item p {
  font-size: 1.2rem;
  color: var(--text-secondary);
  line-height: 1.8;
}

.feature-item[data-scroll].highlighted {
  border-left-color: var(--accent-divine);
  background: rgba(255, 211, 110, 0.05);
  transform: translateX(10px);
}

.feature-item[data-scroll].highlighted h3 {
  color: var(--accent-divine);
  text-shadow: 0 0 15px rgba(255, 211, 110, 0.5);
}

/* Hero Cards Section */
.hero-cards-section {
  padding: 6rem 2rem;
  background: var(--bg-primary);
  position: relative;
}

.hero-cards-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 2px,
      rgba(255, 211, 110, 0.03) 2px,
      rgba(255, 211, 110, 0.03) 4px
    );
  z-index: 1;
}

.hero-cards-content {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
}

.hero-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 3rem;
  margin-top: 3rem;
}

.hero-card {
  background: rgba(19, 27, 42, 0.6);
  border-radius: 15px;
  padding: 2rem;
  border: 2px solid rgba(255, 211, 110, 0.2);
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.hero-card:hover {
  transform: translateY(-10px);
  border-color: var(--accent-divine);
  box-shadow: 0 10px 40px rgba(255, 211, 110, 0.3);
}

.hero-card-image {
  width: 100%;
  height: 250px;
  border-radius: 10px;
  margin-bottom: 1.5rem;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--bg-secondary-start), var(--bg-secondary-end));
}

.hero-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.hero-card:hover .hero-card-image img {
  transform: scale(1.1);
}

.hero-glow {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at center, rgba(255, 255, 255, 0.3) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.hero-card:hover .hero-glow {
  opacity: 1;
  animation: glowPulse 2s ease-in-out infinite;
}

@keyframes glowPulse {
  0%, 100% { opacity: 0.5; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.1); }
}

.hero-card-name {
  font-size: 2rem;
  color: var(--accent-divine);
  margin-bottom: 0.5rem;
  font-family: 'Cinzel', serif;
}

.hero-card-title {
  font-size: 1.2rem;
  color: var(--accent-lightning);
  margin-bottom: 1rem;
  font-weight: 600;
}

.hero-card-description {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Hero Path Section */
.hero-path-section {
  padding: 6rem 2rem;
  background: linear-gradient(135deg, var(--bg-secondary-start), var(--bg-secondary-end));
  position: relative;
  overflow: hidden;
}

.hero-path-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('../images/Путь героя.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.3;
  z-index: 1;
}

.hero-path-background::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(10, 14, 20, 0.7) 0%, rgba(19, 27, 42, 0.8) 100%);
  z-index: 2;
}

.hero-path-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.path-text {
  margin-top: 3rem;
}

.path-line {
  font-size: 2rem;
  color: var(--text-primary);
  margin-bottom: 1.5rem;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.8s ease;
  font-family: 'Cinzel', serif;
}

.path-line.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Progress Section */
.progress-section {
  padding: 6rem 2rem;
  background: var(--bg-primary);
  position: relative;
  overflow: hidden;
}

.progress-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 50px,
      rgba(90, 208, 255, 0.02) 50px,
      rgba(90, 208, 255, 0.02) 52px
    );
  z-index: 1;
}

.progress-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: 0 auto;
}

.progress-timeline {
  margin-top: 3rem;
  position: relative;
  padding-left: 2rem;
}

.progress-timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--accent-lightning), var(--accent-divine));
}

.timeline-item {
  position: relative;
  margin-bottom: 3rem;
  padding-left: 3rem;
  opacity: 0;
  transform: translateX(-20px);
  transition: all 0.6s ease;
}

.timeline-item.visible {
  opacity: 1;
  transform: translateX(0);
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -1.5rem;
  top: 0.5rem;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--accent-lightning);
  box-shadow: 0 0 15px rgba(90, 208, 255, 0.6);
  z-index: 2;
}

.timeline-item.release::before {
  background: var(--accent-divine);
  box-shadow: 0 0 20px rgba(255, 211, 110, 0.8);
  animation: releasePulse 2s ease-in-out infinite;
}

@keyframes releasePulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.3); }
}

.timeline-period {
  display: block;
  font-size: 1.3rem;
  color: var(--accent-lightning);
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.timeline-item.release .timeline-period {
  color: var(--accent-divine);
  font-size: 1.5rem;
  text-shadow: 0 0 15px rgba(255, 211, 110, 0.5);
}

.timeline-desc {
  display: block;
  font-size: 1.1rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.timeline-item.release .timeline-desc {
  color: var(--text-primary);
  font-weight: 600;
}

/* Olympus Call Section */
.olympus-call-section {
  padding: 6rem 2rem;
  background: linear-gradient(135deg, var(--bg-secondary-start), var(--bg-primary));
  position: relative;
  overflow: hidden;
  text-align: center;
}

.olympus-call-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(ellipse at center bottom, rgba(255, 211, 110, 0.1) 0%, transparent 70%);
  z-index: 1;
}

.olympus-call-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
}

.call-description {
  font-size: 1.4rem;
  color: var(--text-primary);
  margin-bottom: 1rem;
  line-height: 1.8;
}

.btn-call {
  background: linear-gradient(135deg, var(--accent-lightning), var(--accent-divine));
  color: var(--bg-primary);
  box-shadow: 0 4px 20px rgba(255, 211, 110, 0.4);
  margin-top: 2rem;
}

.btn-call:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 30px rgba(255, 211, 110, 0.6);
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .hero-section {
    min-height: auto;
    padding-top: 80px;
    padding-bottom: 3rem;
  }

  .hero-container {
    flex-direction: column;
    gap: 2rem;
  }

  .hero-image {
    display: none;
  }

  .hero-image-mobile {
    display: block;
    width: 100%;
    order: -1;
  }

  .hero-content {
    order: 1;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .hero-subtitle {
    font-size: 1.3rem;
  }

  .hero-description {
    font-size: 1.1rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .btn-primary, .btn-secondary, .btn-call {
    width: 100%;
    max-width: 300px;
  }

  .hero-cards-grid {
    grid-template-columns: 1fr;
  }

  .features-list {
    gap: 2rem;
  }

  .feature-item h3 {
    font-size: 1.5rem;
  }

  .path-line {
    font-size: 1.5rem;
  }

  #thunderGame {
    width: 100%;
    height: auto;
  }
}

