@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

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

html {
    scroll-behavior: smooth;
}

:root {
    --purple: #9b5cff;
    --purple-dark: #6f35c9;
    --background: #08060d;
    --card: rgba(255, 255, 255, 0.055);
    --border: rgba(255, 255, 255, 0.1);
    --text: #ffffff;
    --muted: #999999;
}

body {
    font-family: "Inter", sans-serif;
    background: #08060d;
    color: var(--text);
    min-height: 100vh;
    position: relative;
}

    /* =========================
   MUSIC REACTIVE BACKGROUND
========================= */

    body::before {
        content: "";
        position: fixed;
        /*
       Make the background bigger than
       the screen so shaking doesn't
       reveal empty edges.
    */
        inset: -40px;
        background: url("Resources/background.png") center / cover no-repeat;
        filter: blur(6px);
        z-index: -1;
        /*
       Values are controlled by JavaScript.
    */
        transform: translate( var(--bg-x, 0px), var(--bg-y, 0px) ) rotate( var(--bg-rotation, 0deg) ) scale( var(--bg-scale, 1) );
        transform-origin: center center;
        will-change: transform;
        pointer-events: none;
    }




/* =========================
   NAVBAR
========================= */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 75px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 7%;
    background: rgba(8, 6, 13, 0.75);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid var(--border);
    z-index: 100;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 900;
    letter-spacing: 1px;
}

.nav-pfp {
    width: 38px;
    height: 38px;
    object-fit: cover;
    border-radius: 50%;
    border: 2px solid var(--purple);
}

nav {
    display: flex;
    gap: 30px;
}

    nav a {
        color: #aaa;
        text-decoration: none;
        font-size: 14px;
        font-weight: 600;
        transition: 0.2s;
    }

        nav a:hover {
            color: white;
        }


/* =========================
   HERO
========================= */

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 100px;
    padding: 120px 8% 80px;
}

.hero-content {
    max-width: 650px;
}

.small-title,
.section-label {
    color: var(--purple);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 4px;
    margin-bottom: 15px;
}

.hero h1 {
    font-size: clamp(60px, 9vw, 120px);
    line-height: 0.9;
    font-weight: 900;
    letter-spacing: -6px;
    margin-bottom: 30px;
    text-shadow: 0 0 30px rgba(155, 92, 255, 0.2);
}

.description {
    color: var(--muted);
    font-size: 17px;
    line-height: 1.7;
    max-width: 550px;
    margin-bottom: 35px;
}

.buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.button {
    display: inline-block;
    padding: 14px 25px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 700;
    font-size: 14px;
    transition: 0.25s;
}

    .button:hover {
        transform: translateY(-3px);
    }

.primary {
    background: var(--purple);
    color: white;
    box-shadow: 0 10px 30px rgba(155, 92, 255, 0.2);
}

    .primary:hover {
        background: #aa70ff;
    }

.secondary {
    background: rgba(255, 255, 255, 0.07);
    color: white;
    border: 1px solid var(--border);
}

    .secondary:hover {
        background: rgba(255, 255, 255, 0.12);
    }


/* =========================
   PROFILE IMAGE
========================= */

.hero-pfp {
    width: 280px;
    height: 280px;
    border-radius: 50%;
    padding: 7px;
    background: linear-gradient( 135deg, #6f35c9, #b45cff, #7b3fe4 );
    box-shadow: 0 0 70px rgba(155, 92, 255, 0.25);
    animation: float 4s ease-in-out infinite;
}

    .hero-pfp img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: 50%;
        background: #111;
    }

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-12px);
    }
}


/* =========================
   SECTIONS
========================= */

.section {
    max-width: 1100px;
    margin: auto;
    padding: 120px 30px;
}

    .section h2 {
        font-size: clamp(35px, 5vw, 60px);
        margin-bottom: 20px;
        letter-spacing: -2px;
    }

    .section > p:not(.section-label) {
        max-width: 700px;
        color: var(--muted);
        line-height: 1.8;
        font-size: 16px;
    }


/* =========================
   ABOUT CARDS
========================= */

.cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin-top: 50px;
}

.card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 30px;
    transition: 0.3s;
}

    .card:hover {
        transform: translateY(-6px);
        border-color: rgba(155, 92, 255, 0.4);
        background: rgba(255, 255, 255, 0.08);
    }

.card-icon {
    font-size: 30px;
    display: block;
    margin-bottom: 25px;
}

.card h3 {
    margin-bottom: 10px;
}

.card p {
    color: var(--muted);
    line-height: 1.6;
    font-size: 14px;
}

.links-section {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 120px 30px;
}

    .links-section h2 {
        margin-bottom: 20px;
    }

    .links-section .links {
        display: flex;
        flex-direction: column;
        width: 100%;
        max-width: 700px;
        gap: 12px;
        margin-top: 45px;
        margin-left: 0;
    }



/* =========================
   LINK CARDS
========================= */

.links {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
    max-width: 700px;
    margin-top: 45px;
    margin-left: 0;
    margin-right: auto;
}

.link-card {
    display: flex;
    align-items: center;
    width: 100%;
    min-height: 85px;
    gap: 18px;
    padding: 20px;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 14px;
    text-decoration: none;
    color: white;
    transition: 0.25s;
}

    .link-card:hover {
        transform: translateX(7px);
        border-color: var(--purple);
        background: rgba(155, 92, 255, 0.08);
    }


    /* Actual website icons */

    .link-card > img {
        width: 45px;
        height: 45px;
        min-width: 45px;
        min-height: 45px;
        object-fit: contain;
        flex-shrink: 0;
        border-radius: 10px;
    }


    /* Text inside cards */

    .link-card div {
        flex: 1;
    }

    .link-card strong {
        display: block;
        margin-bottom: 4px;
        color: white;
        font-size: 15px;
    }

    .link-card small {
        color: var(--muted);
        font-size: 13px;
    }

    .link-card b {
        color: #777;
        font-size: 20px;
    }


/* =========================
   FOOTER
========================= */

footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 30px 7%;
    color: #666;
    font-size: 13px;
    border-top: 1px solid var(--border);
}


/* =========================
   MOBILE
========================= */

@media (max-width: 800px) {

    .navbar {
        padding: 0 5%;
    }

    nav {
        gap: 15px;
    }

        nav a {
            font-size: 12px;
        }

    .hero {
        flex-direction: column-reverse;
        text-align: center;
        gap: 50px;
        padding-top: 140px;
    }

    .hero-pfp {
        width: 200px;
        height: 200px;
    }

    .description {
        margin-left: auto;
        margin-right: auto;
    }

    .buttons {
        justify-content: center;
    }

    .cards {
        grid-template-columns: 1fr;
    }

    footer {
        flex-direction: column;
        gap: 10px;
    }
}

@media (max-width: 500px) {

    .logo span {
        display: none;
    }

    nav {
        gap: 12px;
    }

    .hero h1 {
        letter-spacing: -4px;
    }

    .section {
        padding: 80px 20px;
    }
}

.music-controls {
    position: fixed;
    bottom: 25px;
    right: 25px;
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 9999;
}

.music-button {
    width: 50px;
    height: 50px;
    border: none;
    border-radius: 50%;
    background: #8000ff;
    color: white;
    font-size: 22px;
    cursor: pointer;
    box-shadow: 0 5px 20px rgba(128, 0, 255, 0.4);
}

.volume-slider {
    width: 100px;
    accent-color: #8000ff;
    cursor: pointer;
}