body {
    font-family: 'Segoe UI', Arial, sans-serif;
    background: linear-gradient(135deg, #f8ffae 0%, #43c6ac 100%);
    min-height: 100vh;
    margin: 0;
}

.container {
    max-width: 900px;
    margin: 40px auto;
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 4px 24px #0001;
    padding: 32px 20px 24px 20px;
    display: flex;
    flex-direction: row;
    gap: 32px;
    align-items: flex-start;
    justify-content: center;
}

@media (max-width: 800px) {
    .container {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }
}

h1 {
    font-size: 2rem;
    margin-bottom: 18px;
    color: #43c6ac;
    letter-spacing: 1px;
    text-align: center;
    width: 100%;
}

#wheel-area {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

#wheelCanvas {
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 2px 12px #43c6ac44;
    margin: 0 auto 0 auto;
    display: block;
}

#wheel-arrow {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

#spinBtn {
    background: linear-gradient(90deg, #43c6ac 60%, #f8ffae 100%);
    color: #222;
    border: none;
    border-radius: 50px;
    padding: 14px 38px;
    font-size: 1.2rem;
    font-weight: bold;
    cursor: pointer;
    margin: 24px 0 0 0;
    box-shadow: 0 2px 8px #43c6ac33;
    transition: background 0.2s, transform 0.1s;
    align-self: flex-end;
}

#spinBtn:hover {
    background: linear-gradient(90deg, #43c6ac 80%, #f8ffae 100%);
    transform: scale(1.05);
}

#inputs-area {
    min-width: 220px;
    max-width: 320px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
}

#inputs-label {
    font-weight: bold;
    color: #43c6ac;
    margin-bottom: 8px;
    text-align: left;
}

#inputs {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

#inputs input {
    padding: 8px 10px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 1rem;
}

#inputs button {
    background: #43c6ac;
    color: #fff;
    border: none;
    border-radius: 6px;
    padding: 8px 14px;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.2s;
    margin-top: 4px;
    align-self: flex-start;
}

#inputs button:hover {
    background: #2fa08a;
}

.modal-bg {
    display: none;
    position: fixed;
    z-index: 99;
    left: 0;
    top: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(67, 198, 172, 0.18);
    align-items: center;
    justify-content: center;
}

.modal {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 6px 32px #43c6ac55;
    padding: 36px 28px;
    text-align: center;
    min-width: 220px;
}

.modal h2 {
    color: #43c6ac;
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.modal .result-text {
    font-size: 1.3rem;
    font-weight: bold;
    color: #222;
    margin-bottom: 18px;
}

.close-btn {
    background: #43c6ac;
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 8px 22px;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.2s;
}

.close-btn:hover {
    background: #2fa08a;
}

@media (max-width: 800px) {
    #inputs-area {
        max-width: 100%;
        min-width: 0;
    }

    .container {
        padding: 12px 2vw 18px 2vw;
    }

    #wheelCanvas {
        max-width: 340px;
        max-height: 340px;
    }
}