:root {
    --primary-color: #ff4d6d;
    --primary-glow: rgba(255, 77, 109, 0.5);
    --secondary-color: #ff8fa3;
    --bg-dark: #0a0508;
    --card-bg: rgba(255, 255, 255, 0.05);
    --card-border: rgba(255, 255, 255, 0.1);
}

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

body {
    background-color: var(--bg-dark);
    color: #ffffff;
    font-family: 'Montserrat', sans-serif;
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
    background-image: 
        radial-gradient(circle at 10% 20%, rgba(255, 77, 109, 0.1) 0%, transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(255, 215, 0, 0.05) 0%, transparent 40%);
}

#stars-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.star {
    position: absolute;
    background: white;
    border-radius: 50%;
    animation: twinkle infinite alternate ease-in-out;
}

@keyframes twinkle {
    0% { opacity: 0.2; transform: scale(0.8); box-shadow: 0 0 2px white; }
    100% { opacity: 1; transform: scale(1.2); box-shadow: 0 0 8px white, 0 0 15px var(--primary-glow); }
}

.menu-header {
    text-align: center;
    padding: 60px 20px 40px;
    position: relative;
    z-index: 10;
}

.menu-title {
    font-family: 'Dancing Script', cursive;
    font-size: 4.5rem;
    color: var(--primary-color);
    text-shadow: 0 0 20px var(--primary-glow);
    margin-bottom: 10px;
    animation: float 4s ease-in-out infinite;
}

.menu-subtitle {
    font-size: 1.2rem;
    color: #ffd0d6;
    font-weight: 300;
    letter-spacing: 2px;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 35px;
    padding: 0 5vw 80px;
    max-width: 1300px;
    margin: 0 auto;
    position: relative;
    z-index: 10;
}

.gift-card {
    text-decoration: none;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 20px;
    overflow: hidden;
    backdrop-filter: blur(10px);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    flex-direction: column;
    box-shadow: 0 15px 35px rgba(0,0,0,0.4);
}

.gift-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 25px 50px rgba(0,0,0,0.6), 0 0 20px var(--primary-glow);
    border-color: rgba(255, 77, 109, 0.4);
}

.gift-card.disabled {
    opacity: 0.6;
    cursor: not-allowed;
    filter: grayscale(0.5);
}

.gift-card.disabled:hover {
    transform: none;
    box-shadow: 0 15px 35px rgba(0,0,0,0.4);
    border-color: var(--card-border);
}

.gift-image-wrapper {
    position: relative;
    width: 100%;
    height: 220px;
    overflow: hidden;
}

.gift-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.gift-card:hover .gift-image-wrapper img {
    transform: scale(1.1);
}

.gift-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to top, rgba(10,5,8,0.9), transparent);
    display: flex;
    justify-content: flex-end;
    align-items: flex-end;
    padding: 20px;
}

.gift-icon {
    font-size: 2.5rem;
    filter: drop-shadow(0 0 10px rgba(255,255,255,0.5));
    transition: transform 0.4s bounce;
}

.gift-card:hover .gift-icon {
    transform: scale(1.2) rotate(10deg);
}

.gift-content {
    padding: 25px 20px;
    background: linear-gradient(to top, rgba(0,0,0,0.5), transparent);
}

.gift-content h2 {
    color: white;
    font-size: 1.6rem;
    margin-bottom: 8px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
}

.gift-content p {
    color: #c0c0c0;
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Modales para los regalos en construcción */
#modal-overlay {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.8);
    backdrop-filter: blur(5px);
    z-index: 100;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

#modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.modal-box {
    background: var(--bg-dark);
    border: 1px solid var(--primary-glow);
    border-radius: 24px;
    padding: 40px;
    text-align: center;
    max-width: 400px;
    width: 90%;
    transform: scale(0.8) translateY(30px);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 20px 40px rgba(0,0,0,0.7), 0 0 30px var(--primary-glow);
}

#modal-overlay.active .modal-box {
    transform: scale(1) translateY(0);
}

.modal-icon {
    font-size: 4rem;
    margin-bottom: 15px;
    animation: float 3s ease-in-out infinite;
}

.modal-title {
    font-family: 'Dancing Script', cursive;
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.modal-text {
    color: #ddd;
    line-height: 1.6;
    margin-bottom: 25px;
}

.close-btn {
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 30px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
}

.close-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px var(--primary-glow);
}

@media (max-width: 768px) {
    .menu-title { font-size: 3.5rem; }
    .menu-grid { padding: 0 20px 60px; gap: 25px; }
}

@media (max-width: 480px) {
    .menu-title { font-size: 2.8rem; line-height: 1.1; margin-bottom: 5px; }
    .menu-subtitle { font-size: 1rem; padding: 0 10px; }
    .menu-header { padding: 40px 15px 30px; }
    
    .menu-grid { padding: 0 15px 40px; gap: 20px; grid-template-columns: 1fr; }
    .gift-image-wrapper { height: 180px; }
    .gift-icon { font-size: 2rem; }
    .gift-content { padding: 20px; }
    .gift-content h2 { font-size: 1.4rem; }
    .gift-content p { font-size: 0.9rem; }
    
    .modal-box { padding: 30px 20px; }
    .modal-icon { font-size: 3rem; }
    .modal-title { font-size: 2.2rem; }
    .modal-text { font-size: 0.95rem; }
    .close-btn { padding: 10px 25px; }
}

.modal-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 10px;
}

.btn-yes {
    background: linear-gradient(45deg, #4caf50, #81c784);
}

.btn-no {
    background: linear-gradient(45deg, #f44336, #e57373);
}
