/* ═══════════════════════════════════════════════════
   NAUU RECORDS — We Produce Your Addiction
   Mobile-first bio link + immersive desktop landing
   ═══════════════════════════════════════════════════ */

:root {
    --bg: #06060c;
    --surface: #0d0d18;
    --surface-2: #13132a;
    --border: rgba(139, 92, 246, 0.12);
    --text: #f0eef6;
    --text-secondary: #7a7494;
    --accent: #a855f7;
    --accent-glow: rgba(168, 85, 247, 0.4);
    --spotify: #1DB954;
    --apple: #fc3c44;
    --youtube: #FF0000;
    --tiktok: #00f2ea;
    --instagram: #E4405F;
    --facebook: #1877F2;
    --radius: 16px;
    --radius-sm: 12px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-tap-highlight-color: transparent;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg);
    color: var(--text);
    min-height: 100dvh;
    overflow-x: hidden;
    position: relative;
}

/* ─── Particle Canvas ─── */
#particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    opacity: 0.6;
}

/* ═══════════════════════════════════
   DESKTOP LAYOUT — hidden on mobile
   ═══════════════════════════════════ */
.desktop-layout {
    position: relative;
    z-index: 1;
}

.desktop-hero-col {
    display: none;
}

/* ─── Container (Mobile) ─── */
.container {
    position: relative;
    z-index: 1;
    max-width: 480px;
    margin: 0 auto;
    padding: 0 20px 40px;
}

/* ═══ HERO ═══ */
.hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 48px;
    padding-bottom: 32px;
}

.avatar-wrapper {
    position: relative;
    width: 140px;
    height: 140px;
    margin-bottom: 24px;
}

.avatar {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    position: relative;
    z-index: 2;
    border: 2px solid rgba(168, 85, 247, 0.3);
}

.avatar-glow {
    position: absolute;
    inset: -12px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
    animation: glowPulse 3s ease-in-out infinite;
    z-index: 0;
}

.avatar-ring {
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 2px solid transparent;
    background: conic-gradient(from 0deg, var(--accent), #6366f1, #ec4899, var(--accent)) border-box;
    -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    animation: ringRotate 6s linear infinite;
    z-index: 3;
}

@keyframes glowPulse {

    0%,
    100% {
        opacity: 0.5;
        transform: scale(1);
    }

    50% {
        opacity: 0.8;
        transform: scale(1.05);
    }
}

@keyframes ringRotate {
    to {
        transform: rotate(360deg);
    }
}

.brand-name {
    font-family: 'Space Grotesk', sans-serif;
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-bottom: 8px;
}

.brand-nauu {
    font-size: 36px;
    font-weight: 700;
    letter-spacing: 6px;
    background: linear-gradient(135deg, #f0eef6 0%, #a855f7 50%, #6366f1 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.brand-records {
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 8px;
    color: var(--text-secondary);
    text-transform: uppercase;
}

.tagline {
    font-size: 13px;
    color: var(--text-secondary);
    letter-spacing: 1px;
    font-style: italic;
    margin-bottom: 24px;
}

/* Stats bar */
.stats {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 12px 28px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 999px;
}

.stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
}

.stat-value {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: var(--text);
}

.stat-label {
    font-size: 10px;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.stat-divider {
    width: 1px;
    height: 24px;
    background: var(--border);
}

/* ═══ NOW PLAYING ═══ */
.now-playing {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 16px;
    margin-bottom: 28px;
    position: relative;
    overflow: hidden;
}

.now-playing::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 200%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(168, 85, 247, 0.03), transparent);
    animation: shimmer 4s ease-in-out infinite;
}

@keyframes shimmer {
    0% {
        transform: translateX(-50%);
    }

    100% {
        transform: translateX(50%);
    }
}

.now-playing-badge {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--accent);
    text-transform: uppercase;
    margin-bottom: 12px;
}

.eq-bar {
    display: inline-block;
    width: 3px;
    background: var(--accent);
    border-radius: 2px;
    animation: eqBounce 0.8s ease-in-out infinite alternate;
}

.eq-bar:nth-child(1) {
    height: 8px;
    animation-delay: 0s;
}

.eq-bar:nth-child(2) {
    height: 14px;
    animation-delay: 0.15s;
}

.eq-bar:nth-child(3) {
    height: 6px;
    animation-delay: 0.3s;
}

@keyframes eqBounce {
    0% {
        height: 4px;
    }

    100% {
        height: 16px;
    }
}

.now-playing-content {
    display: flex;
    align-items: center;
    gap: 12px;
    position: relative;
    z-index: 1;
}

.np-cover {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    object-fit: cover;
    flex-shrink: 0;
}

.np-info {
    flex: 1;
    min-width: 0;
}

.np-title {
    font-size: 15px;
    font-weight: 700;
    color: var(--text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.np-artist {
    font-size: 12px;
    color: var(--text-secondary);
}

.np-progress {
    position: absolute;
    bottom: -16px;
    left: -16px;
    right: -16px;
    height: 2px;
    background: rgba(168, 85, 247, 0.1);
}

.np-progress-bar {
    height: 100%;
    width: 35%;
    background: linear-gradient(90deg, var(--accent), #ec4899);
    border-radius: 2px;
    animation: progressMove 12s linear infinite;
}

@keyframes progressMove {
    0% {
        width: 0%;
    }

    100% {
        width: 100%;
    }
}

/* ═══ LINK SECTIONS ═══ */
.links-section {
    margin-bottom: 28px;
}

.section-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 12px;
    padding-left: 4px;
}

.section-title svg {
    opacity: 0.5;
}

/* ─── Link Cards ─── */
.link-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    text-decoration: none;
    color: var(--text);
    margin-bottom: 8px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.link-card:hover,
.link-card:active {
    transform: translateY(-2px) scale(1.01);
    border-color: rgba(168, 85, 247, 0.3);
    box-shadow: 0 8px 32px rgba(168, 85, 247, 0.15);
}

.link-card:active {
    transform: scale(0.98);
}

/* Platform hover glows */
.link-card[data-platform="spotify"]:hover {
    border-color: rgba(29, 185, 84, 0.4);
    box-shadow: 0 8px 32px rgba(29, 185, 84, 0.15);
}

.link-card[data-platform="apple"]:hover {
    border-color: rgba(252, 60, 68, 0.4);
    box-shadow: 0 8px 32px rgba(252, 60, 68, 0.12);
}

.link-card[data-platform="youtube"]:hover {
    border-color: rgba(255, 0, 0, 0.4);
    box-shadow: 0 8px 32px rgba(255, 0, 0, 0.12);
}

.link-card[data-platform="tiktok"]:hover {
    border-color: rgba(0, 242, 234, 0.4);
    box-shadow: 0 8px 32px rgba(0, 242, 234, 0.12);
}

.link-card[data-platform="instagram"]:hover {
    border-color: rgba(228, 64, 95, 0.4);
    box-shadow: 0 8px 32px rgba(228, 64, 95, 0.12);
}

.link-card[data-platform="facebook"]:hover {
    border-color: rgba(24, 119, 242, 0.4);
    box-shadow: 0 8px 32px rgba(24, 119, 242, 0.12);
}

.link-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: transform 0.3s;
}

.link-card:hover .link-icon {
    transform: scale(1.1);
}

.spotify-icon {
    background: rgba(29, 185, 84, 0.12);
    color: var(--spotify);
}

.apple-icon {
    background: rgba(252, 60, 68, 0.12);
    color: var(--apple);
}

.youtube-icon {
    background: rgba(255, 0, 0, 0.12);
    color: var(--youtube);
}

.tiktok-icon {
    background: rgba(0, 242, 234, 0.12);
    color: var(--tiktok);
}

.instagram-icon {
    background: rgba(228, 64, 95, 0.12);
    color: var(--instagram);
}

.facebook-icon {
    background: rgba(24, 119, 242, 0.12);
    color: var(--facebook);
}

.link-text {
    flex: 1;
    min-width: 0;
}

.link-name {
    display: block;
    font-size: 15px;
    font-weight: 600;
    color: var(--text);
}

.link-sub {
    display: block;
    font-size: 11px;
    color: var(--text-secondary);
    margin-top: 1px;
}

.link-arrow {
    color: var(--text-secondary);
    opacity: 0.4;
    flex-shrink: 0;
    transition: all 0.3s;
}

.link-card:hover .link-arrow {
    opacity: 1;
    color: var(--accent);
    transform: translateX(3px);
}

/* ═══ FOOTER ═══ */
.footer {
    text-align: center;
    padding: 24px 0;
    border-top: 1px solid var(--border);
}

.footer-brand {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 3px;
    color: var(--text);
    margin-bottom: 4px;
}

.footer-logo {
    font-size: 18px;
    color: var(--accent);
}

.footer-sub {
    font-size: 11px;
    color: var(--text-secondary);
}

/* ═══ ENTRANCE ANIMATIONS ═══ */
.hero {
    animation: fadeUp 0.8s ease-out;
}

.now-playing {
    animation: fadeUp 0.8s ease-out 0.15s both;
}

.links-section:nth-of-type(1) {
    animation: fadeUp 0.8s ease-out 0.25s both;
}

.links-section:nth-of-type(2) {
    animation: fadeUp 0.8s ease-out 0.35s both;
}

.footer {
    animation: fadeUp 0.8s ease-out 0.45s both;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.link-card {
    animation: fadeUp 0.5s ease-out both;
}

.link-card:nth-child(2) {
    animation-delay: 0.05s;
}

.link-card:nth-child(3) {
    animation-delay: 0.1s;
}

.link-card:nth-child(4) {
    animation-delay: 0.15s;
}

/* ═══ SAFE AREA ═══ */
@supports (padding: max(0px)) {
    body {
        padding-top: env(safe-area-inset-top);
        padding-bottom: env(safe-area-inset-bottom);
    }
}

/* ═══════════════════════════════════════
   DESKTOP — Full immersive split layout
   Left: Giant hero image with overlays
   Right: Scrollable links content
   ═══════════════════════════════════════ */
@media (min-width: 900px) {

    body {
        overflow: hidden;
        height: 100vh;
    }

    .desktop-layout {
        display: flex;
        height: 100vh;
        width: 100vw;
    }

    /* ── Left hero column (sticky full-height) ── */
    .desktop-hero-col {
        display: flex;
        position: relative;
        width: 50%;
        flex-shrink: 0;
        overflow: hidden;
    }

    .desktop-hero-bg {
        position: absolute;
        inset: 0;
        background-image: url('assets/hero.png');
        background-size: cover;
        background-position: center;
        filter: brightness(0.5) saturate(1.3);
        transform: scale(1.05);
        animation: heroBreathe 8s ease-in-out infinite;
    }

    .desktop-hero-bg::after {
        content: '';
        position: absolute;
        inset: 0;
        background:
            linear-gradient(135deg, rgba(6, 6, 12, 0.6) 0%, transparent 50%, rgba(6, 6, 12, 0.4) 100%),
            linear-gradient(to right, transparent 60%, var(--bg) 100%),
            linear-gradient(to top, var(--bg) 0%, transparent 30%);
    }

    @keyframes heroBreathe {

        0%,
        100% {
            transform: scale(1.05);
            filter: brightness(0.5) saturate(1.3);
        }

        50% {
            transform: scale(1.08);
            filter: brightness(0.55) saturate(1.4);
        }
    }

    /* Overlay branding on left column */
    .desktop-hero-col::after {
        content: 'NAUU';
        position: absolute;
        bottom: 60px;
        left: 60px;
        font-family: 'Space Grotesk', sans-serif;
        font-size: 120px;
        font-weight: 800;
        letter-spacing: 20px;
        background: linear-gradient(135deg, rgba(240, 238, 246, 0.08) 0%, rgba(168, 85, 247, 0.15) 100%);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
        z-index: 2;
        line-height: 1;
        pointer-events: none;
    }

    /* Decorative floating orb */
    .desktop-hero-col::before {
        content: '';
        position: absolute;
        top: 15%;
        left: 20%;
        width: 300px;
        height: 300px;
        background: radial-gradient(circle, rgba(168, 85, 247, 0.15) 0%, transparent 70%);
        border-radius: 50%;
        animation: orbFloat 10s ease-in-out infinite;
        z-index: 1;
        pointer-events: none;
    }

    @keyframes orbFloat {

        0%,
        100% {
            transform: translate(0, 0);
        }

        33% {
            transform: translate(30px, -40px);
        }

        66% {
            transform: translate(-20px, 20px);
        }
    }

    /* ── Right content column (scrollable) ── */
    .desktop-content-col {
        width: 50%;
        height: 100vh;
        overflow-y: auto;
        overflow-x: hidden;
        scrollbar-width: thin;
        scrollbar-color: rgba(168, 85, 247, 0.3) transparent;
    }

    .desktop-content-col::-webkit-scrollbar {
        width: 4px;
    }

    .desktop-content-col::-webkit-scrollbar-track {
        background: transparent;
    }

    .desktop-content-col::-webkit-scrollbar-thumb {
        background: rgba(168, 85, 247, 0.3);
        border-radius: 4px;
    }

    .container {
        max-width: 520px;
        padding: 0 40px 60px;
        margin: 0 auto;
    }

    /* Enlarge hero for desktop */
    .hero {
        padding-top: 80px;
        padding-bottom: 48px;
        align-items: flex-start;
    }

    .avatar-wrapper {
        width: 180px;
        height: 180px;
        margin-bottom: 32px;
    }

    .brand-name {
        flex-direction: column;
        gap: 4px;
    }

    .brand-nauu {
        font-size: 52px;
        letter-spacing: 10px;
    }

    .brand-records {
        font-size: 14px;
        letter-spacing: 12px;
    }

    .tagline {
        font-size: 15px;
        letter-spacing: 2px;
        margin-bottom: 32px;
    }

    .stats {
        padding: 16px 36px;
        gap: 28px;
    }

    .stat-value {
        font-size: 18px;
    }

    .stat-label {
        font-size: 11px;
    }

    /* Wider now playing */
    .now-playing {
        padding: 20px;
        margin-bottom: 36px;
    }

    .np-cover {
        width: 56px;
        height: 56px;
    }

    .np-title {
        font-size: 17px;
    }

    /* Larger link cards */
    .links-section {
        margin-bottom: 36px;
    }

    .section-title {
        font-size: 12px;
        margin-bottom: 16px;
    }

    .link-card {
        padding: 16px 20px;
        gap: 16px;
        margin-bottom: 10px;
        border-radius: var(--radius);
    }

    .link-icon {
        width: 48px;
        height: 48px;
    }

    .link-name {
        font-size: 16px;
    }

    .link-sub {
        font-size: 12px;
    }

    /* Footer */
    .footer {
        padding: 32px 0;
    }

    .footer-brand {
        font-size: 16px;
    }

    .footer-sub {
        font-size: 12px;
    }
}

/* ═══ ULTRA-WIDE ═══ */
@media (min-width: 1400px) {
    .desktop-hero-col::after {
        font-size: 160px;
        bottom: 80px;
        left: 80px;
    }

    .brand-nauu {
        font-size: 60px;
    }

    .avatar-wrapper {
        width: 200px;
        height: 200px;
    }

    .container {
        max-width: 560px;
        padding: 0 48px 80px;
    }
}