/* Page mécanique — apparition des monstres */

.apparitions-general-info {
    display: flex;
    gap: 25px;
    align-items: center;
    width: 100%;
}

.apparitions-image {
    flex: 0 0 60%;
    max-width: 60%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.apparitions-image img {
    max-width: 500px;
    max-height: 500px;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
    border-radius: 15px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

.apparitions-description {
    flex: 1;
    min-width: 0;
}

.apparitions-description p {
    color: rgba(255, 255, 255, 0.95);
    font-size: 1.05rem;
    line-height: 1.65;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
    margin: 0;
}

.sub-section-selector {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-bottom: 25px;
}

.sub-section-btn.is-active {
    background: rgba(255, 255, 255, 0.35);
    border-color: rgba(255, 255, 255, 0.55);
}

.sub-section-panel {
    display: none;
}

.sub-section-panel.is-visible {
    display: block;
}

.sub-section-content {
    width: 100%;
}

.apparitions-text-panel {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 24px 28px;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.apparitions-text-panel p {
    color: rgba(255, 255, 255, 0.95);
    font-size: 1rem;
    line-height: 1.65;
    margin: 0;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.apparitions-text-panel a {
    color: rgba(255, 255, 255, 0.95);
    text-decoration: underline;
}

.apparitions-text-panel a:hover {
    color: white;
}

@media (max-width: 768px) {
    .apparitions-general-info {
        flex-direction: column;
    }

    .apparitions-image {
        flex: none;
        max-width: 100%;
        width: 100%;
    }

    .apparitions-description p {
        font-size: 1rem;
    }

    .apparitions-text-panel {
        padding: 18px 20px;
    }
}
