body {
    font-family: 'Arial', sans-serif;
    background-color: #0a0a1a;
    color: #00fffc;
    margin: 0;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow-x: hidden;
}

h1 {
    text-align: center;
    margin-bottom: 30px;
    text-shadow: 0 0 10px #00fffc;
    font-size: 2.5em;
}

.container {
    width: 100%;
    max-width: 900px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.upload-section {
    background: rgba(0, 20, 40, 0.7);
    border: 1px solid #00fffc;
    border-radius: 10px;
    padding: 20px;
    width: 100%;
    margin-bottom: 30px;
    box-shadow: 0 0 15px rgba(0, 255, 252, 0.3);
}

.upload-area {
    border: 2px dashed #00fffc;
    border-radius: 8px;
    padding: 30px;
    text-align: center;
    margin-bottom: 20px;
    cursor: pointer;
    transition: all 0.3s;
}

.upload-area:hover {
    background: rgba(0, 255, 252, 0.1);
}

.participants-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
    max-height: 200px;
    overflow-y: auto;
    padding: 10px;
    background: rgba(0, 10, 20, 0.5);
    border-radius: 8px;
}

.participant {
    position: relative;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid #00fffc;
    transition: transform 0.3s;
}

.participant img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.participant:hover {
    transform: scale(1.1);
    z-index: 1;
    box-shadow: 0 0 15px #00fffc;
}

.roulette-wrapper {
    position: relative;
    width: 100%;
    margin: 30px 0;
}

.roulette-container {
    position: relative;
    width: 100%;
    height: 300px;
    overflow: hidden;
    border-radius: 10px;
    border: 2px solid #00fffc;
    box-shadow: 0 0 30px rgba(0, 255, 252, 0.4);
    background: rgba(0, 10, 20, 0.7);
}

.pointer {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 100%;
    background: #ff0055;
    box-shadow: 0 0 20px #ff0055;
    z-index: 10;
}

.pointer::after {
    content: '';
    position: absolute;
    top: 0;
    left: -10px;
    width: 0;
    height: 0;
    border-left: 12px solid transparent;
    border-right: 12px solid transparent;
    border-top: 20px solid #ff0055;
    filter: drop-shadow(0 0 10px #ff0055);
}

.roulette-wheel {
    display: flex;
    height: 100%;
    transition: transform 5s cubic-bezier(0.1, 0.8, 0.2, 1);
    will-change: transform;
}

.roulette-item {
    min-width: 200px;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-sizing: border-box;
    border-right: 1px solid rgba(0, 255, 252, 0.3);
    position: relative;
}

.roulette-item img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #00fffc;
    box-shadow: 0 0 20px rgba(0, 255, 252, 0.5);
    transition: all 0.3s;
}

.roulette-item.winner img {
    border-color: #ff0055;
    box-shadow: 0 0 30px rgba(255, 0, 85, 0.7);
}

.roulette-item p {
    margin-top: 15px;
    font-size: 1.2em;
    text-align: center;
    color: white;
}

.roulette-item.winner p {
    color: #ff0055;
    text-shadow: 0 0 10px rgba(255, 0, 85, 0.7);
}

.controls {
    display: flex;
    gap: 20px;
    margin-top: 30px;
}

button {
    background: linear-gradient(45deg, #0066ff, #00fffc);
    border: none;
    color: #0a0a1a;
    padding: 12px 25px;
    font-size: 1.1em;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s;
    font-weight: bold;
    box-shadow: 0 0 15px rgba(0, 255, 252, 0.5);
}

button:hover {
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(0, 255, 252, 0.8);
}

button:disabled {
    background: #555;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.winner-display {
    margin-top: 30px;
    text-align: center;
    opacity: 0;
    transition: opacity 0.5s;
}

.winner-card {
    background: linear-gradient(135deg, rgba(0, 102, 255, 0.2), rgba(0, 255, 252, 0.2));
    border: 2px solid #ff0055;
    border-radius: 15px;
    padding: 30px;
    max-width: 400px;
    box-shadow: 0 0 30px rgba(255, 0, 85, 0.6);
}

.winner-card img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #ff0055;
    margin-bottom: 20px;
    box-shadow: 0 0 30px rgba(255, 0, 85, 0.8);
}

.winner-card h2 {
    color: #ff0055;
    margin: 10px 0;
    text-shadow: 0 0 10px #ff0055;
}

.winner-card p {
    font-size: 1.2em;
    color: white;
    margin: 5px 0;
}

.tech-decoration {
    position: absolute;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
    overflow: hidden;
}

.tech-decoration::before, .tech-decoration::after {
    content: '';
    position: absolute;
    border: 1px solid rgba(0, 255, 252, 0.1);
    border-radius: 50%;
}

.tech-decoration::before {
    width: 300px;
    height: 300px;
    top: -150px;
    right: -150px;
}

.tech-decoration::after {
    width: 500px;
    height: 500px;
    bottom: -250px;
    left: -250px;
}

.grid-lines {
    position: absolute;
    width: 100%;
    height: 100%;
    background: 
        linear-gradient(90deg, rgba(0, 255, 252, 0.05) 1px, transparent 1px),
        linear-gradient(rgba(0, 255, 252, 0.05) 1px, transparent 1px);
    background-size: 20px 20px;
    z-index: -1;
}

@keyframes pulse {
    0% { opacity: 0.3; }
    50% { opacity: 0.7; }
    100% { opacity: 0.3; }
}

.pulse-effect {
    position: absolute;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(0, 255, 252, 0.1) 0%, transparent 70%);
    animation: pulse 3s infinite;
    z-index: -1;
}

.volume-control {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(0, 20, 40, 0.7);
    padding: 10px 15px;
    border-radius: 50px;
    border: 1px solid #00fffc;
    box-shadow: 0 0 10px rgba(0, 255, 252, 0.3);
}

.volume-control label {
    cursor: pointer;
}

.volume-control input {
    width: 100px;
    cursor: pointer;
}