/* /css/mulligan.css */
#mulligan-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85); /* Darker overlay */
    color: white;
    display: none; /* Hidden by default */
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    z-index: 1500; /* Above game, below hero select/menu */
    padding: 20px;
    box-sizing: border-box;
}

#mulligan-overlay.visible {
    display: flex; /* Show when active */
}

#mulligan-overlay h2 {
    font-size: 2.5em;
    margin-bottom: 20px;
}

#mulligan-instructions {
    font-size: 1.2em;
    margin-bottom: 30px;
}

#mulligan-hand-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px; /* Space between cards */
    margin-bottom: 30px;
    min-height: 150px; /* Ensure space for cards */
}

#mulligan-hand-container .card {
    cursor: pointer;
    border: 3px solid transparent; /* Start with transparent border */
    transition: transform 0.2s ease, border-color 0.2s ease;
}

#mulligan-hand-container .card:hover {
    transform: translateY(-5px) scale(1.03);
}

#mulligan-hand-container .card.selected-for-mulligan {
    border-color: gold; /* Highlight selected cards */
    box-shadow: 0 0 10px 3px gold;
    transform: translateY(-8px) scale(1.05); /* Lift selected cards slightly more */
}

#confirm-mulligan-button {
    padding: 12px 25px;
    font-size: 1.4em;
    font-weight: bold;
    cursor: pointer;
    border: none;
    border-radius: 5px;
    background-color: #4CAF50;
    color: white;
    transition: background-color 0.3s ease;
}

#confirm-mulligan-button:hover {
    background-color: #45a049;
}

#confirm-mulligan-button:disabled {
    background-color: #aaa;
    cursor: not-allowed;
}
