.card-chess-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 16px;
    margin: 8px;
    box-sizing: border-box;
    background: linear-gradient(135deg, #ffffff, #f8fafc);
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    max-width: 320px;
    width: 100%;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card-chess-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

.card-chess-content {
    text-align: center;
    width: 100%;
}

.card-chess-header {
    font-size: 18px;
    font-weight: 600;
    color: #1a202c;
    margin: 0 0 12px 0;
    line-height: 1.4;
}

.card-chess-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
}

.accept-call,
.decline-call {
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 500;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.1s ease;
    outline: none;
}

.decline-call {
    display: none; /* Initially hidden */
}

.accept-call {
    background-color: #48bb78;
    color: #ffffff;
}

.accept-call:hover {
    background-color: #38a169;
    transform: scale(1.05);
}

.decline-call {
    background-color: #f56565;
    color: #ffffff;
}

.decline-call:hover {
    background-color: #e53e3e;
    transform: scale(1.05);
}

/* Responsive adjustments */
@media (max-width: 480px) {
    .card-chess-card {
        margin: 4px;
        padding: 12px;
        max-width: 100%;
    }

    .card-chess-header {
        font-size: 16px;
    }

    .accept-call,
    .decline-call {
        padding: 8px 16px;
        font-size: 13px;
    }
}