/* Container Roda */
.wheel-wrapper {
    position: relative;
    width: 280px;
    height: 280px;
    margin: 20px auto;
}

#wheel-pointer {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 0; height: 0;
    border-left: 15px solid transparent;
    border-right: 15px solid transparent;
    border-top: 25px solid #f1c40f;
    z-index: 10;
}

#the-wheel {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 5px solid white;
    background: conic-gradient(
        #e74c3c 0deg 60deg, 
        #f1c40f 60deg 120deg, 
        #27ae60 120deg 180deg, 
        #3498db 180deg 240deg, 
        #9b59b6 240deg 300deg, 
        #e67e22 300deg 360deg
    );
    transition: transform 4s cubic-bezier(0.1, 0, 0.2, 1);
    box-shadow: 0 10px 20px rgba(0,0,0,0.3);
}

/* Papan Perkataan */
.board-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin: 20px 10px;
    min-height: 120px;
}

.letter-box {
    width: 35px;
    height: 45px;
    background: #34495e;
    border: 2px solid white;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    text-transform: uppercase;
    color: transparent; /* Huruf tak nampak selagi tak 'revealed' */
}

.letter-box.revealed {
    background: #f1c40f;
    color: #2c3e50;
    border-color: #f1c40f;
}

.letter-box.space {
    border: none;
    background: transparent;
    width: 15px;
}

/* Info & Action Area */
.category-info {
    background: rgba(0,0,0,0.3);
    padding: 8px 20px;
    border-radius: 20px;
    margin: 10px auto;
    width: fit-content;
    color: #f1c40f;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.game-action-area {
    min-height: 120px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.guess-input-box {
    margin-top: 10px;
    display: flex;
    gap: 5px;
}

.guess-input-box input {
    width: 50px;
    height: 50px;
    font-size: 24px;
    text-align: center;
    border: 3px solid #f1c40f;
    border-radius: 8px;
    background: #fff;
    color: #333;
    text-transform: uppercase;
}

.guess-input-box button {
    width: auto;
    padding: 0 15px;
    height: 50px;
    margin: 0;
  }
