﻿/* ============================================
   INVITACIONES10 · Design System
   ============================================ */

:root {
  --pink:    #FF3D9A;
  --orange:  #FF8C42;
  --yellow:  #FFD23F;
  --teal:    #06D6A0;
  --violet:  #7B2FF7;
  --sky:     #4CC9F0;
  --ink:     #2b1a4a;
  --muted:   #6b5b8a;
  --white:   #ffffff;
  --shadow:    0 24px 60px rgba(123,47,247,.18);
  --shadow-sm: 0 10px 24px rgba(123,47,247,.12);
  --radius:    32px;
  --radius-sm: 16px;
}

* { box-sizing: border-box; }

body.fun {
  font-family: 'Nunito', system-ui, sans-serif;
  background: linear-gradient(135deg, #FFE5F4 0%, #E5F4FF 50%, #FFF4D9 100%);
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  overflow-x: hidden;
  position: relative;
}

.blob {
  position: fixed;
  border-radius: 50%;
  filter: blur(70px);
  opacity: .45;
  z-index: 0;
  pointer-events: none;
  animation: float 12s ease-in-out infinite;
}
.blob.b1 { width: 340px; height: 340px; background: var(--pink);   top: -90px;  left: -70px;  animation-delay: 0s; }
.blob.b2 { width: 300px; height: 300px; background: var(--violet); bottom: -70px; right: -50px; animation-delay: 2s; }
.blob.b3 { width: 260px; height: 260px; background: var(--yellow); top: 40%;   right: 18%;   animation-delay: 4s; }
.blob.b4 { width: 220px; height: 220px; background: var(--teal);   top: 15%;   left: 22%;    animation-delay: 6s; }

@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50%      { transform: translate(20px, -30px) scale(1.08); }
}

h1, h2, h3, .brand {
  font-family: 'Fredoka', system-ui, sans-serif;
  font-weight: 700;
  letter-spacing: -.5px;
}

h1.gradient {
  font-size: 46px;
  margin: 0 0 6px;
  background: linear-gradient(135deg, var(--pink), var(--violet));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.card {
  position: relative;
  z-index: 1;
  max-width: 480px;
  margin: 60px auto;
  background: var(--white);
  border-radius: var(--radius);
  padding: 40px 36px;
  box-shadow: var(--shadow);
  border: 3px solid var(--yellow);
}

.card.wide { max-width: 720px; }

.badge {
  display: inline-block;
  padding: 8px 16px;
  border-radius: 20px;
  background: var(--teal);
  color: var(--white);
  font-size: 13px;
  font-weight: 900;
  margin-bottom: 18px;
  box-shadow: 0 8px 20px rgba(6,214,160,.35);
  letter-spacing: .5px;
}

.badge.pink   { background: var(--pink);   box-shadow: 0 8px 20px rgba(255,61,154,.35); }
.badge.violet { background: var(--violet); box-shadow: 0 8px 20px rgba(123,47,247,.35); }

.field { margin-bottom: 18px; }

.field label {
  display: block;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--muted);
  font-weight: 800;
  margin-bottom: 8px;
}

.field input {
  width: 100%;
  padding: 14px 18px;
  border-radius: 14px;
  border: 2px solid #ece4f7;
  background: #faf7ff;
  color: var(--ink);
  font-size: 15px;
  font-family: inherit;
  font-weight: 600;
  outline: none;
  transition: all .2s ease;
}

.field input:focus {
  border-color: var(--violet);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(123,47,247,.12);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 24px;
  border: none;
  border-radius: 14px;
  font-family: inherit;
  font-weight: 800;
  font-size: 15px;
  cursor: pointer;
  text-decoration: none;
  transition: transform .12s ease, box-shadow .12s ease;
  width: 100%;
}

.btn-primary {
  background: linear-gradient(135deg, var(--pink), var(--violet));
  color: var(--white);
  box-shadow: 0 12px 26px rgba(123,47,247,.30);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 32px rgba(123,47,247,.40);
}

.btn-primary:active { transform: translateY(0); }

.btn-ghost {
  background: transparent;
  color: var(--violet);
  border: 2px solid #ece4f7;
  width: auto;
  padding: 12px 20px;
}

.btn-ghost:hover {
  border-color: var(--violet);
  background: #faf7ff;
}

.alert {
  padding: 14px 18px;
  border-radius: 14px;
  margin-bottom: 20px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.5;
}

.alert.error {
  background: #ffe5e8;
  color: #b80020;
  border-left: 5px solid #E63946;
}

.alert.success {
  background: #e6fff5;
  color: #05704a;
  border-left: 5px solid var(--teal);
}

.alert.info {
  background: #fff8e0;
  color: #8a6b00;
  border-left: 5px solid var(--yellow);
}

.link {
  color: var(--violet);
  text-decoration: none;
  font-weight: 800;
  transition: color .15s;
}
.link:hover { color: var(--pink); }

.footer-text {
  text-align: center;
  margin-top: 22px;
  font-size: 14px;
  color: var(--muted);
  font-weight: 600;
}

@media (max-width: 600px) {
  h1.gradient { font-size: 34px; }
  .card { margin: 30px 16px; padding: 28px 22px; }
}