*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --yellow:  #FFD93D;
  --orange:  #FF6B35;
  --pink:    #FF4D80;
  --blue:    #4ECDC4;
  --dark:    #1A1A2E;
  --darker:  #0F0F1A;
  --white:   #FFFDF7;
  --card-bg: #16213E;
}

body {
  font-family: 'Nunito', sans-serif;
  background-color: var(--darker);
  color: var(--white);
  min-height: 100vh;
  overflow-x: hidden;
}

.coin-bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.coin {
  position: absolute;
  font-size: 2rem;
  opacity: 0.08;
  animation: floatCoin 8s ease-in-out infinite;
}

.c1 { top: 10%; left: 5%;  animation-delay: 0s;   font-size: 2.5rem; }
.c2 { top: 20%; left: 90%; animation-delay: 1.2s; font-size: 1.8rem; }
.c3 { top: 50%; left: 8%;  animation-delay: 2.5s; font-size: 3rem;   }
.c4 { top: 60%; left: 85%; animation-delay: 0.8s; font-size: 2rem;   }
.c5 { top: 80%; left: 15%; animation-delay: 3s;   font-size: 2.2rem; }
.c6 { top: 35%; left: 95%; animation-delay: 1.8s; font-size: 1.6rem; }
.c7 { top: 90%; left: 75%; animation-delay: 0.4s; font-size: 2.8rem; }

@keyframes floatCoin {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50%       { transform: translateY(-20px) rotate(15deg); }
}

.wrapper {
  position: relative;
  z-index: 1;
  max-width: 860px;
  margin: 0 auto;
  padding: 2rem 1.5rem 4rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4rem;
}

.hero {
  text-align: center;
  padding-top: 3rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.badge {
  display: inline-block;
  background: var(--blue);
  color: var(--darker);
  font-weight: 800;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.35rem 1rem;
  border-radius: 999px;
}

.title {
  font-family: 'Fredoka One', cursive;
  font-size: clamp(3.5rem, 12vw, 7rem);
  line-height: 1;
  color: var(--yellow);
  text-shadow: 4px 4px 0 var(--orange), 8px 8px 0 rgba(255,107,53,0.3);
}

.title span {
  color: var(--orange);
  text-shadow: 4px 4px 0 var(--pink), 8px 8px 0 rgba(255,77,128,0.3);
}

.tagline {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.7);
  max-width: 400px;
  line-height: 1.6;
}

.tagline strong { color: var(--yellow); }

.screenshot-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  width: 100%;
}

.screenshot-frame {
  position: relative;
  width: 100%;
  max-width: 680px;
  border-radius: 20px;
  overflow: hidden;
  border: 4px solid var(--yellow);
  box-shadow: 0 0 0 8px rgba(255,217,61,0.15), 0 20px 60px rgba(0,0,0,0.6);
}

.screenshot {
  display: block;
  width: 100%;
  height: auto;
  min-height: 200px;
  background: var(--card-bg);
  object-fit: cover;
}

.screen-shine {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.06) 0%, transparent 50%);
  pointer-events: none;
}

.screenshot-label {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.4);
  font-weight: 600;
}

.about {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.2rem;
  width: 100%;
}

.card {
  background: var(--card-bg);
  border: 2px solid rgba(255,255,255,0.07);
  border-radius: 18px;
  padding: 1.8rem 1.4rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  transition: transform 0.2s, border-color 0.2s;
}

.card:hover {
  transform: translateY(-6px);
  border-color: var(--yellow);
}

.card .icon { font-size: 2.4rem; }

.card h3 {
  font-family: 'Fredoka One', cursive;
  font-size: 1.2rem;
  color: var(--yellow);
}

.card p {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.5;
}

.download-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.8rem;
}

.download-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: var(--yellow);
  color: var(--darker);
  font-family: 'Fredoka One', cursive;
  font-size: 1.4rem;
  padding: 1rem 2.5rem;
  border-radius: 999px;
  text-decoration: none;
  box-shadow: 0 6px 0 var(--orange), 0 10px 30px rgba(255,217,61,0.25);
  transition: transform 0.15s, box-shadow 0.15s;
}

.download-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 9px 0 var(--orange), 0 16px 40px rgba(255,217,61,0.35);
}

.download-btn:active {
  transform: translateY(2px);
  box-shadow: 0 3px 0 var(--orange), 0 6px 20px rgba(255,217,61,0.2);
}

.download-note {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.35);
  font-weight: 600;
  letter-spacing: 0.05em;
}

footer {
  text-align: center;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.25);
}

footer strong { color: rgba(255,255,255,0.5); }

@media (max-width: 500px) {
  .title { font-size: 3.2rem; }
  .download-btn { font-size: 1.2rem; padding: 0.9rem 2rem; }
  .contact-form { padding: 1.4rem 1rem; }
}

/* ── CONTROLES ──────────────────────────────── */
.controls-section {
  width: 100%;
  max-width: 560px;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.controls-title {
  font-family: 'Fredoka One', cursive;
  font-size: 2rem;
  color: var(--yellow);
  text-align: center;
  margin-bottom: 0.25rem;
}

.controls-sub {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.35);
  text-align: center;
  margin-bottom: 0.6rem;
}

.ctrl-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.75rem 1rem;
  border-radius: 12px;
  border: 1.5px solid rgba(255,255,255,0.06);
  background: rgba(255,255,255,0.03);
  transition: border-color 0.2s, transform 0.15s;
}

.ctrl-row:hover {
  border-color: var(--yellow);
  transform: translateX(4px);
}

.key-box {
  display: flex;
  align-items: center;
  gap: 6px;
  width: 110px;
  justify-content: flex-end;
  flex-shrink: 0;
}

.key {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--darker);
  border: 1.5px solid rgba(255,255,255,0.2);
  border-bottom: 3px solid rgba(255,255,255,0.08);
  border-radius: 7px;
  height: 34px;
  min-width: 34px;
  padding: 0 10px;
  font-family: 'Fredoka One', cursive;
  font-size: 0.9rem;
  color: var(--yellow);
  white-space: nowrap;
  box-shadow: 0 2px 6px rgba(0,0,0,0.4);
}

.key-wide {
  font-size: 0.8rem;
  letter-spacing: 0.04em;
}

.divider-v {
  width: 1px;
  height: 36px;
  background: rgba(255,255,255,0.1);
  flex-shrink: 0;
}

.ctrl-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.ctrl-action {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--white);
}

.ctrl-desc {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.3);
}

.ctrl-sep {
  height: 1px;
  background: rgba(255,255,255,0.06);
  margin: 0.2rem 0;
}

/* ── CONTACTO ─────────────────────────────── */
.contact-section {
  width: 100%;
  max-width: 560px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.4rem;
}

.contact-title {
  font-family: 'Fredoka One', cursive;
  font-size: 2rem;
  color: var(--yellow);
  text-align: center;
}

.contact-title span {
  color: var(--orange);
}

.contact-sub {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.5);
  text-align: center;
  margin-top: -0.8rem;
}

.contact-form {
  width: 100%;
  background: var(--card-bg);
  border: 2px solid rgba(255,255,255,0.07);
  border-radius: 20px;
  padding: 2rem 1.8rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-group label {
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--yellow);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.form-group input,
.form-group textarea {
  background: rgba(255,255,255,0.05);
  border: 2px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  padding: 0.75rem 1rem;
  color: var(--white);
  font-family: 'Nunito', sans-serif;
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.2s, background 0.2s;
  width: 100%;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--yellow);
  background: rgba(255,217,61,0.05);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(255,255,255,0.25);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.submit-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: var(--yellow);
  color: var(--darker);
  font-family: 'Fredoka One', cursive;
  font-size: 1.2rem;
  padding: 0.85rem 2rem;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  box-shadow: 0 5px 0 var(--orange), 0 8px 24px rgba(255,217,61,0.2);
  transition: transform 0.15s, box-shadow 0.15s;
  margin-top: 0.4rem;
}

.submit-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 0 var(--orange), 0 14px 32px rgba(255,217,61,0.3);
}

.submit-btn:active {
  transform: translateY(2px);
  box-shadow: 0 2px 0 var(--orange);
}

.form-success {
  display: none;
  width: 100%;
  text-align: center;
  padding: 1.5rem;
  background: rgba(78,205,196,0.1);
  border: 2px solid var(--blue);
  border-radius: 14px;
  color: var(--blue);
  font-weight: 800;
  font-size: 1rem;
  flex-direction: column;
  gap: 0.4rem;
}

.form-success.visible {
  display: flex;
}

.form-success .big {
  font-size: 2rem;
}

.form-success .sub {
  font-weight: 400;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.5);
}
.play-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.play-btn {
  display: inline-block;
  background: var(--yellow);
  color: var(--darker);
  font-family: 'Fredoka One', cursive;
  font-size: 1.5rem;
  padding: 1rem 2.5rem;
  border-radius: 999px;
  text-decoration: none;
  box-shadow: 0 6px 0 var(--orange), 0 10px 30px rgba(255,217,61,0.25);
  transition: transform 0.15s, box-shadow 0.15s;
}

.play-btn:hover {
  transform: translateY(-3px);
}

.play-btn:active {
  transform: translateY(2px);
}