* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --bg: #07070b;
    --bg-two: #0b0910;
    --card: rgba(255,255,255,.045);
    --card-hover: rgba(255,255,255,.065);
    --border: rgba(255,255,255,.085);
    --purple: #8b5cf6;
    --purple-light: #a78bfa;
    --purple-dark: #6d28d9;
    --green: #22c55e;
    --red: #ef4444;
    --orange: #f59e0b;
    --blue: #3b82f6;
    --text: #fff;
    --muted: #9d98a8;
    --muted-two: #6d6878;
    --radius: 22px;
}

html {
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    background:
        radial-gradient(circle at 50% 0%, rgba(124,58,237,.10), transparent 35%),
        var(--bg);
    color: var(--text);
    font-family: Inter, sans-serif;
    overflow-x: hidden;
}

button,
input,
textarea,
select {
    font-family: inherit;
}

a {
    color: inherit;
    text-decoration: none;
}

.background {
    position: fixed;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: -10;
}

.orb {
    position: absolute;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    filter: blur(130px);
    opacity: .13;
}

.orb-one {
    top: -250px;
    right: -150px;
    background: #7c3aed;
}

.orb-two {
    bottom: -250px;
    left: -180px;
    background: #4c1d95;
}

.orb-three {
    width: 350px;
    height: 350px;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    background: #8b5cf6;
    opacity: .045;
}

.navbar {
    position: sticky;
    top: 0;
    z-index: 100;
    height: 76px;
    display: flex;
    align-items: center;
    gap: 30px;
    padding: 0 34px;
    background: rgba(7,7,11,.72);
    border-bottom: 1px solid rgba(255,255,255,.06);
    backdrop-filter: blur(24px);
}

.brand {
    display: flex;
    align-items: center;
    gap: 11px;
    font-size: 19px;
    font-weight: 900;
    letter-spacing: -.7px;
}

.purple {
    color: var(--purple-light);
}

.brand-icon {
    width: 37px;
    height: 37px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    background: linear-gradient(135deg,#8b5cf6,#6d28d9);
    box-shadow: 0 8px 30px rgba(124,58,237,.25);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 5px;
    flex: 1;
}

.nav-links a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 13px;
    border-radius: 11px;
    color: #9c97a6;
    font-size: 12px;
    font-weight: 600;
    transition: .25s;
}

.nav-links a:hover {
    color: white;
    background: rgba(139,92,246,.08);
}

.nav-links i {
    font-size: 12px;
}

.logout-link {
    margin-left: auto;
}

.nav-user {
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-user img,
.avatar-small {
    width: 37px;
    height: 37px;
    border-radius: 50%;
    object-fit: cover;
}

.avatar-small {
    display: grid;
    place-items: center;
    background: linear-gradient(135deg,#8b5cf6,#4c1d95);
    font-size: 13px;
    font-weight: 800;
}

.nav-user strong {
    display: block;
    font-size: 12px;
}

.nav-user small {
    display: block;
    margin-top: 2px;
    color: #716c7a;
    font-size: 9px;
}

.mobile-toggle {
    display: none;
    margin-left: auto;
    border: 0;
    color: white;
    background: transparent;
    font-size: 20px;
}

.main-container {
    width: min(1400px, calc(100% - 48px));
    margin: 0 auto;
    padding: 48px 0 80px;
}

.page-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 25px;
    margin-bottom: 34px;
}

.eyebrow {
    margin-bottom: 8px;
    color: var(--purple-light);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.8px;
}

.page-header h1 {
    font-size: clamp(30px,4vw,43px);
    letter-spacing: -1.8px;
    line-height: 1.05;
}

.page-header h1 span {
    color: var(--purple-light);
}

.page-header p {
    margin-top: 9px;
    color: var(--muted);
    font-size: 13px;
}

.primary-button,
.ghost-button,
.danger-button,
.discord-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 42px;
    padding: 0 17px;
    border-radius: 13px;
    border: 1px solid transparent;
    cursor: pointer;
    font-size: 12px;
    font-weight: 700;
    transition: .25s;
}

.primary-button {
    color: white;
    background: linear-gradient(135deg,#8b5cf6,#6d28d9);
    box-shadow: 0 10px 30px rgba(124,58,237,.20);
}

.primary-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 40px rgba(124,58,237,.30);
}

.primary-button.full {
    width: 100%;
}

.primary-button.small {
    min-height: 36px;
    padding: 0 12px;
}

.ghost-button {
    color: #c8c3d0;
    background: rgba(255,255,255,.035);
    border-color: var(--border);
}

.ghost-button:hover {
    color: white;
    background: rgba(255,255,255,.07);
    border-color: rgba(167,139,250,.3);
}

.ghost-button.small {
    min-height: 36px;
    padding: 0 12px;
}

.danger-button {
    color: #fca5a5;
    background: rgba(239,68,68,.08);
    border-color: rgba(239,68,68,.2);
}

.danger-button:hover {
    background: rgba(239,68,68,.14);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 14px;
    margin-bottom: 42px;
}

.stat-card {
    position: relative;
    display: flex;
    align-items: center;
    gap: 15px;
    min-height: 105px;
    padding: 20px;
    overflow: hidden;
    border-radius: var(--radius);
    background: linear-gradient(145deg,rgba(255,255,255,.06),rgba(255,255,255,.025));
    border: 1px solid var(--border);
    box-shadow: 0 20px 50px rgba(0,0,0,.18);
}

.stat-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at var(--mouse-x,50%) var(--mouse-y,50%),rgba(139,92,246,.10),transparent 55%);
    pointer-events: none;
}

.stat-icon {
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border-radius: 14px;
}

.purple-icon {
    color: #c4b5fd;
    background: rgba(139,92,246,.12);
}

.green-icon {
    color: #86efac;
    background: rgba(34,197,94,.10);
}

.blue-icon {
    color: #93c5fd;
    background: rgba(59,130,246,.10);
}

.orange-icon {
    color: #fcd34d;
    background: rgba(245,158,11,.10);
}

.stat-card span {
    display: block;
    color: #817b8a;
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .7px;
}

.stat-card strong {
    display: block;
    margin-top: 5px;
    font-size: 22px;
    letter-spacing: -.8px;
}

.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin: 34px 0 18px;
}

.section-header h2 {
    font-size: 19px;
    letter-spacing: -.5px;
}

.section-header span {
    display: block;
    margin-top: 4px;
    color: var(--muted-two);
    font-size: 11px;
}

.promo-grid {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 15px;
}

.promo-card {
    position: relative;
    padding: 22px;
    overflow: hidden;
    border-radius: var(--radius);
    background: linear-gradient(145deg,rgba(255,255,255,.055),rgba(255,255,255,.025));
    border: 1px solid var(--border);
    transition: .3s;
}

.promo-card::after,
.user-card::after,
.task-card::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: radial-gradient(circle at var(--mouse-x,50%) var(--mouse-y,50%),rgba(139,92,246,.11),transparent 55%);
    opacity: 0;
    transition: .3s;
}

.promo-card:hover,
.user-card:hover,
.task-card:hover {
    transform: translateY(-4px);
    border-color: rgba(167,139,250,.28);
    box-shadow: 0 25px 60px rgba(0,0,0,.25);
}

.promo-card:hover::after,
.user-card:hover::after,
.task-card:hover::after {
    opacity: 1;
}

.promo-card-top {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: space-between;
    margin-bottom: 22px;
}

.status {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    width: fit-content;
    padding: 5px 8px;
    border-radius: 7px;
    font-size: 9px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .5px;
}

.status-open {
    color: #c4b5fd;
    background: rgba(139,92,246,.11);
}

.status-in_progress {
    color: #93c5fd;
    background: rgba(59,130,246,.11);
}

.status-completed {
    color: #86efac;
    background: rgba(34,197,94,.10);
}

.status-cancelled {
    color: #fca5a5;
    background: rgba(239,68,68,.10);
}

.priority {
    color: #8e8996;
    font-size: 9px;
    font-weight: 700;
    text-transform: uppercase;
}

.priority-high,
.priority-urgent {
    color: #fbbf24;
}

.promo-card h3 {
    position: relative;
    z-index: 2;
    font-size: 17px;
    letter-spacing: -.4px;
}

.promo-card p {
    position: relative;
    z-index: 2;
    min-height: 38px;
    margin: 8px 0 22px;
    color: #817b89;
    font-size: 11px;
    line-height: 1.6;
}

.promo-card-bottom {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: space-between;
    gap: 10px;
    color: #77717e;
    font-size: 10px;
}

.promo-card-bottom i {
    margin-right: 4px;
}

.promo-progress {
    margin-bottom: 18px;
}

.progress-label {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 8px;
}

.progress-label span {
    color: #817b89;
    font-size: 10px;
}

.progress-label strong {
    font-size: 10px;
}

.progress {
    height: 6px;
    overflow: hidden;
    border-radius: 99px;
    background: rgba(255,255,255,.055);
}

.progress div {
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg,#6d28d9,#a78bfa);
    box-shadow: 0 0 20px rgba(139,92,246,.4);
}

.progress.large {
    height: 9px;
}

.task-list,
.song-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.task-card,
.song-card {
    position: relative;
    display: flex;
    align-items: center;
    gap: 17px;
    padding: 13px;
    overflow: hidden;
    border-radius: 19px;
    background: rgba(255,255,255,.035);
    border: 1px solid var(--border);
    transition: .25s;
}

.task-cover,
.song-cover {
    flex: 0 0 62px;
    width: 62px;
    height: 62px;
    display: grid;
    place-items: center;
    overflow: hidden;
    border-radius: 14px;
    color: #a78bfa;
    background: linear-gradient(135deg,#24123f,#110b19);
}

.task-cover img,
.song-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.task-main,
.song-info {
    flex: 1;
    min-width: 0;
}

.task-title,
.song-info h3 {
    font-size: 13px;
    font-weight: 700;
}

.task-artist,
.song-info p {
    margin-top: 3px;
    color: #77717e;
    font-size: 11px;
}

.task-meta,
.song-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-top: 10px;
    color: #77717e;
    font-size: 9px;
}

.price-tag {
    padding: 4px 7px;
    border-radius: 6px;
    color: #a7f3d0;
    background: rgba(34,197,94,.08);
    font-weight: 800;
}

.task-actions,
.song-actions,
.header-actions {
    display: flex;
    align-items: center;
    gap: 7px;
}

.icon-button {
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255,255,255,.07);
    border-radius: 10px;
    color: #8d8795;
    background: rgba(255,255,255,.035);
    cursor: pointer;
    transition: .2s;
}

.icon-button:hover {
    color: white;
    border-color: rgba(167,139,250,.3);
    background: rgba(139,92,246,.09);
}

.icon-button.green:hover {
    color: #86efac;
}

.icon-button.red:hover {
    color: #f87171;
}

.icon-button.orange:hover {
    color: #fbbf24;
}

.song-status-area {
    display: flex;
    align-items: center;
    gap: 12px;
}

.promo-overview {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 12px;
    margin-bottom: 16px;
}

.overview-card {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 18px;
    border-radius: 18px;
    background: rgba(255,255,255,.035);
    border: 1px solid var(--border);
}

.overview-card span {
    color: #77717e;
    font-size: 10px;
}

.overview-card strong {
    font-size: 13px;
}

.progress-card {
    padding: 21px;
    border-radius: 20px;
    background: rgba(255,255,255,.035);
    border: 1px solid var(--border);
}

.progress-card .progress-label {
    align-items: flex-end;
}

.progress-card .progress-label strong {
    font-size: 20px;
}

.progress-card .progress-label span {
    display: block;
    margin-top: 4px;
}

.danger-zone {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-top: 35px;
    padding: 20px;
    border-radius: 18px;
    border: 1px solid rgba(239,68,68,.16);
    background: rgba(239,68,68,.035);
}

.danger-zone strong,
.danger-zone span {
    display: block;
}

.danger-zone span {
    margin-top: 4px;
    color: #746e7a;
    font-size: 10px;
}

.form-page {
    width: min(850px,100%);
    margin: 0 auto;
}

.form-card {
    padding: 30px;
    border-radius: 25px;
    background: linear-gradient(145deg,rgba(255,255,255,.055),rgba(255,255,255,.025));
    border: 1px solid var(--border);
    box-shadow: 0 30px 100px rgba(0,0,0,.3);
}

.form-header {
    margin-bottom: 28px;
}

.form-header h1,
.form-header h2 {
    font-size: 25px;
    letter-spacing: -1px;
}

.form-header p {
    margin-top: 7px;
    color: var(--muted);
    font-size: 12px;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 17px;
}

.full-field {
    grid-column: 1 / -1;
}

.field label {
    display: block;
    margin-bottom: 8px;
    color: #bbb6c2;
    font-size: 10px;
    font-weight: 700;
}

.field small {
    display: block;
    margin-top: 7px;
    color: #625d69;
    font-size: 9px;
}

.input-wrap {
    display: flex;
    align-items: center;
    min-height: 46px;
    padding: 0 13px;
    gap: 10px;
    border-radius: 13px;
    background: rgba(0,0,0,.2);
    border: 1px solid rgba(255,255,255,.075);
    transition: .2s;
}

.input-wrap:focus-within {
    border-color: rgba(139,92,246,.5);
    box-shadow: 0 0 0 3px rgba(139,92,246,.07);
}

.input-wrap i {
    color: #686371;
    font-size: 12px;
}

.input-wrap input,
.input-wrap select,
.field textarea {
    width: 100%;
    border: 0;
    outline: 0;
    color: white;
    background: transparent;
    font-size: 12px;
}

.input-wrap select option {
    color: white;
    background: #121017;
}

.field textarea {
    min-height: 120px;
    padding: 14px;
    resize: vertical;
    border-radius: 13px;
    background: rgba(0,0,0,.2);
    border: 1px solid rgba(255,255,255,.075);
}

.form-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,.05);
}

.youtube-preview {
    display: flex;
    align-items: center;
    gap: 13px;
    padding: 10px;
    border-radius: 15px;
    background: rgba(255,255,255,.035);
    border: 1px solid var(--border);
}

.youtube-preview img {
    width: 130px;
    height: 73px;
    object-fit: cover;
    border-radius: 9px;
}

.youtube-preview strong,
.youtube-preview span {
    display: block;
}

.youtube-preview span {
    margin-top: 5px;
    color: #77717e;
    font-size: 10px;
}

.user-grid {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 15px;
}

.user-card {
    position: relative;
    padding: 20px;
    overflow: hidden;
    border-radius: 21px;
    background: rgba(255,255,255,.035);
    border: 1px solid var(--border);
    transition: .25s;
}

.user-card-top {
    display: flex;
    align-items: center;
    gap: 13px;
}

.profile-avatar {
    width: 52px;
    height: 52px;
    border-radius: 16px;
    object-fit: cover;
}

.profile-avatar.placeholder,
.profile-large.placeholder {
    display: grid;
    place-items: center;
    color: white;
    font-weight: 800;
    background: linear-gradient(135deg,#8b5cf6,#4c1d95);
}

.user-card h3 {
    font-size: 14px;
}

.role-badge {
    display: inline-block;
    margin-top: 5px;
    padding: 3px 6px;
    border-radius: 5px;
    color: #c4b5fd;
    background: rgba(139,92,246,.1);
    font-size: 8px;
    font-weight: 800;
    letter-spacing: .7px;
}

.user-stats {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 10px;
    margin-top: 22px;
}

.user-stats span {
    display: block;
    color: #686270;
    font-size: 8px;
    text-transform: uppercase;
}

.user-stats strong {
    display: block;
    margin-top: 5px;
    font-size: 12px;
}

.user-footer {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    margin-top: 18px;
    padding-top: 14px;
    border-top: 1px solid rgba(255,255,255,.05);
    color: #77717e;
    font-size: 9px;
}

.payment-layout {
    display: grid;
    grid-template-columns: 380px 1fr;
    gap: 25px;
}

.transaction-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.transaction {
    display: flex;
    align-items: center;
    gap: 13px;
    padding: 14px;
    border-radius: 16px;
    background: rgba(255,255,255,.035);
    border: 1px solid var(--border);
}

.transaction-icon {
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    border-radius: 11px;
}

.transaction-icon.income {
    color: #86efac;
    background: rgba(34,197,94,.08);
}

.transaction-icon.expense {
    color: #fca5a5;
    background: rgba(239,68,68,.08);
}

.transaction-main {
    flex: 1;
    min-width: 0;
}

.transaction-main strong,
.transaction-main span,
.transaction-main small,
.transaction-main a {
    display: block;
}

.transaction-main strong {
    font-size: 11px;
}

.transaction-main span,
.transaction-main small {
    margin-top: 3px;
    color: #77717e;
    font-size: 9px;
}

.transaction-main a {
    margin-top: 4px;
    color: #a78bfa;
    font-size: 9px;
}

.positive {
    color: #86efac;
}

.negative {
    color: #fca5a5;
}

.profile-layout {
    max-width: 1000px;
    margin: auto;
}

.profile-hero {
    display: flex;
    align-items: center;
    gap: 22px;
    margin-bottom: 30px;
}

.profile-large {
    width: 100px;
    height: 100px;
    border-radius: 28px;
    object-fit: cover;
    border: 2px solid rgba(167,139,250,.25);
    box-shadow: 0 20px 50px rgba(124,58,237,.15);
}

.profile-hero h1 {
    font-size: 34px;
    letter-spacing: -1.5px;
}

.profile-hero p {
    margin-top: 8px;
    color: #7d7784;
    font-size: 11px;
}

.table-wrapper {
    overflow-x: auto;
    border-radius: 20px;
    border: 1px solid var(--border);
}

.data-table {
    width: 100%;
    min-width: 800px;
    border-collapse: collapse;
    background: rgba(255,255,255,.025);
}

.data-table th {
    padding: 14px;
    color: #686270;
    background: rgba(255,255,255,.025);
    text-align: left;
    font-size: 9px;
    text-transform: uppercase;
    letter-spacing: .8px;
}

.data-table td {
    padding: 14px;
    border-top: 1px solid rgba(255,255,255,.045);
    color: #a39daa;
    font-size: 10px;
}

.table-user {
    display: flex;
    align-items: center;
    gap: 10px;
}

.table-user img,
.table-avatar {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    object-fit: cover;
}

.table-avatar {
    display: grid;
    place-items: center;
    color: white;
    background: linear-gradient(135deg,#8b5cf6,#4c1d95);
    font-size: 11px;
    font-weight: 800;
}

.table-user strong,
.table-user small {
    display: block;
}

.table-user strong {
    color: white;
    font-size: 10px;
}

.table-user small {
    margin-top: 3px;
    color: #686270;
    font-size: 8px;
}

.role-select {
    padding: 6px 8px;
    color: #bcb6c4;
    border: 1px solid rgba(255,255,255,.07);
    border-radius: 8px;
    outline: 0;
    background: rgba(255,255,255,.035);
    font-size: 9px;
}

.table-actions {
    display: flex;
    gap: 5px;
}

.admin-section {
    margin-top: 40px;
}

.activity-list {
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.activity-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px;
    background: rgba(255,255,255,.025);
    border-bottom: 1px solid rgba(255,255,255,.035);
}

.activity-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #8b5cf6;
    box-shadow: 0 0 15px rgba(139,92,246,.7);
}

.activity-item strong,
.activity-item span {
    display: block;
}

.activity-item strong {
    font-size: 10px;
}

.activity-item span {
    margin-top: 3px;
    color: #69636f;
    font-size: 9px;
}

.empty-state {
    display: grid;
    place-items: center;
    min-height: 240px;
    padding: 35px;
    text-align: center;
    border-radius: 22px;
    background: rgba(255,255,255,.025);
    border: 1px dashed rgba(255,255,255,.09);
}

.empty-icon {
    width: 54px;
    height: 54px;
    display: grid;
    place-items: center;
    margin-bottom: 13px;
    border-radius: 17px;
    color: #a78bfa;
    background: rgba(139,92,246,.08);
}

.empty-state h3 {
    font-size: 14px;
}

.empty-state p {
    margin-top: 5px;
    color: #6d6875;
    font-size: 10px;
}

.auth-page {
    min-height: calc(100vh - 120px);
    display: grid;
    place-items: center;
}

.auth-card {
    width: min(440px,100%);
    padding: 38px;
    border-radius: 27px;
    background: linear-gradient(145deg,rgba(255,255,255,.065),rgba(255,255,255,.025));
    border: 1px solid var(--border);
    box-shadow: 0 30px 100px rgba(0,0,0,.55);
    backdrop-filter: blur(30px);
}

.auth-icon {
    width: 55px;
    height: 55px;
    display: grid;
    place-items: center;
    margin: 0 auto 20px;
    border-radius: 17px;
    color: white;
    background: linear-gradient(135deg,#8b5cf6,#6d28d9);
    box-shadow: 0 15px 40px rgba(124,58,237,.25);
}

.auth-title {
    text-align: center;
    font-size: 29px;
    font-weight: 900;
    letter-spacing: -1.4px;
}

.auth-subtitle {
    margin: 8px auto 28px;
    max-width: 300px;
    text-align: center;
    color: #817b89;
    font-size: 11px;
    line-height: 1.6;
}

.auth-card form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.or {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 20px 0;
    color: #4d4854;
    font-size: 8px;
}

.or::before,
.or::after {
    content: "";
    flex: 1;
    height: 1px;
    background: rgba(255,255,255,.05);
}

.discord-button {
    color: white;
    background: #5865f2;
}

.discord-button:hover {
    background: #4752c4;
    transform: translateY(-2px);
}

.auth-bottom {
    margin-top: 22px;
    text-align: center;
    color: #6d6875;
    font-size: 10px;
}

.auth-bottom a {
    color: #a78bfa;
    font-weight: 700;
}

.security-footer {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-top: 26px;
    padding-top: 18px;
    border-top: 1px solid rgba(255,255,255,.045);
}

.secure-badge,
.session-info {
    display: flex;
    align-items: center;
    gap: 8px;
}

.secure-badge > i,
.session-info > i {
    color: #a78bfa;
    font-size: 12px;
}

.badge-title,
.badge-desc {
    display: block;
}

.badge-title {
    color: #aaa4b2;
    font-size: 8px;
    font-weight: 700;
}

.badge-desc {
    margin-top: 2px;
    color: #5d5864;
    font-size: 7px;
}

.session-info {
    color: #5d5864;
    font-size: 7px;
}

.session-info strong {
    color: #8a8491;
}

.flash-container {
    position: fixed;
    top: 90px;
    right: 25px;
    z-index: 200;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.flash {
    display: flex;
    align-items: center;
    gap: 9px;
    max-width: 350px;
    padding: 12px 15px;
    border-radius: 12px;
    background: #14121a;
    border: 1px solid var(--border);
    box-shadow: 0 20px 50px rgba(0,0,0,.35);
    font-size: 10px;
}

.flash.success {
    color: #86efac;
}

.flash.error {
    color: #fca5a5;
}

.modal {
    position: fixed;
    inset: 0;
    z-index: 500;
    display: none;
    place-items: center;
    padding: 20px;
    background: rgba(0,0,0,.72);
    backdrop-filter: blur(12px);
}

.modal.active {
    display: grid;
}

.modal-card {
    position: relative;
    width: min(450px,100%);
    padding: 30px;
    border-radius: 24px;
    background: #111017;
    border: 1px solid rgba(255,255,255,.09);
    box-shadow: 0 30px 100px rgba(0,0,0,.65);
}

.modal-card h2 {
    font-size: 21px;
}

.modal-card > p {
    margin: 7px 0 22px;
    color: #77717e;
    font-size: 10px;
}

.modal-icon {
    width: 47px;
    height: 47px;
    display: grid;
    place-items: center;
    margin-bottom: 17px;
    border-radius: 14px;
    color: #c4b5fd;
    background: rgba(139,92,246,.10);
}

.modal-close {
    position: absolute;
    top: 17px;
    right: 17px;
    width: 32px;
    height: 32px;
    border: 0;
    border-radius: 9px;
    color: #716b79;
    background: rgba(255,255,255,.04);
    cursor: pointer;
}

.modal-card form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: #08080c;
}

::-webkit-scrollbar-thumb {
    background: #3d226b;
    border-radius: 20px;
}

#qrContainer {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin: 20px 0;
}

#qrCode {
    width: 200px;
    height: 200px;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,.1);
}

@media(max-width:1100px) {
    .stats-grid {
        grid-template-columns: repeat(2,1fr);
    }

    .promo-grid {
        grid-template-columns: repeat(2,1fr);
    }

    .user-grid {
        grid-template-columns: repeat(2,1fr);
    }

    .payment-layout {
        grid-template-columns: 1fr;
    }
}

@media(max-width:800px) {
    .navbar {
        padding: 0 18px;
    }

    .mobile-toggle {
        display: block;
    }

    .nav-links {
        position: absolute;
        top: 76px;
        left: 12px;
        right: 12px;
        display: none;
        flex-direction: column;
        align-items: stretch;
        padding: 10px;
        border-radius: 18px;
        background: rgba(13,12,18,.97);
        border: 1px solid var(--border);
        box-shadow: 0 25px 70px rgba(0,0,0,.5);
    }

    .nav-links.active {
        display: flex;
    }

    .logout-link {
        margin-left: 0;
    }

    .nav-user {
        display: none;
    }

    .main-container {
        width: min(100% - 28px,1400px);
        padding-top: 30px;
    }

    .page-header {
        align-items: flex-start;
        flex-direction: column;
    }

    .header-actions {
        width: 100%;
    }

    .header-actions > * {
        flex: 1;
    }

    .promo-overview {
        grid-template-columns: 1fr 1fr;
    }
}

@media(max-width:600px) {
    .stats-grid,
    .promo-grid,
    .user-grid,
    .form-grid {
        grid-template-columns: 1fr;
    }

    .full-field {
        grid-column: auto;
    }

    .auth-card {
        padding: 27px 20px;
    }

    .security-footer {
        flex-direction: column;
    }

    .task-card,
    .song-card {
        align-items: flex-start;
    }

    .task-actions,
    .song-status-area {
        flex-direction: column;
    }

    .song-status-area {
        align-items: flex-end;
    }

    .promo-overview {
        grid-template-columns: 1fr;
    }

    .danger-zone {
        align-items: flex-start;
        flex-direction: column;
    }

    .profile-hero {
        align-items: flex-start;
    }

    .profile-large {
        width: 70px;
        height: 70px;
        border-radius: 20px;
    }

    .profile-hero h1 {
        font-size: 26px;
    }

    .flash-container {
        left: 14px;
        right: 14px;
        top: 86px;
    }

    .flash {
        max-width: none;
    }
}