
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

:root {
    --yellow: #ffd633;
    --background: #101114;
    --sidebar: #15171b;
    --card: #1d2026;
    --border: #2c2f36;
    --muted: #92949d;
    --white: #ffffff;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    background: var(--background);
    color: var(--white);
    font-family: Inter, Arial, sans-serif;
}

a {
    text-decoration: none;
    color: inherit;
}

.account-layout {
    display: flex;
    min-height: 100vh;
}

/* SIDEBAR */

.sidebar {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    width: 255px;
    padding: 30px 18px;
    background: var(--sidebar);
    border-right: 1px solid var(--border);
    display: flex;
    flex-direction: column;
}

.logo {
    font-size: 25px;
    font-weight: 900;
    padding: 0 12px;
    margin-bottom: 42px;
}

.logo span {
    color: var(--yellow);
}

.menu-title {
    padding: 0 12px;
    margin-bottom: 13px;
    color: #777a83;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1px;
}

.second-title {
    margin-top: 30px;
}

.menu-item {
    display: flex;
    align-items: center;
    gap: 13px;
    padding: 13px 14px;
    margin-bottom: 5px;
    border-radius: 10px;
    color: #a8aab1;
    font-size: 13px;
    transition: .2s;
}

.menu-item:hover,
.menu-item.active {
    background: #292a2d;
    color: var(--yellow);
}

.menu-item:first-letter {
    font-size: 18px;
}

.sidebar-bottom {
    margin-top: auto;
    padding: 15px 10px;
    border-top: 1px solid var(--border);
}

.sidebar-bottom a {
    color: var(--muted);
    font-size: 12px;
}


/* MAIN */

.main-content {
    width: calc(100% - 255px);
    margin-left: 255px;
    padding: 35px 45px;
    max-width: 1550px;
}

.topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 28px;
}

.top-label {
    color: var(--muted);
    font-size: 10px;
    letter-spacing: 1.3px;
    font-weight: 700;
}

.topbar h1 {
    margin: 9px 0 0;
    font-size: 28px;
    font-weight: 900;
}

.home-button {
    padding: 12px 17px;
    border: 1px solid var(--border);
    border-radius: 10px;
    font-size: 12px;
    transition: .2s;
}

.home-button:hover {
    border-color: var(--yellow);
    color: var(--yellow);
}


/* WELCOME */

.welcome-card {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 230px;
    padding: 35px;
    overflow: hidden;
    border: 1px solid #45402a;
    border-radius: 20px;
    background: linear-gradient(110deg, #302b1b, #1d2026 75%);
}

.welcome-info {
    position: relative;
    z-index: 2;
    max-width: 550px;
}

.welcome-label {
    color: var(--yellow);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.5px;
}

.welcome-card h2 {
    margin: 15px 0 10px;
    font-size: 28px;
    font-weight: 900;
}

.welcome-card p {
    max-width: 450px;
    color: #a8a9af;
    font-size: 13px;
    line-height: 1.7;
}

.yellow-button {
    display: inline-block;
    margin-top: 13px;
    padding: 13px 20px;
    border-radius: 10px;
    background: var(--yellow);
    color: #151515;
    font-size: 12px;
    font-weight: 900;
}

.welcome-graphic {
    color: #ffd633;
    font-size: 125px;
    font-weight: 900;
    opacity: .12;
    transform: rotate(-10deg);
}


/* PROFILE */

.profile-rating {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    margin-top: 22px;
    padding: 22px;
    border: 1px solid var(--border);
    border-radius: 16px;
    background: var(--card);
}

.profile-mini {
    display: flex;
    align-items: center;
    gap: 16px;
}

.avatar {
    width: 60px;
    height: 60px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--yellow);
    color: #171717;
    font-size: 25px;
    font-weight: 900;
}

.profile-mini h3 {
    margin: 0 0 6px;
    font-size: 16px;
}

.profile-mini p {
    margin: 0 0 7px;
    color: var(--muted);
    font-size: 11px;
}

.user-status {
    color: #47d895;
    font-size: 10px;
}

.rating-mini {
    min-width: 120px;
    text-align: center;
}

.rating-number {
    color: white;
    font-size: 28px;
    font-weight: 900;
}

.rating-number span {
    color: var(--yellow);
}

.rating-caption {
    margin: 4px 0 7px;
    color: var(--muted);
    font-size: 10px;
}

.rating-mini a {
    color: var(--yellow);
    font-size: 11px;
}


/* STATISTICS */

.section-heading {
    margin: 30px 0 15px;
}

.section-heading h2,
.content-card h2 {
    margin: 0;
    font-size: 17px;
}

.section-heading p {
    margin: 6px 0 0;
    color: var(--muted);
    font-size: 11px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}

.stat-card {
    padding: 19px;
    border: 1px solid var(--border);
    border-radius: 15px;
    background: var(--card);
    transition: .2s;
}

.stat-card:hover {
    transform: translateY(-3px);
    border-color: #6b5d28;
}

.stat-icon {
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    border-radius: 11px;
    font-size: 19px;
}

.stat-icon.yellow {
    background: #3a321b;
}

.stat-icon.purple {
    background: #332745;
}

.stat-icon.green {
    background: #20392f;
}

.stat-icon.orange {
    background: #3a2c1b;
}

.stat-number {
    margin-top: 15px;
    font-size: 25px;
    font-weight: 900;
}

.stat-title {
    margin-top: 5px;
    font-size: 12px;
    font-weight: 700;
}

.stat-description {
    margin-top: 5px;
    color: var(--muted);
    font-size: 10px;
}


/* BOTTOM */

.bottom-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 15px;
    margin-top: 20px;
}

.content-card {
    padding: 22px;
    border: 1px solid var(--border);
    border-radius: 15px;
    background: var(--card);
}

.card-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.card-heading a {
    color: var(--yellow);
    font-size: 11px;
}

.empty-state {
    padding: 30px 10px;
    text-align: center;
}

.empty-icon {
    font-size: 35px;
}

.empty-state h3 {
    margin: 12px 0 7px;
    font-size: 14px;
}

.empty-state p {
    color: var(--muted);
    font-size: 11px;
    line-height: 1.6;
}

.quick-card h2 {
    margin-bottom: 16px;
}

.quick-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 13px 0;
    border-bottom: 1px solid var(--border);
}

.quick-link:last-child {
    border-bottom: 0;
}

.quick-link > span {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border-radius: 10px;
    background: #292a2d;
    font-size: 18px;
}

.quick-link div {
    flex: 1;
}

.quick-link strong {
    display: block;
    font-size: 11px;
}

.quick-link small {
    display: block;
    margin-top: 5px;
    color: var(--muted);
    font-size: 9px;
}

.quick-link b {
    color: var(--yellow);
}

.footer {
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
    padding: 18px 0;
    border-top: 1px solid var(--border);
    color: var(--muted);
    font-size: 10px;
}

.footer a {
    color: var(--yellow);
}


/* MOBILE */

@media(max-width: 1050px) {
    .main-content {
        padding: 30px 25px;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media(max-width: 750px) {
    .sidebar {
        position: relative;
        width: 100%;
        height: auto;
        padding: 15px;
        border-right: 0;
        border-bottom: 1px solid var(--border);
    }

    .account-layout {
        display: block;
    }

    .logo {
        margin-bottom: 15px;
    }

    .menu-title,
    .second-title,
    .sidebar-bottom {
        display: none;
    }

    .sidebar {
        flex-direction: row;
        align-items: center;
        overflow-x: auto;
        gap: 5px;
    }

    .menu-item {
        flex: 0 0 auto;
        padding: 10px;
        margin: 0;
        font-size: 11px;
    }

    .menu-item span {
        display: none;
    }

    .main-content {
        width: 100%;
        margin: 0;
        padding: 22px 15px;
    }

    .topbar h1 {
        font-size: 23px;
    }

    .welcome-card {
        min-height: 210px;
        padding: 23px;
    }

    .welcome-card h2 {
        font-size: 22px;
    }

    .welcome-graphic {
        position: absolute;
        right: 5px;
        font-size: 90px;
    }

    .profile-rating {
        padding: 15px;
    }

    .bottom-grid {
        grid-template-columns: 1fr;
    }
}

@media(max-width: 420px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 9px;
    }

    .stat-card {
        padding: 14px;
    }

    .profile-mini {
        gap: 10px;
    }

    .avatar {
        width: 48px;
        height: 48px;
        font-size: 20px;
    }

    .rating-number {
        font-size: 22px;
    }

    .home-button {
        padding: 10px;
        font-size: 10px;
    }
}
