body {
    background: #f8f9fa url('../img/bg.jpg') no-repeat center fixed;
    background-size: cover;
    font-family: 'Arial', sans-serif;
    color: #333;
}

.header-message {
    padding: 20px;
    border-radius: 10px;
    margin: 20px auto;
    max-width: 800px;
    text-align: center;
}
.header-message h1 {
    color: #ff332e;
    font-family: 'Mountains of Christmas', cursive;
    font-size: 4em;
    font-weight: bolder;
}

.gift-text{
    color: #ff332e;
    text-align: center;
    display: table;
    margin: 0 auto;
    font-weight:bold;
    font-family: 'Pacifico', cursive;
    font-size:1.5em;
}

h2, .modal-title{
    font-family: 'Pacifico', cursive;
}

.modal-body{
    font-size:1.2em;
}

.door {
    background: url('../img/gift.png') no-repeat center center;
    background-size: contain;
    padding: 20px;
    text-align: center;
    border-radius: 5px;
    cursor: pointer;
    transition: transform 0.2s;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.door:hover {
    transform: scale(1.05);
}
.door.locked {
    background: url('../img/lock.png') no-repeat center;
    background-size: contain;
    
    cursor: not-allowed;
}
.door.opened{
    background: url('../img/gift_opened.png') no-repeat center;
    background-size: contain;         
}
.modal-content {
    border-radius: 10px;
    background: #fff3f3;
}
.modal-header {
    background: #ff332e;
    color: white;
}

.loader {
    border: 4px solid #f3f3f3; /* Light grey */
    border-top: 4px solid #3498db; /* Blue */
    border-radius: 50%;
    width: 30px;
    height: 30px;
    animation: spin 1s linear infinite;
    margin: 20px auto;
    display: none; /* Hidden by default */
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Ensure result text wraps and is readable */
#horoscope-result {
    white-space: pre-wrap; /* Preserve line breaks */
    font-size: 1.2em;
    margin: 20px;
    background: rgba(173, 216, 230, 0.8);
    border-radius: 25px;
}