:root{
    --bg: #0a0a0f;
    --panel: rgba(20, 20, 28, 0.7);
    --glass: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
    --cyan: #4fc3f7;
    --cyan-glow: rgba(79, 195, 247, 0.3);
    --magenta: #7c4dff;
    --magenta-glow: rgba(124, 77, 255, 0.3);
    --green: #27ae60;
    --white: #ffffff;
    --white-soft: rgba(255, 255, 255, 0.9);
    --text: #e0e0e0;
    --muted: rgba(255, 255, 255, 0.5);
    --item-height: 140px;
    --spotlight: radial-gradient(ellipse at center, rgba(255,255,255,0.08) 0%, transparent 70%);
}

*{ box-sizing: border-box; }

body {
    background: 
        radial-gradient(ellipse at 20% 30%, rgba(79, 195, 247, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 70%, rgba(124, 77, 255, 0.1) 0%, transparent 50%),
        linear-gradient(180deg, #0a0a0f 0%, #141418 50%, #0a0a10 100%);
    background-attachment: fixed;
    position: relative;
    overflow-x: hidden;
    min-height: 100vh;
}

/* Luxury showroom spotlight */
body::before {
    content: '';
    position: fixed;
    top: -20%;
    left: 50%;
    transform: translateX(-50%);
    width: 120vw;
    height: 80vh;
    background: radial-gradient(ellipse at center, rgba(79, 195, 247, 0.08) 0%, rgba(124, 77, 255, 0.04) 30%, transparent 70%);
    pointer-events: none;
    z-index: 0;
    animation: spotlight-pulse 12s ease-in-out infinite;
}

/* Subtle grid pattern */
body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.015) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.015) 1px, transparent 1px);
    background-size: 80px 80px;
    animation: grid-float 20s linear infinite;
    pointer-events: none;
    z-index: 1;
}

@keyframes spotlight-pulse {
    0%, 100% { opacity: 0.6; transform: translateX(-50%) scale(1); }
    50% { opacity: 1; transform: translateX(-50%) scale(1.1); }
}

@keyframes grid-float {
    0% { transform: translateY(0); }
    100% { transform: translateY(80px); }
}

.main-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    align-items: stretch;
    gap: 24px;
    max-width: 1400px;
    width: 100%;
    min-height: min(90vh, 800px);
    padding: 40px;
    position: relative;
}

.top-highlight{
    position: absolute;
    top: 0;
    left: 5%;
    right: 5%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(79, 195, 247, 0.4), rgba(124, 77, 255, 0.4), transparent);
    z-index: 3;
}

.logo-section{
    position: relative;
    background: var(--panel);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 60px 40px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.logo-section h1 {
    font-size: clamp(48px, 6vw, 80px);
    line-height: 1;
    color: var(--white);
    text-shadow: 
        0 0 20px rgba(79, 195, 247, 0.4),
        0 0 40px rgba(79, 195, 247, 0.2);
    margin: 0;
    font-weight: 400;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    animation: title-shine 8s ease-in-out infinite;
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
}

.logo-section span {
    display: block;
    font-size: 0.5em;
    color: var(--cyan);
    letter-spacing: 0.3em;
    margin-top: 10px;
    font-weight: 400;
}

@keyframes title-shine {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.9; text-shadow: 0 0 30px rgba(79, 195, 247, 0.6), 0 0 60px rgba(79, 195, 247, 0.3); }
}

.subtitle{
    margin: 12px auto 0;
    margin-left: 15%;
    color: transparent;
    background: linear-gradient(
        90deg,
        #ff0000 0%,
        #ff8000 14%,
        #ffff00 28%,
        #00ff00 42%,
        #00ffff 56%,
        #0000ff 70%,
        #ff00ff 84%,
        #ff0000 100%
    );
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    max-width: 30ch;
    font-size: 13px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    font-weight: 500;
    line-height: 1.5;
    animation: rgb-flow 4s linear infinite;
    filter: drop-shadow(0 0 6px rgba(255, 255, 255, 0.2));
    text-align: left;
}

@keyframes rgb-flow {
    0% { background-position: 0% center; }
    100% { background-position: 200% center; }
}

.dedication{
    margin: 40px 0 0 auto;
    margin-right: 20%;
    color: rgba(79, 195, 247, 0.7);
    font-size: 11px;
    font-style: italic;
    letter-spacing: 0.15em;
    text-shadow: 0 0 8px rgba(79, 195, 247, 0.3);
    opacity: 0.6;
    font-weight: 300;
    text-align: right;
}

.participants-panel{
    width: min(100%, 420px);
    margin-top: 18px;
    padding: 14px;
    border-radius: 12px;
    border: 1px solid rgba(0, 242, 254, 0.28);
    background: rgba(9, 13, 34, 0.65);
}

.panel-title{
    margin: 0 0 10px;
    font-size: 16px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--cyan);
}

.participant-form{
    display: grid;
    grid-template-columns: 1fr 92px 90px;
    gap: 8px;
}

.panel-input{
    width: 100%;
    height: 36px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 8px;
    background: #0d122f;
    color: #fff;
    padding: 0 10px;
}

.panel-input:focus-visible{
    outline: 2px solid rgba(0, 242, 254, 0.6);
    outline-offset: 1px;
}

.panel-input-number{
    text-align: center;
}

.panel-btn{
    height: 36px;
    border-radius: 8px;
    border: 1px solid rgba(0, 242, 254, 0.65);
    background: transparent;
    color: var(--cyan);
    font-weight: 700;
    cursor: pointer;
}

.panel-btn:hover{
    background: rgba(0, 242, 254, 0.12);
}

.panel-btn:disabled{
    opacity: 0.5;
    cursor: not-allowed;
}

.panel-btn.secondary{
    border-color: rgba(255, 0, 255, 0.8);
    color: #ff9aff;
}

.panel-btn.secondary:hover{
    background: rgba(255, 0, 255, 0.12);
}

.turn-info{
    margin: 10px 0 8px;
    font-size: 13px;
    color: var(--muted);
}

.participants-list{
    max-height: 148px;
    overflow: auto;
    display: grid;
    gap: 6px;
    padding-right: 4px;
}

.participant-item{
    display: grid;
    grid-template-columns: 48px minmax(84px, 1fr) auto;
    gap: 8px;
    align-items: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    padding: 6px 8px;
    font-size: 13px;
    color: #ffffff;
}

.participant-item.current{
    border-color: rgba(0, 242, 254, 0.62);
    box-shadow: 0 0 10px rgba(0, 242, 254, 0.2);
}

.participant-item.done{
    opacity: 0.78;
}

.participant-order{
    color: var(--cyan);
    font-weight: 700;
}

.participant-car{
    color: var(--cyan);
    font-size: 12px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    opacity: 0.8;
}

.participant-move{
    border: 1px solid rgba(0, 242, 254, 0.45);
    background: transparent;
    color: var(--cyan);
    border-radius: 6px;
    width: 26px;
    height: 26px;
    padding: 0;
    font-size: 14px;
    line-height: 1;
    cursor: pointer;
}

.participant-move:hover{
    background: rgba(0, 242, 254, 0.14);
}

.participant-remove{
    border: 1px solid rgba(255, 120, 120, 0.7);
    background: transparent;
    color: #ffb0b0;
    border-radius: 6px;
    width: 26px;
    height: 26px;
    padding: 0;
    font-size: 14px;
    line-height: 1;
    cursor: pointer;
}

.participant-remove:hover{
    background: rgba(255, 110, 110, 0.14);
}

.participant-controls{
    display: inline-flex;
    gap: 6px;
    align-items: center;
    justify-self: end;
}

.turn-actions{
    margin-top: 10px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.stream-badge-wrapper{
    position: absolute;
    top: 42px;
    left: 24px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.stream-badge{
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.15em;
    background: rgba(20, 20, 28, 0.8);
    backdrop-filter: blur(10px);
    color: var(--white);
    border-radius: 999px;
    padding: 8px 16px;
    border: 1px solid var(--glass-border);
    text-transform: uppercase;
}

.online-counter{
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 700;
    color: var(--white);
    background: rgba(20, 20, 28, 0.9);
    backdrop-filter: blur(10px);
    border-radius: 999px;
    padding: 10px 18px;
    border: 1px solid var(--glass-border);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.online-counter #onlineCount {
    min-width: 20px;
    text-align: center;
    color: var(--white);
    font-size: 14px;
    font-weight: 700;
}

.online-dot{
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--cyan);
    box-shadow: 0 0 12px var(--cyan), 0 0 20px var(--cyan);
    animation: pulse-dot 2s ease-in-out infinite;
    flex-shrink: 0;
}

@keyframes pulse-dot{
    0%,100%{ opacity: 1; }
    50%{ opacity: 0.4; }
}

.roulette-box {
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: var(--panel);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 46px 20px 22px;
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

/* Вікно рулетки - Showroom display */
.roulette-container {
    position: relative;
    width: min(620px, 100%);
    height: clamp(460px, 72vh, 760px);
    background: linear-gradient(145deg, rgba(30, 32, 48, 0.9), rgba(15, 17, 32, 0.95));
    border: 1px solid rgba(79, 195, 247, 0.3);
    border-radius: 16px;
    overflow: hidden;
    margin: 0 auto;
    box-shadow: 
        0 0 40px rgba(79, 195, 247, 0.1),
        inset 0 0 60px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
}

/* Premium selection frame - showcase window */
.selection-overlay {
    position: absolute;
    top: calc(50% - (var(--item-height) / 2));
    left: 2px;
    width: calc(100% - 4px);
    height: var(--item-height);
    border: 1px solid rgba(79, 195, 247, 0.5);
    border-radius: 12px;
    z-index: 10;
    pointer-events: none;
    background: linear-gradient(180deg, 
        rgba(79, 195, 247, 0.1) 0%, 
        transparent 30%,
        transparent 70%,
        rgba(79, 195, 247, 0.1) 100%
    );
    box-shadow:
        0 0 30px rgba(79, 195, 247, 0.2),
        inset 0 0 20px rgba(79, 195, 247, 0.05);
}

.selection-overlay::before,
.selection-overlay::after{
    content: "";
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
}

.selection-overlay::before{
    left: -10px;
    border-right: 6px solid rgba(79, 195, 247, 0.8);
    filter: drop-shadow(0 0 6px rgba(79, 195, 247, 0.6));
}

.selection-overlay::after{
    right: -10px;
    border-left: 6px solid rgba(79, 195, 247, 0.8);
    filter: drop-shadow(0 0 6px rgba(79, 195, 247, 0.6));
}

#rouletteWheel {
    display: flex;
    flex-direction: column;
    transition: transform 8s cubic-bezier(0.1, 0, 0.05, 1);
    will-change: transform;
}

.roulette-item {
    height: var(--item-height);
    min-height: var(--item-height);
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-rows: 58px 62px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    background: linear-gradient(145deg, rgba(25, 28, 45, 0.9), rgba(15, 18, 35, 0.95));
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.car-name {
    font-size: 32px;
    line-height: 1.1;
    font-weight: 600;
    color: var(--white);
    text-transform: capitalize;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    letter-spacing: 0.01em;
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
}

.car-brand {
    font-size: 16px;
    font-weight: 500;
    color: var(--cyan);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    opacity: 0.9;
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
}

.car-header{
    grid-column: 1 / 2;
    grid-row: 1 / 2;
    background: linear-gradient(90deg, var(--green), #09b84a);
    display: flex;
    align-items: center;
    padding: 0 14px;
}

.car-footer{
    grid-column: 1 / 2;
    grid-row: 2 / 3;
    background: #0f1330;
    display: flex;
    align-items: center;
    padding: 0 14px;
}

.car-img {
    grid-column: 2 / 3;
    grid-row: 1 / 3;
    width: 210px;
    height: 118px;
    margin-right: 8px;
    object-fit: contain;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.45));
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.start-btn {
    width: 200px;
    display: block;
    margin: 12px auto 0;
    padding: 14px 24px;
    background: transparent;
    border: 1px solid rgba(79, 195, 247, 0.5);
    color: var(--white);
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    border-radius: 12px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    position: relative;
    overflow: hidden;
}

.start-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(79, 195, 247, 0.2), transparent);
    transition: left 0.5s ease;
}

.start-btn:hover {
    transform: translateY(-2px) scale(1.03);
    border-color: rgba(79, 195, 247, 0.8);
    box-shadow: 0 8px 30px rgba(79, 195, 247, 0.3);
}

.start-btn:hover::before {
    left: 100%;
}

.start-btn:disabled{
    opacity: 0.6;
    cursor: not-allowed;
    box-shadow: none;
}

.start-btn:focus-visible{
    outline: 3px solid rgba(255, 0, 255, 0.7);
    outline-offset: 3px;
}

.result{
    min-height: 28px;
    margin-top: 10px;
    color: var(--muted);
    text-align: center;
    font-size: 16px;
    text-shadow: 0 0 12px rgba(0, 242, 254, 0.2);
}

.result strong{
    color: var(--text);
}

.noscript{
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    padding: 10px 14px;
    background: rgba(255, 0, 255, 0.2);
    border-bottom: 1px solid rgba(255, 0, 255, 0.4);
    color: var(--text);
    text-align: center;
    z-index: 999;
    backdrop-filter: blur(8px);
}

@media (max-width: 980px){
    .main-wrapper{
        grid-template-columns: 1fr;
        border-radius: 16px;
        min-height: auto;
    }
    .logo-section h1{
        font-size: clamp(48px, 14vw, 90px);
        text-align: center;
    }
    .subtitle{
        margin: 14px auto 0;
        text-align: center;
    }
    .participants-panel{
        width: 100%;
    }
    .participant-form{
        grid-template-columns: 1fr 84px 84px;
    }
    .roulette-box{
        padding-top: 30px;
    }
    .roulette-container{
        height: 360px;
    }
    .car-name{
        font-size: clamp(22px, 5.4vw, 30px);
    }
    .car-brand{
        font-size: clamp(16px, 4.2vw, 22px);
    }
    .car-img{
        width: 170px;
    }
}

@media (prefers-reduced-motion: reduce){
    #rouletteWheel{
        transition: none !important;
    }
    .start-btn{
        transition: none !important;
    }
}

/* Smooth focus states */
button:focus-visible,
.panel-btn:focus-visible {
    outline: 2px solid rgba(79, 195, 247, 0.6);
    outline-offset: 2px;
}

/* Luxury scrollbars */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.02);
    border-radius: 3px;
}

::-webkit-scrollbar-thumb {
    background: rgba(79, 195, 247, 0.3);
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(79, 195, 247, 0.5);
}

/* Selection disable */
* {
    user-select: none;
}

input, textarea {
    user-select: auto;
}

/* Winner Popup Modal */
.winner-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.winner-modal.active {
    opacity: 1;
    visibility: visible;
}

.winner-content {
    background: linear-gradient(145deg, #14162e, #0d1023);
    border: 2px solid var(--cyan);
    border-radius: 24px;
    padding: 40px 60px;
    text-align: center;
    box-shadow: 
        0 0 40px rgba(0, 242, 254, 0.4),
        0 0 80px rgba(255, 0, 255, 0.2),
        inset 0 0 60px rgba(0, 242, 254, 0.1);
    transform: scale(0.8);
    transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    max-width: 500px;
    width: 90%;
}

.winner-modal.active .winner-content {
    transform: scale(1);
}

.winner-title {
    font-size: clamp(36px, 8vw, 56px);
    font-weight: 900;
    background: linear-gradient(135deg, var(--cyan), var(--magenta));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 0 0 20px;
    text-shadow: none;
    animation: neon-flicker 2s infinite;
}

.winner-car {
    font-size: clamp(24px, 5vw, 36px);
    color: #fff;
    margin: 20px 0;
    font-weight: 700;
}

.winner-car-brand {
    color: var(--cyan);
    font-size: clamp(18px, 4vw, 24px);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.winner-car-image {
    width: 100%;
    max-width: 400px;
    height: auto;
    margin: 20px auto;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.winner-close-btn {
    margin-top: 30px;
    padding: 14px 40px;
    font-size: 18px;
    font-weight: 700;
    background: linear-gradient(135deg, var(--cyan), var(--magenta));
    border: none;
    border-radius: 12px;
    color: #0a0b1a;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.winner-close-btn:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 10px 30px rgba(0, 242, 254, 0.4);
}

/* Confetti */
.confetti-container {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 999;
    overflow: hidden;
}

.confetti {
    position: absolute;
    width: 10px;
    height: 10px;
    animation: confetti-fall 4s linear forwards;
}

.confetti:nth-child(1) { left: 10%; background: var(--cyan); animation-delay: 0s; }
.confetti:nth-child(2) { left: 20%; background: var(--magenta); animation-delay: 0.1s; }
.confetti:nth-child(3) { left: 30%; background: var(--green); animation-delay: 0.2s; }
.confetti:nth-child(4) { left: 40%; background: var(--cyan); animation-delay: 0.3s; }
.confetti:nth-child(5) { left: 50%; background: var(--magenta); animation-delay: 0.4s; }
.confetti:nth-child(6) { left: 60%; background: var(--green); animation-delay: 0.5s; }
.confetti:nth-child(7) { left: 70%; background: var(--cyan); animation-delay: 0.6s; }
.confetti:nth-child(8) { left: 80%; background: var(--magenta); animation-delay: 0.7s; }
.confetti:nth-child(9) { left: 90%; background: var(--green); animation-delay: 0.8s; }
.confetti:nth-child(10) { left: 5%; background: var(--cyan); animation-delay: 0.9s; }
.confetti:nth-child(11) { left: 15%; background: var(--magenta); animation-delay: 1s; }
.confetti:nth-child(12) { left: 25%; background: var(--green); animation-delay: 1.1s; }
.confetti:nth-child(13) { left: 35%; background: var(--cyan); animation-delay: 1.2s; }
.confetti:nth-child(14) { left: 45%; background: var(--magenta); animation-delay: 1.3s; }
.confetti:nth-child(15) { left: 55%; background: var(--green); animation-delay: 1.4s; }
.confetti:nth-child(16) { left: 65%; background: var(--cyan); animation-delay: 1.5s; }
.confetti:nth-child(17) { left: 75%; background: var(--magenta); animation-delay: 1.6s; }
.confetti:nth-child(18) { left: 85%; background: var(--green); animation-delay: 1.7s; }
.confetti:nth-child(19) { left: 95%; background: var(--cyan); animation-delay: 1.8s; }
.confetti:nth-child(20) { left: 2%; background: var(--magenta); animation-delay: 1.9s; }

/* Particle effect for buttons */
.particle {
    position: fixed;
    width: 3px;
    height: 3px;
    background: var(--cyan);
    border-radius: 50%;
    pointer-events: none;
    z-index: 1000;
    animation: particle-fade 1.5s ease-out forwards;
}

@keyframes particle-fade {
    0% {
        opacity: 1;
        transform: translate(0, 0) scale(1);
    }
    100% {
        opacity: 0;
        transform: translate(var(--tx, -20px), var(--ty, -30px)) scale(0);
    }
}

/* Shine effect on all car items */
.roulette-item {
    position: relative;
    overflow: hidden;
}

.roulette-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(79, 195, 247, 0.4), rgba(255, 255, 255, 0.2), rgba(79, 195, 247, 0.4), transparent);
    transition: left 0.5s ease;
    pointer-events: none;
    z-index: 10;
}

.roulette-item:hover::before {
    left: 100%;
}

/* Stronger purple glow for active */
.roulette-item.active {
    background: linear-gradient(145deg, rgba(80, 50, 110, 0.95), rgba(50, 35, 80, 0.98)) !important;
    box-shadow: 
        inset 0 0 60px rgba(124, 77, 255, 0.4),
        0 0 50px rgba(124, 77, 255, 0.5),
        0 0 80px rgba(124, 77, 255, 0.3) !important;
    border-left: 5px solid rgba(124, 77, 255, 1) !important;
    z-index: 2;
}

/* Active car effect - zoom, glow and purple gradient */
.roulette-item.active .car-img {
    transform: scale(1.08);
    filter: drop-shadow(0 8px 25px rgba(124, 77, 255, 0.4));
}

.roulette-item.active {
    background: linear-gradient(145deg, rgba(70, 45, 90, 0.95), rgba(40, 28, 65, 0.98));
    box-shadow: 
        inset 0 0 50px rgba(124, 77, 255, 0.25),
        0 0 40px rgba(124, 77, 255, 0.3);
    border-left: 4px solid rgba(124, 77, 255, 0.9);
}

.roulette-item.active::before {
    background: linear-gradient(90deg, transparent, rgba(124, 77, 255, 0.35), transparent);
}

/* Luxury fade animations */
@keyframes fade-in-up {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fade-in-up 0.6s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}