body {
    font-family: 'Segoe UI', Arial, sans-serif;
    background: linear-gradient(120deg, #f8fafc, #b6ead4 80%);
    margin: 0;
    padding: 0;
    min-height: 100vh;
}

#header {
    text-align: center;
    background: linear-gradient(90deg, #43cea2, #185a9d);
    color: #fff;
    padding: 36px 10px 20px;
    margin-bottom: 40px;
    box-shadow: 0 2px 12px rgba(33, 87, 225, 0.08);
    letter-spacing: 2px;
}

#container {
    display: flex;
    gap: 32px;
    justify-content: center;
    flex-wrap: wrap;
    margin: 30px 10px;
}

#player1,
#player2 {
    width: 400px;
    background-color: #fff;
    border: 2px solid #185a9d;
    border-radius: 16px;
    box-shadow: 0 4px 24px rgba(33, 87, 225, 0.07);
    padding: 20px 0 18px;
    transition: transform 0.2s;
}

#player1:hover,
#player2:hover {
    transform: translateY(-6px) scale(1.03);
}

#card1 img,
#card2 img {
    width: 220px;
    height: 220px;
    display: block;
    margin: 20px auto 10px;
    border-radius: 16px;
    background: #ebf2fa;
}

#card_header {
    background: #43cea2;
    color: #222;
    padding: 12px 24px 10px 24px;
    border-radius: 9px 9px 0 0;
    font-weight: 700;
    font-size: 20px;
    margin-bottom: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#abilities {
    list-style: none;
    padding: 12px 24px;
    background-color: #f5fdff;
    border-radius: 9px;
    margin: 20px 12px 0 12px;
    font-size: 17px;
    box-shadow: 0 1px 6px #d0dfef44;
    min-height: 54px;
}

#abilities li {
    background-color: #c4f1be;
    color: #003c2f;
    margin: 7px 0;
    border-radius: 4px;
    padding: 6px 12px;
    font-size: 16px;
}

#p1_score,
#p2_score {
    color: #222;
    font-size: 18px;
    font-weight: 700;
    float: right;
}

#experience {
    float: right;
    font-size: 20px;
    font-style: italic;
    color: #585088;
    margin-right: 30px;
}

#name {
    margin-top: 20px;
    padding-left: 24px;
    font-weight: 600;
    font-size: 20px;
    font-style: italic;
    letter-spacing: 1px;
    color: #2e3d82;
}

#fight {
    display: block;
    margin: 0 auto 20px;
    width: 90px;
    height: 44px;
    font-size: 19px;
    background: linear-gradient(90deg, #ff613a, #ffab5a);
    color: #fff;
    border-radius: 7px;
    border: none;
    cursor: pointer;
    box-shadow: 0 2px 8px #ff613a22;
    font-weight: 700;
    transition: background 0.19s, color 0.19s;
}

#fight:hover {
    background: linear-gradient(90deg, #ffab5a, #ff613a);
    color: #222;
}