/* Olympus Storm Background - Handmade Style */
.olympus-background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  overflow: hidden;
}

.storm-sky {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom,
    #0a0e27 0%,
    #1a1f3a 20%,
    #2d2442 40%,
    #3d2f4a 60%,
    #2a1f3a 80%,
    #1a1f3a 100%
  );
}

/* Handmade storm clouds using CSS */
.storm-cloud {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(ellipse at center,
    rgba(30, 20, 40, 0.9) 0%,
    rgba(40, 30, 50, 0.7) 30%,
    rgba(25, 15, 35, 0.5) 50%,
    transparent 70%
  );
  animation: cloudFloat 25s ease-in-out infinite;
}

.cloud-1 {
  width: 800px;
  height: 300px;
  top: -50px;
  left: -100px;
  animation-delay: 0s;
}

.cloud-2 {
  width: 1000px;
  height: 400px;
  top: 50px;
  right: -150px;
  animation-delay: 5s;
}

.cloud-3 {
  width: 600px;
  height: 250px;
  top: 200px;
  left: 30%;
  animation-delay: 10s;
}

.cloud-4 {
  width: 1200px;
  height: 350px;
  top: 100px;
  left: 60%;
  animation-delay: 15s;
}

.cloud-5 {
  width: 900px;
  height: 300px;
  top: 300px;
  right: 20%;
  animation-delay: 20s;
}

@keyframes cloudFloat {
  0%, 100% {
    transform: translate(0, 0);
  }
  25% {
    transform: translate(-20px, 15px);
  }
  50% {
    transform: translate(10px, -10px);
  }
  75% {
    transform: translate(-15px, 8px);
  }
}

/* Lightning effects */
.lightning-effect {
  position: absolute;
  width: 3px;
  height: 100%;
  background: linear-gradient(180deg,
    transparent 0%,
    rgba(255, 255, 255, 0.1) 10%,
    rgba(200, 220, 255, 0.3) 15%,
    rgba(255, 255, 255, 0.2) 20%,
    rgba(180, 200, 255, 0.1) 25%,
    transparent 35%
  );
  opacity: 0;
  animation: lightningStrike 8s ease-in-out infinite;
}

.lightning-1 {
  left: 20%;
  animation-delay: 2s;
}

.lightning-2 {
  left: 50%;
  animation-delay: 5s;
  width: 2px;
}

.lightning-3 {
  left: 75%;
  animation-delay: 7s;
}

@keyframes lightningStrike {
  0%, 85%, 100% {
    opacity: 0;
    transform: scaleY(0.3);
  }
  1% {
    opacity: 0.9;
    transform: scaleY(1.5);
  }
  2% {
    opacity: 0.5;
    transform: scaleY(0.8);
  }
  3% {
    opacity: 0.7;
    transform: scaleY(1.2);
  }
  4% {
    opacity: 0.3;
    transform: scaleY(0.9);
  }
  5% {
    opacity: 0;
    transform: scaleY(0.3);
  }
}

/* Atmospheric mist */
.atmospheric-mist {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(ellipse 2000px 800px at 30% 60%, rgba(60, 50, 80, 0.25) 0%, transparent 60%),
    radial-gradient(ellipse 1800px 700px at 70% 70%, rgba(50, 40, 70, 0.2) 0%, transparent 65%);
  animation: mistDrift 40s ease-in-out infinite;
}

@keyframes mistDrift {
  0%, 100% {
    transform: translate(0, 0);
  }
  33% {
    transform: translate(-20px, 15px);
  }
  66% {
    transform: translate(15px, -12px);
  }
}

/* Depth shadows */
.depth-shadows {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg,
    transparent 0%,
    rgba(0, 0, 0, 0.15) 50%,
    rgba(0, 0, 0, 0.35) 100%
  );
}

/* Hero Section */
.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  margin: 0;
  position: relative;
  z-index: 1;
  overflow: hidden;
  border: none;
  outline: none;
  box-shadow: none;
  background: none;
}

.hero-content {
  max-width: 1000px;
  text-align: center;
  color: #ffffff;
  animation: heroFadeIn 1.5s ease-out;
  position: relative;
  z-index: 2;
  width: 100%;
  background: none;
  border: none;
  box-shadow: none;
  outline: none;
}

.hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  min-width: 100%;
  min-height: 100%;
  z-index: 1;
  display: block;
  overflow: hidden;
  border: none;
  outline: none;
  box-shadow: none;
  background: none;
}

.hero-image {
  width: 100%;
  height: 100%;
  min-width: 100%;
  min-height: 100%;
  max-width: 100%;
  max-height: none;
  object-fit: cover;
  object-position: center;
  display: block;
  border: none;
  outline: none;
  box-shadow: none;
}

/* Desktop version - full screen background image */
@media (min-width: 769px) {
  body {
    overflow-x: hidden;
  }

  .hero-section {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 100vh;
    padding: 0 !important;
    margin: 0 !important;
    z-index: 1;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    background: none !important;
  }

  .hero-image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    width: 100% !important;
    height: 100% !important;
    min-width: 100% !important;
    min-height: 100% !important;
    max-width: 100% !important;
    max-height: 100% !important;
    z-index: 1;
    display: block;
    overflow: hidden;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    background: none !important;
    padding: 0 !important;
    margin: 0 !important;
  }

  .hero-image {
    width: 100% !important;
    height: 100% !important;
    min-width: 100% !important;
    min-height: 100% !important;
    max-width: 100% !important;
    max-height: 100% !important;
    object-fit: cover !important;
    object-position: center center;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    margin: 0 !important;
    display: block;
  }

  .hero-content {
    position: relative;
    z-index: 2;
    max-width: 1000px;
    margin: 0 auto;
    width: 100%;
    padding: 3rem;
    background: none !important;
    border: none !important;
    box-shadow: none !important;
    outline: none !important;
  }

  .hero-title {
    text-shadow: 3px 3px 20px rgba(0, 0, 0, 0.95),
                0 0 40px rgba(0, 0, 0, 0.9),
                0 0 80px rgba(0, 0, 0, 0.8),
                0 0 120px rgba(0, 0, 0, 0.7);
    position: relative;
    z-index: 2;
  }

  .hero-description {
    text-shadow: 2px 2px 15px rgba(0, 0, 0, 0.95),
                0 0 30px rgba(0, 0, 0, 0.9),
                0 0 50px rgba(0, 0, 0, 0.8);
    position: relative;
    z-index: 2;
  }

  .hero-cta {
    position: relative;
    z-index: 2;
  }

  .hero-subtitle {
    position: relative;
    z-index: 2;
    text-shadow: 2px 2px 12px rgba(0, 0, 0, 0.95),
                0 0 25px rgba(0, 0, 0, 0.9);
  }

  /* Ensure next sections are positioned correctly */
  .mini-game-section {
    position: relative;
    z-index: 2;
  }

  .about-game-section,
  .mechanics-section,
  .alliances-section,
  .rankings-section,
  .tournaments-section {
    position: relative;
    z-index: 2;
  }
}

/* Mobile version - small image above text */
@media (max-width: 768px) {
  .hero-section {
    min-height: auto;
    padding: 2rem 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
  }

  .hero-image-wrapper {
    position: relative;
    display: block;
    width: 100%;
    max-width: 100%;
    margin: 0 auto 2rem;
    height: auto;
    z-index: 1;
  }

  .hero-image {
    width: 100%;
    height: auto;
    object-fit: contain;
    max-height: none;
    min-height: 200px;
    display: block;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5),
              0 0 40px rgba(200, 220, 255, 0.2);
  }

  .hero-content {
    position: relative;
    z-index: 2;
    background: transparent;
    backdrop-filter: none;
    padding: 0;
    box-shadow: none;
    width: 100%;
    max-width: 100%;
  }

  .hero-title {
    font-size: 2rem;
    margin-bottom: 1rem;
  }

  .hero-description {
    font-size: 1rem;
    margin-bottom: 1.5rem;
  }

  .hero-cta {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1rem;
  }

  .cta-button {
    width: 100%;
    max-width: 100%;
  }

  .hero-subtitle {
    font-size: 0.9rem;
    margin-bottom: 0;
  }
}

@keyframes heroFadeIn {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 3.5rem;
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 2rem;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5),
              0 0 20px rgba(200, 220, 255, 0.3);
  letter-spacing: -1px;
}

.hero-description {
  font-family: 'Roboto', sans-serif;
  font-size: 1.3rem;
  line-height: 1.8;
  margin-bottom: 3rem;
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5);
  opacity: 0.95;
}

.hero-cta {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.cta-button {
  padding: 1.2rem 2.5rem;
  font-family: 'Montserrat', sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 8px;
  transition: all 0.3s ease;
  display: inline-block;
  text-shadow: none;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.cta-primary {
  background: linear-gradient(135deg, #ffd700, #ffb347);
  color: #1a1f3a;
}

.cta-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(255, 215, 0, 0.5);
  background: linear-gradient(135deg, #ffed4e, #ffd700);
}

.cta-secondary {
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff;
  border: 2px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(10px);
}

.cta-secondary:hover {
  transform: translateY(-3px);
  background: rgba(255, 255, 255, 0.25);
  border-color: rgba(255, 255, 255, 0.5);
  box-shadow: 0 6px 20px rgba(255, 255, 255, 0.2);
}

.hero-subtitle {
  font-family: 'Roboto', sans-serif;
  font-size: 1rem;
  opacity: 0.8;
  font-style: italic;
}

/* Mini Game Section */
.mini-game-section {
  padding: 6rem 2rem;
  position: relative;
  z-index: 1;
  background: rgba(10, 14, 39, 0.7);
  backdrop-filter: blur(10px);
}

.gods-selection {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 2rem;
  max-width: 900px;
  margin: 3rem auto;
}

.god-card {
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  padding: 2rem 1.5rem;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.god-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 255, 255, 0.5);
  box-shadow: 0 8px 25px rgba(200, 220, 255, 0.3);
  background: rgba(255, 255, 255, 0.15);
}

.god-card.selected {
  background: rgba(255, 215, 0, 0.2);
  border-color: #ffd700;
  box-shadow: 0 0 20px rgba(255, 215, 0, 0.5);
}

.god-icon {
  font-size: 3rem;
  font-weight: 900;
  color: #ffd700;
  margin-bottom: 1rem;
}

.god-card h3 {
  color: #ffffff;
  font-family: 'Montserrat', sans-serif;
  font-size: 1.2rem;
  margin: 0;
}

.selection-result {
  text-align: center;
  padding: 2rem;
  margin-top: 3rem;
}

#resultText {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.5rem;
  color: #ffffff;
  margin-bottom: 1.5rem;
  min-height: 2rem;
}

.result-button {
  padding: 1rem 2.5rem;
  font-family: 'Montserrat', sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  background: linear-gradient(135deg, #ffd700, #ffb347);
  color: #1a1f3a;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.result-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(255, 215, 0, 0.5);
}

/* About Game Section */
.about-game-section {
  padding: 6rem 2rem;
  position: relative;
  z-index: 1;
  background: rgba(26, 31, 58, 0.6);
}

.about-text {
  font-family: 'Roboto', sans-serif;
  font-size: 1.2rem;
  line-height: 1.8;
  color: #ffffff;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

/* Mechanics Section */
.mechanics-section {
  padding: 6rem 2rem;
  position: relative;
  z-index: 1;
  background: rgba(10, 14, 39, 0.7);
}

.mechanics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 3rem auto 0;
}

.mechanic-card {
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  padding: 2.5rem;
  text-align: center;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.mechanic-card:hover {
  transform: translateY(-8px);
  border-color: rgba(255, 255, 255, 0.4);
  box-shadow: 0 12px 30px rgba(200, 220, 255, 0.2);
  background: rgba(255, 255, 255, 0.15);
}

.mechanic-image {
  width: 100%;
  max-width: 200px;
  height: auto;
  border-radius: 8px;
  margin-bottom: 1.5rem;
  object-fit: cover;
}


.mechanic-card h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.5rem;
  color: #ffffff;
  margin-bottom: 1rem;
}

.mechanic-card p {
  font-family: 'Roboto', sans-serif;
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.6;
}

/* Alliances Section */
.alliances-section {
  padding: 6rem 2rem;
  position: relative;
  z-index: 1;
  background: rgba(26, 31, 58, 0.6);
}

.alliance-description {
  font-family: 'Roboto', sans-serif;
  font-size: 1.1rem;
  line-height: 1.8;
  color: #ffffff;
  text-align: center;
  max-width: 900px;
  margin: 2rem auto 3rem;
}

.alliance-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.alliance-card {
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  padding: 2.5rem;
  text-align: center;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
}

.alliance-card:hover {
  transform: translateY(-8px);
  border-color: rgba(255, 255, 255, 0.5);
  box-shadow: 0 12px 30px rgba(200, 220, 255, 0.3);
  background: rgba(255, 255, 255, 0.15);
}

.alliance-image {
  width: 100%;
  max-width: 200px;
  height: auto;
  border-radius: 8px;
  margin-bottom: 1.5rem;
  object-fit: cover;
}

.alliance-card h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.5rem;
  color: #ffffff;
  margin-bottom: 1rem;
}

.alliance-card p {
  font-family: 'Roboto', sans-serif;
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.6;
}

/* Rankings Section */
.rankings-section {
  padding: 6rem 2rem;
  position: relative;
  z-index: 1;
  background: rgba(10, 14, 39, 0.7);
}

.rankings-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 3rem auto 0;
}

.ranking-block {
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  padding: 2.5rem;
  backdrop-filter: blur(10px);
}

.ranking-image {
  width: 100%;
  max-width: 250px;
  height: auto;
  border-radius: 8px;
  margin-bottom: 1.5rem;
  object-fit: cover;
}

.ranking-block h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.3rem;
  color: #ffffff;
  margin-bottom: 1.5rem;
  text-align: center;
}

.progress-bar {
  width: 100%;
  height: 30px;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 15px;
  overflow: hidden;
  border: 2px solid rgba(255, 255, 255, 0.2);
}

.progress-fill {
  height: 100%;
  width: 65%;
  background: linear-gradient(90deg, #ffd700, #ffb347);
  border-radius: 15px;
  animation: progressGlow 2s ease-in-out infinite;
}

@keyframes progressGlow {
  0%, 100% {
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
  }
  50% {
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.8);
  }
}

/* Tournaments Section */
.tournaments-section {
  padding: 6rem 2rem;
  position: relative;
  z-index: 1;
  background: rgba(26, 31, 58, 0.6);
  text-align: center;
}

.tournament-button {
  display: inline-block;
  padding: 1.2rem 3rem;
  font-family: 'Montserrat', sans-serif;
  font-size: 1.2rem;
  font-weight: 600;
  background: linear-gradient(135deg, #ffd700, #ffb347);
  color: #1a1f3a;
  text-decoration: none;
  border-radius: 8px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  margin-top: 2rem;
}

.tournament-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(255, 215, 0, 0.5);
  background: linear-gradient(135deg, #ffed4e, #ffd700);
}

/* Common Section Styles */
.section-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 2.5rem;
  font-weight: 800;
  color: #ffffff;
  text-align: center;
  margin-bottom: 2rem;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
}

.section-description {
  font-family: 'Roboto', sans-serif;
  font-size: 1.2rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.95);
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero-section {
    padding: 100px 1rem 3rem;
  }

  .hero-image-wrapper {
    max-width: 100%;
    margin: 0 auto 2rem;
    padding: 0 1rem;
  }

  .hero-image {
    max-height: 60vh;
    width: 100%;
    object-fit: contain;
    border-radius: 8px;
  }

  .hero-title {
    font-size: 2.2rem;
  }

  .hero-description {
    font-size: 1.1rem;
  }

  .hero-cta {
    flex-direction: column;
    align-items: center;
  }

  .cta-button {
    width: 100%;
    max-width: 400px;
  }

  .section-title {
    font-size: 2rem;
  }

  .gods-selection {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  .mechanics-grid,
  .alliance-cards {
    grid-template-columns: 1fr;
  }

  .cloud-1, .cloud-2, .cloud-3, .cloud-4, .cloud-5 {
    width: 400px;
    height: 150px;
  }
}

@media (max-width: 480px) {
  .hero-section {
    padding: 80px 0.5rem 2rem;
  }

  .hero-image-wrapper {
    max-width: 100%;
    margin: 0 auto 1.5rem;
    padding: 0 0.5rem;
  }

  .hero-image {
    max-height: 50vh;
    width: 100%;
    object-fit: contain;
    border-radius: 8px;
  }

  .hero-title {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
  }

  .hero-description {
    font-size: 1rem;
    margin-bottom: 2rem;
  }

  .gods-selection {
    grid-template-columns: 1fr;
  }

  .god-card {
    padding: 1.5rem 1rem;
  }
}

