body {
    font-family: sans-serif;
    background-color: #f0f0f0;
    color: #333;
    margin: 0;
    padding: 20px;
}

#game-container {
    max-width: 1200px;
    margin: auto;
    display: grid;
    grid-template-columns: 2fr 1fr;
    grid-template-rows: auto 1fr;
    gap: 20px;
    height: 90vh;
}

#story-container {
    grid-column: 1 / 2;
    grid-row: 1 / 2;
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

#story-image {
    height: 200px;
    background-color: #e0e0e0;
    margin-bottom: 15px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #888;
}

#interaction-container {
    grid-column: 1 / 2;
    grid-row: 2 / 3;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

#interaction-targets, #choices-container {
    background: white;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    min-height: 50px;
}

#interaction-targets .target, #choices-container .choice {
    padding: 10px;
    background-color: #e9efff;
    border: 1px solid #b3c7ff;
    border-radius: 4px;
    cursor: pointer;
    margin: 5px;
    display: inline-block;
}

#interaction-targets .target:hover, #choices-container .choice:hover {
    background-color: #d4e0ff;
}

#player-container {
    grid-column: 2 / 3;
    grid-row: 1 / 3;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

#player-status-container, #hand-container {
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

#cards-in-hand {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.card {
    border: 1px solid #ccc;
    border-radius: 8px;
    padding: 10px;
    width: 120px;
    height: 160px;
    background-color: #fff;
    cursor: pointer;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    transition: all 0.2s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

.card.selected {
    border-color: #4a90e2;
    box-shadow: 0 0 10px #4a90e2;
}

.card h4 {
    margin: 0 0 10px 0;
    font-size: 1em;
}

.card p {
    font-size: 0.8em;
    margin: 0;
}

#staging-area {
    border: 2px dashed #ccc;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 10px;
    text-align: center;
    color: #888;
    min-height: 60px;
    background-color: #fafafa;
}

#execute-button {
    width: 100%;
    padding: 15px;
    font-size: 1.2em;
    font-weight: bold;
    cursor: pointer;
    border: none;
    border-radius: 8px;
    background-color: #28a745;
    color: white;
    transition: background-color 0.2s;
}

#execute-button:disabled {
    background-color: #9e9e9e;
    cursor: not-allowed;
}

#execute-button:not(:disabled):hover {
    background-color: #218838;
}

.target.droppable {
    border: 2px dashed #4a90e2;
    background-color: #e9efff;
}

.card.dragging {
    opacity: 0.5;
    transform: scale(0.9);
}
