#wheelContainer {
    position: relative;
    width: 800px;
    height: 800px;
    margin: 50px auto;
}

#wheel {
    width: 800px;
    height: 800px;
    display: block; /* Fontos az SVG megfelelő megjelenítéséhez */
    transition: transform 8s cubic-bezier(0.1, 0.7, 0.1, 1);
}

svg text {
    font-size: 16px;
    font-weight: bold;
	padding: 5px;
    text-anchor: middle;
    dominant-baseline: middle; /* Szöveg függőleges igazítása */
	fill: white; /* Fehér szöveg */
    stroke: black; /* Fekete körvonal */
    stroke-width: 0.3px; /* Vastagabb körvonal */
    /*text-shadow: 1px 1px 2px black; /* Erősebb árnyék */
}

#spinButton {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background-color: #4287f5; /* Kék gomb */
    color: white;
    font-weight: bold;
    border: none;
    cursor: pointer;
    z-index: 2; /* A kerék felett legyen */
}

#pointer {
    position: absolute;
    top: 50%;
    left: 100%; /* A kerék jobb oldalára */
    transform: translateY(-50%) rotate(180deg);
    width: 0;
    height: 0;
    border-left: 20px solid red;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    z-index: 1;
}


/* popup stílusok */
/* Teljes képernyős átlátszó háttér */
.popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.8) 100%);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    animation: flashBackground 1s infinite alternate;
}

/* Nyeremény doboz */
.popup-content {
    display: flex;
    flex-direction: column;
    align-items: center; /* Középre igazítja a tartalmat */
    justify-content: center;
    padding: 50px;
    background: linear-gradient(to bottom, #ffcc00, #ff6600);
    border: 10px solid #ff0000;
    border-radius: 20px;
    box-shadow: 0 0 50px rgba(255, 215, 0, 0.8);
    text-align: center;
}

/* Nagy, villogó nyeremény szöveg */
#winningAmount {
    font-size: 80px;
    font-weight: bold;
    color: #fff;
    text-shadow: 0 0 20px #ff0000, 0 0 30px #ffcc00;
}

/* Bezárás gomb stílus */
#closeButton {
    margin-top: 20px;
    font-size: 30px;
    font-weight: bold;
    padding: 20px 50px;
    background: #ff0000;
    color: #fff;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    text-transform: uppercase;
}

#closeButton:hover {
    background: #cc0000;
}

/* Háttér vibrálás */
@keyframes flashBackground {
    from { background-color: rgba(0,0,0,0.8); }
    to { background-color: rgba(255, 0, 0, 0.8); }
}

/* Szöveg villogás */
@keyframes glow {
    from { text-shadow: 0 0 10px #ffcc00, 0 0 20px #ff6600; }
    to { text-shadow: 0 0 30px #ff0000, 0 0 50px #ffcc00; }
}

/* Doboz pulzálása */
@keyframes pulse {
    from { transform: scale(1); }
    to { transform: scale(1.1); }
}

/* Gomb flicker effektus */
@keyframes flicker {
    0% { opacity: 1; }
    50% { opacity: 0.7; }
    100% { opacity: 1; }
}

.prize-image {
    width: 300px; /* Fix szélesség */
    height: auto; /* Arányos magasság */
    margin: 20px 0; /* Középre helyezéshez térköz a szöveg és a gomb között */
}