/* Index Page Styles */
/* Hero Section with Image Background */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #d4a574 0%, #c9a776 50%, #b8956a 100%);
  background-image: url('../images/hero.jpg');
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  color: #fff;
  padding: 8rem 2rem 4rem;
  overflow: hidden;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  opacity: 0.3;
}

.storm-clouds {
  position: absolute;
  width: 100%;
  height: 100%;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 600"><path d="M0,300 Q200,250 400,280 T800,300 T1200,320 L1200,600 L0,600 Z" fill="%23000" opacity="0.2"/></svg>') repeat-x;
  animation: cloudsMove 20s linear infinite;
}

@keyframes cloudsMove {
  0% { transform: translateX(0); }
  100% { transform: translateX(-100px); }
}

.lightning-effects {
  position: absolute;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, transparent 0%, rgba(255,255,255,0.1) 50%, transparent 100%);
  animation: lightning 3s ease-in-out infinite;
}

@keyframes lightning {
  0%, 100% { opacity: 0; }
  50% { opacity: 0.3; }
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1000px;
  text-align: center;
}

.hero-title {
  font-size: 4.5rem;
  font-weight: 900;
  margin-bottom: 1rem;
  text-shadow: 3px 3px 10px rgba(0,0,0,0.5);
  font-family: 'Montserrat', sans-serif;
  color: #fff;
}

.hero-subtitle {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 2rem;
  text-shadow: 2px 2px 8px rgba(0,0,0,0.5);
  font-family: 'Montserrat', sans-serif;
  color: #fff;
}

.hero-description {
  font-size: 1.3rem;
  line-height: 1.8;
  margin-bottom: 1.5rem;
  text-shadow: 1px 1px 5px rgba(0,0,0,0.5);
}

.hero-info {
  font-size: 1.1rem;
  margin-bottom: 1rem;
  opacity: 0.95;
}

.hero-reward {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 2rem;
  color: #ffd700;
  text-shadow: 2px 2px 6px rgba(0,0,0,0.7);
}

.hero-buttons {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.btn-primary, .btn-secondary {
  padding: 1.2rem 2.5rem;
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: 50px;
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-block;
  border: 2px solid transparent;
  cursor: pointer;
}

.btn-primary {
  background: linear-gradient(135deg, #ff6b35, #f7931e);
  color: #fff;
  box-shadow: 0 4px 15px rgba(255, 107, 53, 0.4);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(255, 107, 53, 0.6);
}

.btn-secondary {
  background: transparent;
  color: #fff;
  border: 2px solid #fff;
}

.btn-secondary:hover {
  background: rgba(255,255,255,0.2);
  transform: translateY(-3px);
}

.hero-note {
  font-size: 1rem;
  opacity: 0.9;
  font-style: italic;
}

/* Mini Game Section */
.mini-game-section {
  padding: 6rem 2rem;
  background: linear-gradient(135deg, #d4a574 0%, #c9a776 50%, #b8956a 100%);
  color: #fff;
}

.game-container {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  min-height: 500px;
  background: rgba(0,0,0,0.3);
  border-radius: 20px;
  padding: 2rem;
}

.zeus-sphere {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: radial-gradient(circle, #ffd700, #ff8c00);
  box-shadow: 0 0 50px rgba(255, 215, 0, 0.8);
  cursor: pointer;
  transition: transform 0.1s;
  z-index: 2;
}

.zeus-sphere:hover {
  transform: translate(-50%, -50%) scale(1.1);
}

.zeus-sphere.active {
  animation: spherePulse 0.5s ease;
}

@keyframes spherePulse {
  0%, 100% { transform: translate(-50%, -50%) scale(1); }
  50% { transform: translate(-50%, -50%) scale(1.2); }
}

.sphere-glow {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,0.8), transparent);
  animation: glow 2s ease-in-out infinite;
}

@keyframes glow {
  0%, 100% { opacity: 0.5; }
  50% { opacity: 1; }
}

.lightning-strikes {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
  z-index: 1;
}

.lightning-bolt {
  position: absolute;
  width: 4px;
  height: 100px;
  background: linear-gradient(180deg, transparent, #fff, #ffd700, transparent);
  animation: lightningFall 1s linear;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
}

@keyframes lightningFall {
  0% {
    transform: translateY(-100px);
    opacity: 1;
  }
  100% {
    transform: translateY(600px);
    opacity: 0;
  }
}

.energy-bar-container {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  z-index: 3;
}

.energy-bar-label {
  text-align: center;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.energy-bar {
  width: 100%;
  height: 30px;
  background: rgba(255,255,255,0.2);
  border-radius: 15px;
  overflow: hidden;
  border: 2px solid rgba(255,255,255,0.5);
}

.energy-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #ffd700, #ff8c00);
  transition: width 0.3s ease;
  box-shadow: 0 0 20px rgba(255, 215, 0, 0.6);
}

.energy-percentage {
  text-align: center;
  margin-top: 0.5rem;
  font-weight: 700;
  font-size: 1.2rem;
}

.game-result {
  display: none;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(0,0,0,0.9);
  padding: 3rem;
  border-radius: 20px;
  text-align: center;
  z-index: 10;
  border: 3px solid #ffd700;
}

.game-result.show {
  display: block;
  animation: resultAppear 0.5s ease;
}

@keyframes resultAppear {
  0% { opacity: 0; transform: translate(-50%, -50%) scale(0.5); }
  100% { opacity: 1; transform: translate(-50%, -50%) scale(1); }
}

.game-result h3 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: #ffd700;
}

.game-result p {
  font-size: 1.3rem;
  margin-bottom: 2rem;
}

.game-reward {
  margin-top: 2rem;
}

.game-reward p {
  font-size: 1.2rem;
  color: #ffd700;
  margin-bottom: 1rem;
}

.btn-start-game, .btn-accept {
  padding: 1rem 2rem;
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  background: linear-gradient(135deg, #ff6b35, #f7931e);
  color: #fff;
  transition: all 0.3s ease;
  margin-top: 1rem;
}

.btn-start-game:hover, .btn-accept:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(255, 107, 53, 0.4);
}

.btn-accept {
  background: linear-gradient(135deg, #ffd700, #ff8c00);
}

/* About World Section */
.about-world-section {
  padding: 6rem 2rem;
  background: linear-gradient(135deg, #e8d5c4 0%, #dcc9b5 50%, #d4a574 100%);
  color: #333;
}

.world-content {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.world-content p {
  font-size: 1.3rem;
  line-height: 2;
  margin-bottom: 1.5rem;
}

/* Powers Section */
.powers-section {
  padding: 6rem 2rem;
  background: linear-gradient(135deg, #c4975f 0%, #b8956a 50%, #a67842 100%);
  color: #fff;
}

.section-subtitle {
  font-size: 1.5rem;
  text-align: center;
  margin-bottom: 2rem;
  opacity: 0.9;
}

.powers-description {
  max-width: 800px;
  margin: 0 auto 3rem;
  text-align: center;
}

.powers-description p {
  font-size: 1.2rem;
  line-height: 1.8;
  margin-bottom: 1rem;
}

.powers-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3rem;
  max-width: 1000px;
  margin: 0 auto;
}

.power-card {
  position: relative;
  background: rgba(255,255,255,0.2);
  border-radius: 20px;
  padding: 0;
  transition: all 0.3s ease;
  overflow: hidden;
  border: 2px solid rgba(255,255,255,0.3);
  backdrop-filter: blur(10px);
  display: flex;
  flex-direction: column;
}

.power-card:hover {
  transform: translateY(-10px);
  border-color: #ffd700;
  box-shadow: 0 10px 30px rgba(255, 215, 0, 0.3);
}

.power-card:hover .power-effect {
  opacity: 1;
}

.power-card-image {
  width: 100%;
  height: 250px;
  overflow: hidden;
  position: relative;
}

.power-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.power-card:hover .power-card-image img {
  transform: scale(1.1);
}

.power-card-content {
  padding: 2rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.power-card-content h3 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: #ffd700;
}

.power-card-content p {
  font-size: 1.1rem;
  line-height: 1.6;
}

.power-effect {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.light-effect {
  background: radial-gradient(circle, rgba(255,255,255,0.3), transparent);
  animation: lightFlash 2s ease-in-out infinite;
}

.thunder-effect {
  background: linear-gradient(45deg, transparent 30%, rgba(255,255,255,0.3) 50%, transparent 70%);
  animation: thunderFlash 1.5s ease-in-out infinite;
}

@keyframes lightFlash {
  0%, 100% { opacity: 0; }
  50% { opacity: 0.5; }
}

@keyframes thunderFlash {
  0%, 100% { opacity: 0; transform: translateX(-100%); }
  50% { opacity: 0.6; transform: translateX(100%); }
}

/* Prophecy Section */
.prophecy-section {
  padding: 6rem 2rem;
  background: linear-gradient(135deg, #d4a574 0%, #c9a776 50%, #b8956a 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
}

.prophecy-background {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(180deg, transparent 0%, rgba(255,255,255,0.1) 50%, transparent 100%);
  animation: dawnRays 4s ease-in-out infinite;
}

@keyframes dawnRays {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 0.6; }
}

.prophecy-text {
  font-size: 2rem;
  text-align: center;
  margin-bottom: 1rem;
  font-weight: 700;
}

.prophecy-subtext {
  font-size: 1.3rem;
  text-align: center;
  margin-bottom: 3rem;
  opacity: 0.9;
}

.countdown-container {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: 0 auto;
}

.countdown-timer {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.countdown-unit {
  background: rgba(0,0,0,0.3);
  border-radius: 15px;
  padding: 2rem;
  min-width: 120px;
  text-align: center;
  border: 2px solid rgba(255,255,255,0.3);
}

.countdown-number {
  display: block;
  font-size: 3rem;
  font-weight: 900;
  color: #ffd700;
  text-shadow: 2px 2px 8px rgba(0,0,0,0.5);
}

.countdown-label {
  display: block;
  font-size: 1rem;
  margin-top: 0.5rem;
  opacity: 0.9;
}

.countdown-separator {
  font-size: 2.5rem;
  font-weight: 700;
  color: #ffd700;
}

.btn-prophecy {
  display: block;
  margin: 0 auto;
  padding: 1.2rem 3rem;
  font-size: 1.2rem;
  font-weight: 600;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  background: linear-gradient(135deg, #ff6b35, #f7931e);
  color: #fff;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(255, 107, 53, 0.4);
}

.btn-prophecy:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(255, 107, 53, 0.6);
}

/* Alliance Section */
.alliance-section {
  padding: 6rem 2rem;
  background: linear-gradient(135deg, #e8d5c4 0%, #dcc9b5 50%, #d4a574 100%);
  color: #333;
}

.alliance-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  max-width: 1000px;
  margin: 3rem auto 0;
}

.alliance-feature {
  background: rgba(255,255,255,0.4);
  border-radius: 15px;
  padding: 2rem;
  text-align: center;
  border: 2px solid rgba(255,255,255,0.3);
  backdrop-filter: blur(10px);
}

.alliance-feature h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: #2c3e50;
}

.alliance-feature p {
  font-size: 1.1rem;
  line-height: 1.6;
}

/* Rankings Section */
.rankings-section {
  padding: 6rem 2rem;
  background: linear-gradient(135deg, #d4a574 0%, #c9a776 50%, #b8956a 100%);
  color: #fff;
}

.titles-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  max-width: 1200px;
  margin: 3rem auto 0;
}

.title-card {
  background: rgba(255,255,255,0.2);
  border-radius: 15px;
  padding: 2rem;
  text-align: center;
  border: 2px solid rgba(255,255,255,0.3);
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.title-card:hover {
  transform: translateY(-5px);
  border-color: #ffd700;
  box-shadow: 0 10px 30px rgba(255, 215, 0, 0.3);
}

.title-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: #ffd700;
}

.title-card p {
  font-size: 1rem;
  line-height: 1.6;
}

/* Tournaments Section */
.tournaments-section {
  padding: 6rem 2rem;
  background: linear-gradient(135deg, #e8d5c4 0%, #dcc9b5 50%, #d4a574 100%);
  color: #333;
}

.events-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  max-width: 1200px;
  margin: 3rem auto 0;
}

.event-card {
  background: rgba(255,255,255,0.4);
  border-radius: 15px;
  padding: 2rem;
  text-align: center;
  transition: all 0.3s ease;
  border: 2px solid rgba(255,255,255,0.3);
  backdrop-filter: blur(10px);
}

.event-card:hover {
  transform: translateY(-5px);
  border-color: #2c3e50;
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.event-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: #2c3e50;
}

.event-card p {
  font-size: 1rem;
  line-height: 1.6;
}

/* Early Access Section */
.early-access-section {
  padding: 6rem 2rem;
  background: linear-gradient(135deg, #c4975f 0%, #b8956a 50%, #a67842 100%);
  color: #fff;
}

.early-access-form {
  max-width: 600px;
  margin: 3rem auto 0;
}

.form-group {
  margin-bottom: 2rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  font-size: 1.1rem;
}

.form-group input {
  width: 100%;
  padding: 1rem;
  font-size: 1rem;
  border-radius: 8px;
  border: 2px solid rgba(255,255,255,0.3);
  background: rgba(255,255,255,0.1);
  color: #fff;
  transition: all 0.3s ease;
  box-sizing: border-box;
}

.form-group input:focus {
  outline: none;
  border-color: #ffd700;
  background: rgba(255,255,255,0.2);
}

.form-group input::placeholder {
  color: rgba(255,255,255,0.5);
}

.btn-submit {
  width: 100%;
  padding: 1.2rem;
  font-size: 1.2rem;
  font-weight: 600;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  background: linear-gradient(135deg, #ff6b35, #f7931e);
  color: #fff;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(255, 107, 53, 0.4);
}

.btn-submit:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(255, 107, 53, 0.6);
}

/* Responsive Styles */
@media (max-width: 768px) {
  .hero-section {
    background-size: contain;
    background-position: center;
    min-height: 100vh;
    padding: 6rem 1rem 3rem;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .hero-subtitle {
    font-size: 1.8rem;
  }

  .hero-description, .hero-info, .hero-reward {
    font-size: 1rem;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .btn-primary, .btn-secondary {
    width: 100%;
    max-width: 300px;
  }

  .powers-cards {
    grid-template-columns: 1fr;
  }

  .countdown-timer {
    gap: 0.5rem;
  }

  .countdown-unit {
    min-width: 80px;
    padding: 1rem;
  }

  .countdown-number {
    font-size: 2rem;
  }

  .alliance-features {
    grid-template-columns: 1fr;
  }

  .titles-container, .events-container {
    grid-template-columns: 1fr;
  }

  .game-container {
    min-height: 400px;
    padding: 1rem;
  }

  .zeus-sphere {
    width: 100px;
    height: 100px;
  }
}

