* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    min-height: 100vh;
    background: linear-gradient(135deg, #fff5f7 0%, #ffe8f0 100%);
    font-family: 'Comic Neue', cursive;
    padding: 20px;
    opacity: 0;
    animation: fadeIn 1s ease forwards;
}
.container {
    max-width: 700px;
    margin: 40px auto;
    position: relative;
}
.main-card {
    background: white;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 8px 30px rgba(255, 77, 130, 0.2);
    border: 3px solid #ffc8dd;
    position: relative;
    overflow: hidden;
}
.main-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 200, 221, 0.1) 0%, transparent 70%);
    animation: pulse 4s ease-in-out infinite;
    pointer-events: none;
}
.title {
    font-size: 32px;
    color: #ff4d82;
    text-align: center;
    margin-bottom: 30px;
    position: relative;
    z-index: 1;
}
.message-box {
    background: #fffafb;
    border-radius: 15px;
    padding: 25px;
    margin-bottom: 20px;
    border: 2px dashed #ffc8dd;
    position: relative;
    z-index: 1;
    transition: transform 0.3s ease;
}
.message-box:hover {
    transform: translateY(-3px);
}
.message {
    font-size: 18px;
    color: #555;
    line-height: 1.8;
    margin-bottom: 15px;
}
.pink-text {
    color: #ff4d82;
    font-weight: bold;
}
.green-text {
    color: #66bb6a;
    font-weight: bold;
}
.interactive-section {
    margin: 30px 0;
    text-align: center;
}
.flower-container {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 30px 0;
    flex-wrap: wrap;
}
.flower {
    font-size: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    filter: grayscale(100%);
    opacity: 0.5;
}
.flower.bloomed {
    filter: grayscale(0%);
    opacity: 1;
    animation: bloom 0.5s ease;
}
.flower:hover {
    transform: scale(1.2) rotate(10deg);
}
.promise-cards {
    display: grid;
    gap: 15px;
    margin: 30px 0;
}
.promise-card {
    background: linear-gradient(135deg, #fff 0%, #fffafb 100%);
    border: 2px solid #ffc8dd;
    border-radius: 15px;
    padding: 20px;
    cursor: pointer;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}
.promise-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 77, 130, 0.1), transparent);
    transition: left 0.5s ease;
}
.promise-card:hover::before {
    left: 100%;
}
.promise-card:hover {
    transform: translateX(10px);
    border-color: #ff4d82;
    box-shadow: 0 5px 20px rgba(255, 77, 130, 0.3);
}
.promise-card h3 {
    color: #ff4d82;
    margin-bottom: 10px;
    font-size: 20px;
}
.promise-card p {
    color: #666;
    font-size: 16px;
    line-height: 1.6;
}
.heart-button {
    background: linear-gradient(135deg, #ff4d82, #ff8fab);
    color: white;
    border: none;
    padding: 15px 40px;
    border-radius: 50px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 77, 130, 0.3);
    margin: 20px auto;
    display: block;
}
.heart-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(255, 77, 130, 0.5);
}
.floating-hearts {
    position: fixed;
    font-size: 30px;
    opacity: 0;
    pointer-events: none;
    z-index: 9999;
    animation: floatUp 3s ease-out forwards;
}
.message-reveal {
    background: linear-gradient(135deg, #ff4d82, #ff8fab);
    color: white;
    padding: 30px;
    border-radius: 20px;
    margin: 30px 0;
    text-align: center;
    font-size: 22px;
    font-weight: bold;
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.5s ease;
}
.message-reveal.show {
    opacity: 1;
    transform: scale(1);
}
.instruction {
    text-align: center;
    color: #ff4d82;
    font-size: 16px;
    margin: 20px 0;
    font-style: italic;
}
.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;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}
.back-button:hover {
    background: #fffafb;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}

::selection {
    background: #ff4d82;
    color: white;
}
::-moz-selection {
    background: #ff4d82;
    color: white;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes pulse {
    0%, 100% { transform: scale(1) rotate(0deg); }
    50% { transform: scale(1.1) rotate(5deg); }
}
@keyframes bloom {
    0% { transform: scale(0) rotate(0deg); }
    50% { transform: scale(1.3) rotate(180deg); }
    100% { transform: scale(1) rotate(360deg); }
}
@keyframes floatUp {
    0% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
    100% {
        opacity: 0;
        transform: translateY(-200px) scale(1.5);
    }
}
@media (max-width: 768px) {
    .main-card {
        padding: 25px;
    }
    .title {
        font-size: 26px;
    }
    .message {
        font-size: 16px;
    }
    .flower {
        font-size: 40px;
    }
}