@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@700;900&display=swap');

body {
  background: #b6fcb6;
  color: #222;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  margin: 0;
  padding: 0;
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
}

.fog {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 100;
  overflow: hidden;
}
.fog-layer {
  position: absolute;
  width: 200vw;
  height: 200vh;
  top: -50vh;
  left: -50vw;
  background: radial-gradient(ellipse at 40% 60%, rgba(102,255,102,0.13) 0%, rgba(182,252,182,0.09) 60%, rgba(182,252,182,0.05) 100%);
  opacity: 0.7;
  animation: fogmove 30s linear infinite alternate;
}
.fog-layer2 {
  position: absolute;
  width: 200vw;
  height: 200vh;
  top: -60vh;
  left: -60vw;
  background: radial-gradient(ellipse at 60% 40%, rgba(102,255,102,0.10) 0%, rgba(182,252,182,0.07) 60%, rgba(182,252,182,0.03) 100%);
  opacity: 0.5;
  animation: fogmove2 45s linear infinite alternate;
}
@keyframes fogmove {
  0% { transform: translateX(0) translateY(0) scale(1.1); }
  100% { transform: translateX(80px) translateY(40px) scale(1.15); }
}
@keyframes fogmove2 {
  0% { transform: translateX(0) translateY(0) scale(1.05); }
  100% { transform: translateX(-100px) translateY(60px) scale(1.1); }
}

nav {
  text-align: center;
  margin-top: 20px;
  z-index: 2;
  position: relative;
}
nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: inline-block;
}
nav ul li {
  display: inline;
  margin: 0 10px;
}
nav ul li a {
  color: #222;
  text-decoration: none;
  font-weight: bold;
  letter-spacing: 2px;
  font-size: 1rem;
}
header {
  text-align: center;
  margin: 30px 0 0 0;
}
.logo {
  display: block;
  margin: 0 auto 10px auto;
  width: 220px;
  height: 220px;
  max-width: 100%;
  object-fit: contain;
}
.main-title {
  text-align: center;
  font-size: 2.2rem;
  margin: 20px auto 0 auto;
  letter-spacing: 2px;
  background: #222;
  color: #fff;
  display: inline-block;
  padding: 16px 40px 12px 40px;
  border-radius: 14px;
  box-shadow: 0 6px #39ff14;
  border: 2px solid #111;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 900;
}
.main-title .highlight {
  color: #39ff14;
}
.container {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.about-section {
  background: none;
  border: none;
  box-shadow: none;
  padding: 0;
}
.about-cloud-container {
  position: relative;
  width: 500px;
  max-width: 90vw;
  margin: 0 auto;
}
.about-cloud-img {
  width: 100%;
  display: block;
}
.about-cloud-text {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px 40px 30px 40px;
  box-sizing: border-box;
}

.about-section::before {
  width: 120px;
  height: 90px;
  left: -60px;
  top: 40px;
  border-radius: 60px 60px 60px 60px / 50px 50px 50px 50px;
}
.about-section::after {
  width: 100px;
  height: 70px;
  right: -50px;
  top: 60px;
  border-radius: 50px 50px 50px 50px / 35px 35px 35px 35px;
}
.how-section {
  margin: 50px auto 0 auto;
  text-align: center;
}
.how-section h2 {
  margin-bottom: 18px;
}
.how-section .steps {
  display: flex;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
  margin-top: 20px;
}
.step {
  background: #23272e;
  color: #e6e6e6;
  border: 3px solid #181a1b;
  border-radius: 12px;
  width: 230px;
  padding: 22px 14px 18px 14px;
  box-shadow: 0 4px #4ecdc4;
  text-align: center;
  font-size: 0.95rem;
  position: relative;
  z-index: 2;
  transition: transform 0.15s;
  font-family: 'Fira Mono', 'Consolas', 'Menlo', monospace;
}
.step:hover {
  transform: translateY(-6px) scale(1.04);
  box-shadow: 0 10px #39ff14;
}
.step img {
  width: 54px;
  height: 54px;
  margin-bottom: 12px;
  border-radius: 8px;
  border: 2px solid #39ff14;
  background: #23272e;
  box-shadow: 0 2px #222;
}
.step p {
  color: #e6e6e6;
  font-family: 'Fira Mono', 'Consolas', 'Menlo', monospace;
  line-height: 1.4;
}
.step p b {
  color: #39ff14;
}
.gallery-section {
  margin: 60px auto 0 auto;
  text-align: center;
}
.gallery-section h2 {
  margin-bottom: 18px;
}
.carousel {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 24px;
  position: relative;
  z-index: 2;
}
.carousel-btn {
  background: #fff;
  border: 3px solid #222;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  font-size: 2rem;
  cursor: pointer;
  margin: 0 18px;
  transition: background 0.2s, box-shadow 0.2s;
  box-shadow: 0 2px #4ecdc4;
  display: flex;
  align-items: center;
  justify-content: center;
}
.carousel-btn:hover {
  background: #39ff14;
  box-shadow: 0 6px #222;
}
.carousel-track {
  display: flex;
  overflow: hidden;
  width: 340px;
  height: 200px;
  border-radius: 16px;
  border: 3px solid #222;
  background: #fff;
  align-items: center;
  justify-content: center;
  position: relative;
  box-shadow: 0 4px #4ecdc4;
}
.carousel-track img {
  width: 340px;
  height: 200px;
  object-fit: contain;
  border-radius: 16px;
  transition: opacity 0.3s;
  border: 2px solid #39ff14;
  background: #e0f7fa;
}

/* Miniaturas debajo del carrusel */
.carousel-thumbs {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 12px;
}
.carousel-thumbs img {
  width: 48px;
  height: 32px;
  object-fit: cover;
  border-radius: 6px;
  border: 2px solid #222;
  cursor: pointer;
  opacity: 0.6;
  transition: opacity 0.2s, border 0.2s;
}
.carousel-thumbs img.active {
  opacity: 1;
  border: 2px solid #39ff14;
}

.about-terminal {
  background: #23272e;
  color: #e6e6e6;
  border-radius: 12px;
  box-shadow: 0 4px 24px 0 rgba(34,34,34,0.13);
  max-width: 600px;
  margin: 36px auto 0 auto;
  padding: 32px 32px 24px 32px;
  font-family: 'Fira Mono', 'Consolas', 'Menlo', monospace;
  position: relative;
  border: 2px solid #181a1b;
}
.about-terminal h2 {
  margin-top: 0;
  margin-bottom: 18px;
  font-size: 1.2rem;
  color: #fff;
  font-family: inherit;
  letter-spacing: 2px;
}
.about-terminal::before {
  content: '';
  display: block;
  position: absolute;
  top: 12px;
  left: 24px;
  width: 10px;
  height: 10px;
  background: #ff5f56;
  border-radius: 50%;
  box-shadow: 20px 0 0 #ffbd2e, 40px 0 0 #27c93f;
}
.about-terminal p {
  margin: 0;
  font-size: 1rem;
  line-height: 1.6;
  color: #39ff14;
  font-family: 'Fira Mono', 'Consolas', 'Menlo', monospace;
  text-shadow: 0 0 2px #39ff14, 0 0 6px #39ff14;
}
/* Efecto de cursor parpadeante al final del texto */
.about-terminal p::after {
  content: '_';
  animation: blink 1s steps(1) infinite;
  color: #39ff14;
  margin-left: 2px;
}
@keyframes blink {
  0%, 50% { opacity: 1; }
  51%, 100% { opacity: 0; }
}

.footer-social {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 32px;
  margin: 48px 0 18px 0;
}
.social-btn {
  display: inline-block;
  min-width: 110px;
  text-align: center;
  padding: 10px 22px;
  border-radius: 24px;
  background: #23272e;
  color: #39ff14;
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 1px;
  border: 2px solid #39ff14;
  outline: none;
  text-decoration: none;
  transition: background 0.18s, color 0.18s, border 0.18s, transform 0.15s;
  cursor: pointer;
  box-shadow: none;
}
.social-btn:hover {
  background: #39ff14;
  color: #23272e;
  border-color: #39ff14;
  transform: scale(1.04);
}
.social-btn svg {
  display: block;
}

.story-option {
  display: block;
  width: 100%;
  margin: 8px 0;
  padding: 10px 16px;
  background: #39ff14;
  color: #222;
  border: none;
  border-radius: 8px;
  font-family: 'Fira Mono', 'Consolas', 'Menlo', monospace;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, transform 0.1s;
  text-align: left;
}
.story-option:hover {
  background: #4ecdc4;
  transform: translateX(4px);
}
.story-option:active {
  transform: translateX(4px) scale(0.98);
}
#story-display {
  margin-bottom: 20px;
  min-height: 80px;
}
#story-options {
  margin-top: 16px;
}

.download-btn {
  display: block;
  width: 100%;
  margin: 20px 0 0 0;
  padding: 12px 20px;
  background: #39ff14;
  color: #222;
  border: 2px solid #39ff14;
  border-radius: 8px;
  font-family: 'Fira Mono', 'Consolas', 'Menlo', monospace;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, transform 0.1s, opacity 0.2s;
  text-align: center;
  letter-spacing: 1px;
}
.download-btn:hover {
  background: #222;
  color: #39ff14;
  transform: scale(1.02);
}
.download-btn:active {
  transform: scale(0.98);
}
.download-btn:disabled {
  background: #666;
  color: #999;
  border-color: #666;
  cursor: not-allowed;
  opacity: 0.5;
  transform: none;
}
.download-btn:disabled:hover {
  background: #666;
  color: #999;
  transform: none;
}

@media (max-width: 1000px) {
  .how-section .steps {
    flex-direction: column;
    align-items: center;
    gap: 18px;
  }
  .step {
    width: 90vw;
    max-width: 320px;
  }
  .carousel-track {
    width: 90vw;
    max-width: 340px;
  }
}

.about-section, .how-section, .gallery-section, .step, .carousel-track, .carousel-btn, .carousel-thumbs img {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
}

@media (max-width: 600px) {
  .about-cloud-container {
    width: 98vw;
    min-width: 0;
  }
  .about-cloud-text {
    padding: 18px 8vw 10px 8vw;
    font-size: 0.95rem;
  }
}
