:root {
    --bg-color: #141414;
    --text-color: #e8e8e8;
    --accent-color: #ff6b00;
    --font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    --card-bg: rgba(255, 255, 255, 0.03);
    --card-border: rgba(232, 232, 232, 0.08);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-family);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    height: 100dvh;
    overflow: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

/* --- SPLIT LAYOUT --- */
.split-layout {
    display: flex;
    height: 100dvh;
    width: 100%;
}

/* --- SLIDESHOW HINTERGRUND --- */
.profile-bg-slider {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
}

.profile-bg-slider .slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.5s cubic-bezier(0.4, 0, 0.2, 1), transform 6s ease-out;
    transform: scale(1.05); /* Leichter Zoom, der beim Erscheinen auf 1 geht */
}

.profile-bg-slider .slide.active {
    opacity: 1;
    transform: scale(1.02);
    z-index: 1;
}

/* --- LINKE SEITE (VISUELLER FOKUS) --- */
.profile-side {
    position: relative;
    width: 70%;
    height: 100dvh;
    display: flex;
    overflow: hidden;
    cursor: pointer;
    border-right: 1px solid var(--card-border);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    background: #000;
}

.profile-side:hover .profile-hint {
    opacity: 1;
    transform: translateY(0);
}

.profile-side:hover .hint-icon {
    color: var(--accent-color);
}

.profile-side::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.4) 40%, rgba(0, 0, 0, 0.95) 100%);
    z-index: 5;
    pointer-events: none;
}

.profile-hint {
    position: absolute;
    bottom: 40px;
    right: 40px;
    z-index: 100; /* Definitiv über dem Overlay */
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    opacity: 0.7; /* Leicht gedimmt im Ruhezustand */
    color: #ffffff;
    transform: translateX(15px);
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    border-left: 2px solid #fff;
    padding: 10px 22px;
    background: rgba(255,255,255,0.03);
    backdrop-filter: blur(10px);
    overflow: hidden;
}

.profile-side:hover .profile-hint {
    opacity: 1;
    transform: translateX(0);
    color: #ffffff; /* Bleibt weiß wegen Orange-Hintergrund */
}

.profile-hint::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: var(--accent-color);
    transition: width 0.4s cubic-bezier(0.19, 1, 0.22, 1);
    z-index: -1;
}

.profile-side:hover .profile-hint::before {
    width: 100%;
}

.hint-icon {
    font-size: 1.5rem;
    transition: color 0.3s ease, transform 0.3s ease;
}

.profile-side:hover .hint-icon {
    transform: translate(3px, -3px);
}

/* --- RECHTE SEITE (LINKS) --- */
.links-side {
    width: 30%;
    height: 100dvh;
    padding: 60px 40px 0 40px; /* Padding-Bottom entfernen, da es in der inneren Box besser funktioniert */
    display: flex;
    justify-content: center;
    overflow-y: auto;
}

.links-container {
    width: 100%;
    max-width: 600px;
    display: flex;
    flex-direction: column;
    gap: 40px;
    padding-bottom: 100px; /* Der garantierte, scrollbare Platz nach unten */
}

/* Header Text (Nexeth & Bio) */
.right-header {
    text-align: left;
    margin-bottom: 10px;
}

.profile-name {
    font-size: 3.5rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 8px;
    color: #ffffff;
    line-height: 1.1;
}

.profile-bio {
    font-size: 1.1rem;
    color: rgba(232, 232, 232, 0.7);
    font-weight: 400;
}

/* Kategorie */
.category {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.category-title {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: rgba(232, 232, 232, 0.5);
    margin-left: 4px;
}

.links-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

/* Link Button */
.link-btn {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 24px;
    background: rgba(255, 255, 255, 0.03);
    border: none;
    border-left: 3px solid #ffffff; /* Weiße Kante links */
    border-radius: 0; /* Eckig */
    color: var(--text-color);
    text-decoration: none;
    font-size: 1.05rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: color 0.3s ease;
    z-index: 1;
    overflow: hidden;
}

.link-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: var(--accent-color);
    transition: width 0.5s cubic-bezier(0.19, 1, 0.22, 1);
    z-index: -1;
}

.link-btn:hover {
    color: #ffffff;
}

.link-btn:hover::before {
    width: 100%;
}

.link-arrow {
    opacity: 0.8;
    transition: transform 0.4s cubic-bezier(0.19, 1, 0.22, 1);
    font-size: 1.2rem;
}

.link-btn:hover .link-arrow {
    transform: translateX(5px);
}

/* --- SOCIAL ICONS --- */
.socials-container {
    display: flex;
    justify-content: center; /* Zentriert unten */
    gap: 24px;
    border-top: 1px solid var(--card-border);
    padding-top: 30px;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-color);
    padding: 8px; /* Klickbare Fläche vergrößern */
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1); /* Epic Spring Animation */
}

.social-icon svg,
.social-icon img {
    width: 26px;
    height: 26px;
    object-fit: contain;
    transition: all 0.3s ease;
}

.social-icon:hover svg,
.social-icon:hover img {
    color: var(--accent-color);
    transform: scale(1.15);
    filter: drop-shadow(0 8px 15px rgba(255, 107, 0, 0.4));
}

/* --- ANIMATIONS (Stagger) --- */
@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.stagger-in {
    opacity: 0;
    transform: translateY(40px) scale(0.98); /* Startet tiefer und leicht verkleinert */
    animation: fadeInUp 1s cubic-bezier(0.2, 1, 0.3, 1) forwards; /* Längere, stärkere Kurve */
}

/* --- RESPONSIVE (MOBILE) --- */
@media (max-width: 900px) {
    .split-layout {
        flex-direction: column;
    }

    .profile-side {
        width: 100%;
        height: 45vh;
        min-height: auto;
        border-right: none;
        border-bottom: 1px solid var(--card-border);
    }

    .profile-hint {
        bottom: 20px;
        right: 20px;
        font-size: 0.85rem;
    }

    .links-side {
        width: 100%;
        height: 55vh;
        padding: 30px 20px;
        overflow-y: auto;
    }

    .profile-name {
        font-size: 2.5rem;
    }
}
