@import url('https://fonts.googleapis.com/css2?family=DotGothic16&family=Nunito:wght@400;500;600;700;800&display=swap');

body, button, input, textarea, select {
    font-family: 'Nunito', sans-serif !important;
}

html {
    min-height: 100vh;
    cursor: url('/assets/hatchet.webp'), default !important;
}

*, *:hover, *:active, *:focus, *:focus-within {
    cursor: url('/assets/hatchet.webp'), default !important;
}

::selection {
    background: #7e22ce;
    color: #ffffff;
}

::-moz-selection {
    background: #7e22ce;
    color: #ffffff;
}

a {
    color: #d8b4fe;
    text-decoration: none;
}

a:hover {
    color: #c084fc;
    text-decoration: underline;
}

body {
    background-image: url('/assets/dashboard-bg-blurred.webp');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
    margin: 0;
    padding: 0;
    color: #e2e8f0;
}

#container {
    width: 850px;
    margin: 0 auto;
    min-height: 100vh;
    background-color: rgba(18, 8, 28, 0.78);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(168, 85, 247, 0.22);
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(168, 85, 247, 0.06);
    background-image: none;
    display: flex;
    flex-direction: column;
}

#banner {
    height: 180px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

#banner::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image: url('/assets/kakera.webp');
    background-size: cover;
    background-position: center;
    opacity: 0.2;
    z-index: 1;
}

#banner.banner-hanyuu::after {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image: url('/banner/hanyuu-header-top.webp');
    background-size: cover;
    background-position: center;
    opacity: 1;
    z-index: 2;
}


#banner-text {
    background: linear-gradient(90deg, rgba(20, 10, 30, 0.9) 0%, rgba(20, 10, 30, 0) 100%);
    padding: 10px 20px;
    height: 100%;
    display: flex;
    align-items: center;
    position: relative;
    z-index: 3;
}

#banner-text h1 {
    font-size: 32px;
    color: #d8b4fe;
    text-shadow: 0 0 20px rgba(168, 85, 247, 0.55), 1px 1px 0px rgba(0, 0, 0, 0.9);
    font-weight: bold;
    letter-spacing: 2px;
    margin: 0;
    font-family: 'Nunito', sans-serif !important;
}

#flex-wrapper {
    display: flex;
    padding: 20px;
    gap: 20px;
    flex: 1;
}

#main-content {
    flex: 1;
    min-width: 0;
}

.welcome-box {
    border: 1px solid rgba(168, 85, 247, 0.18);
    margin-bottom: 15px;
    background: rgba(35, 15, 55, 0.62);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(168, 85, 247, 0.05);
}

.box-header {
    background: linear-gradient(180deg, #6d28d9 0%, #4c1d95 45%, #2e1065 100%);
    color: #f3e8ff;
    padding: 6px 12px;
    font-weight: bold;
    font-size: 13px;
    text-shadow: 1px 1px 0px rgba(0, 0, 0, 0.8), 0 0 8px rgba(168, 85, 247, 0.3);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15), inset 0 -1px 0 rgba(0, 0, 0, 0.5);
    border-bottom: 1px solid #5b21b6;
    letter-spacing: 0.3px;
}

.box-body {
    padding: 15px;
    font-size: 13px;
    line-height: 1.6;
    text-align: center;
    color: #e2e8f0;
}

.box-body a {
    color: #d8b4fe;
    text-decoration: underline;
    font-weight: bold;
}

.box-body a:hover {
    color: #c084fc;
}

#footer {
    border-top: 1px solid #6a0dad;
    padding: 10px 20px;
    font-size: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: 'DotGothic16', sans-serif !important;
}

#footer a {
    color: #d8b4fe;
    text-decoration: none;
    font-weight: bold;
}

.debian-red {
    color: #ff0055 !important;
}

#dashboard-link {
    text-align: center;
    padding: 6px;
    font-size: 11px;
}

#dashboard-link a {
    color: #d8b4fe;
    text-decoration: none;
    opacity: 0.4;
    font-family: 'DotGothic16', sans-serif !important;
}

#dashboard-link a:hover {
    opacity: 1;
}

#sidebar {
    width: 170px;
    flex-shrink: 0;
}

.nav-title {
    background: linear-gradient(180deg, #6d28d9 0%, #4c1d95 45%, #2e1065 100%);
    color: #f3e8ff;
    padding: 5px 8px;
    font-size: 11px;
    font-weight: bold;
    text-align: center;
    text-shadow: 1px 1px 0px rgba(0, 0, 0, 0.8);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15), inset 0 -1px 0 rgba(0, 0, 0, 0.5);
    border-bottom: 1px solid #5b21b6;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.nav-item {
    display: block;
    border: 1px solid rgba(168, 85, 247, 0.18);
    border-top: none;
    padding: 8px 10px;
    text-decoration: none;
    color: #c4b5fd;
    font-size: 13px;
    background-color: rgba(35, 15, 55, 0.62);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: background 0.15s, color 0.15s, padding-left 0.1s, box-shadow 0.15s;
}

.nav-item:hover {
    background-color: rgba(109, 40, 217, 0.6);
    color: #f3e8ff;
    padding-left: 14px;
    box-shadow: inset 0 0 8px rgba(168, 85, 247, 0.15);
}

.nav-item.active {
    background: linear-gradient(90deg, rgba(109, 40, 217, 0.8) 0%, rgba(76, 29, 149, 0.7) 100%);
    color: #ffffff;
    padding-left: 14px;
    font-weight: bold;
    box-shadow: inset 0 0 10px rgba(255, 255, 255, 0.1), inset 3px 0 0 #a855f7;
    border-color: rgba(168, 85, 247, 0.35);
}

#drop-button {
    border: 1px solid rgba(168, 85, 247, 0.25);
    padding: 8px;
    background: rgba(35, 15, 55, 0.62);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    text-align: center;
    font-size: 11px;
    font-weight: bold;
    display: block;
    text-decoration: none;
    margin-top: 10px;
    color: #c4b5fd;
    transition: background 0.15s, color 0.15s, box-shadow 0.15s;
    letter-spacing: 0.3px;
}

#drop-button:hover {
    background: rgba(109, 40, 217, 0.7);
    color: #ffffff;
    box-shadow: inset 0 0 8px rgba(168, 85, 247, 0.2);
    border-color: rgba(168, 85, 247, 0.45);
}

/* =========================================
   MOBILE RESPONSIVE
   ========================================= */

@media (max-width: 900px) {
    html, body {
        height: auto;
        overflow-y: auto;
        overflow-x: hidden;
    }
    #container {
        width: 100%;
        border-left: none;
        border-right: none;
        box-shadow: none;
        height: auto;
        min-height: 100vh;
    }
    #flex-wrapper {
        height: auto !important;
        min-height: 0 !important;
    }
    #main-content {
        height: auto !important;
    }
}

@media (max-width: 600px) {
    #banner {
        height: 120px;
    }

    #banner-text h1 {
        font-size: 22px;
    }

    #flex-wrapper {
        flex-direction: column;
        padding: 10px;
        gap: 10px;
    }

    .moe-deco {
        color: #ba55d3;
        font-weight: bold;
    }

    .counter-sub {
        font-size: 10px;
        color: #ba55d3;
        margin-top: 4px;
    }

    .box-body {
        font-size: 12px;
        padding: 10px;
    }

    #footer {
        flex-direction: column;
        text-align: center;
        gap: 4px;
        font-size: 9px;
    }
}

/* Listening scrobble cute theme-matched progress bar (Global) */
#scrobble-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #d8b4fe, #a855f7);
    width: 0%;
    border-radius: 3px;
    box-shadow: 0 0 6px rgba(216, 180, 254, 0.45);
}
