* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
}

body {
    background: linear-gradient(135deg, #0b1c4a 0%, #1a3a7d 100%);
    color: white;
    font-family: 'Helvetica Neue', Arial, sans-serif;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 100vh;
    overflow: hidden;
}

.header {
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 15px 20px;
    font-size: 1.2rem;
    font-weight: bold;
}

.title {
    text-align: center;
    font-size: 2.2rem;
    color: #ffde59;
    text-shadow: 0 4px 6px rgba(0,0,0,0.5);
    line-height: 1.2;
    margin-bottom: 20px;
}
.title span {
    font-size: 3rem;
    color: #fff;
    background: -webkit-linear-gradient(#fff, #ffde59);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.wheel-container {
    position: relative;
    margin: 10px 0 30px;
    width: 320px;
    height: 320px;
    border-radius: 50%;
    box-shadow: 0 0 20px rgba(255, 222, 89, 0.4), inset 0 0 15px rgba(0,0,0,0.5);
    background: #0d2861;
    border: 8px solid #ffde59;
}

.wheel-pointer {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 40px;
    color: #ff3b30;
    z-index: 10;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

#wheel-canvas {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    transition: transform 3.5s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.controls {
    display: flex;
    flex-direction: column;
    gap: 15px;
    width: 80%;
    max-width: 300px;
}

.btn-3d {
    border: none;
    border-radius: 15px;
    padding: 15px;
    font-size: 1.2rem;
    font-weight: bold;
    color: white;
    cursor: pointer;
    text-transform: uppercase;
    transition: transform 0.1s;
    box-shadow: 0 6px 0 var(--btn-shadow);
}

.btn-3d:active {
    transform: translateY(6px);
    box-shadow: 0 0 0 var(--btn-shadow);
}

.btn-primary {
    background: linear-gradient(180deg, #ffde59, #f39c12);
    color: #8b4513;
    --btn-shadow: #d68910;
}

.btn-secondary {
    background: linear-gradient(180deg, #3498db, #2980b9);
    --btn-shadow: #1f618d;
    font-size: 1rem;
    padding: 12px;
}

.icon-btn {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
    cursor: pointer;
}

.modal {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 100;
}

.hidden {
    display: none !important;
}

.modal-content {
    background: white;
    color: #333;
    padding: 25px;
    border-radius: 20px;
    text-align: center;
    width: 85%;
    max-width: 350px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.5);
}

.answers-grid {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 15px;
}

.answers-grid .btn-3d {
    background: #e74c3c;
    color: white;
    --btn-shadow: #c0392b;
}
