body {
    font-family: Arial, sans-serif;
    background: #1f1f1f;
    color: white;
    margin: 0;
    padding: 20px;
}

.container {
    max-width: 600px;
    margin: auto;
}

h1,
h2,
h3 {
    text-align: center;
}

.version {
    text-align: center;
    color: #bdbdbd;
    font-size: 14px;
    margin-top: -10px;
    margin-bottom: 20px;
}

#characterTitle {
    color: #ffd966;
    margin-bottom: 20px;
}

.setup {
    background: #2f2f2f;
    padding: 20px;
    border-radius: 15px;
    margin-bottom: 20px;
}

input {
    width: 100%;
    padding: 12px;
    margin-bottom: 10px;
    box-sizing: border-box;
    font-size: 18px;
    border-radius: 10px;
    border: none;
}

.statCard {
    padding: 20px;
    border-radius: 15px;
    margin-bottom: 20px;
}

.hpCard {
    background: #7a2020;
}

.mpCard {
    background: #204a87;
}

.fatigueCard {
    background: #b45f06;
}

.statCard p {
    font-size: 24px;
    text-align: center;
    line-height: 1.6;
    margin-bottom: 20px;
}

.buttonRow {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.plusButton,
.minusButton {
    width: 90px;
    height: 90px;
    font-size: 40px;
    border: none;
    border-radius: 15px;
    cursor: pointer;
    transition: 0.2s;
}

.plusButton:hover,
.minusButton:hover,
.saveButton:hover,
.resetButton:hover,
.restButton:hover {
    opacity: 0.9;
}

.plusButton {
    background: #4caf50;
    color: white;
}

.minusButton {
    background: #d32f2f;
    color: white;
}

.saveButton,
.resetButton,
.restButton {
    width: 100%;
    padding: 15px;
    margin-top: 10px;
    font-size: 18px;
    border: none;
    border-radius: 10px;
    cursor: pointer;
}

.saveButton {
    background: #1976d2;
    color: white;
}

.resetButton {
    background: #616161;
    color: white;
}

.restButton {
    background: #2e7d32;
    color: white;
    font-size: 24px;
    margin-top: 20px;
}

hr {
    border: none;
    border-top: 1px solid #555;
    margin: 20px 0;
}

@media (max-width: 600px) {

    body {
        padding: 10px;
    }

    .plusButton,
    .minusButton {
        width: 100px;
        height: 100px;
        font-size: 48px;
    }

    .statCard p {
        font-size: 28px;
    }

    input {
        font-size: 20px;
    }
}
