/* ==========================================================
   DIANA STREAM
   Cyberpunk HUD v2
==========================================================*/

:root {
    --bg: #080808;
    --glass: rgba(18,18,18,.35);
    --glass-border: rgba(255,255,255,.08);
    --pink: #ff3ea8;
    --purple: #8b5dff;
    --white: #ffffff;
    --gray: #b7b7b7;
    --radius: 28px;
    --transition: .35s cubic-bezier(.2,.8,.2,1);
}

/* ======================================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background: #000;
    color: #fff;
    font-family: "Inter",sans-serif;
    overflow: hidden;
    height: 100vh;
}

/* ======================================================== */

a {
    text-decoration: none;
    color: inherit;
}

button {
    border: none;
    outline: none;
    cursor: pointer;
    font: inherit;
}

/* ========================================================
BACKGROUND
======================================================== */

.background {
    position: fixed;
    inset: 0;
    overflow: hidden;
}

.background-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    user-select: none;
    pointer-events: none;
}

/* ======================================================== */

.background-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 20% 75%, rgba(139,93,255,.18), transparent 35%), radial-gradient(circle at 80% 20%, rgba(255,62,168,.22), transparent 30%), linear-gradient( 90deg, rgba(0,0,0,.82), rgba(0,0,0,.22), rgba(0,0,0,.75) );
}

/* ========================================================
INTERFACE
======================================================== */

.interface {
    position: fixed;
    top: 0;
    right: 0;
    width: 360px;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 30px;
    padding: 40px;
    z-index: 20;
}

/* ========================================================
LOGO
======================================================== */

.logo {
    font-family: Orbitron;
    font-size: 52px;
    font-weight: 800;
    letter-spacing: 8px;
    text-shadow: 0 0 10px var(--pink), 0 0 25px var(--pink), 0 0 50px rgba(255,62,168,.4);
}

/* ========================================================
MENU
======================================================== */

.hud-menu {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* ======================================================== */

.menu-item {
    width: 100%;
    padding: 22px 28px;
    border-radius: 24px;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(18px);
    color: white;
    font-family: Orbitron;
    font-size: 18px;
    letter-spacing: 2px;
    transition: var(--transition);
}

    /* ======================================================== */

    .menu-item:hover {
        transform: translateX(-8px);
        border-color: rgba(255,62,168,.35);
        box-shadow: 0 0 20px rgba(255,62,168,.18);
    }

    /* ======================================================== */

    .menu-item.active {
        background: linear-gradient( 135deg, rgba(255,62,168,.18), rgba(139,93,255,.18) );
        border-color: rgba(255,62,168,.45);
        box-shadow: 0 0 28px rgba(255,62,168,.25);
    }

/* ========================================================
STATUS
======================================================== */

.player-status {
    padding: 12px 26px;
    border-radius: 100px;
    background: rgba(30,255,140,.12);
    border: 1px solid rgba(30,255,140,.4);
    color: #61ff99;
    font-family: Orbitron;
    font-size: 13px;
    letter-spacing: 3px;
}

/* ========================================================
BOTTOM PANEL
======================================================== */

.content {
    position: fixed;
    left: 50px;
    right: 420px;
    bottom: 45px;
    min-height: 260px;
    padding: 40px;
    border-radius: 32px;
    background: rgba(18,18,18,.42);
    backdrop-filter: blur(30px);
    border: 1px solid rgba(255,255,255,.08);
    box-shadow: 0 0 50px rgba(255,62,168,.08);
    z-index: 15;
    overflow: hidden;
}
/* ==========================================================
PANELS
==========================================================*/

.panel {
    position: absolute;
    inset: 40px;
    display: none;
    flex-direction: column;
    opacity: 0;
    transition: .3s;
    overflow: hidden;
}

    .panel.active {
        display: flex;
        opacity: 1;
    }

    /* ======================================================== */

    .panel h2 {
        font-family: Orbitron;
        font-size: 40px;
        letter-spacing: 4px;
        margin-bottom: 22px;
        color: white;
        text-shadow: 0 0 15px rgba(255,62,168,.45);
    }

    /* ======================================================== */

    .panel p {
        color: var(--gray);
        line-height: 1.8;
        font-size: 18px;
        max-width: 760px;
        margin-bottom: 18px;
    }

/* ==========================================================
ABOUT TAGS
==========================================================*/

.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 20px;
}

    .tags span {
        padding: 12px 20px;
        border-radius: 100px;
        background: rgba(255,255,255,.05);
        border: 1px solid rgba(255,255,255,.08);
        font-family: Orbitron;
        font-size: 13px;
        letter-spacing: 2px;
        transition: .3s;
    }

        .tags span:hover {
            border-color: var(--pink);
            box-shadow: 0 0 20px rgba(255,62,168,.3);
        }

/* ==========================================================
CALENDAR
==========================================================*/

.calendar {
    display: grid;
    grid-template-columns: repeat(2,1fr);
    gap: 16px;
    margin-top: 20px;
}

    .calendar div {
        padding: 18px 22px;
        border-radius: 18px;
        background: rgba(255,255,255,.05);
        border: 1px solid rgba(255,255,255,.06);
        transition: .3s;
        font-size: 17px;
    }

        .calendar div:hover {
            transform: translateX(8px);
            border-color: rgba(255,62,168,.4);
            box-shadow: 0 0 20px rgba(255,62,168,.2);
        }

/* ==========================================================
SOCIAL LINKS
==========================================================*/

.links {
    display: grid;
    grid-template-columns: repeat(2,1fr);
    gap: 18px;
    margin-top: 25px;
}

    .links a {
        display: flex;
        justify-content: center;
        align-items: center;
        height: 72px;
        height: 72px;
        border-radius: 22px;
        background: rgba(255,255,255,.05);
        border: 1px solid rgba(255,255,255,.08);
        font-family: Orbitron;
        letter-spacing: 2px;
        transition: .35s;
    }

        .links a:hover {
            transform: translateY(-6px);
            border-color: var(--purple);
            box-shadow: 0 0 25px rgba(139,93,255,.35);
        }

/* ==========================================================
DONATE
==========================================================*/

.panel h3 {
    font-family: Orbitron;
    font-size: 30px;
    margin: 18px 0 28px;
    letter-spacing: 4px;
}

/* ======================================================== */

#copy {
    width: 260px;
    padding: 18px;
    border-radius: 60px;
    color: white;
    background: linear-gradient( 135deg, var(--pink), var(--purple) );
    font-family: Orbitron;
    letter-spacing: 3px;
    transition: .35s;
}

    #copy:hover {
        transform: translateY(-4px);
        box-shadow: 0 0 30px rgba(255,62,168,.4);
    }

/* ======================================================== */

.donate-links {
    display: flex;
    gap: 18px;
    margin-top: 30px;
}

    .donate-links a {
        padding: 16px 28px;
        border-radius: 20px;
        background: rgba(255,255,255,.05);
        border: 1px solid rgba(255,255,255,.08);
        transition: .35s;
        font-family: Orbitron;
    }

        .donate-links a:hover {
            border-color: var(--pink);
            box-shadow: 0 0 20px rgba(255,62,168,.25);
        }
/* ==========================================================
   HUD PANEL GLOW
==========================================================*/

.content {
    bottom: 70px;
    right: 400px;
}

    .content::before {
        content: "";
        position: absolute;
        left: 0;
        top: 0;
        width: 100%;
        height: 2px;
        background: linear-gradient( 90deg, transparent, var(--pink), var(--purple), transparent );
        box-shadow: 0 0 20px var(--pink), 0 0 40px var(--purple);
    }

    .content::after {
        content: "";
        position: absolute;
        inset: -2px;
        border-radius: 34px;
        border: 1px solid rgba(255,255,255,.05);
        pointer-events: none;
    }

/* ==========================================================
   MENU ANIMATION
==========================================================*/

.menu-item {
    position: relative;
    overflow: hidden;
}

    .menu-item::before {
        content: "";
        position: absolute;
        left: -120%;
        top: 0;
        width: 70%;
        height: 100%;
        background: linear-gradient( 90deg, transparent, rgba(255,255,255,.25), transparent );
        transform: skewX(-20deg);
        transition: .7s;
    }

    .menu-item:hover::before {
        left: 160%;
    }

/* ==========================================================
   LOGO
==========================================================*/

.logo {
    animation: logoGlow 4s ease-in-out infinite;
}

@keyframes logoGlow {

    0%,100% {
        text-shadow: 0 0 10px var(--pink), 0 0 20px var(--pink);
    }

    50% {
        text-shadow: 0 0 25px var(--pink), 0 0 60px var(--purple);
    }
}

/* ==========================================================
   PANEL ANIMATION
==========================================================*/

.panel.active {
    animation: panelShow .45s ease;
}

@keyframes panelShow {

    from {
        opacity: 0;
        transform: translateY(25px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==========================================================
   STATUS
==========================================================*/

.player-status {
    animation: statusBlink 2s infinite;
}

@keyframes statusBlink {

    0%,100% {
        box-shadow: 0 0 10px rgba(30,255,140,.25);
    }

    50% {
        box-shadow: 0 0 25px rgba(30,255,140,.8);
    }
}

/* ==========================================================
   SCROLLBAR
==========================================================*/

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient( var(--pink), var(--purple) );
    border-radius: 20px;
}

/* ==========================================================
   RESPONSIVE
==========================================================*/

@media(max-width:1200px) {

    body {
        overflow: auto;
    }

    .interface {
        position: relative;
        width: 100%;
        height: auto;
        padding: 30px;
    }

    .hud-menu {
        width: min(700px,95%);
    }

    .content {
        position: fixed;
        left: 80px;
        right: 520px;
        bottom: 60px;
        padding: 40px;
        border-radius: 34px;
        min-height: 220px;
        height: auto;
    }
}

@media(max-width:768px) {

    .logo {
        font-size: 38px;
    }

    .menu-item {
        font-size: 15px;
        padding: 18px;
    }

    .panel h2 {
        font-size: 28px;
    }

    .panel p {
        font-size: 16px;
    }

    .calendar {
        grid-template-columns: 1fr;
    }

    .links {
        grid-template-columns: 1fr;
    }

    .donate-links {
        flex-direction: column;
    }
}

/* ==========================================================
   BACKGROUND MOTION
==========================================================*/

.background-image {
    animation: backgroundFloat 20s ease-in-out infinite;
}

@keyframes backgroundFloat {

    0%,100% {
        transform: scale(1.03);
    }

    50% {
        transform: scale(1.08);
    }
}
/* ==========================================================
   CYBERPUNK GLASS
==========================================================*/

.hud-menu,
.content {
    background: linear-gradient( 180deg, rgba(255,255,255,.08) 0%, rgba(255,255,255,.02) 30%, rgba(255,255,255,.01) 100% ), rgba(14,14,14,.45);
    backdrop-filter: blur(26px);
    -webkit-backdrop-filter: blur(26px);
}

/* ========================================================== */

.hud-menu {
    border-radius: 32px;
    padding: 20px;
    border: 1px solid rgba(255,255,255,.08);
    box-shadow: inset 0 1px rgba(255,255,255,.08), inset 0 -1px rgba(255,255,255,.03), 0 0 35px rgba(255,62,168,.08);
}

/* ========================================================== */

.content {
    border-radius: 36px;
    box-shadow: inset 0 1px rgba(255,255,255,.08), inset 0 -1px rgba(255,255,255,.02), 0 0 50px rgba(255,62,168,.08), 0 40px 90px rgba(0,0,0,.45);
}

    /* ==========================================================
   PANEL TOP LIGHT
==========================================================*/

    .content::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 2px;
        background: linear-gradient( 90deg, transparent, var(--pink), var(--purple), transparent );
        opacity: .7;
        box-shadow: 0 0 18px var(--pink), 0 0 40px var(--purple);
    }

/* ==========================================================
   MENU BORDER
==========================================================*/

.hud-menu::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 32px;
    padding: 1px;
    background: linear-gradient( 180deg, rgba(255,255,255,.12), rgba(255,255,255,0) );
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

/* ==========================================================
   MENU BUTTON
==========================================================*/

.menu-item {
    position: relative;
    overflow: hidden;
    text-align: left;
}

    .menu-item::after {
        content: "";
        position: absolute;
        left: -120%;
        top: 0;
        width: 55%;
        height: 100%;
        background: linear-gradient( 90deg, transparent, rgba(255,255,255,.28), transparent );
        transform: skewX(-20deg);
        transition: .8s;
    }

    .menu-item:hover::after {
        left: 150%;
    }

    .menu-item.active {
        color: white;
        font-weight: 700;
    }

        /* ==========================================================
   ACTIVE BAR
==========================================================*/

        .menu-item.active::before {
            content: "";
            position: absolute;
            left: 0;
            top: 15%;
            width: 4px;
            height: 70%;
            border-radius: 20px;
            background: linear-gradient( var(--pink), var(--purple) );
            box-shadow: 0 0 15px var(--pink);
        }

/* ==========================================================
   LOGO
==========================================================*/

.logo {
    position: relative;
}

    .logo::after {
        content: "STREAM";
        display: block;
        margin-top: 8px;
        font-size: 11px;
        color: #bbb;
        letter-spacing: 8px;
        text-align: center;
    }

/* ==========================================================
   STATUS
==========================================================*/

.player-status {
    width: 220px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
}

    .player-status::before {
        content: "";
        width: 8px;
        height: 8px;
        border-radius: 50%;
        background: #61ff99;
        box-shadow: 0 0 12px #61ff99, 0 0 22px #61ff99;
    }

/* ==========================================================
   PANEL
==========================================================*/

.panel {
    overflow-y: auto;
    padding-right: 10px;
}

    .panel::-webkit-scrollbar {
        width: 6px;
    }

    .panel::-webkit-scrollbar-thumb {
        background: linear-gradient( var(--pink), var(--purple) );
        border-radius: 20px;
    }

    /* ==========================================================
   TITLES
==========================================================*/

    .panel h2 {
        position: relative;
        display: inline-block;
        padding-bottom: 18px;
    }

        .panel h2::after {
            content: "";
            position: absolute;
            left: 0;
            bottom: 0;
            width: 120px;
            height: 3px;
            border-radius: 20px;
            background: linear-gradient( var(--pink), var(--purple) );
        }

/* ==========================================================
   SOFT AMBIENT
==========================================================*/

.background::before {
    content: "";
    position: absolute;
    left: -200px;
    bottom: -200px;
    width: 550px;
    height: 550px;
    border-radius: 50%;
    background: rgba(139,93,255,.16);
    filter: blur(120px);
}

.background::after {
    content: "";
    position: absolute;
    right: -150px;
    top: -150px;
    width: 450px;
    height: 450px;
    border-radius: 50%;
    background: rgba(255,62,168,.18);
    filter: blur(110px);
}
/* ==========================================================
   CALENDAR CARDS
==========================================================*/

.calendar {
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(180px,1fr));
    gap: 18px;
    margin-top: 30px;
}

    .calendar div {
        position: relative;
        padding: 22px;
        border-radius: 22px;
        overflow: hidden;
        background: linear-gradient( 180deg, rgba(255,255,255,.06), rgba(255,255,255,.02) );
        border: 1px solid rgba(255,255,255,.08);
        transition: .35s;
    }

        .calendar div::before {
            content: "";
            position: absolute;
            left: 0;
            top: 0;
            width: 100%;
            height: 3px;
            background: linear-gradient( 90deg, var(--pink), var(--purple) );
            transform: scaleX(0);
            transform-origin: left;
            transition: .35s;
        }

        .calendar div:hover {
            transform: translateY(-8px);
            border-color: rgba(255,62,168,.35);
            box-shadow: 0 15px 35px rgba(0,0,0,.35), 0 0 30px rgba(255,62,168,.18);
        }

            .calendar div:hover::before {
                transform: scaleX(1);
            }

/* ==========================================================
   SOCIAL GRID
==========================================================*/

.links {
    display: grid;
    grid-template-columns: repeat(2,1fr);
    gap: 20px;
    margin-top: 35px;
}

    .links a {
        position: relative;
        display: flex;
        justify-content: center;
        align-items: center;
        height: 90px;
        overflow: hidden;
        border-radius: 24px;
        background: linear-gradient( 180deg, rgba(255,255,255,.08), rgba(255,255,255,.02) );
        border: 1px solid rgba(255,255,255,.08);
        font-family: Orbitron;
        letter-spacing: 3px;
        transition: .35s;
    }

        .links a::after {
            content: "";
            position: absolute;
            inset: 0;
            background: radial-gradient(circle at center, rgba(255,62,168,.18), transparent 70%);
            opacity: 0;
            transition: .35s;
        }

        .links a:hover {
            transform: translateY(-8px);
            border-color: rgba(255,62,168,.4);
        }

            .links a:hover::after {
                opacity: 1;
            }

/* ==========================================================
   DONATE CARD
==========================================================*/

#donate h3 {
    font-size: 34px;
    font-family: Orbitron;
    letter-spacing: 4px;
    margin: 25px 0;
    color: white;
}

#copy {
    margin-top: 30px;
}

.donate-links {
    margin-top: 35px;
}

    .donate-links a {
        flex: 1;
        text-align: center;
    }

/* ==========================================================
   PLAYER TAGS
==========================================================*/

.tags span {
    cursor: default;
    user-select: none;
}

    .tags span:nth-child(odd) {
        border-color: rgba(255,62,168,.18);
    }

    .tags span:nth-child(even) {
        border-color: rgba(139,93,255,.18);
    }

/* ==========================================================
   PANEL FADE
==========================================================*/

.panel {
    transition: opacity .35s, transform .35s, visibility .35s;
}

/* ==========================================================
   IMAGE DEPTH
==========================================================*/

.background-image {
    filter: brightness(.88) contrast(1.05) saturate(1.08);
}

/* ==========================================================
   FILM GRAIN
==========================================================*/

body::after {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    opacity: .03;
    background-image: url("https://grainy-gradients.vercel.app/noise.svg");
}

/* ==========================================================
   RESPONSIVE
==========================================================*/

@media(max-width:1100px) {

    body {
        overflow: auto;
    }

    .background {
        position: fixed;
    }

    .interface {
        width: 100%;
        position: relative;
        padding: 30px;
        height: auto;
    }

    .content {
        position: relative;
        left: auto;
        right: auto;
        bottom: auto;
        width: min(94%,900px);
        margin: 30px auto 60px;
        min-height: 420px;
    }
}

@media(max-width:768px) {

    .links {
        grid-template-columns: 1fr;
    }

    .calendar {
        grid-template-columns: 1fr;
    }

    .logo {
        font-size: 36px;
    }

    .panel h2 {
        font-size: 30px;
    }

    .panel p {
        font-size: 16px;
    }

    .menu-item {
        font-size: 15px;
        padding: 18px;
    }

    .content {
        padding: 28px;
    }
}

@media(max-width:480px) {

    .interface {
        padding: 20px;
    }

    .logo {
        font-size: 28px;
        letter-spacing: 4px;
    }

    .player-status {
        width: 100%;
    }

    .content {
        padding: 22px;
        border-radius: 24px;
    }

    .panel h2 {
        font-size: 24px;
    }

    #copy {
        width: 100%;
    }

    .donate-links {
        flex-direction: column;
    }
}