.word-grid {
    display: grid;
    grid-template-columns: repeat(15, 1fr);
    gap: 3px;
    margin-right: 2rem;
    background: rgba(0,0,0,0.2);
    padding: 10px;
    border-radius: 8px;
    user-select: none;
    max-width: 600px;
}

.grid-cell {
    aspect-ratio: 1;
    background: rgba(255,255,255,0.1);
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: bold;
    font-size: 1.1rem;
    cursor: crosshair;
    border-radius: 4px;
    color: var(--text-primary);
    transition: all 0.2s;
}

.grid-cell:hover {
    background: rgba(255,255,255,0.3);
}

.grid-cell.selected {
    background: var(--primary-color);
    color: white;
}

.grid-cell.found {
    background: #10b981;
    color: white;
    border-radius: 50%;
}

.word-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.word-list li {
    font-size: 1.1rem;
    padding: 0.5rem 1rem;
    background: rgba(255,255,255,0.05);
    border-left: 4px solid var(--secondary-color);
    border-radius: 4px;
    transition: all 0.3s;
}

.word-list li.found-word {
    text-decoration: line-through;
    opacity: 0.5;
    border-left-color: #10b981;
}

@media (max-width: 800px) {
    #game-area { flex-direction: column; }
    .word-grid { margin-right: 0; margin-bottom: 2rem; gap: 2px; }
    .grid-cell { font-size: 0.9rem; }
    .word-list { flex-direction: row; flex-wrap: wrap; justify-content: center; }
}
