.wheel-container {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px;
    position: relative;
    width: 100%;
    height: 100%;
}

.wheel-result {
    display: flex;
    flex-direction: column;
    border-radius: 5px;
    text-align: center;
    flex: 1;
}

.pointer {
    position: absolute;
    top: 50%;
    right: 5px;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-top: 15px solid transparent;
    border-bottom: 15px solid transparent;
    border-right: 30px solid var(--purple);
    z-index: 10;
    pointer-events: none;
}

.fullscreen-mode {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.9);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.fullscreen-mode .content-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 90%;
    max-width: 800px;
}

.fullscreen-mode .wheel-container {
    width: 90vmin;
    height: 90vmin;
    max-width: 500px;
    max-height: 500px;
}

.fullscreen-mode .wheel-result {
    margin-top: 30px;
    color: white;
    text-align: center;
    width: 100%;
    max-width: 500px;
}

.fullscreen-mode #wheelResult {
    color: white;
    font-size: 2em;
    margin: 15px 0;
    word-wrap: break-word;
    overflow-wrap: break-word;
    white-space: normal;
    max-width: 100%;
    padding: 0 20px;
}

.fullscreen-mode .wheel-buttons button:not(.icon-button) {
    padding: 12px 24px;
    font-size: 1.2em;
}

.fullscreen-mode .wheel-buttons {
    width: auto;
    padding: 0;
    position: relative;
}

.fullscreen-mode canvas {
    font-size: 5em;
}

@media (max-width: 768px) {
    .wheel-container canvas {
        max-width: 100%;
        height: auto;
    }
}