body {
    background: radial-gradient(1200px 800px at 15% 0%, #1a2230 0%, #11151b 45%, #0c0f14 100%);
    color: #f4f7ff;
    font-family: "Space Grotesk", "Trebuchet MS", "Segoe UI", sans-serif;
    margin: 0;
    padding: 0;
}
* {
    box-sizing: border-box;
}
img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
}
header {
    background-color: #1a1f27;
    padding: 20px;
    text-align: center;
}
section {
    padding: 40px 20px;
    border-bottom: 1px solid #2c3442;
}
#introduction {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 120px 20px 100px;
}
#introduction h1 {
    font-size: clamp(2.8rem, 6vw, 4.2rem);
    line-height: 1.05;
    margin-bottom: 12px;
}
#introduction .section-content {
    gap: 24px;
}
footer {
    background-color: #1a1f27;
    padding: 20px;
    text-align: center;
}
button {
    background-color: #2c3442;
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 999px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}
button:hover {
    background-color: #3a4659;
}
a {
    color: #5ad1ff;
    text-decoration: none;
}
a:hover {
    text-decoration: underline;
}
@media (max-width: 768px) {
    header, section, footer {
        padding: 20px 10px;
    }
    #introduction {
        min-height: auto;
        padding: 70px 16px 60px;
    }
    #introduction .section-content {
        gap: 18px;
    }
    button {
        width: 100%;
        padding: 15px;
    }
    .back-to-top {
        width: auto;
        min-width: 0;
        padding: 10px 14px;
        bottom: 12px;
        right: 12px;
    }
}
header h1 {
    font-size: 2.5em;
    margin: 0;
}
img.small {
    width: 150px;
    height: auto;
}
img.large {
    width: 300px;
    height: auto;
}
.section-card {
    max-width: 980px;
    margin: 0 auto;
}
.section-card h2,
.section-card h1 {
    letter-spacing: 0.3px;
}
.section-toggle {
    margin: 12px 0 8px;
    font-size: 0.95rem;
}
.section-content {
    display: grid;
    gap: 16px;
}
.collapsed .section-content {
    display: none;
}
.zoomable {
    cursor: zoom-in;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.zoomable:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
}
.back-to-top {
    position: fixed;
    right: 18px;
    bottom: 18px;
    opacity: 0;
    transform: translateY(10px);
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
    z-index: 20;
}
.back-to-top.show {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}
#scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 4px;
    width: 0;
    background: linear-gradient(90deg, #5ad1ff, #ffb347);
    z-index: 30;
}
.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(10, 12, 18, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
    z-index: 40;
}
.lightbox.open {
    opacity: 1;
    pointer-events: auto;
}
.lightbox img {
    max-width: min(90vw, 1000px);
    max-height: 80vh;
    border-radius: 14px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.65);
}
.profiles-shell {
    position: relative;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 16px;
    margin-top: 24px;
}
.profiles-viewport {
    overflow: hidden;
    border-radius: 18px;
}
.profiles-track {
    display: flex;
    transition: transform 0.4s ease;
    will-change: transform;
}
.profile-card {
    flex: 0 0 100%;
    background: rgba(18, 23, 32, 0.75);
    border: 1px solid rgba(90, 209, 255, 0.2);
    border-radius: 18px;
    padding: 26px;
    display: grid;
    gap: 18px;
}
.profile-card h3 {
    margin: 0;
    font-size: clamp(1.6rem, 3vw, 2.2rem);
}
.profile-meta {
    display: grid;
    gap: 6px;
    font-size: 0.98rem;
    color: #c8d3ea;
}
.profile-media {
    display: grid;
    gap: 10px;
}
.profile-media img {
    width: 100%;
    height: 320px;
    object-fit: cover;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}
.profile-description {
    min-height: 110px;
    padding: 14px 16px;
    border-radius: 12px;
    background: rgba(10, 12, 18, 0.6);
    border: 1px dashed rgba(255, 255, 255, 0.2);
    color: #d7e0f4;
    font-size: 0.98rem;
    line-height: 1.5;
}
.profile-warning {
    padding: 14px 16px;
    border-radius: 12px;
    background: rgba(255, 179, 71, 0.12);
    border: 1px solid rgba(255, 179, 71, 0.35);
    color: #ffe2b2;
    box-shadow: inset 0 0 0 1px rgba(255, 179, 71, 0.1);
}
.profile-warning h4 {
    margin: 0 0 8px;
    font-size: 1.05rem;
    letter-spacing: 0.3px;
    color: #ffb347;
    text-transform: uppercase;
}
.profile-warning p {
    margin: 0;
    font-size: 0.98rem;
    line-height: 1.5;
}
.profile-actions {
    display: flex;
    justify-content: flex-start;
}
.profile-actions .wiki-button {
    margin-top: 4px;
}
.wiki-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 18px;
    border-radius: 999px;
    background: linear-gradient(120deg, #5ad1ff, #ffb347);
    color: #0c0f14;
    font-weight: 600;
    text-decoration: none;
}
.wiki-button:hover {
    text-decoration: none;
    filter: brightness(1.05);
}
.wiki-button.disabled {
    background: rgba(90, 98, 112, 0.5);
    color: #d0d6e6;
    cursor: not-allowed;
    pointer-events: none;
    filter: none;
}
.profiles-arrow {
    background: rgba(44, 52, 66, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #f4f7ff;
    border-radius: 50%;
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    cursor: pointer;
    transition: transform 0.2s ease, background-color 0.2s ease;
}
.profiles-arrow:hover {
    transform: translateY(-2px);
    background: rgba(58, 70, 89, 0.9);
}
.profiles-counter {
    margin-top: 10px;
    text-align: center;
    color: #aebad3;
    font-size: 0.95rem;
}
.lightbox-close {
    position: absolute;
    top: 20px;
    right: 20px;
}
@media (max-width: 768px) {
    .profiles-shell {
        grid-template-columns: 1fr;
    }
    .profiles-arrow {
        width: 100%;
        border-radius: 999px;
    }
    .profiles-viewport {
        order: -1;
    }
}
.section-card.in-view {
    animation: fadeUp 0.5s ease both;
}
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(12px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
