:root {
    --bg-dark: #0a0a16;
    --bg-card: #15152a;
    --primary-purple: #9B59B6;
    --primary-gradient: linear-gradient(135deg, #9B59B6, #6c3483);
    --gold: #FFD700;
    --gold-gradient: linear-gradient(135deg, #FFD700, #ffb300);
    --text-white: #ffffff;
    --text-grey: #a0a0b0;
    --red: #FF006E;
    --green: #00E676;
    --violet: #9B59B6;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
    -webkit-tap-highlight-color: transparent;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-white);
    max-width: 480px;
    margin: 0 auto;
    position: relative;
    min-height: 100vh;
    padding-bottom: 80px;
}

/* Glassmorphism Cards */
.card {
    background: var(--bg-card);
    border-radius: 16px;
    padding: 16px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

/* Top Header */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px;
}

.logo {
    font-size: 24px;
    font-weight: 800;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.logo span {
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.header-buttons .btn {
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 600;
    text-decoration: none;
    font-size: 14px;
    margin-left: 8px;
}

.btn-register {
    background: var(--gold-gradient);
    color: #000;
}

.btn-login {
    background: var(--primary-gradient);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Hero Banner */
.hero-banner {
    margin: 0 16px;
    background: var(--primary-gradient);
    border-radius: 16px;
    padding: 24px;
    position: relative;
    overflow: hidden;
}

.hero-banner h2 {
    font-size: 22px;
    width: 60%;
    line-height: 1.3;
}

.hero-banner .amount {
    color: var(--gold);
    font-size: 28px;
    display: block;
    margin-top: 8px;
}

/* Bottom Navigation */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 480px;
    background: #0d0d1e;
    display: flex;
    justify-content: space-around;
    padding: 12px 0;
    border-top: 1px solid rgba(255,255,255,0.05);
    z-index: 1000;
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--text-grey);
    text-decoration: none;
    font-size: 12px;
}

.nav-item.active {
    color: var(--primary-purple);
}

.nav-item i {
    font-size: 20px;
    margin-bottom: 4px;
}

.nav-center {
    position: relative;
    top: -20px;
    background: var(--gold-gradient);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: #000;
    font-weight: bold;
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.4);
    border: 4px solid var(--bg-dark);
}

/* Account Page */
.profile-header {
    background: var(--primary-gradient);
    padding: 30px 20px;
    display: flex;
    align-items: center;
    border-bottom-left-radius: 30px;
    border-bottom-right-radius: 30px;
}

.avatar {
    width: 60px;
    height: 60px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 30px;
    color: var(--primary-purple);
    border: 3px solid var(--gold);
}

.profile-info {
    margin-left: 16px;
}

.profile-info h3 {
    margin-bottom: 4px;
}

.vip-badge {
    background: var(--gold-gradient);
    color: #000;
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 12px;
    font-weight: bold;
    margin-left: 8px;
}

.balance-card {
    margin: -20px 16px 20px;
    position: relative;
    z-index: 10;
}

.balance-amount {
    font-size: 32px;
    font-weight: bold;
    margin: 10px 0;
}

.btn-wallet {
    background: var(--primary-gradient);
    color: #fff;
    padding: 10px 20px;
    border-radius: 20px;
    text-decoration: none;
    font-weight: bold;
    float: right;
    margin-top: -40px;
}

.grid-2x2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin: 16px;
}

.grid-item {
    display: flex;
    align-items: center;
    padding: 16px;
}

.grid-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 12px;
    font-size: 20px;
}

.bg-blue { background: rgba(0, 150, 255, 0.2); color: #0096ff; }
.bg-green { background: rgba(0, 230, 118, 0.2); color: #00E676; }
.bg-orange { background: rgba(255, 152, 0, 0.2); color: #ff9800; }
.bg-red { background: rgba(255, 0, 110, 0.2); color: #FF006E; }

.list-menu {
    margin: 16px;
}

.list-item {
    display: flex;
    align-items: center;
    padding: 16px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.list-item i:first-child {
    font-size: 20px;
    color: var(--text-grey);
    width: 30px;
}

.list-item span {
    flex: 1;
}

.list-item i:last-child {
    color: var(--text-grey);
}
