
/* ==========================================================
   REEDROUX MUSIC DASHBOARD
   BLACK / RED INTERFACE
   ========================================================== */

/* ==========================================================
   VARIABLES
   ========================================================== */

:root {
    color-scheme: dark;

    --bg: #000000;
    --sidebar: #050505;

    --surface: #090909;
    --surface2: #0d0d0d;
    --surface3: #141414;

    --border: #1c1c1c;
    --border-hover: #383838;

    --text: #f5f5f5;
    --muted: #858585;

    --red: #f52235;
    --red2: #d7192b;
    --red-hover: #ff3548;
    --red-dark: #29070d;
    --red-soft: rgba(245, 34, 53, 0.10);

    --green: #36c78b;
    --yellow: #e6b968;
    --blue: #799bdf;

    --radius: 7px;
    --sidebar-width: 255px;
}

/* ==========================================================
   GLOBAL
   ========================================================== */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-width: 320px;

    background: var(--bg);
    color: var(--text);

    font-family:
        Inter,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Arial,
        sans-serif;

    font-size: 13px;
    line-height: 1.5;

    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

button,
input,
select,
textarea {
    font: inherit;
}

button {
    cursor: pointer;
}

button:disabled {
    opacity: 0.45;
    cursor: not-allowed;
}

a {
    color: inherit;
    text-decoration: none;
}

[hidden] {
    display: none !important;
}

h1,
h2,
h3,
h4,
p {
    margin-top: 0;
}

h1 {
    font-size: clamp(27px, 3vw, 36px);
    font-weight: 750;
    letter-spacing: -1.2px;
    line-height: 1.2;
}

h2 {
    font-size: 18px;
    font-weight: 700;
    letter-spacing: -0.5px;
}

h3 {
    font-size: 14px;
    font-weight: 650;
}

p {
    color: var(--muted);
    line-height: 1.65;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 2px solid var(--red);
    outline-offset: 3px;
}

::selection {
    background: var(--red);
    color: #fff;
}

::-webkit-scrollbar {
    width: 7px;
    height: 7px;
}

::-webkit-scrollbar-track {
    background: #0b0b0b;
}

::-webkit-scrollbar-thumb {
    background: #333;
    border-radius: 8px;
}

::-webkit-scrollbar-thumb:hover {
    background: #555;
}

/* ==========================================================
   UTILITIES
   ========================================================== */

.muted {
    color: var(--muted);
}

.small {
    font-size: 11px;
    color: var(--muted);
}

.good {
    color: var(--green);
}

.bad {
    color: var(--red);
}

.gold {
    color: var(--yellow);
}

.no-bottom-margin {
    margin-bottom: 0 !important;
}

.eyebrow {
    color: var(--red);
    font-size: 10px;
    font-weight: 750;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.row {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.space-between {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    flex-wrap: wrap;
}

.grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.cards {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 15px;
}

.section {
    margin-top: 29px;
}

.section-heading {
    margin-bottom: 17px;
}

.section-heading-large {
    margin-bottom: 21px;
}

.section-heading-small {
    margin-bottom: 15px;
}

.section-heading h2,
.section-heading-small h2 {
    margin: 0;
}

/* ==========================================================
   PANELS
   ========================================================== */

.panel {
    min-width: 0;
    padding: 24px;

    background: var(--surface);

    border: 1px solid var(--border);
    border-radius: var(--radius);

    transition: border-color 0.18s ease;
}

.panel:hover {
    border-color: #363636;
}

.panel h2 {
    margin-bottom: 17px;
}

.panel-note {
    margin-top: 15px;
}

/* ==========================================================
   BUTTONS
   ========================================================== */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;

    min-height: 39px;
    padding: 10px 16px;

    background: var(--red);
    border: 1px solid var(--red);
    border-radius: 6px;

    color: #fff;

    font-size: 12px;
    font-weight: 700;
    line-height: 1.3;

    white-space: nowrap;

    transition:
        background-color 0.18s ease,
        border-color 0.18s ease,
        color 0.18s ease;
}

.btn:hover:not(:disabled) {
    background: var(--red-hover);
    border-color: var(--red-hover);
}

.btn:active:not(:disabled) {
    background: var(--red2);
    border-color: var(--red2);
}

.btn.secondary {
    background: #191919;
    border-color: #383838;
    color: #e8e8e8;
}

.btn.secondary:hover:not(:disabled) {
    background: #252525;
    border-color: var(--red);
    color: #fff;
}

.btn.danger {
    background: #321015;
    border-color: #6e1d28;
    color: #ff9aa4;
}

.btn.danger:hover:not(:disabled) {
    background: #4b121b;
    border-color: var(--red);
}

.btn.small-btn {
    min-height: 31px;
    padding: 7px 12px;
    font-size: 11px;
}

/* ==========================================================
   INPUTS
   ========================================================== */

.input {
    display: block;
    width: 100%;
    min-height: 40px;

    padding: 10px 13px;

    background: #090909;
    color: #fff;

    border: 1px solid #353535;
    border-radius: 6px;

    outline: none;

    transition:
        border-color 0.18s ease,
        box-shadow 0.18s ease;
}

.input:hover {
    border-color: #525252;
}

.input:focus {
    border-color: var(--red);
    box-shadow: 0 0 0 3px rgba(237, 41, 57, 0.12);
}

.input::placeholder {
    color: #747474;
}

select.input {
    cursor: pointer;
}

textarea.input {
    min-height: 100px;
    resize: vertical;
}

input[type="checkbox"],
input[type="radio"],
input[type="range"] {
    accent-color: var(--red);
}

/* ==========================================================
   BADGES
   ========================================================== */

.badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;

    padding: 6px 10px;

    background: #10271c;
    border: 1px solid #255b40;
    border-radius: 5px;

    color: #6be4a8;

    font-size: 10px;
    font-weight: 700;
    line-height: 1.4;
}

.badge.red {
    background: #341015;
    border-color: #78202c;
    color: #ff7c89;
}

.badge.neutral {
    background: #202020;
    border-color: #383838;
    color: #c5c5c5;
}

.badge.gold {
    background: #2d2111;
    border-color: #624a27;
    color: #edc47c;
}

/* ==========================================================
   STATUS DOTS
   ========================================================== */

.dot {
    display: inline-block;

    width: 8px;
    height: 8px;

    flex-shrink: 0;

    background: #777;
    border-radius: 50%;
}

.dot.online {
    background: var(--green);
}

.dot.offline {
    background: var(--red);
}

/* ==========================================================
   NOTICES
   ========================================================== */

.notice {
    padding: 15px 17px;

    background: #230d11;
    border: 1px solid #60202a;
    border-left: 3px solid var(--red);
    border-radius: 6px;

    color: #e9b4ba;

    font-size: 12px;
    line-height: 1.7;
}

.notice.success {
    background: #0e2418;
    border-color: #245c3e;
    border-left-color: var(--green);
    color: #9ae5bd;
}

.notice.error {
    background: #2a0e14;
    border-color: #7a202e;
    border-left-color: var(--red);
    color: #ffa3ad;
}

.empty {
    padding: 32px 20px;

    color: var(--muted);
    text-align: center;
    font-size: 12px;
}

/* ==========================================================
   DETAILS
   ========================================================== */

.detail {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;

    padding: 14px 0;

    border-bottom: 1px solid var(--border);
}

.detail:last-child {
    border-bottom: 0;
}

.detail > span:first-child {
    color: var(--muted);
}

.detail strong {
    color: #f0f0f0;
    text-align: right;
    overflow-wrap: anywhere;
    font-weight: 650;
}

/* ==========================================================
   LOADING
   ========================================================== */

#loading {
    position: fixed;
    inset: 0;
    z-index: 1000;

    display: grid;
    place-items: center;

    background: #050505;

    font-size: 25px;
    font-weight: 800;
    letter-spacing: -0.8px;
}

#loading span {
    color: var(--red);
}

.login-error,
.dashboard-error {
    margin-top: 15px;
    color: #ff8d99;
}

.dashboard-error {
    margin-top: 20px;
}

/* ==========================================================
   APPLICATION LAYOUT
   ========================================================== */

.app {
    display: flex;
    min-height: 100vh;
}

/* ==========================================================
   SIDEBAR
   ========================================================== */

.sidebar {
    position: sticky;
    top: 0;
    z-index: 20;

    display: flex;
    flex-direction: column;

    width: var(--sidebar-width);
    height: 100vh;

    padding: 23px 13px 15px;

    flex-shrink: 0;

    background: var(--sidebar);
    border-right: 1px solid #242424;

    overflow-x: hidden;
    overflow-y: auto;

    scrollbar-width: thin;
    scrollbar-color: #333 transparent;
}

/* ==========================================================
   BRAND
   ========================================================== */

.brand {
    display: flex;
    align-items: center;
    gap: 12px;

    padding: 5px 12px 27px;
}

.brand-logo {
    width: 40px;
    height: 40px;

    flex-shrink: 0;

    object-fit: cover;
    border-radius: 9px;
}

.brand-name {
    font-size: 23px;
    font-weight: 800;
    letter-spacing: -1.1px;
    line-height: 1.2;
}

.brand-name span {
    color: var(--red);
}

.brand-sub {
    margin-top: 4px;

    color: #888;
    font-size: 10px;
    letter-spacing: 0.6px;
}

/* ==========================================================
   NAVIGATION
   ========================================================== */

.nav-label {
    margin: 21px 12px 9px;

    color: #777;

    font-size: 10px;
    font-weight: 750;
    letter-spacing: 0.9px;
    text-transform: uppercase;
}

.nav {
    display: grid;
    gap: 4px;
}

.nav button,
.nav .profile-nav-link {
    display: flex;
    align-items: center;
    gap: 12px;

    width: 100%;
    min-height: 41px;

    padding: 10px 12px;

    background: transparent;

    border: 1px solid transparent;
    border-radius: 6px;

    color: #a2a2a2;

    text-align: left;
    font-size: 12px;
    font-weight: 550;

    transition:
        background-color 0.18s ease,
        border-color 0.18s ease,
        color 0.18s ease;
}

.nav button:hover,
.nav .profile-nav-link:hover {
    background: #1b1b1b;
    color: #fff;
}

.nav button.active,
.nav .profile-nav-link.active {
    background: #310e14;
    border-color: #611b25;
    color: #fff;
    font-weight: 700;
}

.nav button.active .nav-icon,
.nav .profile-nav-link.active .nav-icon {
    color: #ff4051;
}

.nav-icon {
    width: 19px;
    flex-shrink: 0;

    text-align: center;
    font-size: 17px;
    line-height: 1;
}

/* ==========================================================
   SIDEBAR BOTTOM
   ========================================================== */

.sidebar-bottom {
    margin-top: auto;
    padding-top: 25px;
}

.premium-promo {
    padding: 18px;

    background: #1c0e11;

    border: 1px solid #54202a;
    border-radius: 8px;
}

.premium-promo strong {
    display: block;
    margin-bottom: 8px;

    color: #fff;
    font-size: 13px;
    font-weight: 750;
}

.premium-promo p {
    margin-bottom: 15px;
    color: #aaa;
    font-size: 11px;
    line-height: 1.6;
}

.premium-promo button {
    width: 100%;
}

/* ==========================================================
   PROFILE TRIGGER
   ========================================================== */

.profile-trigger {
    display: flex;
    align-items: center;
    gap: 11px;

    width: 100%;
    margin-top: 13px;
    padding: 10px;

    background: #151515;

    border: 1px solid #303030;
    border-radius: 7px;

    color: #fff;
    text-align: left;

    transition:
        background-color 0.18s ease,
        border-color 0.18s ease;
}

.profile-trigger:hover {
    background: #202020;
    border-color: #4a4a4a;
}

.avatar {
    display: grid;
    place-items: center;

    width: 40px;
    height: 40px;

    flex-shrink: 0;
    overflow: hidden;

    background: #44131b;
    border-radius: 8px;

    font-weight: 750;
}

.avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.avatar.large {
    width: 85px;
    height: 85px;

    border-radius: 12px;
    font-size: 30px;
}

.profile-trigger strong {
    display: block;
    max-width: 145px;

    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;

    font-size: 12px;
    font-weight: 650;
}

.profile-trigger small {
    color: var(--muted);
    font-size: 10px;
}

/* ==========================================================
   MAIN
   ========================================================== */

.main {
    flex: 1;
    min-width: 0;

    background: #080808;
}

/* ==========================================================
   TOPBAR
   ========================================================== */

.topbar {
    position: sticky;
    top: 0;
    z-index: 10;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;

    min-height: 69px;
    padding: 13px 35px;

    background: #0c0c0c;
    border-bottom: 1px solid #252525;
}

.breadcrumb {
    color: #888;
    font-size: 12px;
}

.breadcrumb strong {
    color: #fff;
    font-weight: 650;
}

.top-actions {
    display: flex;
    align-items: center;
    gap: 11px;
    flex-wrap: wrap;
}

/* ==========================================================
   CONTENT
   ========================================================== */

.content {
    width: 100%;
    max-width: 1550px;

    margin: 0 auto;
    padding: 35px 37px 70px;
}

.page-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;

    margin-bottom: 27px;
}

.page-heading h1 {
    margin: 7px 0 9px;
}

.page-heading p {
    margin-bottom: 0;
}

/* ==========================================================
   HERO
   ========================================================== */

.hero {
    position: relative;
    overflow: hidden;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;

    padding: 32px;

    background: #190b0e;

    border: 1px solid #62202b;
    border-left: 4px solid var(--red);
    border-radius: 9px;
}

.hero h2 {
    margin: 10px 0 11px;

    color: #fff;

    font-size: clamp(23px, 3vw, 30px);
    font-weight: 750;
    letter-spacing: -0.9px;
}

.hero p {
    max-width: 650px;
    margin-bottom: 0;

    color: #b5aeb0;
}

.hero-art {
    flex-shrink: 0;

    color: var(--red);
    font-size: 75px;
    line-height: 1;

    opacity: 0.85;
}

.hero-actions {
    margin-top: 23px;
}

/* ==========================================================
   STAT CARDS
   ========================================================== */

.stat-card {
    position: relative;

    min-height: 145px;
    padding: 22px;

    background: #111;

    border: 1px solid #292929;
    border-radius: 8px;

    transition:
        border-color 0.18s ease,
        background-color 0.18s ease;
}

.stat-card:hover {
    background: #151515;
    border-color: #76212d;
}

.stat-card .label {
    color: #aaa;
    font-size: 12px;
}

.stat-card .value {
    display: block;
    margin: 19px 0 8px;

    color: #fff;

    font-size: clamp(24px, 2.6vw, 32px);
    font-weight: 800;
    letter-spacing: -1px;
    line-height: 1.2;

    overflow-wrap: anywhere;
}

.stat-card .value.compact-value {
    font-size: 21px;
}

.stat-card .description {
    color: #888;
    font-size: 11px;
}

.stat-icon {
    position: absolute;
    top: 20px;
    right: 20px;

    color: var(--red);
    font-size: 20px;
}

/* ==========================================================
   MUSIC PREVIEW
   ========================================================== */

.music-preview {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 18px;
}

.preview-player {
    position: relative;
    overflow: hidden;
}

.album-placeholder {
    display: grid;
    place-items: center;

    width: 95px;
    height: 95px;

    background: #310e16;

    border: 1px solid #6b1b29;
    border-radius: 9px;

    color: #ff6675;
    font-size: 39px;
}

.preview-player h3 {
    margin-bottom: 8px;
    font-size: 20px;
    font-weight: 700;
}

.preview-player .row {
    margin-top: 22px;
}

.preview-content {
    margin-top: 20px !important;
}

/* ==========================================================
   MUSIC CENTER
   ========================================================== */

#musicPage .banner {
    padding: 29px;

    background: #1b0b0f;

    border: 1px solid #64202d;
    border-left: 4px solid var(--red);
    border-radius: 9px;
}

#musicPage .banner h2 {
    margin: 10px 0;

    color: #fff;
    font-size: 25px;
    font-weight: 750;
}

#musicPage .banner-mark {
    color: var(--red);
    font-size: 45px;
}

#musicPage .actions-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    flex-wrap: wrap;
}

#musicPage .filter {
    min-width: 170px;
    min-height: 39px;

    padding: 10px 13px;

    background: #111;
    color: #fff;

    border: 1px solid #383838;
    border-radius: 6px;
}

#musicPage input[type="range"] {
    accent-color: var(--red);
}

#musicPage .checklist {
    max-height: 500px;
    overflow-y: auto;
}

#musicPage .checklist .detail {
    align-items: center;
}

#musicPage .checklist .detail span {
    min-width: 0;
    overflow-wrap: anywhere;
}

#musicPage .checklist .detail button {
    flex-shrink: 0;
}

#musicPage #mcCover {
    border-radius: 8px;
    box-shadow: none;
}

#musicPage .grid {
    align-items: start;
}

#musicPage .panel {
    min-width: 0;
}

/* ==========================================================
   SERVER SETTINGS
   ========================================================== */

.settings-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 15px;
}

.setting-category {
    grid-column: 1 / -1;

    margin: 16px 0 0;
    padding-bottom: 12px;

    border-bottom: 1px solid #303030;

    color: var(--red);

    font-size: 11px;
    font-weight: 750;
    letter-spacing: 0.7px;
    text-transform: uppercase;
}

.setting-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 17px;

    min-height: 115px;
}

.setting-card h3 {
    margin-bottom: 7px;
}

.setting-card p {
    margin-bottom: 0;
    font-size: 11px;
}

.settings-guild-select {
    width: min(320px, 100%);
}

.settings-message {
    margin-top: 20px;
}

.settings-search {
    width: 220px;
}

.filter-input {
    width: 170px;
}

/* ==========================================================
   TOGGLES
   ========================================================== */

.toggle {
    position: relative;

    width: 47px;
    height: 26px;

    flex-shrink: 0;

    background: #303030;

    border: 1px solid #4b4b4b;
    border-radius: 30px;

    transition:
        background-color 0.18s ease,
        border-color 0.18s ease;
}

.toggle::after {
    content: "";

    position: absolute;
    top: 3px;
    left: 3px;

    width: 18px;
    height: 18px;

    background: #fff;
    border-radius: 50%;

    transition: transform 0.18s ease;
}

.toggle[aria-checked="true"] {
    background: var(--red);
    border-color: var(--red);
}

.toggle[aria-checked="true"]::after {
    transform: translateX(21px);
}

/* ==========================================================
   CHARTS
   ========================================================== */

.chart {
    display: block;
    width: 100%;
    height: 180px;
}

.chart-grid {
    stroke: #303030;
    stroke-dasharray: 5 7;
}

.chart-line {
    fill: none;

    stroke: var(--red);
    stroke-width: 3;

    stroke-linecap: round;
    stroke-linejoin: round;
}

.chart-footer {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    flex-wrap: wrap;

    color: var(--muted);
    font-size: 11px;
}

/* ==========================================================
   SHARDS
   ========================================================== */

.shard-grid {
    display: grid;
    grid-template-columns: repeat(
        auto-fit,
        minmax(185px, 1fr)
    );
    gap: 13px;
}

.shard {
    padding: 19px;

    background: #151515;

    border: 1px solid #2d2d2d;
    border-radius: 7px;

    transition: border-color 0.18s ease;
}

.shard:hover {
    border-color: #63202a;
}

.shard strong {
    display: block;
    margin-bottom: 12px;
    font-weight: 700;
}

.shard p {
    margin: 12px 0 0;
    font-size: 11px;
}

/* ==========================================================
   TABLES
   ========================================================== */

.table-wrap {
    overflow-x: auto;

    border: 1px solid #292929;
    border-radius: 7px;
}

table {
    width: 100%;
    min-width: 570px;

    border-collapse: collapse;
    font-size: 12px;
}

th,
td {
    padding: 15px;
    border-bottom: 1px solid #292929;
    text-align: left;
}

thead {
    background: #191919;
}

th {
    color: #b5b5b5;
    font-weight: 700;
}

td {
    color: #ddd;
}

tbody tr:last-child td {
    border-bottom: 0;
}

tbody tr:hover {
    background: #1b1b1b;
}

/* ==========================================================
   PREMIUM
   ========================================================== */

.premium-heading {
    max-width: 720px;
    margin: 25px auto;
    text-align: center;
}

.premium-heading h2 {
    margin: 13px 0;

    font-size: clamp(30px, 4vw, 45px);
    font-weight: 800;
    letter-spacing: -1.2px;
}

.plans {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;

    max-width: 1100px;
    margin: 30px auto;
}

.plan {
    display: flex;
    flex-direction: column;

    padding: 32px;

    background: #12100d;

    border: 1px solid #67502d;
    border-radius: 9px;
}

.plan.custom {
    background: #170b0e;
    border-color: #77202e;
}

.plan h2 {
    margin: 15px 0;

    font-size: 26px;
    font-weight: 750;
}

.plan .price {
    font-size: 43px;
    font-weight: 800;
    letter-spacing: -1.5px;
}

.plan .price small {
    color: var(--muted);
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0;
}

.plan ul {
    display: grid;
    gap: 13px;

    padding: 0;
    margin: 23px 0 30px;

    list-style: none;
}

.plan li {
    color: #ddd;
    font-size: 12px;
}

.plan li::before {
    content: "✓";
    margin-right: 10px;

    color: var(--red);
    font-weight: 800;
}

.plan .btn {
    margin-top: auto;
}

.plan:first-child .btn {
    background: #dfb66c;
    border-color: #dfb66c;
    color: #1c1408;
}

.plan:first-child .btn:hover:not(:disabled) {
    background: #f0c781;
    border-color: #f0c781;
}

/* ==========================================================
   PROFILE
   ========================================================== */

.profile-banner {
    padding: 28px;

    background: #1a0b0f;

    border: 1px solid #62202b;
    border-left: 4px solid var(--red);
    border-radius: 9px;
}

.profile-hero {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.profile-hero h2 {
    margin: 8px 0;

    font-size: 26px;
    font-weight: 750;
}

.profile-hero p {
    margin-bottom: 10px;
}

.copy-user-id {
    margin-top: 18px;
}

.staff-badge {
    display: inline-flex;
    padding: 7px 11px;

    background: #351017;

    border: 1px solid #812331;
    border-radius: 5px;

    color: #ff8491;

    font-size: 10px;
    font-weight: 750;
}

/* ==========================================================
   LOGIN
   ========================================================== */

.login {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 100vh;
}

.login-left {
    display: flex;
    flex-direction: column;
    justify-content: space-between;

    padding: clamp(35px, 5vw, 75px);

    background: #14090c;

    border-right: 1px solid #4d1720;
}

.login-left h1 {
    font-size: clamp(42px, 5vw, 75px);
    font-weight: 800;
    line-height: 1.07;
    letter-spacing: -3px;
}

.login-left h1 span {
    color: var(--red);
}

.login-right {
    display: grid;
    place-items: center;
    padding: 25px;

    background: #080808;
}

.login-box {
    width: 100%;
    max-width: 440px;

    padding: 35px;

    background: #111;

    border: 1px solid #303030;
    border-radius: 9px;
}

.login-box h2 {
    font-size: 30px;
    font-weight: 750;
}

.login-link {
    display: block;

    margin: 25px 0;
    padding: 16px;

    background: var(--red);
    border: 1px solid var(--red);
    border-radius: 6px;

    color: #fff;
    text-align: center;
    font-weight: 750;

    transition: background-color 0.18s ease;
}

.login-link:hover {
    background: var(--red-hover);
}

/* ==========================================================
   TOAST
   ========================================================== */

.toast-container {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 100;

    display: grid;
    gap: 10px;

    width: min(350px, calc(100vw - 40px));

    pointer-events: none;
}

.toast {
    padding: 15px;

    background: #191919;

    border: 1px solid #454545;
    border-radius: 7px;

    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.5);
}

.toast.error {
    border-color: #922635;
}

.toast.success {
    border-color: #28784d;
}

/* ==========================================================
   FOOTER
   ========================================================== */

.footer {
    margin-top: 45px;
    padding-top: 25px;

    border-top: 1px solid #292929;

    color: #777;
    font-size: 11px;
}

/* ==========================================================
   RESPONSIVE — LARGE TABLETS
   ========================================================== */

@media (max-width: 1200px) {
    .cards {
        grid-template-columns: repeat(
            2,
            minmax(0, 1fr)
        );
    }
}

/* ==========================================================
   RESPONSIVE — TABLETS
   ========================================================== */

@media (max-width: 950px) {
    :root {
        --sidebar-width: 225px;
    }

    .content {
        padding: 27px;
    }

    .topbar {
        padding: 15px 25px;
    }

    .music-preview {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================
   RESPONSIVE — MOBILE
   ========================================================== */

@media (max-width: 800px) {
    .app {
        display: block;
    }

    .sidebar {
        position: relative;

        width: 100%;
        height: auto;

        padding: 15px;
    }

    .brand {
        padding-bottom: 12px;
    }

    .nav {
        display: flex;
        overflow-x: auto;
        padding-bottom: 5px;
    }

    .nav button,
    .nav .profile-nav-link {
        width: auto;
        white-space: nowrap;
        flex-shrink: 0;
    }

    .nav-label,
    .sidebar-bottom {
        display: none;
    }

    .topbar {
        position: relative;
        flex-wrap: wrap;
        padding: 15px;
    }

    .content {
        padding: 23px 17px 50px;
    }

    .grid,
    .settings-grid,
    .plans,
    .login {
        grid-template-columns: 1fr;
    }

    .login-left {
        min-height: 350px;
    }
}

/* ==========================================================
   RESPONSIVE — SMALL MOBILE
   ========================================================== */

@media (max-width: 480px) {
    .cards {
        gap: 10px;
    }

    .stat-card {
        min-height: 130px;
        padding: 16px;
    }

    .stat-card .value {
        font-size: 23px;
    }

    .stat-icon {
        top: 15px;
        right: 15px;
    }

    .panel {
        padding: 18px;
    }

    .hero {
        padding: 22px;
    }

    .hero-art {
        display: none;
    }

    .plan {
        padding: 24px;
    }

    .top-actions {
        gap: 7px;
    }

    #musicPage .grid {
        grid-template-columns: 1fr;
    }

    .settings-search,
    .settings-guild-select,
    .filter-input {
        width: 100%;
    }

    .page-heading {
        align-items: flex-start;
    }
}

/* ==========================================================
   REDUCED MOTION
   ========================================================== */

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation: none !important;
        transition: none !important;
    }
}



/* REEDROUX ULTRA BLACK OVERRIDES */

html,
body,
.main,
.login-right {
    background: #000000;
}

.sidebar,
.topbar {
    background: #050505;
}

.panel,
.stat-card,
.shard,
.login-box {
    background: #090909;
    border-color: #1d1d1d;
}

.panel:hover,
.stat-card:hover,
.shard:hover {
    background: #0c0c0c;
    border-color: #383838;
}

.nav button:hover,
.nav .profile-nav-link:hover {
    background: #101010;
    color: #ffffff;
}

.nav button.active,
.nav .profile-nav-link.active {
    background: #22070c;
    border-color: #48121b;
    color: #ffffff;
}

.nav button.active .nav-icon,
.nav .profile-nav-link.active .nav-icon {
    color: #ff3045;
}

.hero,
#musicPage .banner,
.profile-banner {
    background: #100609;
    border-color: #45121b;
    border-left: 3px solid var(--red);
}

.premium-promo {
    background: #100609;
    border-color: #381018;
}

.input,
#musicPage .filter {
    background: #070707;
    border-color: #282828;
}

.input:focus {
    border-color: var(--red);
}

.btn {
    background: var(--red);
    border-color: var(--red);
}

.btn.secondary {
    background: #111111;
    border-color: #303030;
}

.plan {
    background: #0b0906;
}

.plan.custom {
    background: #100609;
}

.profile-trigger {
    background: #0b0b0b;
    border-color: #242424;
}

.profile-trigger:hover {
    background: #141414;
}

thead {
    background: #101010;
}

tbody tr:hover {
    background: #0e0e0e;
}

.table-wrap,
.detail,
.footer {
    border-color: #202020;
}

#loading {
    background: #000000;
}

.login-left {
    background: #0b0507;
}

.login-link {
    background: var(--red);
}

.toast {
    background: #101010;
    border-color: #303030;
}

.album-placeholder {
    background: #1c070d;
    border-color: #48121b;
}

#musicPage #mcCover {
    box-shadow: none;
}



/* ==========================================================
   REEDROUX — NEON BLACK
   ULTRA DARK / ELECTRIC RED
   ========================================================== */

:root {
    --bg: #000000;
    --sidebar: #020202;

    --surface: #050505;
    --surface2: #080808;
    --surface3: #0d0d0d;

    --border: #151515;
    --border-hover: #292929;

    --text: #ffffff;
    --muted: #777777;

    --red: #ff1738;
    --red2: #e00025;
    --red-hover: #ff3854;
    --red-dark: #230309;
    --red-soft: rgba(255, 23, 56, 0.10);
}

/* Main backgrounds */

html,
body,
.main,
.login-right {
    background: #000000 !important;
}

.sidebar,
.topbar {
    background: #020202 !important;
    border-color: #151515;
}

/* Cards and panels */

.panel,
.stat-card,
.shard,
.login-box {
    background: #050505 !important;
    border-color: #181818;
    box-shadow: none;
}

.panel:hover,
.stat-card:hover,
.shard:hover {
    background: #080808 !important;
    border-color: #392027;
}

/* Sidebar navigation */

.nav button,
.nav .profile-nav-link {
    color: #8f8f8f;
}

.nav button:hover,
.nav .profile-nav-link:hover {
    background: #0c0c0c;
    color: #fff;
}

.nav button.active,
.nav .profile-nav-link.active {
    background: #180307 !important;
    border-color: #4d0c19;
    color: #fff;
}

.nav button.active .nav-icon,
.nav .profile-nav-link.active .nav-icon {
    color: #ff1738;
}

/* Main banners */

.hero,
#musicPage .banner,
.profile-banner {
    background: #090204 !important;
    border-color: #3d0b15;
    border-left: 3px solid #ff1738;
}

.hero-art,
#musicPage .banner-mark {
    color: #ff1738;
}

/* Buttons */

.btn,
.login-link {
    background: #ff1738;
    border-color: #ff1738;
    color: #fff;
}

.btn:hover:not(:disabled),
.login-link:hover {
    background: #ff3854;
    border-color: #ff3854;
}

.btn.secondary {
    background: #0b0b0b;
    border-color: #292929;
    color: #eee;
}

.btn.secondary:hover:not(:disabled) {
    background: #141414;
    border-color: #ff1738;
}

.btn.danger {
    background: #200409;
    border-color: #57101d;
    color: #ff8496;
}

/* Inputs */

.input,
#musicPage .filter {
    background: #030303;
    border-color: #242424;
    color: #fff;
}

.input:focus {
    border-color: #ff1738;
    box-shadow: 0 0 0 2px rgba(255, 23, 56, 0.12);
}

/* Statistics */

.stat-card .value {
    color: #fff;
}

.stat-icon {
    color: #ff1738;
}

/* Premium */

.premium-promo,
.plan.custom {
    background: #090204 !important;
    border-color: #42101b;
}

.plan {
    background: #080706 !important;
}

.plan li::before {
    color: #ff1738;
}

/* Profile */

.profile-trigger {
    background: #070707;
    border-color: #202020;
}

.profile-trigger:hover {
    background: #101010;
}

/* Music */

.album-placeholder {
    background: #160308;
    border-color: #430d19;
    color: #ff4560;
}

#musicPage #mcCover {
    box-shadow: none;
}

/* Settings */

.setting-category {
    color: #ff1738;
}

.toggle {
    background: #1b1b1b;
    border-color: #333;
}

.toggle[aria-checked="true"] {
    background: #ff1738;
    border-color: #ff1738;
}

/* Tables */

thead {
    background: #090909;
}

tbody tr:hover {
    background: #0b0b0b;
}

.table-wrap,
.detail,
.footer {
    border-color: #191919;
}

/* Charts */

.chart-grid {
    stroke: #1d1d1d;
}

.chart-line {
    stroke: #ff1738;
}

/* Login */

#loading {
    background: #000;
}

.login-left {
    background: #070103 !important;
    border-color: #290710;
}

.login-box {
    background: #050505;
}

/* Toasts */

.toast {
    background: #080808;
    border-color: #252525;
}

/* Scrollbar */

::-webkit-scrollbar-track {
    background: #000;
}

::-webkit-scrollbar-thumb {
    background: #202020;
}

::-webkit-scrollbar-thumb:hover {
    background: #ff1738;
}
