:root {
  --brand-blue: #003da1;
  --brand-orange: #f17238;
  --brand-light: #85c5ff;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  background: linear-gradient(145deg, #0f1a2f, #162b45);
  background-attachment: fixed;
  background-size: cover;
  color: #ffffff;
  text-align: center;
  padding: 4rem 1rem;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
}

header {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-bottom: 0.75rem;
  text-align: center;
}

.contenedor-imagen {
  width: 300px;
  height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  overflow: hidden;
  margin: 0 auto 16px;
}

.contenedor-imagen img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  display: block;
}

h1 {
  margin-top: 0;          
  font-size: 2.4rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: #ffffff;
}

p.description {
  font-size: 1.2rem;
  max-width: 700px;
  margin: 0 auto 2.5rem;
  line-height: 1.8;
  color: #e0e0e0;
}

.buttons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.2rem;
}

.store-btn {
  width: 180px;
  height: 55px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
  backdrop-filter: blur(6px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.store-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
}

.store-btn img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.contact-wrapper {
  margin-top: 4rem;
  margin-bottom: 2rem;
}

#contactBtn {
  background: rgba(255, 255, 255, 0.1);
  color: white;
  border: none;
  padding: 0.6rem 1.2rem;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  backdrop-filter: blur(4px);
  transition: background 0.3s;
}

#contactBtn:hover {
  background: rgba(255, 255, 255, 0.2);
}

.follow-instagram {
  margin-top: 3rem;
  text-align: center;
  background-color: rgba(255, 255, 255, 0.05);
  padding: 1rem 1.5rem;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.follow-instagram p {
  font-size: 1.1rem;
  margin-bottom: 0.8rem;
  color: #ffffff;
}

.instagram-button {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.5rem 1rem;
  background-color: #e1306c;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  color: white;
  transition: transform 0.2s ease;
}

.instagram-button:hover {
  transform: scale(1.05);
}

.instagram-button img {
  width: 28px;
  height: 28px;
  background: none;
  border-radius: 50%;
}

.screenshots {
  margin-top: 3rem;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2rem;
}

.screenshots img {
  width: 200px;
  border-radius: 20px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
  transition: transform 0.3s;
}

.screenshots img:hover {
  transform: scale(1.05);
}

footer {
  margin-top: 2rem;
  font-size: 0.9rem;
  color: #eeeeee;
  opacity: 0.8;
}

#contactModal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
  justify-content: center;
  align-items: center;
  z-index: 20;
}

#contactModal.active {
  display: flex;
}

#contactModal .modal-content {
  background: white;
  color: black;
  padding: 2rem;
  border-radius: 12px;
  width: 90%;
  max-width: 400px;
  position: relative;
}

#closeModal {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  background: none;
  border: none;
  font-size: 1.2rem;
  cursor: pointer;
}

#contactModal input,
#contactModal textarea {
  width: 100%;
  padding: 0.6rem;
  margin-bottom: 0.8rem;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-family: inherit;
  font-size: 1rem;
}

#contactModal button[type="submit"] {
  margin-top: 1rem;
  width: 100%;
  padding: 0.6rem;
  background: var(--brand-blue);
  color: white;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
}

#contactConfirm {
  display: none;
  margin-top: 1rem;
  font-size: 0.95rem;
  color: var(--brand-light);
  font-weight: 600;
  text-align: center;
}

@media (max-width: 768px) {
  h1 {
    font-size: 1.8rem;
  }

  p.description {
    font-size: 1rem;
    padding: 0 1rem;
  }

  .store-btn {
    width: 150px;
    height: 50px;
  }

  .screenshots img {
    width: 160px;
  }
}

@media (max-width: 480px) {
  h1 {
    font-size: 1.5rem;
  }

  p.description {
    font-size: 0.95rem;
  }

  .screenshots {
    flex-direction: column;
    align-items: center;
  }

  .screenshots img {
    width: 90%;
    max-width: 280px;
  }
}

/* Insignia “Lanzamiento próximamente” */
.badge-coming {
  display: inline-block;
  margin: 0.3rem 0 1rem;
  padding: 0.35rem 0.75rem;
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 999px;
  font-size: 0.9rem;
  letter-spacing: 0.3px;
  color: #fff;
  background: linear-gradient(135deg, rgba(255,255,255,0.08), rgba(255,255,255,0.02));
  backdrop-filter: blur(6px);
}

/* Botones de tienda en modo “próximamente” */
.buttons-soon .store-btn {
  position: relative;
  overflow: hidden;
}
.store-btn.disabled {
  cursor: not-allowed;
  filter: grayscale(0.2) opacity(0.9);
  transform: none !important;
}
.store-btn.disabled:hover {
  box-shadow: none;
  transform: none;
}
.store-btn .soon-label {
  position: absolute;
  bottom: 6px;
  right: 8px;
  font-size: 0.72rem;
  padding: 0.2rem 0.5rem;
  border-radius: 6px;
  background: rgba(0,0,0,0.5);
  border: 1px solid rgba(255,255,255,0.15);
  color: #fff;
}

/* Formulario “Avísame” */
.notify-form {
  margin: 1.5rem auto 0;
  max-width: 560px;
  text-align: left;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 12px;
  padding: 1rem;
  box-shadow: 0 8px 24px rgba(0,0,0,0.25);
}
.notify-form label {
  display: block;
  font-size: 0.95rem;
  margin-bottom: 0.6rem;
  color: #e8e8e8;
}
.notify-row {
  display: flex;
  gap: 0.6rem;
}
.notify-row input[type="email"] {
  flex: 1;
  padding: 0.7rem 0.9rem;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.15);
  background: rgba(0,0,0,0.25);
  color: #fff;
  outline: none;
}
.notify-row input[type="email"]::placeholder {
  color: #cfd7e3;
  opacity: 0.9;
}
.notify-row button {
  padding: 0.7rem 1rem;
  border-radius: 10px;
  border: none;
  font-weight: 700;
  cursor: pointer;
  background: linear-gradient(135deg, var(--brand-blue), #2a68d7);
  color: #fff;
  transition: transform 0.15s ease;
}
.notify-row button:hover {
  transform: translateY(-1px);
}
.notify-legal {
  display: block;
  margin-top: 0.6rem;
  opacity: 0.8;
  font-size: 0.8rem;
}

/* Responsive */
@media (max-width: 520px) {
  .notify-row { flex-direction: column; }
  .notify-row button { width: 100%; }
}

