/* Неоновые цвета */
:root {
    --neon-blue: #00f3ff;
    --neon-purple: #9d00ff;
    --neon-pink: #ff00f7;
}

.deal-wheel {
	background: #1a1a2f80;
    backdrop-filter: blur(10px);
    padding: 30px 30px 30px 0px;
    border-radius: 40% 25px 25px 40%;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
    border: solid 2px #5d00ff;
}

/* Неоновая подсветка колеса */
.wheel {
    background: #252542;
    border: 3px solid #2a2a4a;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
}

/* Неоновый текст на колесе */
.text {
    color: #ffffff;
    font-weight: 500;
    font-size: 2em;
}

/* Контейнер управления */
.controls-container {
    background: #1a1a2fab;
    border: 2px solid #5d00ff;
    border-radius: 25px;
    padding: 25px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
}

.controls-container p {
    color: #ffffff;
    font-size: 1.4em;
    margin: 0 0 15px 0;
	text-transform: uppercase;
}

.input-container {
	display: flex;
    flex-direction: row;
    align-items: center;
    gap: 1em;
    margin: 10px 0 20px 0;
    width: 100%;
}

.winnings {
	color: #0aff1f !important;
}

.btn-clear {
	background: #c32b2b;
    text-transform: uppercase;
    font-family: 'Chillax-Bold';
    border: none;
    border-radius: 10px;
    width: 70px;
    color: #ffffff;
    cursor: pointer;
    font-size: 1.1em;
    padding: 10px 20px;
    box-shadow: 0 0 10px rgb(240 74 74 / 30%);
    transition: background 0.3s;
}

.btn-clear:not([disabled]):hover {
    background: #fa1e1e;
}

.btn-clear:not([disabled]):active {
    background: #9f1313;
}

.btn-clear:disabled {
	background: #6565657d;
    cursor: not-allowed;
	box-shadow: 0 0 10px rgb(74 74 240 / 0%);
}

/* Поле ввода */
#input {
    background: #5d00ff40;
    border: 2px solid #5d00ff;
    text-transform: uppercase;
    font-family: 'Chillax-Bold';
    border-radius: 15px;
    color: #ffffff;
    padding: 12px;
    width: 100%;
    text-align: center;
    font-size: 1em;
}

#input:disabled {
    background: #6565657d;
    cursor: not-allowed;
    border: 0;
}

#input:focus {
    outline: none;
    border-color: #4a4af0;
}

/* Кнопка */
.btn-spin {
    background: #33933b;
	text-transform: uppercase;
    font-family: 'Chillax-Bold';
    border: none;
    border-radius: 10px;
    color: #ffffff;
    cursor: pointer;
    font-size: 1.5em;
    padding: 20px 30px;
    width: 100%;
    box-shadow: 0 0 10px #33933b4d;
}

.bet-container {
	display: grid;
    grid-template-columns: auto auto auto;
    gap: 0.5em;
    width: 100%;
    justify-content: center;
}

.btn-bet {
	background: #4a4af0;
    text-transform: uppercase;
    font-family: 'Chillax-Bold';
    border: none;
    border-radius: 10px;
    width: 115px;
    color: #ffffff;
    cursor: pointer;
    font-size: 1.1em;
    padding: 10px 20px;
    box-shadow: 0 0 10px rgba(74, 74, 240, 0.3);
    transition: background 0.3s;
}

.btn-bet:not([disabled]):hover {
    background: #5a5af8;
}

.btn-bet:not([disabled]):active {
    background: #3737b5;
}

.btn-bet:disabled {
    background: #6565657d;
    cursor: not-allowed;
    box-shadow: 0 0 10px rgb(74 74 240 / 0%);
}

.btn-spin:not([disabled]):hover {
    background: #3fbd4a;
}

.btn-spin:not([disabled]):active {
    background: #23752a;
}

.prize {
    text-shadow: 0 0 5px #0000004d;
}

.win-modal {
    position: fixed;
    top: 0;
    left: 0;
	height: 100%;
    width: 100%;
    z-index: 1000;
    animation: fadeIn 0.3s ease-in-out;
}

.win-modal-close {
    display: none;
    animation: fadeOut 0.3s ease-in-out forwards;
}

.modal-body {
    padding: 20px;
}

.win-amount {
    font-size: 36px;
    font-weight: bold;
    color: #00ff00;
    text-shadow: 0 0 10px rgba(0, 255, 0, 0.5);
    margin: 20px 0;
}

.modal-close {
    background: linear-gradient(145deg, #2a2a2a, #3a3a3a);
    border: none;
    padding: 10px 30px;
    color: #fff;
    border-radius: 25px;
    cursor: pointer;
    font-size: 16px;
    transition: all 0.3s ease;
    border: 1px solid #4a4a4a;
}

.modal-close:hover {
    background: linear-gradient(145deg, #3a3a3a, #4a4a4a);
    box-shadow: 0 0 15px rgba(0, 255, 255, 0.3);
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes fadeOut {
    from { opacity: 1; }
    to { opacity: 0; }
}

@keyframes scaleIn {
    from {
        transform: translate(-50%, -50%) scale(0.8);
        opacity: 0;
    }
    to {
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }
}

@keyframes shadowWin {
    0% {
		filter: drop-shadow(0 0 0px var(--shadow-color)) drop-shadow(0 0 1px var(--shadow-color));
	}
	50% {
		filter: drop-shadow(0 0 2px var(--shadow-color)) drop-shadow(0 0 2px var(--shadow-color));
	}
	100% {
		filter: drop-shadow(0 0 0px var(--shadow-color)) drop-shadow(0 0 1px var(--shadow-color));
	}
}

.sector-pulse {
  animation: shadowWin 2s infinite ease-in-out;
}