@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@600&display=swap');

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    /* background: url('stage.jpg') no-repeat center center fixed; */
    background: url('stage.png') no-repeat center center fixed;
    background-size: cover;
    color: #ffd700;
    font-family: 'Cinzel', serif;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    min-height: 100vh;
    text-align: center;
    padding: 20px;
    position: relative;
    z-index: 0;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.65);
    /* Donkere overlay */
    z-index: -1;
}

h1 {
    margin-top: 80px;
    font-size: 2.4rem;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.6);
}

button,
.btn {
    margin-top: 30px;
    font-size: 1.2rem;
    padding: 14px 30px;
    background: linear-gradient(145deg, #ffd700, #ffcc00);
    border: none;
    color: #000;
    font-weight: bold;
    border-radius: 30px;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(255, 215, 0, 0.3);
    transition: all 0.2s ease-in-out;
    text-decoration: none;
    display: inline-block;
}

button:hover,
.btn:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 14px rgba(255, 215, 0, 0.5);
}

.btn:link,
.btn:visited {
    color: #000;
    text-decoration: none;
}

.login-button {
    position: fixed;
    top: 24px;
    right: 24px;
    margin-top: 0;
    z-index: 3;
}

#status {
    margin-top: 20px;
    font-size: 1.1rem;
    color: #fff;
    text-shadow: 0 0 5px #ffd700;
}

/* Popup styling */
.popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 999;
}

.popup.hidden {
    display: none;
}

.popup-content {
    background: #1a1a1a;
    border: 2px solid #ffd700;
    padding: 30px;
    border-radius: 12px;
    color: #ffd700;
    max-width: 500px;
    width: 90%;
    text-align: left;
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.3);
    font-family: 'Cinzel', serif;
    position: relative;
    overflow-y: auto;
    max-height: 80vh;
}

.popup-content h2 {
    margin-top: 0;
    text-align: center;
}

.popup-content .close {
    position: absolute;
    right: 20px;
    top: 20px;
    font-size: 24px;
    cursor: pointer;
    color: #fff;
}

footer {
    margin-top: auto;
    padding: 20px;
    font-size: 0.9rem;
    color: #888;
    text-align: center;
}

hr.gold-line {
    border: none;
    height: 1px;
    background: linear-gradient(to right, #ffd700 0%, #ffcc00 100%);
    margin: 15px 0;
}

.totals {
    color: white;
}

/* Particles (optional sparkle dots) */
.particle {
    position: absolute;
    background-color: #ffd700;
    border-radius: 50%;
    opacity: 0.5;
    animation: float 20s linear infinite;
}

@keyframes float {
    0% {
        transform: translateY(0);
    }

    100% {
        transform: translateY(-100vh);
    }
}

/* Responsive */
@media (max-width: 600px) {
    h1 {
        font-size: 1.8rem;
        margin-top: 60px;
    }

    button {
        padding: 12px 24px;
        font-size: 1rem;
    }

    .btn {
        padding: 12px 24px;
        font-size: 1rem;
    }

    .login-button {
        top: 16px;
        right: 16px;
    }

    .popup-content {
        padding: 20px;
    }
}
