/* ===== Sonnensystem Showblock ===== */

#solar-system {
    position: relative;
    width: 100%;
    height: 100%;
    background: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

#solar-system-canvas {
    display: block;
    /* Größe wird per JS gesetzt */
}

/* ===== Intro-Card ===== */

#solar-system-intro {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #000;
    opacity: 0;
    transition: opacity 1.2s ease;
    pointer-events: none;
    z-index: 10;
}

#solar-system-intro.visible {
    opacity: 1;
}

#solar-system-intro .ss-intro-title {
    font-family: 'Georgia', serif;
    font-size: 3.2rem;
    font-weight: normal;
    color: #fff;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 0.6em;
}

#solar-system-intro .ss-intro-subtitle {
    font-family: 'Georgia', serif;
    font-size: 1.3rem;
    color: #8ab4d0;
    letter-spacing: 0.08em;
}

/* ===== Info-Card ===== */

#solar-system-info-card {
    position: absolute;
    bottom: 6%;
    left: 50%;
    transform: translateX(-50%);
    width: min(520px, 88%);
    background: rgba(0, 10, 24, 0.88);
    border: 1px solid rgba(100, 160, 220, 0.35);
    border-radius: 6px;
    padding: 1.4rem 1.8rem;
    opacity: 0;
    transition: opacity 0.7s ease;
    pointer-events: none;
    z-index: 10;
}

#solar-system-info-card.visible {
    opacity: 1;
}

#ss-info-name {
    font-family: 'Georgia', serif;
    font-size: 1.6rem;
    font-weight: normal;
    color: #e8f4ff;
    letter-spacing: 0.06em;
    margin-bottom: 0.9rem;
}

.ss-info-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 0.4rem;
    gap: 1rem;
}

.ss-info-row span:first-child {
    font-size: 0.85rem;
    color: #7a9ab8;
    white-space: nowrap;
}

.ss-info-row span:last-child {
    font-size: 0.95rem;
    color: #c8e0f4;
    text-align: right;
}

#ss-info-fact {
    margin-top: 1rem;
    font-size: 0.88rem;
    color: #9ab8cc;
    line-height: 1.5;
    font-style: italic;
    border-top: 1px solid rgba(100, 160, 220, 0.2);
    padding-top: 0.8rem;
}

/* ===== Farewell-Card ===== */

#solar-system-farewell {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.85);
    opacity: 0;
    transition: opacity 1.2s ease;
    pointer-events: none;
    z-index: 10;
}

#solar-system-farewell.visible {
    opacity: 1;
}

#solar-system-farewell .ss-farewell-text {
    font-family: 'Georgia', serif;
    font-size: 1.5rem;
    color: #8ab4d0;
    letter-spacing: 0.1em;
    text-align: center;
    max-width: 600px;
    line-height: 1.7;
}

/* ===== Label-Overlay (Canvas-Beschriftung) ===== */

.ss-label {
    position: absolute;
    font-size: 0.78rem;
    color: rgba(200, 220, 240, 0.85);
    pointer-events: none;
    white-space: nowrap;
    transform: translate(-50%, -150%);
    z-index: 5;
}

/* ===== Sky-View-Label ===== */

#solar-system-sky-label {
    position: absolute;
    bottom: 5%;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    opacity: 0;
    transition: opacity 1.4s ease;
    pointer-events: none;
    z-index: 10;
    white-space: nowrap;
}

#solar-system-sky-label.visible {
    opacity: 1;
}

.ss-sky-label-line {
    font-family: var(--font-family);
    font-size: 0.78rem;
    font-weight: var(--font-weight-normal);
    color: rgba(136, 210, 235, 0.60);
    letter-spacing: 0.18em;
    text-transform: uppercase;
    margin-bottom: 0.30em;
}

.ss-sky-location-name {
    font-family: var(--font-family);
    font-size: 2.4rem;
    font-weight: var(--font-weight-semibold);
    color: #88ddff;
    letter-spacing: 0.06em;
    text-shadow: var(--shadow-text);
}
