:root {
    --bg-dark: #000000;
    --bg-light: #2b2a2a;

    --highlight: rgb(246, 126, 26);
    --glass-bg: rgba(0, 0, 0, 0.3);

    --bg-1: #050505;
    --bg-2: #1e1e1e;
    --bg-3: #050505;
    --text: #ffffff;
    --text-soft: rgba(255, 255, 255, 0.72);
    --text-muted: rgba(255, 255, 255, 0.5);
    --border: rgba(255, 255, 255, 0.1);
    --panel: rgba(255, 255, 255, 0.05);
    --panel-dark: rgba(0, 0, 0, 0.2);
    --accent: #f97316;
    --accent-hover: #fb923c;
    --accent-soft: rgba(249, 115, 22, 0.1);
    --accent-border: rgba(249, 115, 22, 0.2);
    --shadow: 0 25px 60px rgba(0, 0, 0, 0.35);
    --blur: blur(18px);
}

h1, h2, h3, h4, h5, h6 {
    color: var(--text);
    font-family: "Inter", sans-serif;
    font-weight: 600; /* ← FIX */
    margin: 0;
}

p, label, input, span {
    color: var(--text-soft);
    font-family: "Inter", sans-serif;
    font-weight: 400;
    margin: 0;
}

body {
    width: 100vw;
    height: 100vh;

    margin: 0;

    max-width: 100%;
    max-height: 100%;

    /*background: linear-gradient(180deg, #1299e8 0%, white 100%)*/
    background: linear-gradient(45deg, var(--bg-dark) 20%, var(--bg-light) 50%, var(--bg-dark) 100%)
}

/* Headings */
h1 { font-size: clamp(2rem, 5vw + 1rem, 3.5rem); }   /* ~32px → 56px */
h2 { font-size: clamp(1.75rem, 4vw + 0.5rem, 2.75rem); } /* ~28px → 44px */
h3 { font-size: clamp(1.5rem, 3vw + 0.5rem, 2.25rem); }  /* ~24px → 36px */
h4 { font-size: clamp(1.25rem, 2vw + 0.5rem, 1.75rem); } /* ~20px → 28px */
h5 { font-size: clamp(1.125rem, 1.5vw + 0.25rem, 1.5rem); } /* ~18px → 24px */
h6 { font-size: clamp(1rem, 1vw + 0.25rem, 1.25rem); }     /* ~16px → 20px */

/* Body text */
p    { font-size: clamp(1rem, 1vw + 0.25rem, 1.125rem); }  /* ~16px → 18px */
small { font-size: clamp(0.875rem, 1vw, 1rem); }           /* ~14px → 16px */

.background-wrapper {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
}
.anim-bg {
    z-index: -1;
    width: 100%;
    height: 100%;
    display: block;
    position: absolute;
    background: linear-gradient(45deg, var(--bg-1) 0%, var(--bg-2) 50%, var(--bg-3) 100%);
}


.glass {
    background: var(--glass-bg);
    border-radius: 16px;
    backdrop-filter: blur(2px);
    --webkit-backdrop-filter: blur(2px);
    border: 1px solid rgba(32, 32, 32, 0.6);
    padding: 10px;
}


#title {
    width: fit-content;
    margin-bottom: 50px;
    text-transform: uppercase;
    letter-spacing: 5px;
    animation: letter-spacing 3s forwards;
}
@keyframes letter-spacing {
    0% {
        letter-spacing: 25px;
    }
    100% {
        letter-spacing: 5px;
    }
}

ul {
    list-style: none;
    padding: 0;
}

ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

a {
    text-decoration: none;
    color: inherit;
}

#sidebar {
    min-width: 260px;
    width: 260px;
    height: 100vh;
    display: flex;
    flex-direction: column;
    gap: 18px;
    padding: 18px;
}
.sidebar-brand {
    margin: 0;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--border);
}
.sidebar-nav {
    width: 100%;
}
.sidebar-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.sidebar-list > li {
    width: 100%;
}
.sidebar-btn {
    width: 100%;
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 12px 14px;
    border-radius: 12px;
    border: 1px solid transparent;
    background: rgba(255, 255, 255, 0.03);
    cursor: pointer;
    text-align: left;
}
.sidebar-btn h6 {
    margin: 0;
    color: var(--text);
    font-weight: 500;
}
.sidebar-btn:hover {
    border-color: var(--accent-border);
    background: var(--accent-soft);
}
.sidebar-btn--active {
    border-color: var(--accent-border);
    background: var(--accent-soft);
    box-shadow: inset 0 0 0 1px rgba(249, 115, 22, 0.12);
}
.drop-down {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.sidebar-toggle {
    appearance: none;
    font: inherit;
    color: inherit;
    outline: none;
}
.sidebar-submenu {
    display: none;
    flex-direction: column;
    gap: 8px;
    padding-left: 14px;
}
.drop-down.open > .sidebar-submenu {
    display: flex;
}
.sidebar-submenu .sidebar-btn {
    min-height: 42px;
    background: rgba(255, 255, 255, 0.02);
}
.hover-grow {
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}
.hover-grow:hover {
    transform: translateX(4px);
    box-shadow: none;
}

.highlight {
    color: var(--highlight);
}

.drop-down-content {
    display: none;
    position: absolute;
    padding: 10px;
    background-color: black;
    gap: 5px;
}
.drop-down:hover .drop-down-content {
    display: flex;
    flex-direction: column;
}
.drop-down-content > span:hover {
    color: var(--highlight);
}
.drop-down-content {
    cursor: pointer;
}

.divider-line {
    width: 100%;
    height: 1px;
    background-color: var(--bg-light);
    margin: 10px 0 10px 0;
}

.scroll-animation {
    will-change: transform, opacity;
    transform-origin: center center;
}

.panel {
    padding: 18px;
    border-radius: 16px;
    background:
            linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0.015)),
            rgba(0, 0, 0, 0.24);
    border: 1px solid rgba(255, 255, 255, 0.08);
    /*backdrop-filter: blur(10px); */
    -webkit-backdrop-filter: blur(10px);
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    min-width: 0;
    opacity: 0.8;
}

*,
*::before,
*::after { box-sizing: border-box; }