body {
            font-family: Arial, sans-serif;
            display: flex;
            flex-direction: column;
            align-items: center;
            background-color: #f0f0f0;
            margin: 0;
            min-height: 100vh;
        }

        #result-display {
            position: fixed;
            top: 50px;
            font-size: 100px;
            font-weight: bold;
            color: #ff4444;
            text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
            z-index: 1000;
            opacity: 0;
            transition: opacity 0.5s;
        }

        #wheel-container {
            position: relative;
            width: 600px;
            height: 600px;
            margin: 180px 20px 20px;
        }

        #wheel {
            width: 100%;
            height: 100%;
            border-radius: 50%;
            position: relative;
            overflow: hidden;
            transition: transform 5s cubic-bezier(0.4, 0.2, 0.3, 1);
        }

        .segment {
            position: absolute;
            width: 100%;
            height: 100%;
            clip-path: polygon(50% 50%, 100% 0, 100% 100%);
            transform-origin: 50% 50%;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: flex-start;
            box-sizing: border-box;
            background-color: #fff;
            padding-top: 40px;
        }

        .segment-number {
            font-size: 32px;
            font-weight: bold;
            color: #333;
            margin-bottom: 15px;
        }

        .segment-name {
            font-size: 20px;
            color: #666;
            writing-mode: vertical-rl;
            transform: rotate(180deg);
        }

        #pointer {
            position: absolute;
            top: -20px;
            left: 50%;
            transform: translateX(-50%);
            width: 20px;
            height: 40px;
            background-color: red;
            clip-path: polygon(50% 100%, 0 0, 100% 0);
            z-index: 1;
        }

        .controls {
            margin: 20px;
            display: flex;
            gap: 15px;
            flex-wrap: wrap;
            justify-content: center;
        }

        .history {
            width: 600px;
            margin: 20px;
            padding: 25px;
            background-color: white;
            border-radius: 15px;
            box-shadow: 0 4px 8px rgba(0,0,0,0.1);
        }

        .history li {
            margin: 12px 0;
            padding: 10px;
            border-bottom: 2px solid #eee;
        }

        .winner-name {
            font-size: 24px;
            font-weight: bold;
            color: #ff4444;
            margin-left: 15px;
        }

        button {
            padding: 12px 24px;
            border: none;
            border-radius: 8px;
            cursor: pointer;
            background-color: #4CAF50;
            color: white;
            transition: all 0.3s;
            font-size: 20px;
        }

        button:hover {
            background-color: #45a049;
            transform: scale(1.05);
        }

        input[type="number"] {
            padding: 12px;
            border: 3px solid #ddd;
            border-radius: 8px;
            width: 100px;
            font-size: 16px;
        }