/* Reset y configuración base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Playfair Display", serif;
  background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 50%, #2d2d2d 100%);
  color: #f4e4bc;
  overflow-x: hidden;
  min-height: 100vh;
  position: relative;
}

.container {
  position: relative;
  min-height: 100vh;
  padding: 20px;
}

/* Efectos de fondo */
.background-effects {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.smoke {
  position: absolute;
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.1) 0%,
    transparent 70%
  );
  border-radius: 50%;
  animation: smokeFloat 8s infinite ease-in-out;
}

.smoke1 {
  width: 200px;
  height: 200px;
  top: 20%;
  left: 10%;
  animation-delay: 0s;
}

.smoke2 {
  width: 150px;
  height: 150px;
  top: 60%;
  right: 15%;
  animation-delay: 3s;
}

.smoke3 {
  width: 180px;
  height: 180px;
  bottom: 20%;
  left: 30%;
  animation-delay: 6s;
}

@keyframes smokeFloat {
  0%,
  100% {
    transform: translateY(0px) rotate(0deg);
    opacity: 0.3;
  }
  50% {
    transform: translateY(-20px) rotate(180deg);
    opacity: 0.6;
  }
}

/* Elementos flotantes */
.floating-elements {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1001;
}

.floating-key {
  position: absolute;
  top: 55%;
  right: 50%;
  font-size: 3rem;
  cursor: pointer;
  pointer-events: all;
  animation: keyFloat 4s infinite ease-in-out;
  transition: transform 0.3s ease;
  z-index: 1002;
}

.floating-key:hover {
  transform: scale(1.2) rotate(10deg);
  filter: drop-shadow(0 0 20px #d4af37);
}

.key {
  filter: drop-shadow(0 0 10px #d4af37);
}

.floating-bottle {
  position: absolute;
  top: 20%;
  left: 10%;
  font-size: 2.7rem;
  animation: bottleFloat 5s infinite ease-in-out;
  animation-delay: 1s;
  opacity: 0.3;
}

.floating-bowtie {
  position: absolute;
  top: 70%;
  left: 20%;
  font-size: 2rem;
  animation: bowtieFloat 3.5s infinite ease-in-out;
  animation-delay: 2s;
}

.floating-cards {
  position: absolute;
  bottom: 15%;
  left: 20%;
  font-size: 3rem;
  animation: cardsFloat 4.5s infinite ease-in-out;
  animation-delay: 0.5s;
  opacity: 0.4;
}

.floating-compass {
  position: absolute;
  bottom: 25%;
  right: 25%;
  font-size: 2.8rem;
  animation: compassFloat 6s infinite ease-in-out;
  animation-delay: 1.5s;
  opacity: 0.3;
}

/* Animaciones de flotación */
@keyframes keyFloat {
  0%,
  100% {
    transform: translateY(0px) rotate(0deg);
  }
  25% {
    transform: translateY(-15px) rotate(5deg);
  }
  50% {
    transform: translateY(-10px) rotate(-3deg);
  }
  75% {
    transform: translateY(-20px) rotate(8deg);
  }
}

@keyframes bottleFloat {
  0%,
  100% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-25px) rotate(10deg);
  }
}

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

@keyframes cardsFloat {
  0%,
  100% {
    transform: translateY(0px) rotate(0deg);
  }
  33% {
    transform: translateY(-15px) rotate(3deg);
  }
  66% {
    transform: translateY(-10px) rotate(-2deg);
  }
}

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

/* Contenido principal */
.main-content {
  position: relative;
  z-index: 5;
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  padding: 40px 20px;
}

.vintage-header {
  margin-bottom: 40px;
}

.main-title {
  font-family: "Limelight", cursive;
  font-size: 4rem;
  font-weight: 400;
  background: linear-gradient(45deg, #ffd700, #ffed4e, #ffd700, #b8860b);
  background-size: 300% 300%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.9), 0 0 20px rgba(255, 215, 0, 0.6);
  margin-bottom: 10px;
  letter-spacing: 4px;
  text-transform: uppercase;
  animation: titleGlow 3s infinite ease-in-out,
    goldShimmer 4s infinite ease-in-out;
}

@keyframes titleGlow {
  0%,
  100% {
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.9), 0 0 20px rgba(255, 215, 0, 0.5);
  }
  50% {
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.9), 0 0 40px rgba(255, 215, 0, 0.8);
  }
}

@keyframes goldShimmer {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

.subtitle {
  font-family: "Limelight", cursive;
  font-size: 1.5rem;
  font-weight: 400;
  /* background: linear-gradient(45deg, #ffd700, #ffed4e, #b8860b); */
  background-size: 200% 200%;
  -webkit-background-clip: text;
  /* -webkit-text-fill-color: transparent; */
  background-clip: text;
  margin-bottom: 20px;
  letter-spacing: 3px;
  text-transform: uppercase;
  animation: goldShimmer 3s infinite ease-in-out;
  color: #6e5252;
}

.vintage-border {
  width: 200px;
  height: 3px;
  background: linear-gradient(
    90deg,
    transparent,
    #ffd700,
    #ffed4e,
    #ffd700,
    transparent
  );
  margin: 0 auto;
  position: relative;
  box-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

.vintage-border::before,
.vintage-border::after {
  content: "";
  position: absolute;
  top: -5px;
  width: 10px;
  height: 13px;
  background: linear-gradient(45deg, #ffd700, #ffed4e);
  border-radius: 50%;
  box-shadow: 0 0 8px rgba(255, 215, 0, 0.6);
}

.vintage-border::before {
  left: -5px;
}

.vintage-border::after {
  right: -5px;
}

/* Texto de invitación */
.invitation-text {
  margin: 40px 0;
  padding: 30px;
  background: rgba(0, 0, 0, 0.5);
  border: 2px solid transparent;
  background-clip: padding-box;
  border-radius: 15px;
  backdrop-filter: blur(10px);
  position: relative;
}

/* .invitation-text::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 15px;
  padding: 2px;
  background: linear-gradient(45deg, #ffd700, #ffed4e, #b8860b, #ffd700);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: exclude;
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
} */

.secret-entry {
  font-family: "Limelight", cursive;
  font-size: 1.8rem;
  font-weight: 400;
  background-clip: text;
  margin-bottom: 20px;
  letter-spacing: 1px;
  animation: goldShimmer 3s infinite ease-in-out;
  color: #94947d;
}

.password-hint {
  font-family: "Oswald", sans-serif;
  font-size: 1.4rem;
  color: #c9a96e;
  margin-bottom: 20px;
  font-weight: 300;
  letter-spacing: 1px;
}

.key-instruction {
  font-family: "Oswald", sans-serif;
  font-size: 0.7rem;
  color: #414141;
  font-style: normal;
  font-weight: 300;
  letter-spacing: 1px;
  animation: pulse 2s infinite;
}

/* Cuenta atrás */
.countdown-container {
  margin: 30px 0;
  padding: 20px;
  background: rgba(0, 0, 0, 0.4);
  border-radius: 15px;
  border: 1px solid rgba(255, 215, 0, 0.3);
  text-align: center;
}

.countdown-title {
  font-family: "Limelight", cursive;
  font-size: 1.5rem;
  color: #94947d;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.countdown {
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
}

.countdown-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 80px;
}

.countdown-number {
  font-family: "Oswald", sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: #94947d;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
  animation: goldShimmer 3s infinite ease-in-out;
  line-height: 1;
}

.countdown-label {
  font-family: "Oswald", sans-serif;
  font-size: 0.9rem;
  color: #c9a96e;
  margin-top: 5px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Información de contacto */
.contact-info {
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 215, 0, 0.3);
}

.contact-novio,
.contact-novia {
  font-family: "Oswald", sans-serif;
  font-size: 1rem;
  color: #c9a96e;
  margin: 10px 0;
  padding: 8px 15px;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 8px;
  border-left: 3px solid #ffd700;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
}

.contact-novio:hover,
.contact-novia:hover {
  background: rgba(255, 215, 0, 0.1);
  border-left-color: #ffed4e;
  transform: translateX(5px);
  box-shadow: 0 2px 10px rgba(255, 215, 0, 0.2);
}

@keyframes pulse {
  0%,
  100% {
    opacity: 0.7;
  }
  50% {
    opacity: 1;
  }
}

/* Información del evento */
.secret-info {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: linear-gradient(
    135deg,
    rgba(0, 0, 0, 0.95),
    rgba(10, 10, 10, 0.98)
  );
  backdrop-filter: blur(20px);
  z-index: 1000;
  animation: fullscreenReveal 1s ease-in-out;
  justify-content: center;
  align-items: center;
  overflow: scroll;
}

.secret-info.revealed {
  display: flex;
}

@keyframes fullscreenReveal {
  0% {
    opacity: 0;
    transform: scale(0.8);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes fadeIn {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes reveal {
  0% {
    opacity: 0;
    transform: scale(0.8) rotateY(90deg);
  }
  100% {
    opacity: 1;
    transform: scale(1) rotateY(0deg);
  }
}

.secret-content {
  position: relative;
  max-width: 600px;
  width: 90%;
  padding: 50px;
  background: linear-gradient(
    135deg,
    rgba(255, 215, 0, 0.15),
    rgba(184, 134, 11, 0.1)
  );
  border: 3px solid transparent;
  background-clip: padding-box;
  border-radius: 25px;
  backdrop-filter: blur(25px);
  text-align: center;
  box-shadow: 0 0 50px rgba(255, 215, 0, 0.4);
  max-height: 100vh;
  overflow: scroll;
}

/* .secret-content::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 25px;
  padding: 3px;
  background: linear-gradient(45deg, #ffd700, #ffed4e, #b8860b, #ffd700);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: exclude;
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
} */

.secret-content h2 {
  font-family: "Limelight", cursive;
  font-size: 3.5rem;
  font-weight: 400;
  background: linear-gradient(45deg, #ffd700, #ffed4e, #ffd700, #b8860b);
  background-size: 300% 300%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 40px;
  text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.9);
  text-transform: uppercase;
  letter-spacing: 3px;
  animation: goldShimmer 4s infinite ease-in-out;
}

.event-details {
  text-align: left;
  max-width: 500px;
  margin: 0 auto;
}

.event-details p {
  font-size: 1.8rem;
  margin: 0 0 20px 0;
  padding: 15px;
  background: rgba(0, 0, 0, 0.5);
  border-radius: 15px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  width: 100%;
  text-align: center;
}

.event-detail-block {
  margin: 18px 0 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.event-label {
  font-size: 0.95rem;
  color: #b3a07a;
  font-family: "Oswald", sans-serif;
  font-weight: 400;
  margin-bottom: 2px;
  letter-spacing: 0.5px;
  opacity: 0.8;
}

.event-main {
  font-size: 1.25rem;
  color: #f4e4bc;
  font-family: "Playfair Display", serif;
  font-weight: 500;
  margin-left: 0;
  margin-bottom: 0;
}

.event-main.password-text {
  color: #9e8c5f;
  font-size: 1.1rem;
  font-weight: bold;
  animation: goldShimmer 2s infinite ease-in-out;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.9);
}

.password-text {
  font-weight: bold;
  font-size: 1.2em;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.9);
  animation: goldShimmer 2s infinite ease-in-out;
  color: #9e8c5f;
}

/* Botón de cerrar */
.close-button {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 50px;
  height: 50px;
  background: rgba(212, 175, 55, 0.2);
  border: 2px solid #d4af37;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: #d4af37;
  cursor: pointer;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.close-button:hover {
  background: rgba(212, 175, 55, 0.4);
  transform: scale(1.1);
  box-shadow: 0 0 20px rgba(212, 175, 55, 0.5);
}

/* Responsive */
@media (max-width: 768px) {
  .main-title {
    font-size: 2.5rem;
    letter-spacing: 2px;
  }

  .subtitle {
    font-size: 1.2rem;
    letter-spacing: 2px;
  }

  .secret-entry {
    font-size: 1.5rem;
  }

  .countdown-title {
    font-size: 1.2rem;
  }

  .countdown-number {
    font-size: 2rem;
  }

  .countdown-label {
    font-size: 0.8rem;
  }

  .countdown-item {
    min-width: 60px;
  }

  .contact-novio,
  .contact-novia {
    font-size: 0.9rem;
    padding: 6px 12px;
  }

  .floating-key {
    font-size: 3rem;
    top: 65%;
    right: 50%;
  }

  .floating-bottle,
  .floating-bowtie,
  .floating-compass {
    font-size: 1.8rem;
  }

  .secret-content {
    padding: 30px;
    width: 95%;
  }

  .secret-content h2 {
    font-size: 2.5rem;
    letter-spacing: 2px;
  }

  .secret-entry {
    font-size: 1.5rem;
  }

  .password-hint {
    font-size: 1.2rem;
  }

  .event-details p {
    font-size: 1.4rem;
    padding: 12px;
  }

  .close-button {
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
  }
}

p.location a {
  color: inherit;
  text-decoration: none;
}
