body {
    margin: 0;
    padding: 0;
    font-family: 'Arial', sans-serif;
    background-color: #fff0f5;
    color: #333;
    overflow: hidden;
    touch-action: manipulation;
}

.container {
    text-align: center;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(255, 255, 255, 0.9);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    z-index: 10;
    width: 80%;
    max-width: 600px;
}

.section {
    transition: opacity 0.5s ease;
}

.section:not([style*='display: none']) {
    opacity: 1;
}

.section[style*='display: none'] {
    opacity: 0;
    position: absolute;
}

h1, h2 {
    color: #ff3366;
    font-family: 'Caveat', cursive;
}

h1 {
    font-size: 2.5em;
}

h2 {
    font-size: 2em;
}

p {
    font-size: 1.2em;
    line-height: 1.5;
}

button {
    padding: 10px 20px;
    margin: 10px;
    background-color: #ff6699;
    color: white;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    transition: background-color 0.3s;
    -webkit-tap-highlight-color: transparent;
}

button:hover {
    background-color: #ff3366;
}

.hearts {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.heart {
    position: absolute;
    font-size: 1.5em;
    animation: float 5s infinite;
}

@keyframes float {
    0% { transform: translateY(100vh); opacity: 1; }
    100% { transform: translateY(-20px); opacity: 0; }
}

.big-heart {
    font-size: 6em;
    color: #ffcc00;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

#no-btn {
    position: relative;
    transition: all 0.3s ease;
}

.letter-btn {
    font-size: 1.2em;
    background-color: #ff3366;
}

.letter {
    background: #fff0f5;
    padding: 20px;
    border-radius: 10px;
    margin: 20px 0;
    border: 2px dashed #ff6699;
    transform: scale(0);
    opacity: 0;
    transition: all 0.5s ease;
}

.letter.open {
    transform: scale(1);
    opacity: 1;
}

.letter h2 {
    font-size: 1.8em;
    margin-bottom: 10px;
}

.letter p {
    font-size: 1.2em;
    color: #333;
    font-style: italic;
}