.cards-area {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    margin-bottom: 40px;
    padding: 60px 40px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    flex-wrap: wrap;
}

.card-wrapper {
    text-align: center;
}

.card-wrapper h3 {
    color: var(--white);
    margin-bottom: 20px;
    font-size: 1.3rem;
}

.card {
    width: 200px;
    height: 280px;
    background: var(--white);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    position: relative;
    transition: transform 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
}

.card-back {
    font-size: 8rem;
    user-select: none;
}

.card-front {
    font-size: 4rem;
    font-weight: 700;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.card-suit {
    font-size: 3rem;
}

.card.red .card-front {
    color: #C94C4C;
}

.card.black .card-front {
    color: #1A1A1A;
}

.card.flipping {
    animation: cardFlip 0.6s ease-in-out;
}

.vs-divider {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--white);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.btn-draw {
    font-size: 1.3rem;
    padding: 18px 50px;
    letter-spacing: 1px;
}

.paytable ul {
    list-style: none;
    padding: 0;
}

.paytable li {
    padding: 12px 0;
    border-bottom: 1px solid var(--light-bg);
    line-height: 1.6;
}

.paytable li:last-child {
    border-bottom: none;
}

@keyframes cardFlip {
    0% {
        transform: rotateY(0deg);
    }
    50% {
        transform: rotateY(90deg);
    }
    100% {
        transform: rotateY(0deg);
    }
}

@media (max-width: 768px) {
    .cards-area {
        gap: 20px;
        padding: 40px 20px;
    }

    .card {
        width: 150px;
        height: 210px;
    }

    .card-back {
        font-size: 6rem;
    }

    .card-front {
        font-size: 3rem;
    }

    .card-suit {
        font-size: 2rem;
    }

    .vs-divider {
        font-size: 2rem;
        width: 100%;
        order: -1;
    }
}