body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    background: linear-gradient(135deg, #2b2d42, #8d99ae);
    color: #edf2f4;
    text-align: center;
}

header {
    background: linear-gradient(90deg, #ef233c, #d90429);
    color: #edf2f4;
    padding: 20px 0;
    border-bottom: 3px solid #6a040f;
}

header nav {
    margin-top: 10px;
}

header nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
    gap: 25px;
}

header nav ul li {
    display: inline;
}

header nav ul li a {
    display: inline-block;
    padding: 12px 25px;
    background: #6a040f;
    color: #edf2f4;
    text-decoration: none;
    border-radius: 8px;
    transition: background 0.3s, transform 0.2s;
}

header nav ul li a:hover {
    background: #9d0208;
    transform: scale(1.1);
}

main {
    max-width: 900px;
    margin: 30px auto;
    padding: 25px;
    background: #edf2f4;
    color: #2b2d42;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0px 8px 20px rgba(0, 0, 0, 0.3);
}

.slot-machine {
    display: inline-block;
    margin: 50px auto;
    text-align: center;
    border: 3px solid #8d99ae;
    padding: 25px;
    border-radius: 15px;
    background: #6a040f;
    box-shadow: 0px 6px 15px rgba(0, 0, 0, 0.4);
}

.reel-container {
    display: flex;
    justify-content: center;
    gap: 20px;
    overflow: hidden;
    border: 3px solid #edf2f4;
    padding: 15px;
    border-radius: 15px;
    background: #8d99ae;
}

.reel {
    width: 80px;
    height: 80px;
    font-size: 40px;
    line-height: 80px;
    text-align: center;
    background: #2b2d42;
    color: #ef233c;
    margin: 0 15px;
    border-radius: 8px;
}

button {
    margin-top: 25px;
    padding: 18px 35px;
    font-size: 20px;
    background: #ef233c;
    color: #edf2f4;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.3s, background 0.3s;
}

button:hover {
    transform: scale(1.1);
    background: #d90429;
}

button:disabled {
    background: #8d99ae;
    cursor: not-allowed;
}

.rules ul {
    list-style: disc;
    margin-left: 25px;
    text-align: left;
}

footer {
    background: linear-gradient(90deg, #6a040f, #9d0208);
    color: #edf2f4;
    padding: 20px 0;
    margin-top: 25px;
    border-top: 3px solid #2b2d42;
}

footer p {
    margin: 10px 0;
}

footer div {
    text-align: center;
    padding: 20px;
}

.notification {
    position: fixed;
    top: 10px;
    right: 10px;
    background: #d90429;
    color: #edf2f4;
    padding: 12px 25px;
    border-radius: 8px;
    margin-bottom: 10px;
    animation: fadeInOut 3s ease;
}

@keyframes fadeInOut {
    0% {
        opacity: 0;
        transform: translateY(-10px);
    }

    10% {
        opacity: 1;
        transform: translateY(0);
    }

    90% {
        opacity: 1;
        transform: translateY(0);
    }

    100% {
        opacity: 0;
        transform: translateY(-10px);
    }
}

#age-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(43, 45, 66, 0.9);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

#age-modal-content {
    background: #8d99ae;
    color: #2b2d42;
    padding: 25px;
    text-align: center;
    border-radius: 15px;
    max-width: 450px;
    box-shadow: 0px 6px 15px rgba(0, 0, 0, 0.4);
}

#age-modal button {
    margin: 15px;
    padding: 12px 25px;
    font-size: 18px;
    cursor: pointer;
    background: #ef233c;
    color: #edf2f4;
    border: none;
    border-radius: 8px;
}