/* Tile Rack Section */
.player-controls {
    background-color: var(--rack-brown);
    padding: 1.5rem;
    border-radius: 10px;
    margin-top: 1rem;
}

.tile-rack {
    display: flex;
    gap: 0.75rem;
    padding: 1rem;
    background-color: #8B4513;
    border-radius: 8px;
    min-height: 80px;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

/* Individual Tile Styles */
.tile {
    width: 50px;
    height: 50px;
    background-color: #f4d03f;
    border-radius: 5px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: move;
    user-select: none;
    position: relative;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.2);
    transition: transform 0.2s ease;
}

.tile:hover {
    transform: translateY(-2px);
}

.tile.dragging {
    opacity: 0.6;
    transform: scale(1.05);
}

.tile-letter {
    font-size: 1.5rem;
    font-weight: bold;
    color: #333;
}

.tile-points {
    position: absolute;
    bottom: 2px;
    right: 2px;
    font-size: 0.8rem;
    color: #666;
}

/* Game Buttons */
.game-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.control-button {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 25px;
    background-color: white;
    color: var(--rack-brown);
    font-weight: bold;
    cursor: pointer;
    transition: all 0.2s ease;
    min-width: 120px;
}

.control-button:hover {
    background-color: #f5f5f5;
    transform: translateY(-2px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.control-button:disabled {
    background-color: #ccc;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* Empty Rack Placeholder */
.tile-rack.empty::before {
    content: "Drag tiles here";
    color: rgba(255, 255, 255, 0.5);
    font-style: italic;
}

/* Tile Animation */
@keyframes tilePlace {
    0% { transform: scale(1.1); }
    50% { transform: scale(0.95); }
    100% { transform: scale(1); }
}

.tile.placed {
    animation: tilePlace 0.3s ease-out;
} 