
@import url('https://fonts.googleapis.com/css2?family=Comic+Neue:ital,wght@0,400;0,700;1,400&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    min-height: 100vh;
    background: #fff5f7;
    font-family: 'Comic Neue', cursive;
    padding: 20px;
    line-height: 1.5;
}
.container {
    max-width: 600px;
    margin: 40px auto;
    padding: 20px;
    position: relative;
}
.photo-frame {
    background: white;
    padding: 10px;
    border-radius: 5px;
    box-shadow: 3px 3px 0px #c8e6c9;
    margin-bottom: 30px;
    border: 2px solid #ffc8dd;
    text-align: center;
    position: relative;
}
.photo {
    width: 100%;
    max-width: 300px;
    height: auto;
    border-radius: 3px;
    border: 3px solid white;
    box-shadow: 0 0 0 1px #ffc8dd;
}
.photo-placeholder {
    padding: 40px 20px;
    background: #f8f9fa;
    border: 2px dashed #ffc8dd;
    border-radius: 5px;
    color: #ff85a2;
    text-align: center;
}
.message-container {
    background: white;
    border-radius: 10px;
    padding: 25px;
    box-shadow: 3px 3px 0px #c8e6c9;
    border: 2px solid #ffc8dd;
    position: relative;
}
.title {
    font-size: 28px;
    color: #ff4d82;
    margin-bottom: 15px;
    text-align: center;
}
.message {
    font-size: 18px;
    color: #555;
    margin-bottom: 15px;
}
.signature {
    text-align: right;
    font-style: italic;
    color: #ff4d82;
    margin-top: 20px;
}
.hearts {
    position: absolute;
    font-size: 20px;
    opacity: 0.7;
    z-index: -1;
}
.back-button {
    display: inline-block;
    background: white;
    border: 2px solid #ffc8dd;
    color: #ff4d82;
    padding: 8px 15px;
    border-radius: 20px;
    text-decoration: none;
    margin-bottom: 20px;
    font-size: 16px;
}
.back-button:hover {
    background: #fffafb;
}

.photo-frame:hover {
    transform: rotate(1deg);
    transition: transform 0.3s ease;
}
.message-container:hover {
    transform: translateY(-3px);
    transition: transform 0.3s ease;
}

.green-accent {
    color: #66bb6a;
    font-weight: bold;
}

.pink-accent {
    color: #ff4d82;
    font-weight: bold;
}

@media (max-width: 650px) {
    .container {
        padding: 10px;
        margin: 20px auto;
    }
    
    .title {
        font-size: 24px;
    }
    
    .message {
        font-size: 16px;
    }
}

/* Transición de entrada */
body {
    opacity: 0;
    animation: fadeIn 0.5s ease forwards;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}