/* Gesamtbereich */
.character {
    display: flex;
    justify-content: center;
    padding: 60px 20px;
    background: #f4f6f8;
    min-height: 100vh;
}

/* Steckbrief */
.character-detail {
    position: relative;
    width: 900px;
    max-width: 100%;
    background: linear-gradient(180deg, #fefefe 0%, #f2fbff 100%);
    padding: 50px 60px;
    border-radius: 18px;
    border: 2px solid #cce7f0;
    box-shadow: 0 15px 40px rgba(0, 120, 150, 0.15);
    font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
}

/* Titel */
.character-detail h1 {
    text-align: center;
    font-size: 38px;
    margin-bottom: 40px;
    letter-spacing: 1px;
}

/* Bild oben rechts */
.character-detail img {
    position: absolute;
    top: 40px;
    right: 50px;
    width: 200px;
    height: auto;
    border-radius: 12px;
    border: 4px solid #00b4d8;
    box-shadow: 0 8px 20px rgba(0, 150, 180, 0.25);
}

/* Grid für Eigenschaften */
#characterContent {
    margin-top: 20px;
    display: grid;
    grid-template-columns: 200px 1fr;
    row-gap: 18px;
    column-gap: 25px;
    font-size: 17px;
}

/* Linke Spalte (Labels) */
.text-line a:first-child,
.continuous-text > a {
    font-weight: 600;
    text-align: right;
    padding-right: 10px;
}

/* Rechte Spalte (Werte) */
.text-line a:last-child {
    text-align: left;
}

/* Mehrzeilige Textbereiche */
.continuous-text {
    display: contents;
}

.continuous-text > a {
    grid-column: 1;
}

.continuous-text {
    grid-column: 2;
}

/* Copy Button */
.copy-btn {
    position: absolute;
    top: 70px;
    right: 65px;
    background: #4CAF50;
    color: white;
    border: none;
    border-radius: 25px;
    padding: 8px 18px;
    cursor: pointer;
    font-size: 14px;
    transition: 0.3s ease;
}

.copy-btn:hover {
    background: #0096c7;
}

/* Responsive */
@media (max-width: 768px) {

    .character-detail {
        padding: 30px;
    }

    .character-detail img {
        position: static;
        display: block;
        margin: 0 auto 20px auto;
    }

    #characterContent {
        grid-template-columns: 1fr;
    }

    .text-line a:first-child,
    .continuous-text > a {
        text-align: left;
        padding-right: 0;
    }
}