:root {
    --bg-color: #0f0f11;
    --text-color: #f5f5f7;
    --accent-color: #007aff;
    --secondary-bg: #1a1a1c;
    --border-color: #2c2c2e;
    --safe-area-inset-bottom: env(safe-area-inset-bottom, 0px);
    --card-radius: 16px;
    --btn-radius: 8px;
    --font-main: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

::-webkit-scrollbar {
    display: none;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-main);
    line-height: 1.7;
    padding-bottom: calc(80px + var(--safe-area-inset-bottom));
}

#app {
    overflow-x: hidden;
    view-transition-name: main-content;
}

a {
    color: inherit;
    text-decoration: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

a:hover {
    opacity: 0.8;
}

/* Accessibility: Focus styles */
:focus-visible {
    outline: 2px solid var(--accent-color);
    outline-offset: 4px;
}

.link-card, .music-card, .sister-link, .btn-primary, .stream-link, .cookie-btn, .btn-secondary {
    transition: opacity 0.2s ease, transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

/* Skeleton Loader */
.img-wrapper {
    position: relative;
    background: var(--secondary-bg);
    overflow: hidden;
}

.img-wrapper.loading::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.05),
        transparent
    );
    animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

img {
    max-width: 100%;
    display: block;
    opacity: 0;
    transition: opacity 0.4s ease;
}

img.loaded {
    opacity: 1;
}

/* Cookie Banner & Settings */
.cookie-banner {
    position: fixed;
    bottom: calc(72px + var(--safe-area-inset-bottom));
    left: 16px;
    width: calc(100% - 32px);
    background: rgba(26, 26, 28, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border-color);
    border-radius: var(--card-radius);
    padding: 24px;
    z-index: 2000;
    display: flex;
    flex-direction: column;
    gap: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.cookie-banner-close {
    position: absolute;
    top: 12px;
    right: 12px;
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    padding: 4px;
    transition: color 0.2s ease;
}

.cookie-banner-close:hover {
    color: #fff;
}

.cookie-settings-text {
    background: transparent;
    border: none;
    color: var(--accent-color);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 12px;
    cursor: pointer;
    text-decoration: underline;
    text-underline-offset: 4px;
}

.cookie-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 15, 17, 0.9);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 3000;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 16px;
}

.cookie-modal-content {
    background: var(--secondary-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--card-radius);
    padding: 32px;
    width: 100%;
    max-width: 500px;
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 16px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.cookie-modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    padding: 4px;
    transition: color 0.2s ease;
}

.cookie-modal-close:hover {
    color: #fff;
}

.cookie-modal-content h3 {
    font-size: 1.25rem;
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 4px;
}

.cookie-modal-content p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.5;
    margin-bottom: 8px;
}

.cookie-option {
    border: 1px solid var(--border-color);
    border-radius: var(--btn-radius);
    padding: 16px;
    background: var(--bg-color);
}

.cookie-option label {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    cursor: pointer;
}

.toggle-switch {
    position: relative;
    width: 48px;
    height: 28px;
    flex-shrink: 0;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--border-color);
    transition: 0.3s;
    border-radius: 28px;
}

.toggle-slider:before {
    position: absolute;
    content: "";
    height: 20px;
    width: 20px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: 0.3s;
    border-radius: 50%;
}

input:checked + .toggle-slider {
    background-color: var(--accent-color);
}

input:focus + .toggle-slider {
    box-shadow: 0 0 1px var(--accent-color);
}

input:checked + .toggle-slider:before {
    transform: translateX(20px);
}

input:disabled + .toggle-slider {
    opacity: 0.6;
    cursor: not-allowed;
}

.cookie-option-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.cookie-option-text strong {
    font-size: 0.9rem;
    font-weight: 700;
}

.cookie-option-text span {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.4);
}

@media (min-width: 768px) {
    .cookie-banner {
        bottom: 24px;
        left: 50%;
        transform: translateX(-50%);
        width: calc(100% - 48px);
        max-width: 600px;
        border: 1px solid var(--border-color);
    }
}

.cookie-content h3 {
    font-size: 1.25rem;
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.cookie-content p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.5;
}

.cookie-actions {
    display: flex;
    flex-direction: row;
    gap: 12px;
}

.cookie-btn {
    flex: 1;
    padding: 16px;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-align: center;
    cursor: pointer;
    border: 1px solid var(--border-color);
    background: transparent;
    color: #fff;
    border-radius: var(--btn-radius);
}

.cookie-btn:hover {
    background: var(--secondary-bg);
}

/* Site Disclaimer */
.site-disclaimer {
    position: relative;
    background-color: var(--secondary-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--card-radius);
    padding: 16px 40px 16px 16px;
    margin-bottom: 24px;
    text-align: center;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.4;
}

.disclaimer-close {
    position: absolute;
    top: 8px;
    right: 8px;
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    padding: 4px;
    transition: color 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.disclaimer-close:hover {
    color: #fff;
}

.site-disclaimer strong {
    color: var(--accent-color);
}

.site-disclaimer a {
    color: var(--text-color);
    text-decoration: underline;
    text-underline-offset: 2px;
}

/* App Layout */
#app {
    max-width: 600px;
    margin: 0 auto;
    padding: 16px;
}

@media (min-width: 768px) {
    #app {
        max-width: 1000px;
        padding: 40px;
    }
}

/* Hero Section */
.hero-section {
    position: relative;
    margin-bottom: 32px;
    border: 1px solid var(--border-color);
    background: var(--secondary-bg);
    overflow: hidden;
    border-radius: var(--card-radius);
}

.hero-image-container {
    width: 100%;
    aspect-ratio: 1;
}

@media (min-width: 768px) {
    .hero-section {
        display: grid;
        grid-template-columns: 45% 55%;
        align-items: center;
        min-height: 400px;
    }
    .hero-image-container {
        aspect-ratio: auto;
        height: 100%;
    }
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 20%;
}

.hero-content {
    padding: 32px 24px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

@media (min-width: 768px) {
    .hero-content {
        padding: 48px;
    }
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 0.9;
    text-transform: uppercase;
    letter-spacing: -2px;
    margin-bottom: 24px;
}

.first-name {
    display: block;
}

.last-name {
    display: block;
    color: rgba(255, 255, 255, 0.2);
}

.hero-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.badge {
    border: 1px solid var(--border-color);
    padding: 4px 10px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Social Links */
.social-links-section {
    margin-bottom: 32px;
}

.links-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 1px;
    background: var(--border-color);
    border: 1px solid var(--border-color);
    border-radius: var(--card-radius);
    overflow: hidden;
}

.link-card {
    flex: 1 1 100%;
    min-width: 0;
    background: var(--bg-color);
    padding: 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: background 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
    border: 1px solid transparent;
}

@media (min-width: 480px) {
    .link-card {
        flex: 1 1 calc(50% - 1px);
    }
}

@media (min-width: 768px) {
    .link-card {
        flex: 1 1 calc(33.333% - 1px);
        padding: 24px 16px;
    }
}

@media (min-width: 989px) {
    .link-card {
        flex: 1 1 calc(20% - 1px);
    }
}

.link-card:hover {
    background: var(--secondary-bg);
    border-color: rgba(255, 255, 255, 0.1);
    opacity: 1;
}

.link-card.instagram:hover {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    border-color: transparent;
}

.link-card.tiktok:hover {
    background: #000;
    border-color: #00f2fe;
}

.link-card.youtube:hover {
    background: #ff0000;
    border-color: #ff0000;
}

.link-card.snapchat:hover {
    background: #FFFC00;
    border-color: #FFFC00;

    .handle {
        color: #0A0A08;
    }

    .label {
        color: rgba(0, 0, 0, 0.4);
    }
}

.link-card.spotify:hover {
    background: #1DB954;
    border-color: #1DB954;
}

.link-card .label {
    font-size: 0.65rem;
    text-transform: uppercase;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.4);
    margin-bottom: 8px;
    letter-spacing: 1px;
}

.link-card .handle {
    font-size: 1rem;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}

/* Music Section */
.music-section {
    margin-bottom: 32px;
    --cover-width: 320px;
}

.music-card {
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    border-radius: var(--card-radius);
    overflow: hidden;
    transition: transform 0.2s ease, border-color 0.2s ease;
}

@media (min-width: 768px) {
    .music-card {
        flex-direction: row;
        align-items: stretch;
        max-height: var(--cover-width);
    }
}

.music-card:hover {
    border-color: rgba(255, 255, 255, 0.3);
    opacity: 1;
}

.music-card-top {
    display: flex;
    flex-direction: row;
    align-items: center;
    height: fit-content;
    width: 100%;
}

@media (min-width: 768px) {
    .music-card-top {
        height: auto;
        border-right: 1px solid var(--border-color);
    }
}

.music-cover {
    height: 320px;
    flex-shrink: 0;
    aspect-ratio: 1 / 1;
}

@media (min-width: 480px) {
    .music-section {
        .music-cover {
            width: auto;
            border-radius: 0px;
            rotate: 0deg;

            -webkit-mask-image: radial-gradient(circle, transparent 0%, black 0.5%, black 0%);
            mask-image: radial-gradient(circle, transparent 0%, black 0.5%, black 0%);

            transition:
                border-radius 0.45s cubic-bezier(.17,.67,.85,.94),
                -webkit-mask-image 0.45s cubic-bezier(.17,.67,.85,.94),
                mask-image 0.45s cubic-bezier(.17,.67,.85,.94),
                rotate 0.45s cubic-bezier(.17,.67,.85,.94);
        }

        &:hover .music-card-top .music-cover,
        .is-playing .music-card-top .music-cover {
            border-radius: calc(var(--cover-width) * .5);

            -webkit-mask-image: radial-gradient(circle, transparent 10%, black 10.5%, black 100%);
            mask-image: radial-gradient(circle, transparent 10%, black 10.5%, black 100%);

            animation: rotate 10s linear infinite .4s;
        }
    }
}

/*
.music-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
*/
.music-info {
    padding-inline: 16px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Spotify Embed — Wrapper & Iframe */
.spotify-embed-wrapper {
    width: 100%;
    overflow: hidden;
    border-top: 1px solid var(--border-color);
}

@media (min-width: 768px) {
    .music-card .spotify-embed-wrapper {
        width: 60%;
        border-top: none;
        display: flex;
        align-items: stretch;
        justify-content: stretch;
        padding: 16px;
    }
    .music-card .spotify-embed-wrapper > div {
        flex: 1;
        display: flex;
        align-items: stretch;
    }
    .music-card .spotify-embed-wrapper iframe {
        height: 100% !important;
        border-radius: var(--card-radius);
    }
    .music-card .spotify-embed-wrapper .spotify-embed-placeholder {
        min-height: 100%;
        height: 100%;
        width: 100%;
        border-radius: var(--card-radius);
    }
}

.spotify-embed-wrapper.spotify-embed-compact {
    /* compact 152px player on home */
}

.spotify-embed-wrapper.spotify-embed-large {
    /* tall 352px player on music page */
}

.spotify-iframe {
    display: block;
    border: none;
    border-radius: 0;
    animation: spotifyFadeIn 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes spotifyFadeIn {
    from { opacity: 0; transform: translateY(8px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* Spotify Placeholder (shown when consent is not yet given) */
.spotify-embed-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 152px;
    background: rgba(15, 15, 17, 0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: opacity 0.35s ease, transform 0.35s ease;
}

.spotify-embed-large .spotify-embed-placeholder {
    min-height: 352px;
}

.spotify-placeholder-exiting {
    opacity: 0 !important;
    transform: scale(0.97) !important;
}

.spotify-ph-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 8px;
    padding: 24px 20px;
}

.spotify-ph-icon {
    width: 32px;
    height: 32px;
    color: rgba(255, 255, 255, 0.25);
    margin-bottom: 4px;
}

.spotify-ph-label {
    font-size: 0.85rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.spotify-ph-sub {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.3);
    line-height: 1.5;
    max-width: 280px;
}

.spotify-ph-btn {
    margin-top: 8px;
    background: #1DB954;
    color: #fff;
    border: none;
    padding: 10px 22px;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 30px;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
}

.spotify-ph-btn:hover {
    background: #17a349;
    transform: scale(1.04);
}

.spotify-ph-legal {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.25);
    line-height: 1.6;
    max-width: 320px;
    margin-top: 4px;
}

.spotify-ph-legal a {
    color: rgba(255, 255, 255, 0.4);
    text-decoration: underline;
    text-underline-offset: 2px;
}

/* Music embed section on /musik page */
.music-embed-section {
    margin-top: 24px;
    margin-bottom: 32px;
    border: 1px solid var(--border-color);
    border-radius: var(--card-radius);
    overflow: hidden;
}

.music-embed-section .spotify-embed-wrapper {
    border-top: none;
}

.uptitle {
    font-size: 0.65rem;
    text-transform: uppercase;
    font-weight: 800;
    color: var(--accent-color);
    margin-bottom: 4px;
    letter-spacing: 1px;
}

.music-title {
    font-size: 1.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 4px;
}

.music-artist {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 24px;
}

.btn-primary {
    align-self: flex-start;
    background: var(--text-color);
    color: #000;
    padding: 14px 28px;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: var(--btn-radius);
    border: 1px solid var(--text-color);
}

.btn-primary:hover {
    background: transparent;
    color: var(--text-color);
    transform: scale(1.02);
    opacity: 1;
}

/* Contact & Imprint Enhancements */
.contact-card, .text-card {
    background: var(--secondary-bg);
    border: 1px solid var(--border-color);
    transition: border-color 0.2s ease;
    border-radius: var(--card-radius);
    overflow: hidden;
}

.contact-card:hover, .text-card:hover {
    border-color: rgba(255, 255, 255, 0.3);
}

.dnbx-footer-link {
    display: block;
    margin-top: 24px;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.4);
    text-decoration: underline;
}

/* Sister Section */
.sister-section {
    margin-bottom: 32px;

    .sister-link {
        background: var(--bg-color);
        border: 1px solid var(--border-color);
        padding-right: 24px;
        display: flex;
        align-items: center;
        gap: 20px;
        border-radius: var(--card-radius);
        overflow: hidden;
        transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
    }
    
    .sister-link:hover {
        border-color: rgba(255, 255, 255, 0.3);
        background: var(--secondary-bg);
        opacity: 1;
    }
    
    .sister-avatar {
        width: auto;
        height: 100%;
        flex-shrink: 0;
        border: 0px solid var(--border-color);
    }
    
    .sister-avatar img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    
    .sister-info {
        flex-grow: 1;
    }
    
    .sister-info .label {
        font-size: 0.65rem;
        text-transform: uppercase;
        color: rgba(255, 255, 255, 0.4);
        display: block;
        margin-bottom: 2px;
        letter-spacing: 1px;
    }
    
    .sister-name {
        font-size: 1.25rem;
        font-weight: 800;
        display: block;
        line-height: 1.1;
    }
    
    .sister-domain {
        font-size: 0.75rem;
        color: rgba(255, 255, 255, 0.4);
    }
    
    .sister-arrow {
        font-size: 1.25rem;
        color: rgba(255, 255, 255, 0.2);
        transform: translateX(-35px);
        transition: all .25s cubic-bezier(.17,.67,.85,.94)
    }

    :hover .sister-arrow {
        transform: translateX(0px) scale(1.25);
    }
}


/* Global Footer */
.global-footer {
    text-align: center;
    padding: 64px 20px;
    border-top: 1px solid var(--border-color);
    margin-top: 48px;
}

.footer-content {
    max-width: 600px;
    margin: 0 auto;
}

.footer-title {
    font-size: 1.25rem;
    font-weight: 800;
    margin-bottom: 24px;
    letter-spacing: -0.5px;
}

.footer-links-list {
    list-style: none;
    padding: 0;
    margin: 0 0 32px 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 24px;
}

.footer-links-list li {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}

.footer-links-list li a {
    color: #fff;
    font-weight: 600;
    transition: color 0.2s ease;
}

.footer-links-list li a:hover {
    color: var(--accent-color);
}

.footer-credit {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.4);
    line-height: 1.6;
    margin-bottom: 32px;
}

.footer-credit a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: underline;
    transition: color 0.2s ease;
}

.footer-credit a:hover {
    color: var(--accent-color);
}

.footer-bottom-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
    font-size: 0.75rem;
}

.footer-bottom-links a,
.open-cookie-settings-btn {
    color: rgba(255, 255, 255, 0.5);
    text-decoration: underline;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    font-family: inherit;
    font-size: inherit;
    transition: color 0.2s ease;
}

.footer-bottom-links a:hover,
.open-cookie-settings-btn:hover {
    color: var(--accent-color);
}

/* Navigation */
.main-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(15, 15, 17, 0.9);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: stretch;
    z-index: 100;
    view-transition-name: main-nav;
}

body {
    padding-top: 60px;
    padding-bottom: var(--safe-area-inset-bottom);
}

.main-nav a {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 10px 0 10px 0;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.4);
    letter-spacing: 1px;
    position: relative;
}

.main-nav a svg {
    display: block;
    width: 20px;
    height: 20px;
    margin-bottom: 4px;
    transition: transform 0.2s ease, color 0.2s ease;
}

.main-nav a:hover {
    color: var(--accent-color);
    opacity: 1;
}

.main-nav a:hover svg {
    transform: scale(1.1);
}

.main-nav a.active {
    color: #fff;
}

.main-nav a.active svg {
    transform: scale(1.1);
}

.main-nav a.active::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background-color: var(--accent-color);
}

@media (min-width: 768px) {
    body {
        padding-top: 80px;
    }

    .main-nav {
        justify-content: center;
        gap: 32px;
    }

    .main-nav a {
        flex: none;
        flex-direction: row;
        padding: 24px 16px;
        font-size: 0.75rem;
    }

    .main-nav a svg {
        margin-bottom: 0;
        margin-right: 8px;
        width: 18px;
        height: 18px;
    }

    .main-nav a.active {
        box-shadow: inset 0 -2px 0 #fff;
    }

    .main-nav a.active::after {
        display: none;
    }

    .main-nav a.active svg {
        transform: none;
    }
}

/* Transitions & Reveal */
#app {
    animation: fadeIn 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

section, footer {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

section.is-revealed, footer.is-revealed {
    opacity: 1;
    transform: translateY(0);
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Subpage Common */
.page-header {
    margin-bottom: 48px;
}

.page-title {
    font-size: 3rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: -2px;
    line-height: 0.9;
}

.page-subtitle {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.4);
    text-transform: uppercase;
    font-weight: 700;
    margin-top: 8px;
    letter-spacing: 2px;
}

/* Bio Page */
.bio-layout {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

@media (min-width: 768px) {
    .bio-layout {
        flex-direction: row;
        align-items: flex-start;
        gap: 48px;
    }
}

.bio-media {
    flex-shrink: 0;

    border-radius: var(--card-radius);
}

@media (min-width: 768px) {
    .bio-media {
        width: 320px;
    }
}

.bio-avatar {
    width: 100%;
    aspect-ratio: 1;
    border: 1px solid var(--border-color);

    border-radius: var(--card-radius);
    overflow: hidden;
}

@media (min-width: 768px) {
    .bio-avatar {
        aspect-ratio: 4/5;
    }
}

.bio-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;

    /*border-radius: var(--card-radius);*/
}

.bio-data {
    flex-grow: 1;
}

.bio-intro {
    margin-bottom: 32px;
}

@media (max-width: 767px) {
    .bio-intro {
        text-align: center;
    }
}

.bio-name {
    font-size: 1.5rem;
    font-weight: 800;
    text-transform: uppercase;
}

.bio-role {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.facts-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1px;
    background: var(--border-color);
    border: 1px solid var(--border-color);
    border-radius: var(--card-radius);
    overflow: hidden;
}

@media (min-width: 480px) {
    .facts-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.fact-card {
    background: var(--bg-color);
    padding: 24px;
    display: flex;
    flex-direction: column;
}

.fact-card.full-width {
    grid-column: span 1;
}

@media (min-width: 480px) {
    .fact-card.full-width {
        grid-column: span 2;
    }
}

.fact-label {
    font-size: 0.65rem;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.4);
    font-weight: 800;
    margin-bottom: 8px;
    letter-spacing: 1px;
}

.fact-value {
    font-size: 1.1rem;
    font-weight: 600;
}

/* Music Page */
.music-hero-card {
    border: 1px solid var(--border-color);
    overflow: hidden;
    border-radius: var(--card-radius);
    height: var(--cover-width);
}

@media (min-width: 768px) {
    .music-hero-card {
        display: flex;
        text-align: left;
    }
}

.music-hero-cover {
    width: 100%;
    aspect-ratio: 1;
}

@media (min-width: 768px) {
    .music-hero-cover {
        width: var(--cover-width);
        flex-shrink: 0;
    }
}

.music-hero-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.music-hero-info {
    padding: 32px 24px;
    text-align: center;
}

@media (min-width: 768px) {
    .music-hero-info {
        padding: 48px 48px 0 48px;
        text-align: left;
        display: flex;
        flex-direction: column;
        justify-content: center;
        flex-grow: 1;
    }
}

.music-hero-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: -1px;
    line-height: 1;
}

.music-hero-artist {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.4);
    margin-bottom: 40px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.streaming-links {
    display: flex;
    flex-direction: column;
    gap: 8px;
    transform: translateY(8px);
}

.stream-link {
    background: var(--text-color);
    color: var(--bg-color);
    padding: 20px;
    font-weight: 800;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 1px;
    border-radius: 30px;
    border: 2px solid var(--text-color);
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}

.stream-link:hover {
    background: transparent;
    color: var(--text-color);
    transform: scale(1.02);
    opacity: 1;
}

.stream-link.spotify:hover {
    background: #1DB954;
    color: #fff;
    border-color: #1DB954;
}

.stream-link.shop {
    background: transparent;
    color: var(--text-color);
    border: 2px solid var(--text-color);
}

.stream-link.shop:hover {
    background: var(--text-color);
    color: var(--bg-color);
}

/* Contact Page */
.contact-card {
    background: var(--secondary-bg);
    border: 1px solid var(--border-color);
    padding: 40px 24px;
    text-align: center;
    margin-bottom: 48px;
}

.contact-intro {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.email-link {
    font-size: 1.25rem;
    font-weight: 800;
    color: #fff;
    word-break: break-all;
    text-decoration: underline;
    text-underline-offset: 4px;
}

.social-links-minimal {
    text-align: center;
}

.social-title {
    font-size: 0.75rem;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.3);
    margin-bottom: 24px;
    letter-spacing: 2px;
}

.social-row {
    display: flex;
    justify-content: center;
    gap: 32px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Content Text Sections (Imprint) */
.content-text-section {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.text-card {
    padding: 32px 24px;
}

.section-label {
    font-size: 0.7rem;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.3);
    margin-bottom: 16px;
    letter-spacing: 2px;
}

.operator-name {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.accent-link {
    color: var(--accent-color);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.btn-secondary {
    display: inline-block;
    border: 1px solid var(--border-color);
    padding: 12px 24px;
    font-size: 0.75rem;
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: var(--btn-radius);
}

/* 404 Page */
.error-page {
    height: 60vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.error-code {
    font-size: 12rem;
    font-weight: 900;
    line-height: 1;
    color: rgba(255, 255, 255, 0.03);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: -1;
}

.error-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 16px;
    text-transform: uppercase;
}

.error-text {
    color: rgba(255, 255, 255, 0.4);
    margin-bottom: 32px;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Fanpage Toast */
.fanpage-toast {
    position: fixed;
    top: 16px;
    left: 16px;
    width: calc(100% - 32px);
    background: rgba(26, 26, 28, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border-color);
    padding: 16px 20px;
    z-index: 3000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transform: translateY(-150%);
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    border-radius: var(--card-radius);
}

.fanpage-toast.visible {
    transform: translateY(0);
}

.toast-content {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding-right: 12px;
}

.toast-content p {
    font-size: 0.85rem;
    font-weight: 500;
    color: #fff;
    line-height: 1.4;
}

.toast-link {
    font-size: 0.75rem;
    color: var(--accent-color);
    text-transform: uppercase;
    font-weight: 800;
    letter-spacing: 0.5px;
    margin-top: 4px;
}

.toast-close {
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    padding: 4px;
    line-height: 1;
    transition: color 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.toast-close:hover {
    color: #fff;
}

@media (min-width: 768px) {
    .fanpage-toast {
        top: 96px;
        left: 50%;
        transform: translate(-50%, calc(-150% - 96px));
        width: auto;
        min-width: 420px;
        max-width: 500px;
    }
    .fanpage-toast.visible {
        transform: translate(-50%, 0);
    }
}

@view-transition {
  navigation: auto;
}

/* Custom view transition animations */
@keyframes move-out {
  from {
    transform: translateX(0%);
    opacity: 1;
  }
  to {
    transform: translateX(100%);
    opacity: 0;
  }
}

@keyframes move-in {
  from {
    transform: translateX(-100%);
    opacity: 0;
  }
  to {
    transform: translateX(0%);
    opacity: 1;
  }
}

::view-transition-old(main-content) {
  animation: .75s cubic-bezier(0.16, 1, 0.3, 1) both move-out;
}

::view-transition-new(main-content) {
  animation: 1s cubic-bezier(0.16, 1, 0.3, 1) both move-in;
}

/* Keep nav stationary and clean during transition */
::view-transition-group(main-nav) {
  animation-duration: 0.5s;
}

::view-transition-old(main-nav),
::view-transition-new(main-nav) {
  mix-blend-mode: normal;
}

.tests-container {
    .music-disc {
        width: 320px;
        height: 320px;
        width: 500px;
        height: 500px;
        border-radius: 250px;
        
        &.rotating {
            animation: rotate 10s linear infinite;
        }
    }
        @keyframes rotate {
            0% {
                transform: rotate(0deg);
            }
    
            100% {
                transform: rotate(360deg);
            }
        }
    
    .tests-container {
        & > :nth-child(1) {
            background-color: red;
        }
        & > :nth-child(2) {
            background-color: green;
            background-image: url('https://images-platform.99static.com/yZly4SM58w81oatke_lPn48Ehwk=/0x0:960x960/500x500/top/smart/99designs-contests-attachments/99/99736/attachment_99736617');
        }
    }
    
    
    .music-disc-map {
      width: 100%;
      max-width: 500px;
      aspect-ratio: 1 / 1;
      background: url('https://d1csarkz8obe9u.cloudfront.net/themedlandingpages/tlp_hero_album-cover-art-73ab5b3d9b81f442cb2288630ab63acf.jpg?ts%20=%201754037710') center/cover no-repeat;
      
      clip-path: url(#disc-clip);
    }
    
    
    .music-disc-map-css-only {
      width: 300px;
      aspect-ratio: 1 / 1; 
      background: url('https://cdn.venngage.com/template/thumbnail/full/bf008bfe-9bf6-4511-b795-e86f070bfff5.webp') center/cover no-repeat;
    
      -webkit-mask-image: radial-gradient(
        circle, 
        transparent 10%, 
        black 10.5%, 
        black 50%, 
        transparent 50.5%
      );
      mask-image: radial-gradient(
        circle, 
        transparent 10%, 
        black 10.5%, 
        black 50%, 
        transparent 50.5%
      );
    }
}


@keyframes rotate {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}