:root {
    --bg-color: #0f0c29;
    --card-bg: rgba(255, 255, 255, 0.05);
    --accent-color: #f7931a; /* Bitcoin Gold */
    --text-color: #ffffff;
    --text-muted: #b0b0b0;
    --primary-gradient: linear-gradient(135deg, #6a11cb 0%, #2575fc 100%);
    --gold-gradient: linear-gradient(135deg, #f6d365 0%, #fda085 100%);
    --danger: #ff4d4d;
    --success: #2ecc71;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    min-height: 100vh;
    padding-bottom: 80px; /* Spacer for bottom nav */
}

/* Glassmorphism Classes */
.glass {
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
}

/* Header */
header {
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(15, 12, 41, 0.8);
    backdrop-filter: blur(10px);
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-container h1 {
    font-size: 1.2rem;
    font-weight: 800;
    letter-spacing: 1px;
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.btn-connect {
    background: var(--primary-gradient);
    border: none;
    color: white;
    padding: 10px 18px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(37, 117, 252, 0.3);
}

/* Dashboard Content */
main {
    padding: 20px;
}

.stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 25px;
}

.stat-card {
    padding: 15px;
    text-align: center;
}

.stat-card h3 {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 5px;
}

.stat-card p {
    font-size: 1.1rem;
    font-weight: 700;
}

/* Staking Packages */
.section-title {
    margin: 20px 0 15px;
    font-size: 1.1rem;
    font-weight: 700;
}

.package-card {
    margin-bottom: 15px;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: transform 0.3s;
}

.package-card:active {
    transform: scale(0.98);
}

.package-info h4 {
    font-size: 1rem;
    margin-bottom: 5px;
}

.package-info span {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.package-profit {
    text-align: right;
}

.profit-badge {
    color: var(--success);
    font-weight: 700;
    font-size: 1.1rem;
}

/* Bottom Navigation */
.bottom-nav {
    position: fixed;
    bottom: 0;
    width: 100%;
    height: 70px;
    display: flex;
    justify-content: space-around;
    align-items: center;
    background: rgba(15, 12, 41, 0.9);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 1000;
    backdrop-filter: blur(15px);
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.75rem;
}

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

.nav-item i {
    font-size: 1.2rem;
}

/* Modal */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.8);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    padding: 20px;
}

.modal {
    width: 100%;
    max-width: 400px;
    padding: 25px;
}

.modal h2 {
    margin-bottom: 15px;
}

.btn-primary {
    width: 100%;
    padding: 15px;
    border-radius: 12px;
    border: none;
    background: var(--primary-gradient);
    color: white;
    font-weight: 700;
    margin-top: 20px;
    cursor: pointer;
}
