body.dark-bg {
    background: linear-gradient(to bottom right, #0f2027, #203a43, #2c5365);
    font-family: 'Segoe UI', sans-serif;
    color: white;
    text-align: center;
    margin: 0;
    padding: 0;
}

.center-box {
    margin-top: 200px;
}

.letter-box {
     width: 60%;
     margin: 150px auto;
     background-color: rgb(255,255,255,0.1);
     padding: 30px;
     border-radius: 15px;
     backdrop-filter: blur(10px);
    
}

button {
    padding: 12px 25px;
    margin-top: 20px;
    font-size: 16px;
    border: none;
    border-radius: 20px;
    background-color: #00c6ff;
    color: white;
    cursor: pointer;
    transition: 0.3s;
}

button:hover {
    background-color: #0072ff;
}

.progress-container {
    width: 300px;
    height: 20px;
    background-color: rgba(255,255,255,0.2);
    border-radius: 10px;
    margin: 20px auto;
}

#progress-bar {
    width: 0%;
    height: 100%;
    background-color: #00c6ff;
    border-radius: 10px;
}

#heart-container {
    font-size: 80px;
    margin-top: 30px;
    opacity: 0;
    transition: opacity 0.5s;
}

#typing-text {
    font-size: 18px;
    line-height: 1.6;
    white-space: pre-line;
}

#finishBtn {
    padding: 10px 20px;
    border-radius: 20px;
    border: none;
    background-color: #00c6ff;
    color: white;
    cursor: pointer;
}

#typing-text::after{
    content:"|";
    animation: blink 1s infinite;
    margin-left:5px;
}

@keyframes blink{
    0%{opacity:1;}
    50%{opacity:0;}
    100%{opacity:1;}
}

.heart-container{
    position: fixed;
    top:0;
    left:0;
    width:100%;
    height:100%;
    pointer-events:none;
    overflow:hidden;
}

.heart{
    position:absolute;
    top:-50px;
    font-size:24px;
    animation: fall linear forwards;
}

@keyframes fall{
    to{
        transform: translateY(110vh) rotate(360deg);
        opacity:0;
    }
}

.glow-button{

    padding:14px 30px;
    border:none;
    border-radius:30px;

    font-size:16px;
    color:white;

    background:linear-gradient(45deg,#ff6ec7,#a06cff,#6ecbff);

    cursor:pointer;

    box-shadow:0 0 10px rgba(255,255,255,0.6);
    transition:0.3s;

}

.glow-button:hover{

    box-shadow:
    0 0 10px #fff,
    0 0 20px #ff6ec7,
    0 0 40px #a06cff,
    0 0 60px #6ecbff;

    transform:scale(1.08);

}