:root {
    --font-family: 'averta', sans-serif;
    --main-color: #282D2E;
}

@font-face {
    font-family: 'averta';
    src: url('AvertaStd-Regular.ttf');
}

@font-face {
    font-family: 'averta-bold';
    src: url('AvertaStd-Bold.ttf');
}

* {
    padding: 0px;
    margin: 0px;
    outline: 0px;
    box-sizing: border-box;
}

body {
    width: 100%;
    height: 100vh;
    overflow-x: hidden;
    font-family: var(--font-family);
    display: flex;
    flex-direction: column;
    background-color: #1a1a1a;
}

.nav-layout {
    display: flex;
    padding: 15px;
    align-items: center;
    width: 100%;
    background-color: var(--main-color);
}

.nav-menu {
    width: 45px;
    height: 35px;
    flex-shrink: 0;
}

.nav-logo {
    width: 150px;
    height: 35px;
    margin-left: 15px;
    flex-shrink: 0;
    text-align: center;
}

.nav-logo img {
    width: 1.2in;
    height: 100%;
}

.right-layout {
    margin-left: auto;
    display: flex;
    align-items: center;
    flex-direction: row-reverse;
}

.user-logo {
    width: 35px;
    height: 35px;
    flex-shrink: 0;
    border-radius: 50%;
    margin-left: 15px;
    overflow: hidden;
    border: 2px solid rgba(176, 190, 193, 0.2);
    cursor: pointer;
    transition: all 0.3s ease;
}

.user-logo:hover {
    border-color: rgba(0, 240, 112, 0.4);
    box-shadow: 0 0 10px rgba(0, 240, 112, 0.2);
}

.user-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.main-content {
    display: flex;
    flex: 1;
    overflow: hidden;
}

.panel-left {
    width: 220px;
    background-color: var(--main-color);
    border-right: 1px solid rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px 0;
    gap: 20px;
    flex-shrink: 0;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.2);
}

.panel-right {
    flex: 1;
    background-color: #1a1a1a;
    overflow-y: auto;
    padding: 30px;
    color: #FFFFFF;
}

.nav-icon {
    justify-content: center;
    align-items: center;
    display: flex;
    font-size: 18px;
    border-radius: 5px;
    background-color: #3A4142;
    color: #B0BEC1;
    width: 40px;
}

.nav-icons {
    display: flex;
    align-items: center;
}

.nav-notifications {
    width: 35px;
    height: 35px;
    margin-right: 2px;
}

.nav-messages {
    width: 35px;
    height: 35px;
}

.nav-gift {
    width: 35px;
    height: 35px;
    margin-right: 15px;
}

.nav-search {
    width: 35px;
    height: 35px;
    margin-right: 15px;
}

.balance-section {
    width: 235px;
    height: 38px;
    margin-right: 15px;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, rgba(58, 65, 66, 0.6) 0%, rgba(48, 55, 56, 0.5) 100%);
    border-radius: 10px;
    overflow: visible;
    border: 1px solid rgba(176, 190, 193, 0.15);
    padding: 0 6px;
    gap: 6px;
    box-shadow:
        0 2px 8px rgba(0, 0, 0, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.balance-section:hover {
    border-color: rgba(0, 240, 112, 0.2);
    box-shadow:
        0 2px 12px rgba(0, 0, 0, 0.2),
        0 0 20px rgba(0, 240, 112, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.balance-crypto-icon {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background: rgba(0, 240, 112, 0.08);
    border-radius: 6px;
    border: 1px solid rgba(0, 240, 112, 0.15);
}

.balance-crypto-icon img {
    width: 18px;
    height: 18px;
    object-fit: contain;
}

.balance-text {
    flex: 1;
    height: 38px;
    display: flex;
    align-items: center;
    padding: 0 4px;
    min-width: 0;
}

.balance-amount {
    font-weight: 600;
    font-size: 13px;
    color: #FFFFFF;
    white-space: nowrap;
    letter-spacing: 0.2px;
}

.balance-dropdown-arrow {
    width: 18px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #8A9799;
    font-size: 9px;
    cursor: pointer;
    transition: all 0.2s ease;
    margin: 0;
}

.balance-dropdown-arrow:hover {
    color: #00F070;
    transform: translateY(1px);
}

.balance-deposit-btn {
    width: 70px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 11px;
    letter-spacing: 0.3px;
    background: linear-gradient(135deg, #00F070 0%, #00D862 100%);
    color: #0a0a0a;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 6px;
    margin-right: 4px;
    box-shadow:
        0 2px 8px rgba(0, 240, 112, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
    position: relative;
    overflow: hidden;
}

.balance-deposit-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.balance-deposit-btn:hover {
    background: linear-gradient(135deg, #00FF7F 0%, #00F070 100%);
    box-shadow:
        0 4px 16px rgba(0, 240, 112, 0.4),
        0 0 20px rgba(0, 240, 112, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.25);
    transform: translateY(-1px) scale(1.02);
}

.balance-deposit-btn:hover::before {
    left: 100%;
}

.balance-deposit-btn:active {
    transform: translateY(0) scale(0.98);
    box-shadow:
        0 1px 4px rgba(0, 240, 112, 0.3),
        inset 0 2px 4px rgba(0, 0, 0, 0.1);
}