  :root {
            --primary-color: #ff6b6b;
            --secondary-color: #ff8e8e;
            --accent-color: #ffb3b3;
            --text-color: #333;
            --light-text: #fff;
            --bg-gradient: linear-gradient(135deg, #ff9a9e 0%, #fad0c4 100%);
        }
        
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }
        
        body {
            font-family: 'Poppins', sans-serif;
            color: var(--text-color);
            background: var(--bg-gradient);
            min-height: 100vh;
            overflow-x: hidden;
            position: relative;
            z-index: -20;
        }
        
        /* Estilo del encabezado */
        .hero {
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            min-height: 100vh;
            padding: 2rem;
            text-align: center;
            position: relative;
            z-index: -11;
        }
        
        .hero::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(255, 255, 255, 0.7);
            z-index: -1;
        }
        
        .hero-content {
            max-width: 800px;
            padding: 2rem;
            background: rgba(255, 255, 255, 0.9);
            border-radius: 20px;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
            transform-style: preserve-3d;
            transition: all 0.5s ease;
        }
        
        .hero-content:hover {
            transform: translateY(-5px) scale(1.01);
            box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
        }
        
        .hero-title {
            font-family: 'Dancing Script', cursive;
            font-size: 3.5rem;
            color: var(--primary-color);
            margin-bottom: 1rem;
            text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
            animation: fadeInDown 1s both;
        }
        
        .hero-subtitle {
            font-size: 1.5rem;
            margin-bottom: 2rem;
            color: var(--text-color);
            animation: fadeIn 1.5s both 0.3s;
        }
        
        .hero-image {
            width: 100%;
            max-width: 500px;
            height: auto;
            border-radius: 15px;
            margin: 1.5rem 0;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
            transition: transform 0.5s ease;
            animation: fadeIn 2s both 0.6s;
        }
        
        .hero-image:hover {
            transform: scale(1.03);
        }
        
        /* Botón CTA */
        .cta-button {
            cursor: pointer;
            display: inline-block;
            padding: 0.8rem 2rem;
            background: var(--primary-color);
            color: var(--light-text);
            text-decoration: none;
            border-radius: 50px;
            font-weight: 600;
            margin-top: 1rem;
            transition: all 0.3s ease;
            box-shadow: 0 4px 10px rgba(255, 107, 107, 0.4);
            animation: fadeInUp 1s both 0.9s;
        }
        
        .cta-button:hover {
            background: var(--secondary-color);
            transform: translateY(-3px);
            box-shadow: 0 7px 15px rgba(255, 107, 107, 0.5);
        }
        
        /* Galería de fotos */
        .photo-gallery {
            position: fixed;
            top: 0;
            right: 0;
            width: 250px;
            height: 100vh;
            overflow: hidden;
            z-index: -10;
            padding: 20px;
            background: rgba(255, 255, 255, 0.3);
            backdrop-filter: blur(5px);
            border-left: 1px solid rgba(255, 255, 255, 0.5);
        }
        
        .gallery-track {
            display: flex;
            flex-direction: column;
            gap: 15px;
            animation: scroll 30s linear infinite;
        }
        
        .gallery-item {
            width: 100%;
            border-radius: 10px;
            overflow: hidden;
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
            transition: transform 0.3s ease;
        }
        
        .gallery-item:hover {
            transform: scale(1.05);
        }
        
        .gallery-item img {
            width: 100%;
            height: auto;
            display: block;
        }
        
        /* Pie de página */
        .footer {
            text-align: center;
            padding: 2rem;
            background: rgba(255, 255, 255, 0.8);
            margin-top: auto;
            animation: fadeIn 2s both 1.2s;
        }
        
        .social-icons {
            display: flex;
            justify-content: center;
            gap: 1rem;
            margin-bottom: 1rem;
        }
        
        .social-icon {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 40px;
            height: 40px;
            background: var(--primary-color);
            color: white;
            border-radius: 50%;
            text-decoration: none;
            transition: all 0.3s ease;
        }
        
        .social-icon:hover {
            background: var(--secondary-color);
            transform: translateY(-3px);
        }
        
        .footer-text {
            font-size: 0.9rem;
            color: var(--text-color);
        }
        


        /* Felicitaciones */
          .menu-toggle {
        display: none;  
        }
        .greetings-container {
            position: fixed;
            top: 0;
            left: 0;
            width: 250px;
            height: 100vh;
            overflow-y: auto;
            padding: 20px;
            background: rgba(255, 255, 255, 0.3);
            backdrop-filter: blur(5px);
            border-right: 1px solid rgba(255, 255, 255, 0.5);
            z-index: 10;
        }
        
        .greetings-track {
            display: flex;
            flex-direction: column;
            gap: 15px;
        }
        
         
        .greeting-card {
          background: white;
          border-radius: 12px;
          padding: 15px;
          margin-bottom: 15px;
          box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
          position: relative;
          overflow: hidden;
          transition: transform 0.3s, box-shadow 0.3s;
        }
        
        .greeting-card:active {
          transform: scale(0.98);
        }
        
        .greeting-card::before {
          content: '';
          position: absolute;
          top: 0;
          left: 0;
          width: 4px;
          height: 100%;
          background: linear-gradient(to bottom, var(--primary-color), #ff9a9e);
        }

      
        .greeting-card:hover {
            transform: translateX(5px);
            box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
        }
        
        .greeting-card h3 {
            color: var(--primary-color);
            margin-bottom: 5px;
            font-size: 1.1rem;
        }
        
        .greeting-card .date {
            font-size: 0.8rem;
            color: #666;
            margin-bottom: 10px;
        }
        
        .greeting-card p {
            font-size: 0.9rem;
            line-height: 1.4;
            max-height: 120px; /* Limita la altura del contenido */
            overflow-y: auto; /* Habilita el scroll si el contenido excede el límite */
            word-wrap: break-word; /* Evita desbordes por palabras largas */
            overflow-wrap: break-word;
                }

        .greeting-card .message-content {
            font-size: 0.9rem;
            line-height: 1.4;
            max-height: 120px; /* Limita la altura del contenido */
            overflow-y: auto; /* Habilita el scroll si el contenido excede el límite */
            word-wrap: break-word; /* Evita desbordes por palabras largas */
            overflow-wrap: break-word;
        }
        /* Agregar un efecto para el scroll */
        .greeting-card .message-content::-webkit-scrollbar {
            width: 8px;
        }

        .greeting-card .message-content::-webkit-scrollbar-thumb {
            background-color: rgba(0, 0, 0, 0.2);
            border-radius: 10px;
        }

        .greeting-card .message-content::-webkit-scrollbar-track {
            background-color: transparent;
        }

        .cta-button.disabled {
          pointer-events: none;
          opacity: 0.6;
      }

                
@media (max-width: 768px) {
  .menu-toggle {
    position: fixed;
    top: 15px;
    left: 15px;
    display: flex;
    align-items: center;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.8);
    padding: 10px 15px;
    border-radius: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(5px);
    cursor: pointer;
    transition: all 0.3s ease;
  }
  
  .menu-toggle:hover {
    transform: scale(1.05);
  }
  
  .hamburger {
    width: 20px;
    height: 16px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    margin-right: 10px;
  }
  
  .hamburger span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--primary-color);
    transition: all 0.3s ease;
  }
  
  .hamburger.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }
  
  .hamburger.active span:nth-child(2) {
    opacity: 0;
  }
  
  .hamburger.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }
  
  .menu-text {
    font-weight: bold;
    color: var(--primary-color);
  }
  
  .greetings-container {
    position: fixed;
    top: 0;
    left: -100%;
    width: 85%;
    height: 100vh;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 5px 0 25px rgba(0, 0, 0, 0.1);
    z-index: 999;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 0;
    overflow-y: auto;
  }
  
  .greetings-container.active {
    left: 0;
  }
  
  .greetings-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background: linear-gradient(135deg, var(--primary-color), #ff6b6b);
    color: white;
    position: sticky;
    top: 0;
    z-index: 1;
  }
  
  .greetings-header h3 {
    margin: 0;
    font-size: 1.5rem;
  }
  
  .close-btn {
    font-size: 1.8rem;
    cursor: pointer;
    transition: transform 0.2s;
  }
  
  .close-btn:hover {
    transform: rotate(90deg);
  }
  
  .greetings-track {
    padding: 15px;
  }
 
  
  .confetti-effect {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    opacity: 0;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20"><path fill="%23ff6b6b" d="M10 15l-5.878 3.09 1.123-6.545L.489 6.91l6.572-.955L10 0l2.939 5.955 6.572.955-4.756 4.635 1.123 6.545z"/></svg>') repeat;
    transition: opacity 0.3s;
  }
  
  .greeting-card:hover .confetti-effect {
    opacity: 0.1;
  }
  
  .message-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
  }
  
  .message-name {
    font-weight: bold;
    color: var(--primary-color);
  }
  
  .date {
    font-size: 0.8rem;
    color: #888;
  }
  
  .message-content {
    font-size: 0.95rem;
    line-height: 1.5;
    color: #555;
    max-height: 150px;
    overflow-y: auto;
    padding-right: 5px;
  }
  
  /* Scrollbar personalizada */
  .message-content::-webkit-scrollbar {
    width: 4px;
  }
  
  .message-content::-webkit-scrollbar-thumb {
    background-color: rgba(0, 0, 0, 0.2);
    border-radius: 2px;
  }
}

/* Efecto de aparición para las tarjetas */
@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateX(-20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.greeting-card {
  animation: slideIn 0.4s forwards;
}

.greeting-card:nth-child(1) { animation-delay: 0.1s; }
.greeting-card:nth-child(2) { animation-delay: 0.2s; }
.greeting-card:nth-child(3) { animation-delay: 0.3s; }
.greeting-card:nth-child(4) { animation-delay: 0.4s; }
.greeting-card:nth-child(5) { animation-delay: 0.5s; }
        /* Animaciones */
        @keyframes scroll {
            0% {
                transform: translateY(0);
            }
            100% {
                transform: translateY(-50%);
            }
        }

        
        
        /* Responsive */
        @media (max-width: 1024px) {
            .photo-gallery {
                width: 180px;
            }
        }
        
        @media (max-width: 768px) {
            .photo-gallery {
                display: none;
            }
            
            .hero-title {
                font-size: 2.5rem;
            }
            
            .hero-subtitle {
                font-size: 1.2rem;
            }
        }