body {
    font-family: 'Courier New', Courier, monospace;
    text-align: center;
    background-color: #ffe6e6;
    color: #8b0000;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100vh;
    overflow: hidden;
}
.hidden { display: none !important; }
#hearts-container {
    position: relative;
    width: 60vw;
    height: 60vh;
    margin: 20px auto;
}

.heart {
    font-size: 3em;
    color: #e71837;
    cursor: pointer;
    animation: beat 0.5s infinite alternate;
    position: absolute;
    transform: translate(-50%, -50%);
}
.pulsating {
    font-size: 5em;
    animation: pulse 1s infinite;
}
.key {
    font-size: 2em;
    margin: 0 5px;
    filter: grayscale(100%);
    transition: filter 1s ease-in-out;
}
.key.found {
    filter: grayscale(0);
}
.fullscreen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(255, 255, 255, 0.9);
    z-index: 1000;
}

.final-heart-container {
    position: absolute;
    transform: translate(-50%, -50%);
    left: 50%;
    top: 50%;
}

.final-heart-container .final-heart {
    font-size: 3em;
    color: #e71837;
    cursor: pointer;
}

.fullscreen p {
    font-size: 2em;
    margin-top: 20px;
    color: #8b0000;
}
@keyframes beat {
    0% { transform: scale(1); }
    100% { transform: scale(1.2); }
}
@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

@keyframes grow {
    0% { transform: scale(1); }
    100% {
        transform: scale(100);
        transform-origin: center;
    }
}

.growing {
    animation: grow 2s forwards;
    position: fixed;
    z-index: 9999;
    top: 50%;
    left: 50%;
    width: 100px;
    height: 100px;
    transform-origin: center;
    display: flex;
    align-items: center;
    justify-content: center;
}
h1, h2 {
    font-size: 2.5em;
    margin-bottom: 0.5em;
}
p {
    font-size: 1.2em;
    margin-bottom: 1em;
}
button {
    background-color: #ff69b4;
    border: none;
    color: white;
    padding: 10px 20px;
    text-align: center;
    font-size: 1em;
    margin-top: 1em;
    cursor: pointer;
    border-radius: 5px;
    transition: background-color 0.3s;
}
button:hover {
    background-color: #ff1493;
}
input[type="text"] {
    padding: 10px;
    font-size: 1em;
    border: 2px solid #ff69b4;
    border-radius: 5px;
    margin-top: 1em;
}

#encrypted-message {
    text-transform: uppercase;
    letter-spacing: 0.75rem;
}

.message {
    position: fixed;
    bottom: 100px;
    left: 50%;
    transform: translate(-50%, 0);
    background: white;
    border-radius: 0.5rem;
    padding: 1rem;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.quiz-container {
    max-width: 600px;
    margin: 0 auto;
    padding: 20px;
}

.quiz-options {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 20px 0;
}

.quiz-option {
    background-color: white;
    border: 2px solid #ff69b4;
    color: #8b0000;
    padding: 15px 20px;
    text-align: center;
    font-size: 1.1em;
    cursor: pointer;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.quiz-option:hover {
    background-color: #ff69b4;
    color: white;
}

.quiz-progress {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin: 20px 0;
}

.progress-dot {
    width: 12px;
    height: 12px;
    background-color: #ffb6c1;
    border-radius: 50%;
    transition: background-color 0.3s;
}

.progress-dot.correct {
    background-color: #ff1493;
}

#valentintext {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}