/* =========================================================
   SUBSTRAT — PROFİL
========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@400;500;600;700&family=Inter:wght@400;500;600;700&display=swap');


/* =========================================================
   GENEL
========================================================= */

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    min-height: 100%;
}

body {
    min-height: 100vh;
    background: #030407;
    color: #f5f3f7;
    font-family: "Inter", Arial, sans-serif;
    overflow-x: hidden;
}

button,
input,
select {
    font: inherit;
}

button {
    cursor: pointer;
}

a {
    color: inherit;
    text-decoration: none;
}


/* =========================================================
   KOZMİK ARKA PLAN
========================================================= */

.space-background {
    position: fixed;
    inset: 0;
    z-index: -10;

    background:
        radial-gradient(
            circle at 65% 25%,
            rgba(119, 47, 190, .14),
            transparent 27%
        ),
        radial-gradient(
            circle at 20% 75%,
            rgba(86, 35, 145, .09),
            transparent 30%
        ),
        linear-gradient(
            135deg,
            #020306 0%,
            #05070b 50%,
            #020306 100%
        );
}

.space-background::before {
    content: "";
    position: absolute;
    inset: 0;

    opacity: .45;

    background-image:
        linear-gradient(
            rgba(255,255,255,.025) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(255,255,255,.025) 1px,
            transparent 1px
        );

    background-size: 90px 90px;

    mask-image: linear-gradient(
        to bottom,
        transparent,
        black 20%,
        black 80%,
        transparent
    );
}

.stars {
    position: fixed;
    inset: 0;
    z-index: -8;
    pointer-events: none;
}

.stars-1 {
    opacity: .55;

    background-image:
        radial-gradient(circle, rgba(255,255,255,.75) 0 1px, transparent 1.5px),
        radial-gradient(circle, rgba(255,255,255,.4) 0 1px, transparent 1.5px);

    background-size: 180px 170px, 260px 230px;
    background-position: 20px 30px, 100px 90px;
}

.stars-2 {
    opacity: .3;

    background-image:
        radial-gradient(circle, rgba(180,120,255,.8) 0 1px, transparent 1.5px);

    background-size: 330px 290px;
    background-position: 60px 130px;
}

.sidebar {
    position: fixed;

    left: 0;
    top: 0;
    bottom: 0;

    width: 266px;

    padding: 28px 20px;

    background:
        linear-gradient(
            180deg,
            rgba(5,7,10,0.92),
            rgba(4,5,7,0.78)
        );

    border-right:
        1px solid rgba(255,255,255,0.10);

    backdrop-filter: blur(22px);

    z-index: 50;

    display: flex;
    flex-direction: column;
}


/* LOGO */

.sidebar-brand {
    display: flex;
    align-items: center;
    gap: 14px;

    padding: 3px 10px 0;
}

.brand-symbol {
    color: #fff;

    font-size: 25px;

    line-height: 1;

    text-shadow:
        0 0 15px rgba(255,255,255,.5);
}

.brand-content {
    min-width: 0;
}

.brand-name {
    color: #f8f6fa;

    font-family:
        "Cormorant Garamond",
        Georgia,
        serif;

    font-size: 28px;
    font-weight: 700;

    letter-spacing: 2px;

    line-height: .95;
}

.brand-subtitle {
    margin-top: 5px;

    color: rgba(255,255,255,.45);

    font-size: 10px;

    letter-spacing: .1px;
}


/* NAV */

.sidebar-navigation {
    display: flex;
    flex-direction: column;
    gap: 7px;

    margin-top: 58px;
}

.sidebar-link {
    position: relative;

    min-height: 54px;

    display: flex;
    align-items: center;

    gap: 17px;

    padding: 0 18px;

    border: 1px solid transparent;
    border-radius: 13px;

    color: rgba(255,255,255,.76);

    font-size: 15px;
    font-weight: 500;

    transition:
        background .2s ease,
        border-color .2s ease,
        color .2s ease;
}

.sidebar-link:hover {
    color: #fff;

    background: rgba(255,255,255,.035);

    border-color: rgba(255,255,255,.07);
}

.sidebar-link.active {
    color: #fff;

    background:
        linear-gradient(
            90deg,
            rgba(125,48,210,.16),
            rgba(85,42,130,.08)
        );

    border-color: rgba(150,76,255,.48);

    box-shadow:
        inset 3px 0 0 #9344ff,
        0 0 25px rgba(119,49,190,.07);
}

.sidebar-icon {
    width: 19px;

    display: inline-flex;
    justify-content: center;

    color: rgba(255,255,255,.75);

    font-size: 15px;
}


/* SIDEBAR QUOTE */

.sidebar-quote {
    margin-top: auto;

    padding: 0 12px 26px;
}

.quote-decoration {
    width: 82px;
    height: 1px;

    margin-bottom: 20px;

    background:
        linear-gradient(
            90deg,
            #a14aff,
            rgba(161,74,255,0)
        );
}

.sidebar-quote p {
    color: rgba(255,255,255,.78);

    font-family:
        "Cormorant Garamond",
        Georgia,
        serif;

    font-size: 20px;
    font-style: italic;
    font-weight: 500;

    line-height: 1.15;
}

.sidebar-quote span {
    display: block;

    margin-top: 15px;

    color: rgba(255,255,255,.34);

    font-size: 8px;

    letter-spacing: 5px;
}


/* YKS CARD */

.sidebar-yks-card {
    padding: 20px 18px 17px;

    border: 1px solid rgba(255,255,255,.12);
    border-radius: 15px;

    background:
        linear-gradient(
            145deg,
            rgba(16,18,23,.9),
            rgba(7,9,13,.82)
        );

    box-shadow:
        0 15px 35px rgba(0,0,0,.2);
}

.yks-card-label {
    color: rgba(255,255,255,.4);

    font-size: 9px;

    letter-spacing: 3px;
}

.yks-card-title {
    margin-top: 14px;

    color: #fff;

    font-family:
        "Cormorant Garamond",
        Georgia,
        serif;

    font-size: 21px;
    font-weight: 600;

    line-height: 1.05;
}

.yks-card-button {
    width: 100%;

    margin-top: 19px;

    padding: 11px 13px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    border: 1px solid rgba(255,255,255,.16);
    border-radius: 9px;

    color: rgba(255,255,255,.9);

    background: rgba(255,255,255,.025);

    font-size: 12px;

    transition: .2s ease;
}

.yks-card-button:hover {
    border-color: rgba(156,72,255,.55);

    background: rgba(132,51,210,.08);
}


/* =========================================================
   ANA İÇERİK
========================================================= */

.main-content {
    min-height: 100vh;

    margin-left: 290px;

    padding: 22px 25px 45px;
}


/* =========================================================
   TOPBAR
========================================================= */

.topbar {
    height: 62px;

    display: flex;
    align-items: center;

    gap: 20px;
}

.top-search {
    height: 50px;

    flex: 1;

    display: flex;
    align-items: center;

    padding: 0 16px;

    border: 1px solid rgba(255,255,255,.12);
    border-radius: 13px;

    background:
        rgba(5,7,11,.66);

    box-shadow:
        0 10px 35px rgba(0,0,0,.15);
}

.search-left-icon,
.search-right-icon {
    color: rgba(255,255,255,.68);

    font-size: 21px;
}

.top-search input {
    flex: 1;

    min-width: 0;

    margin: 0 12px;

    border: 0;
    outline: 0;

    color: #fff;

    background: transparent;

    font-size: 13px;
}

.top-search input::placeholder {
    color: rgba(255,255,255,.42);
}

.topbar-right {
    display: flex;
    align-items: center;
    gap: 11px;
}

.topbar-button {
    position: relative;

    width: 50px;
    height: 50px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 1px solid rgba(255,255,255,.11);
    border-radius: 50%;

    color: rgba(255,255,255,.85);

    background:
        rgba(7,9,14,.72);

    font-size: 19px;
}

.topbar-button:hover {
    border-color: rgba(156,76,255,.45);
}

.notification-dot {
    position: absolute;

    width: 6px;
    height: 6px;

    top: 9px;
    right: 10px;

    border-radius: 50%;

    background: #9b4dff;

    box-shadow:
        0 0 10px rgba(155,77,255,.8);
}

.topbar-user {
    height: 50px;

    display: flex;
    align-items: center;

    gap: 10px;

    padding: 0 15px 0 8px;

    border: 1px solid rgba(255,255,255,.11);
    border-radius: 25px;

    color: #fff;

    background:
        rgba(7,9,14,.72);
}

.topbar-avatar {
    width: 34px;
    height: 34px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 1px solid rgba(255,255,255,.15);
    border-radius: 50%;

    background: rgba(255,255,255,.08);

    font-size: 12px;
}

.topbar-username {
    max-width: 115px;

    overflow: hidden;

    color: rgba(255,255,255,.9);

    font-size: 14px;

    text-overflow: ellipsis;
    white-space: nowrap;
}

.topbar-arrow {
    color: rgba(255,255,255,.4);
}


/* =========================================================
   PROFİL SAYFASI
========================================================= */

.profile-page {
    margin-top: 18px;
}


/* =========================================================
   PROFİL HERO
========================================================= */

.profile-hero {
    position: relative;

    padding: 32px 34px;

    overflow: hidden;

    border: 1px solid rgba(255,255,255,.12);
    border-radius: 17px;

    background:
        radial-gradient(
            circle at 70% 20%,
            rgba(128,48,205,.12),
            transparent 30%
        ),
        linear-gradient(
            135deg,
            rgba(7,9,14,.94),
            rgba(5,7,11,.76)
        );

    box-shadow:
        0 20px 60px rgba(0,0,0,.18);
}

.profile-hero::after {
    content: "";

    position: absolute;

    width: 330px;
    height: 330px;

    right: -120px;
    bottom: -220px;

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(130,53,208,.16),
            transparent 68%
        );

    pointer-events: none;
}

.profile-hero-content {
    position: relative;
    z-index: 2;

    display: flex;
    align-items: center;

    gap: 25px;
}


/* AVATAR */

.profile-avatar-wrapper {
    position: relative;

    flex: 0 0 auto;
}

.profile-avatar {
    width: 104px;
    height: 104px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 1px solid rgba(164,91,255,.45);
    border-radius: 50%;

    background:
        radial-gradient(
            circle at 35% 30%,
            rgba(154,81,245,.38),
            rgba(33,16,52,.75) 55%,
            rgba(5,6,10,.95)
        );

    color: #fff;

    font-family:
        "Cormorant Garamond",
        Georgia,
        serif;

    font-size: 43px;
    font-weight: 600;

    box-shadow:
        0 0 45px rgba(122,48,198,.14);
}

.avatar-edit-button {
    position: absolute;

    right: 0;
    bottom: 4px;

    width: 29px;
    height: 29px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 1px solid rgba(255,255,255,.15);
    border-radius: 50%;

    color: #fff;

    background: #11131a;

    font-size: 18px;
}

.avatar-edit-button:hover {
    border-color: #9a4cff;
}


/* PROFILE INFO */

.profile-main-info {
    flex: 1;
}

.profile-label,
.panel-label {
    color: rgba(178,119,255,.78);

    font-size: 9px;
    font-weight: 600;

    letter-spacing: 4px;
}

.profile-main-info h1 {
    margin-top: 6px;

    color: #fff;

    font-family:
        "Cormorant Garamond",
        Georgia,
        serif;

    font-size: 45px;
    font-weight: 600;

    line-height: 1;
}

.profile-email {
    margin-top: 8px;

    color: rgba(255,255,255,.5);

    font-size: 13px;
}

.profile-meta {
    margin-top: 13px;

    display: flex;
    align-items: center;
    gap: 9px;

    color: rgba(255,255,255,.36);

    font-size: 11px;
}

.meta-separator {
    color: #974cff;
}


/* EDIT BUTTON */

.profile-hero-action {
    align-self: flex-start;
}

.profile-edit-button {
    display: flex;
    align-items: center;
    gap: 20px;

    padding: 12px 16px;

    border: 1px solid rgba(255,255,255,.14);
    border-radius: 9px;

    color: rgba(255,255,255,.85);

    background: rgba(255,255,255,.025);

    font-size: 12px;

    transition: .2s ease;
}

.profile-edit-button:hover {
    border-color: rgba(151,76,255,.6);

    background: rgba(131,51,210,.09);
}

.profile-edit-button b {
    color: rgba(255,255,255,.55);

    font-weight: 400;
}


/* =========================================================
   İSTATİSTİK KARTLARI
========================================================= */

.profile-stats {
    display: grid;

    grid-template-columns:
        repeat(4, minmax(0, 1fr));

    gap: 13px;

    margin-top: 13px;
}

.profile-stat-card {
    min-height: 112px;

    display: flex;
    align-items: center;

    gap: 15px;

    padding: 18px;

    border: 1px solid rgba(255,255,255,.1);
    border-radius: 14px;

    background:
        linear-gradient(
            145deg,
            rgba(11,13,18,.86),
            rgba(5,7,11,.74)
        );

    transition:
        border-color .2s ease,
        transform .2s ease;
}

.profile-stat-card:hover {
    transform: translateY(-2px);

    border-color: rgba(153,73,255,.35);
}

.stat-icon {
    width: 43px;
    height: 43px;

    flex: 0 0 auto;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 1px solid rgba(152,73,255,.27);
    border-radius: 11px;

    color: #bd8aff;

    background:
        rgba(122,48,196,.09);

    font-size: 18px;
}

.stat-content {
    min-width: 0;
}

.stat-content span {
    display: block;

    color: rgba(255,255,255,.38);

    font-size: 8px;

    letter-spacing: 1.8px;

    white-space: nowrap;
}

.stat-content strong {
    display: inline-block;

    margin-top: 6px;

    color: #fff;

    font-family:
        "Cormorant Garamond",
        Georgia,
        serif;

    font-size: 29px;
    font-weight: 600;
}

.stat-content small {
    margin-left: 4px;

    color: rgba(255,255,255,.4);

    font-size: 10px;
}


/* =========================================================
   ALT GRID
========================================================= */

.profile-grid {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 14px;

    margin-top: 14px;
}


/* =========================================================
   PANEL
========================================================= */

.profile-panel {
    min-height: 290px;

    padding: 25px;

    border: 1px solid rgba(255,255,255,.1);
    border-radius: 15px;

    background:
        linear-gradient(
            145deg,
            rgba(9,11,16,.9),
            rgba(4,6,10,.76)
        );

    box-shadow:
        0 15px 45px rgba(0,0,0,.12);
}

.panel-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;

    padding-bottom: 19px;

    border-bottom: 1px solid rgba(255,255,255,.07);
}

.panel-heading h2 {
    margin-top: 5px;

    color: #fff;

    font-family:
        "Cormorant Garamond",
        Georgia,
        serif;

    font-size: 29px;
    font-weight: 600;
}

.panel-symbol {
    color: rgba(168,90,255,.7);

    font-size: 21px;
}

.panel-week {
    color: rgba(255,255,255,.35);

    font-size: 10px;

    padding-top: 9px;
}


/* =========================================================
   HEDEF
========================================================= */

.target-content {
    margin-top: 8px;
}

.target-row {
    min-height: 51px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    border-bottom: 1px solid rgba(255,255,255,.055);
}

.target-row:last-child {
    border-bottom: 0;
}

.target-row span {
    color: rgba(255,255,255,.42);

    font-size: 12px;
}

.target-row strong {
    max-width: 55%;

    color: rgba(255,255,255,.88);

    font-size: 12px;
    font-weight: 500;

    text-align: right;
}

.panel-button {
    width: 100%;

    margin-top: 16px;

    padding: 11px 13px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    border: 1px solid rgba(255,255,255,.11);
    border-radius: 9px;

    color: rgba(255,255,255,.72);

    background: rgba(255,255,255,.025);

    font-size: 11px;
}

.panel-button:hover {
    border-color: rgba(155,77,255,.5);

    color: #fff;
}


/* =========================================================
   HAFTALIK GRAFİK
========================================================= */

.weekly-chart {
    height: 180px;

    display: flex;
    align-items: flex-end;
    justify-content: space-around;

    gap: 12px;

    padding: 22px 4px 0;
}

.chart-day {
    height: 100%;

    flex: 1;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;

    gap: 10px;
}

.chart-bar {
    width: 100%;
    max-width: 35px;

    min-height: 4px;

    height: 12%;

    border-radius: 6px 6px 3px 3px;

    background:
        linear-gradient(
            to top,
            #53228b,
            #a65bff
        );

    box-shadow:
        0 0 18px rgba(147,68,255,.12);

    transition: height .5s ease;
}

.chart-day:nth-child(2) .chart-bar {
    height: 31%;
}

.chart-day:nth-child(3) .chart-bar {
    height: 52%;
}

.chart-day:nth-child(4) .chart-bar {
    height: 38%;
}

.chart-day:nth-child(5) .chart-bar {
    height: 68%;
}

.chart-day:nth-child(6) .chart-bar {
    height: 45%;
}

.chart-day:nth-child(7) .chart-bar {
    height: 20%;
}

.chart-day span {
    color: rgba(255,255,255,.34);

    font-size: 9px;
}


/* =========================================================
   AKTİVİTELER
========================================================= */

.activity-panel,
.account-panel {
    min-height: 270px;
}

.panel-link {
    border: 0;

    color: rgba(174,112,255,.75);

    background: transparent;

    font-size: 10px;
}

.panel-link:hover {
    color: #c69cff;
}

.activity-list {
    margin-top: 13px;
}

.activity-empty {
    min-height: 155px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    text-align: center;
}

.activity-empty-icon {
    width: 44px;
    height: 44px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin-bottom: 12px;

    border: 1px solid rgba(151,76,255,.2);
    border-radius: 50%;

    color: rgba(178,116,255,.65);

    background: rgba(130,51,210,.06);
}

.activity-empty p {
    color: rgba(255,255,255,.68);

    font-size: 12px;
}

.activity-empty span {
    max-width: 290px;

    margin-top: 6px;

    color: rgba(255,255,255,.34);

    font-size: 10px;

    line-height: 1.5;
}


/* =========================================================
   HESAP BİLGİLERİ
========================================================= */

.account-list {
    margin-top: 4px;
}

.account-row {
    min-height: 47px;

    display: flex;
    align-items: center;

    border-bottom: 1px solid rgba(255,255,255,.055);
}

.account-row-info {
    width: 100%;

    display: flex;
    justify-content: space-between;
    align-items: center;
}

.account-row-info span {
    color: rgba(255,255,255,.4);

    font-size: 11px;
}

.account-row-info strong {
    max-width: 60%;

    overflow: hidden;

    color: rgba(255,255,255,.8);

    font-size: 11px;
    font-weight: 500;

    text-overflow: ellipsis;
    white-space: nowrap;
}

.account-status {
    color: #b882ff !important;
}

.logout-button {
    width: 100%;

    margin-top: 17px;

    padding: 11px 13px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    border: 1px solid rgba(255,255,255,.1);
    border-radius: 9px;

    color: rgba(255,255,255,.72);

    background: rgba(255,255,255,.025);

    font-size: 11px;
}

.logout-button:hover {
    border-color: rgba(255,77,105,.35);

    color: #ffb6c1;
}


/* =========================================================
   MODAL
========================================================= */

.hidden {
    display: none !important;
}

.profile-modal {
    position: fixed;

    inset: 0;

    z-index: 200;
}

.modal-overlay {
    position: absolute;

    inset: 0;

    background:
        rgba(0,0,0,.72);

    backdrop-filter: blur(8px);
}

.profile-modal-box {
    position: absolute;

    top: 50%;
    left: 50%;

    width: min(500px, calc(100% - 30px));

    transform: translate(-50%, -50%);

    padding: 27px;

    border: 1px solid rgba(255,255,255,.13);
    border-radius: 16px;

    background:
        linear-gradient(
            145deg,
            #0b0d12,
            #05070b
        );

    box-shadow:
        0 30px 100px rgba(0,0,0,.6);
}

.modal-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;

    padding-bottom: 20px;

    border-bottom: 1px solid rgba(255,255,255,.08);
}

.modal-header h2 {
    margin-top: 6px;

    color: #fff;

    font-family:
        "Cormorant Garamond",
        Georgia,
        serif;

    font-size: 29px;
    font-weight: 600;
}

.modal-close {
    width: 35px;
    height: 35px;

    border: 1px solid rgba(255,255,255,.1);
    border-radius: 50%;

    color: rgba(255,255,255,.7);

    background: rgba(255,255,255,.025);

    font-size: 20px;
}

.modal-close:hover {
    border-color: rgba(155,77,255,.5);

    color: #fff;
}


/* FORM */

#profileForm {
    padding-top: 19px;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;

    margin-bottom: 7px;

    color: rgba(255,255,255,.46);

    font-size: 10px;
}

.form-group input,
.form-group select {
    width: 100%;

    height: 44px;

    padding: 0 13px;

    outline: none;

    border: 1px solid rgba(255,255,255,.1);
    border-radius: 9px;

    color: #fff;

    background: rgba(255,255,255,.035);

    font-size: 12px;
}

.form-group select option {
    color: #fff;

    background: #101116;
}

.form-group input:focus,
.form-group select:focus {
    border-color: rgba(155,77,255,.55);

    box-shadow:
        0 0 0 3px rgba(145,62,225,.08);
}

.modal-actions {
    display: flex;
    justify-content: flex-end;

    gap: 9px;

    margin-top: 21px;
}

.modal-cancel,
.modal-save {
    padding: 11px 17px;

    border-radius: 9px;

    font-size: 11px;
}

.modal-cancel {
    border: 1px solid rgba(255,255,255,.1);

    color: rgba(255,255,255,.65);

    background: rgba(255,255,255,.025);
}

.modal-save {
    display: flex;
    align-items: center;
    gap: 14px;

    border: 1px solid rgba(154,76,255,.55);

    color: #fff;

    background:
        linear-gradient(
            135deg,
            rgba(132,51,210,.32),
            rgba(91,37,142,.2)
        );
}

.modal-save:hover {
    background:
        linear-gradient(
            135deg,
            rgba(143,57,225,.45),
            rgba(91,37,142,.3)
        );
}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 1200px) {

    .sidebar {
        width: 250px;
    }

    .main-content {
        margin-left: 250px;
    }

    .profile-stats {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

}

@media (max-width: 900px) {

    .sidebar {
        width: 220px;

        padding-left: 16px;
        padding-right: 16px;
    }

    .main-content {
        margin-left: 220px;

        padding-left: 16px;
        padding-right: 16px;
    }

    .profile-grid {
        grid-template-columns: 1fr;
    }

    .profile-hero-content {
        align-items: flex-start;
    }

}

@media (max-width: 720px) {

    .sidebar {
        position: relative;

        width: 100%;
        min-height: auto;

        border-right: 0;
        border-bottom: 1px solid rgba(255,255,255,.09);
    }

    .sidebar-navigation {
        margin-top: 30px;
    }

    .sidebar-quote,
    .sidebar-yks-card {
        display: none;
    }

    .main-content {
        margin-left: 0;
    }

    .topbar {
        height: auto;

        flex-wrap: wrap;
    }

    .top-search {
        order: 2;

        flex-basis: 100%;
    }

    .topbar-right {
        margin-left: auto;
    }

    .profile-hero-content {
        flex-direction: column;
    }

    .profile-hero-action {
        width: 100%;
    }

    .profile-edit-button {
        width: 100%;

        justify-content: space-between;
    }

    .profile-main-info h1 {
        font-size: 38px;
    }

}

@media (max-width: 500px) {

    .main-content {
        padding: 13px;
    }

    .profile-stats {
        grid-template-columns: 1fr;
    }

    .profile-hero {
        padding: 24px 20px;
    }

    .profile-panel {
        padding: 20px;
    }

    .profile-stats {
        gap: 10px;
    }

    .topbar-user {
        max-width: 145px;
    }

    .topbar-username {
        max-width: 70px;
    }

}

/* =========================================================
   SIDEBAR BRAND
========================================================= */

.brand {
    display: flex;
    align-items: center;
    gap: 13px;
    padding: 5px 8px 34px;
}

.brand-symbol {
    color: white;
    font-size: 29px;
    text-shadow:
        0 0 18px rgba(180,100,255,0.65);
}

.brand-text {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.brand-text strong {
    font-family: "Cormorant Garamond", serif;
    font-size: 25px;
    letter-spacing: 1.8px;
}

.brand-text span {
    color: #aeb0b6;
    font-size: 9px;
    letter-spacing: 0.35px;
}


/* =========================================================
   SIDEBAR MENU
========================================================= */

.sidebar-menu {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.menu-item {
    height: 50px;

    display: flex;
    align-items: center;

    gap: 15px;
    padding: 0 16px;

    color: #ededed;

    border: 1px solid transparent;
    border-radius: 11px;

    font-size: 14px;

    transition: 0.25s ease;
}

.menu-icon {
    width: 20px;

    display: inline-flex;
    justify-content: center;

    color: #dedee2;
    font-size: 17px;
}

.menu-item:hover {
    background: rgba(255,255,255,0.06);
    border-color: rgba(255,255,255,0.09);
}

.menu-item.active {
    background:
        linear-gradient(
            100deg,
            rgba(255,255,255,0.16),
            rgba(125,60,180,0.17)
        );

    border-color: rgba(255,255,255,0.24);

    box-shadow:
        inset 3px 0 0 #9c4dff,
        0 0 28px rgba(125,45,190,0.10);
}


/* =========================================================
   SIDEBAR BOTTOM
========================================================= */

.sidebar-bottom {
    margin-top: auto;
}

.sidebar-quote {
    padding: 0 10px 26px;
}

.quote-line {
    width: 70px;
    height: 1px;

    background:
        linear-gradient(
            90deg,
            #9c4dff,
            transparent
        );

    margin-bottom: 16px;
}

.sidebar-quote p {
    color: #f1f1f1;

    font-family: "Cormorant Garamond", serif;

    font-size: 18px;
    line-height: 1.25;

    font-style: italic;
}

.sidebar-quote span {
    display: block;

    margin-top: 12px;

    color: #85858c;

    font-size: 8px;
    letter-spacing: 4px;
}


/* =========================================================
   YKS CARD
========================================================= */

.sidebar-card {
    padding: 20px;

    min-height: 145px;

    border: 1px solid rgba(255,255,255,0.13);
    border-radius: 14px;

    background: rgba(20,21,25,0.58);

    backdrop-filter: blur(15px);

    box-shadow:
        0 15px 40px rgba(0,0,0,0.35);
}

.sidebar-card small {
    display: block;

    color: #c6c6cb;

    font-size: 9px;
    letter-spacing: 2px;

    margin-bottom: 10px;
}

.sidebar-card strong {
    display: block;

    color: white;

    font-family: "Cormorant Garamond", serif;

    font-size: 19px;
    line-height: 1.15;

    margin-bottom: 16px;
}

.sidebar-card button {
    width: 100%;
    height: 36px;

    border: 1px solid rgba(255,255,255,0.18);
    border-radius: 8px;

    background: rgba(255,255,255,0.05);

    color: white;

    cursor: pointer;

    font-size: 11px;

    transition: 0.25s;
}

.sidebar-card button:hover {
    background: rgba(145,70,220,0.20);
    border-color: rgba(170,90,255,0.5);
}

.sidebar-card button span {
    margin-left: 8px;
}