:root {
    --bg-color: #1a1a2e;
    --text-color: #ffffff;
    --accent-color: #ff2e63;
    --secondary-color: #08d9d6;
    --wheel-border: #eaeaea;
    --glass-bg: rgba(255, 255, 255, 0.1);
    --glass-border: rgba(255, 255, 255, 0.2);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Noto Sans SC', sans-serif;
    background-color: var(--bg-color);
    background-image: 
        radial-gradient(circle at 10% 20%, rgba(255, 46, 99, 0.2) 0%, transparent 20%),
        radial-gradient(circle at 90% 80%, rgba(8, 217, 214, 0.2) 0%, transparent 20%);
    color: var(--text-color);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.app-container {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    padding: 2rem;
    backdrop-filter: blur(10px);
    border-radius: 20px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
}

.title {
    font-size: 2.5rem;
    font-weight: 900;
    text-shadow: 0 0 10px var(--accent-color), 0 0 20px var(--accent-color);
    margin-bottom: 1rem;
    letter-spacing: 2px;
}

.wheel-wrapper {
    position: relative;
    width: 350px;
    height: 350px;
    margin: 0 auto;
    filter: drop-shadow(0 0 15px rgba(0,0,0,0.5));
}

.wheel-outer-rim {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: linear-gradient(135deg, #ffd700, #ffaa00);
    padding: 10px;
    box-shadow: 
        inset 0 0 20px rgba(0,0,0,0.5),
        0 0 20px rgba(255, 215, 0, 0.3);
}

.wheel-inner-rim {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: #fff;
    overflow: hidden;
    position: relative;
}

canvas {
    width: 100%;
    height: 100%;
    display: block;
}

.pointer {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 50px;
    background: var(--accent-color);
    clip-path: polygon(50% 100%, 0 0, 100% 0);
    z-index: 10;
    filter: drop-shadow(0 4px 4px rgba(0,0,0,0.3));
}

.pointer::after {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 10px;
    height: 10px;
    background: #fff;
    border-radius: 50%;
    margin-top: 5px;
}

.controls {
    margin-top: 1rem;
}

.btn {
    padding: 1rem 3rem;
    font-size: 1.5rem;
    font-weight: 700;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-family: inherit;
    outline: none;
}

.btn-start {
    background: linear-gradient(45deg, var(--accent-color), #ff0055);
    color: white;
    box-shadow: 0 5px 15px rgba(255, 46, 99, 0.4);
}

.btn-start:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px rgba(255, 46, 99, 0.6);
}

.btn-start:active {
    transform: translateY(1px) scale(0.98);
}

.btn-stop {
    background: linear-gradient(45deg, var(--secondary-color), #00a8a5);
    color: #1a1a2e;
    box-shadow: 0 5px 15px rgba(8, 217, 214, 0.4);
}

.btn-stop:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px rgba(8, 217, 214, 0.6);
}

@media (max-width: 480px) {
    .wheel-wrapper {
        width: 300px;
        height: 300px;
    }
    .title {
        font-size: 2rem;
    }
}
