/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #D4AF37;
    --primary-dark: #B8941E;
    --secondary: #1a1a1a;
    --success: #2ecc71;
    --danger: #e74c3c;
    --warning: #f39c12;
    --dark: #0a0a0a;
    --light: #f5f5f5;
    --bg-primary: #0a0e1a;
    --bg-secondary: #121829;
    --bg-card: #1a2332;
    --text-primary: #ffffff;
    --text-secondary: #a0a0a0;
    --border: #2a3547;
    --gold: #D4AF37;
    --gold-light: #FFD700;
    --gold-dark: #B8941E;
    --gradient-gold: linear-gradient(135deg, #D4AF37 0%, #FFD700 50%, #D4AF37 100%);
    --gradient-dark: linear-gradient(135deg, #0a0e1a 0%, #121829 100%);
    --gradient-premium: linear-gradient(135deg, #0a0e1a 0%, #1a2332 50%, #0a0e1a 100%);
}

body {
    font-family: 'Inter', sans-serif;
    background: linear-gradient(135deg, #0a0e1a 0%, #121829 50%, #0a0e1a 100%);
    background-attachment: fixed;
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(212, 175, 55, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(212, 175, 55, 0.05) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navbar */
.navbar {
    background: rgba(15, 15, 15, 0.98);
    backdrop-filter: blur(20px);
    padding: 1.2rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 2px solid var(--gold);
    box-shadow: 0 4px 20px rgba(212, 175, 55, 0.1);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--gold);
    text-shadow: 0 0 20px rgba(212, 175, 55, 0.5);
    letter-spacing: 1px;
}

.nav-brand i {
    font-size: 2.2rem;
    filter: drop-shadow(0 0 10px rgba(212, 175, 55, 0.7));
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.3s;
    font-weight: 500;
    font-family: 'Lato', sans-serif;
    letter-spacing: 0.5px;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-gold);
    transition: width 0.3s;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link:hover,
.nav-link.active {
    color: var(--gold);
}

.mobile-menu-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--primary);
}

/* Buttons */
.btn {
    padding: 0.9rem 2rem;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.4s;
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    text-decoration: none;
    font-family: 'Lato', sans-serif;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    font-size: 0.9rem;
}

.btn-primary {
    background: var(--gradient-gold);
    color: var(--dark);
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
    border: 1px solid var(--gold-light);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.5);
    background: var(--gold-light);
}

.btn-success {
    background: var(--success);
    color: white;
}

.btn-success:hover {
    background: #27ae60;
    transform: translateY(-2px);
}

.btn-danger {
    background: var(--danger);
    color: white;
}

.btn-danger:hover {
    background: #c0392b;
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--gold);
    color: var(--gold);
}

.btn-outline:hover {
    background: var(--gold);
    color: var(--dark);
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.4);
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

.btn-block {
    width: 100%;
    justify-content: center;
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 80px;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(212, 175, 55, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 215, 0, 0.06) 0%, transparent 50%),
        linear-gradient(180deg, #0f0f0f 0%, #1a1a1a 100%);
    z-index: -1;
}

.hero-background::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        repeating-linear-gradient(90deg, rgba(212, 175, 55, 0.03) 0px, transparent 1px, transparent 40px, rgba(212, 175, 55, 0.03) 41px),
        repeating-linear-gradient(0deg, rgba(212, 175, 55, 0.03) 0px, transparent 1px, transparent 40px, rgba(212, 175, 55, 0.03) 41px);
}

.hero-content {
    text-align: center;
    z-index: 1;
}

.hero-title {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
    letter-spacing: 2px;
    text-shadow: 0 0 40px rgba(212, 175, 55, 0.3);
}

.hero-subtitle {
    font-size: 1.3rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.stat-card {
    background: var(--bg-card);
    padding: 2.5rem;
    border-radius: 8px;
    border: 1px solid var(--gold);
    box-shadow: 0 4px 20px rgba(212, 175, 55, 0.1);
    transition: all 0.3s;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(212, 175, 55, 0.2);
    border-color: var(--gold-light);
}

.stat-value {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--gold);
    margin-bottom: 0.5rem;
    text-shadow: 0 0 20px rgba(212, 175, 55, 0.3);
}

.stat-label {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Dashboard */
.dashboard {
    padding: 100px 0 50px;
    min-height: 100vh;
}

.wallet-status {
    margin-bottom: 2rem;
}

.alert {
    padding: 1rem 1.5rem;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.alert-warning {
    background: rgba(253, 203, 110, 0.1);
    border: 1px solid var(--warning);
    color: var(--warning);
}

.alert-success {
    background: rgba(0, 184, 148, 0.1);
    border: 1px solid var(--success);
    color: var(--success);
}

/* User Info Card */
.user-info-card {
    background: var(--bg-card);
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 2rem;
    border: 1px solid var(--border);
}

.user-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.user-avatar {
    font-size: 3rem;
    color: var(--primary);
}

.user-details h3 {
    font-size: 1.2rem;
    margin-bottom: 0.25rem;
}

.user-label {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.user-actions {
    margin-left: auto;
}

/* Balance Grid */
.balance-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.balance-card {
    background: var(--bg-card);
    border-radius: 12px;
    padding: 1.5rem;
    border: 1px solid var(--border);
    transition: transform 0.3s;
}

.balance-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
}

.balance-icon {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.balance-label {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.balance-value {
    font-size: 1.8rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

/* Deposit Section */
.deposit-section,
.referral-section,
.history-section {
    margin-bottom: 3rem;
}

.section-title {
    font-size: 2rem;
    margin-bottom: 2rem;
    text-align: center;
}

.deposit-card,
.referral-card {
    background: var(--bg-card);
    border-radius: 12px;
    padding: 2rem;
    border: 1px solid var(--border);
}

.tier-selector h3 {
    margin-bottom: 1.5rem;
    text-align: center;
}

.tier-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.tier-option {
    background: var(--bg-secondary);
    border: 2px solid var(--border);
    border-radius: 8px;
    padding: 1.5rem 1rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
}

.tier-option:hover {
    border-color: var(--primary);
    transform: scale(1.05);
}

.tier-option.active {
    border-color: var(--primary);
    background: rgba(0, 212, 255, 0.1);
}

.tier-badge {
    font-weight: bold;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.tier-rate {
    font-size: 1.3rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.tier-range {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.deposit-form {
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.form-control {
    width: 100%;
    padding: 0.75rem;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--text-primary);
    font-size: 1rem;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
}

.form-hint {
    display: block;
    margin-top: 0.25rem;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.deposit-info {
    background: var(--bg-secondary);
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 1.5rem;
}

.info-row {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--border);
}

.info-row:last-child {
    border-bottom: none;
}

/* Referral Section */
.referral-header {
    text-align: center;
    margin-bottom: 2rem;
}

.referral-header h3 {
    margin-bottom: 0.5rem;
}

.referral-header p {
    color: var(--text-secondary);
}

.referral-levels {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.level-item {
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 1rem;
    text-align: center;
}

.level-badge {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

.level-rate {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.level-count {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.referral-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.stat-item {
    background: var(--bg-secondary);
    padding: 1.5rem;
    border-radius: 8px;
    text-align: center;
}

.stat-item .stat-label {
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

.stat-item .stat-value {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary);
}

/* Tabs */
.tabs {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    border-bottom: 2px solid var(--border);
    flex-wrap: wrap;
}

.tab-btn {
    background: transparent;
    border: none;
    padding: 1rem 1.5rem;
    color: var(--text-secondary);
    cursor: pointer;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.tab-btn:hover {
    color: var(--primary);
}

.tab-btn.active {
    color: var(--primary);
    border-bottom-color: var(--primary);
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

/* Tables */
.table-container {
    overflow-x: auto;
    background: var(--bg-card);
    border-radius: 12px;
    border: 1px solid var(--border);
}

.history-table {
    width: 100%;
    border-collapse: collapse;
}

.history-table thead {
    background: var(--bg-secondary);
}

.history-table th,
.history-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid var(--border);
}

.history-table th {
    font-weight: 600;
    color: var(--text-secondary);
}

.history-table tbody tr:hover {
    background: var(--bg-secondary);
}

.text-center {
    text-align: center;
}

.status-badge {
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.status-active {
    background: rgba(0, 184, 148, 0.2);
    color: var(--success);
}

.status-completed {
    background: rgba(108, 92, 231, 0.2);
    color: var(--secondary);
}

/* How It Works */
.how-it-works {
    padding: 80px 0;
    background: var(--bg-secondary);
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.step-card {
    background: var(--bg-card);
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    border: 1px solid var(--border);
    position: relative;
    transition: transform 0.3s;
}

.step-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
}

.step-number {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 40px;
    background: var(--gradient-2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
}

.step-icon {
    font-size: 3rem;
    color: var(--primary);
    margin: 1rem 0;
}

.step-card h3 {
    margin-bottom: 1rem;
}

.step-card p {
    color: var(--text-secondary);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: var(--bg-card);
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    border: 1px solid var(--border);
}

.feature-card i {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.feature-card h3 {
    margin-bottom: 0.5rem;
}

.feature-card p {
    color: var(--text-secondary);
}

/* Safety Section */
.safety {
    padding: 80px 0;
}

.safety-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.safety-card {
    background: var(--bg-card);
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    border: 1px solid var(--border);
}

.safety-icon {
    font-size: 3rem;
    color: var(--success);
    margin-bottom: 1rem;
}

.safety-card h3 {
    margin-bottom: 1rem;
}

.safety-card p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.disclaimer-card,
.terms-card {
    background: var(--bg-card);
    border-radius: 12px;
    padding: 2rem;
    border: 1px solid var(--warning);
    margin-bottom: 2rem;
}

.disclaimer-card h3,
.terms-card h3 {
    color: var(--warning);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.disclaimer-content p,
.terms-content ul {
    margin-bottom: 1rem;
    color: var(--text-secondary);
    line-height: 1.8;
}

.terms-content ul {
    list-style-position: inside;
}

.terms-content li {
    margin-bottom: 0.5rem;
}

/* Footer */
.footer {
    background: var(--bg-secondary);
    padding: 3rem 0;
    border-top: 1px solid var(--border);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary);
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--primary);
}

.footer-social p {
    color: var(--text-secondary);
}

/* Loading Overlay */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(10, 14, 39, 0.95);
    display: none;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    z-index: 9999;
}

.loading-overlay.active {
    display: flex;
}

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 4px solid var(--border);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 1rem;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Responsive */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }

    .mobile-menu-toggle {
        display: block;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .hero-actions {
        flex-direction: column;
    }

    .user-header {
        flex-direction: column;
        text-align: center;
    }

    .user-actions {
        margin-left: 0;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-links {
        flex-direction: column;
        gap: 1rem;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Selection */
::selection {
    background: var(--primary);
    color: white;
}

/* ===================================
   LANDING PAGE STYLES
   =================================== */

/* Landing Page Container */
.landing-page {
    min-height: 100vh;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.landing-page::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(212, 175, 55, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(255, 215, 0, 0.08) 0%, transparent 50%);
    pointer-events: none;
    z-index: -1;
}

.landing-container {
    max-width: 900px;
    width: 100%;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 1;
}

/* Logo Container */
.logo-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 24px;
}

.logo-icon {
    font-size: 3.5rem;
    color: var(--gold);
    filter: drop-shadow(0 0 20px rgba(212, 175, 55, 0.6));
    animation: pulse 3s ease-in-out infinite;
}

.logo-icon .logo-image {
    width: 80px;
    height: 80px;
    object-fit: contain;
    filter: drop-shadow(0 0 20px rgba(212, 175, 55, 0.6));
    animation: pulse 3s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        filter: drop-shadow(0 0 20px rgba(212, 175, 55, 0.6));
    }
    50% {
        transform: scale(1.05);
        filter: drop-shadow(0 0 30px rgba(212, 175, 55, 0.8));
    }
}

.logo-text {
    font-family: 'Inter', sans-serif;
    font-size: 3rem;
    font-weight: 800;
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 1px;
    text-shadow: 0 0 40px rgba(212, 175, 55, 0.3);
}

/* Landing Subtitle */
.landing-subtitle {
    font-family: 'Inter', sans-serif;
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 48px;
    font-weight: 400;
    letter-spacing: 0.5px;
}

/* Stats Row */
.stats-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 24px;
    margin-bottom: 48px;
}

.stat-item {
    background: var(--bg-card);
    border: 1px solid var(--gold);
    border-radius: 12px;
    padding: 24px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(212, 175, 55, 0.1);
}

.stat-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(212, 175, 55, 0.2);
    border-color: var(--gold-light);
}

.stat-label {
    display: block;
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 8px;
    font-weight: 500;
}

.stat-value {
    display: block;
    font-family: 'Inter', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--gold);
    text-shadow: 0 0 20px rgba(212, 175, 55, 0.3);
}

/* Info Box */
.info-box {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 32px;
    margin-bottom: 48px;
    display: flex;
    align-items: flex-start;
    gap: 20px;
    text-align: left;
    transition: all 0.3s ease;
}

.info-box:hover {
    border-color: var(--gold);
    box-shadow: 0 4px 20px rgba(212, 175, 55, 0.15);
}

.info-box > i {
    font-size: 2.5rem;
    color: var(--success);
    flex-shrink: 0;
    filter: drop-shadow(0 0 10px rgba(46, 204, 113, 0.5));
}

.info-content {
    flex: 1;
}

.info-content strong {
    font-family: 'Inter', sans-serif;
    font-size: 1.1rem;
    color: var(--text-primary);
    display: block;
    margin-bottom: 12px;
    font-weight: 600;
}

.info-content p {
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 12px;
}

.info-link {
    font-family: 'Inter', sans-serif;
    color: var(--gold);
    text-decoration: none;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.3s ease;
}

.info-link:hover {
    color: var(--gold-light);
    gap: 10px;
}

/* Connect Section */
.connect-section {
    margin-bottom: 48px;
}

.connect-section h2 {
    font-family: 'Inter', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.connect-section p {
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: 24px;
}

/* Connect Button */
.connect-btn {
    font-family: 'Inter', sans-serif;
    background: var(--gradient-gold);
    color: var(--dark);
    border: 2px solid var(--gold-light);
    border-radius: 8px;
    padding: 16px 48px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    transition: all 0.4s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 20px rgba(212, 175, 55, 0.3);
}

.connect-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(212, 175, 55, 0.5);
    background: var(--gold-light);
    border-color: var(--gold);
}

.connect-btn:active {
    transform: translateY(-1px);
}

.connect-btn i {
    font-size: 1.3rem;
}

/* Supported Wallets */
.supported-wallets {
    margin-bottom: 64px;
}

.wallets-title {
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 16px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.wallet-icons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}

.wallet-badge {
    font-family: 'Inter', sans-serif;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 8px 16px;
    font-size: 0.85rem;
    color: var(--text-secondary);
    font-weight: 500;
    transition: all 0.3s ease;
}

.wallet-badge:hover {
    border-color: var(--gold);
    color: var(--gold);
    transform: translateY(-2px);
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
    margin-bottom: 64px;
}

.feature-box {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 32px 24px;
    text-align: center;
    transition: all 0.3s ease;
}

.feature-box:hover {
    transform: translateY(-8px);
    border-color: var(--gold);
    box-shadow: 0 8px 30px rgba(212, 175, 55, 0.2);
}

.feature-box i {
    font-size: 3rem;
    color: var(--gold);
    margin-bottom: 20px;
    filter: drop-shadow(0 0 15px rgba(212, 175, 55, 0.4));
}

.feature-box h3 {
    font-family: 'Inter', sans-serif;
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.feature-box p {
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Landing Footer */
.landing-footer {
    padding-top: 48px;
    border-top: 1px solid var(--border);
}

.landing-footer .footer-brand {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    font-family: 'Inter', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gold);
    margin-bottom: 16px;
}

.landing-footer .footer-brand i {
    font-size: 1.8rem;
    filter: drop-shadow(0 0 10px rgba(212, 175, 55, 0.5));
}

.landing-footer p {
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-bottom: 16px;
    line-height: 1.6;
}

.landing-footer .footer-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.landing-footer .footer-links a {
    font-family: 'Inter', sans-serif;
    color: var(--gold);
    text-decoration: none;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.3s ease;
}

.landing-footer .footer-links a:hover {
    color: var(--gold-light);
    transform: translateY(-2px);
}

.landing-footer .footer-links span {
    font-family: 'Inter', sans-serif;
    color: var(--text-secondary);
}

/* Responsive Design for Landing Page */
@media (max-width: 768px) {
    .logo-text {
        font-size: 2rem;
    }

    .logo-icon {
        font-size: 2.5rem;
    }

    .landing-subtitle {
        font-size: 1rem;
    }

    .stats-row {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .stat-value {
        font-size: 1.5rem;
    }

    .info-box {
        flex-direction: column;
        text-align: center;
        padding: 24px;
    }

    .info-box > i {
        font-size: 2rem;
    }

    .connect-section h2 {
        font-size: 1.5rem;
    }

    .connect-btn {
        padding: 14px 32px;
        font-size: 1rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .feature-box {
        padding: 24px 20px;
    }

    .feature-box i {
        font-size: 2.5rem;
    }

    .landing-footer .footer-links {
        flex-direction: column;
        gap: 8px;
    }
}

/* ===================================
   DASHBOARD NAVIGATION STYLES
   =================================== */

/* Dashboard Navigation Bar */
.dashboard-nav {
    background: var(--bg-secondary);
    border-bottom: 2px solid var(--gold);
    padding: 1rem 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(212, 175, 55, 0.15);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Navigation Brand */
.nav-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: 'Inter', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gold);
    text-shadow: 0 0 20px rgba(212, 175, 55, 0.5);
    letter-spacing: 0.5px;
}

.nav-brand i {
    font-size: 1.8rem;
    filter: drop-shadow(0 0 10px rgba(212, 175, 55, 0.7));
}

/* Navigation Menu */
.nav-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
}

/* Navigation Links */
.nav-link {
    font-family: 'Inter', sans-serif;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    padding: 0.5rem 0;
    position: relative;
    transition: all 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-gold);
    transition: width 0.3s ease;
}

.nav-link:hover {
    color: var(--gold);
}

.nav-link:hover::after {
    width: 100%;
}

.nav-link.active {
    color: var(--gold);
}

.nav-link.active::after {
    width: 100%;
}

/* Disconnect Button */
.btn-disconnect {
    font-family: 'Inter', sans-serif;
    background: transparent;
    border: 2px solid var(--gold);
    color: var(--gold);
    padding: 0.6rem 1.5rem;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    letter-spacing: 0.5px;
}

.btn-disconnect:hover {
    background: var(--gold);
    color: var(--dark);
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.4);
    transform: translateY(-2px);
}

.btn-disconnect i {
    font-size: 1rem;
}

/* Dashboard Content Spacing */
.dashboard-content {
    padding-top: 80px;
    min-height: 100vh;
    padding-bottom: 60px;
    position: relative;
    z-index: 1;
}

/* ===================================
   DASHBOARD CONTENT SECTIONS STYLES
   =================================== */

/* User Card */
.user-card {
    background: var(--bg-card);
    border: 1px solid var(--gold);
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 2.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
    box-shadow: 0 4px 20px rgba(212, 175, 55, 0.1);
    transition: all 0.3s ease;
}

.user-card:hover {
    box-shadow: 0 8px 30px rgba(212, 175, 55, 0.2);
    border-color: var(--gold-light);
}

.user-info {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.user-info > i {
    font-size: 3rem;
    color: var(--gold);
    filter: drop-shadow(0 0 15px rgba(212, 175, 55, 0.5));
}

.user-info h3 {
    font-family: 'Inter', sans-serif;
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.user-info p {
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-copy {
    font-family: 'Inter', sans-serif;
    background: transparent;
    border: 2px solid var(--gold);
    color: var(--gold);
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    transition: all 0.3s ease;
    letter-spacing: 0.5px;
}

.btn-copy:hover {
    background: var(--gold);
    color: var(--dark);
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.4);
    transform: translateY(-2px);
}

/* Balance Grid */
.balance-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.balance-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 2rem;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.balance-card:hover {
    transform: translateY(-5px);
    border-color: var(--gold);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.2);
}

.balance-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.balance-header i {
    font-size: 1.8rem;
    color: var(--gold);
    filter: drop-shadow(0 0 10px rgba(212, 175, 55, 0.4));
}

.balance-header span {
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.balance-amount {
    font-family: 'Inter', sans-serif;
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--gold);
    margin-bottom: 1.5rem;
    text-shadow: 0 0 20px rgba(212, 175, 55, 0.3);
}

.btn-action {
    font-family: 'Inter', sans-serif;
    background: var(--gradient-gold);
    color: var(--dark);
    border: none;
    border-radius: 8px;
    padding: 0.75rem 1.5rem;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    transition: all 0.3s ease;
    letter-spacing: 0.5px;
    width: 100%;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

.btn-action:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.5);
    background: var(--gold-light);
}

/* Section Card */
.section-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 2.5rem;
    margin-bottom: 3rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.section-card:hover {
    border-color: var(--gold);
    box-shadow: 0 6px 25px rgba(212, 175, 55, 0.15);
}

.section-card h2 {
    font-family: 'Inter', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
    text-align: center;
}

.section-card > p {
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    color: var(--text-secondary);
    text-align: center;
    margin-bottom: 2rem;
}

/* Tier Selector */
.tier-selector {
    margin-bottom: 2.5rem;
}

.tier-selector h3 {
    font-family: 'Inter', sans-serif;
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-primary);
    text-align: center;
    margin-bottom: 1.5rem;
}

.tier-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.tier-card {
    background: var(--bg-secondary);
    border: 2px solid var(--border);
    border-radius: 10px;
    padding: 1.5rem 1rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.tier-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-gold);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 0;
}

.tier-card:hover {
    border-color: var(--gold);
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.3);
}

.tier-card:hover::before {
    opacity: 0.1;
}

.tier-card.active {
    border-color: var(--gold);
    background: rgba(212, 175, 55, 0.15);
    box-shadow: 0 4px 20px rgba(212, 175, 55, 0.3);
}

.tier-card > * {
    position: relative;
    z-index: 1;
}

.tier-badge {
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--gold);
    margin-bottom: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.tier-rate {
    font-family: 'Inter', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
}

.tier-range {
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

/* Deposit Form */
.deposit-form {
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    font-family: 'Inter', sans-serif;
    display: block;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
}

.form-input {
    font-family: 'Inter', sans-serif;
    width: 100%;
    padding: 1rem;
    background: var(--bg-secondary);
    border: 2px solid var(--border);
    border-radius: 8px;
    color: var(--text-primary);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-input:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.2);
}

.form-group small {
    font-family: 'Inter', sans-serif;
    display: block;
    margin-top: 0.5rem;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.deposit-info {
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.info-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border);
}

.info-row:last-child {
    border-bottom: none;
}

.info-row span {
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
}

.info-row span:first-child {
    color: var(--text-secondary);
}

.info-row span:last-child {
    color: var(--text-primary);
    font-weight: 600;
}

.btn-primary-large {
    font-family: 'Inter', sans-serif;
    background: var(--gradient-gold);
    color: var(--dark);
    border: 2px solid var(--gold-light);
    border-radius: 8px;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    transition: all 0.3s ease;
    letter-spacing: 0.5px;
    width: 100%;
    box-shadow: 0 4px 20px rgba(212, 175, 55, 0.3);
}

.btn-primary-large:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(212, 175, 55, 0.5);
    background: var(--gold-light);
}

/* Referral Levels */
.referral-levels {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    gap: 1rem;
    margin-bottom: 2.5rem;
}

.level-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 1.5rem 1rem;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.level-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-gold);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 0;
}

.level-card:hover {
    border-color: var(--gold);
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.3);
}

.level-card:hover::before {
    opacity: 0.1;
}

.level-card > * {
    position: relative;
    z-index: 1;
}

.level-badge {
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.level-rate {
    font-family: 'Inter', sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--gold);
    margin-bottom: 0.75rem;
    text-shadow: 0 0 15px rgba(212, 175, 55, 0.3);
}

.level-count {
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* Referral Stats */
.referral-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.stat-box {
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
}

.stat-box:hover {
    border-color: var(--gold);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.2);
}

.stat-box .stat-label {
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
    font-weight: 500;
}

.stat-box .stat-value {
    font-family: 'Inter', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--gold);
    text-shadow: 0 0 20px rgba(212, 175, 55, 0.3);
}

/* Tabs */
.tabs {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 2rem;
    border-bottom: 2px solid var(--border);
    flex-wrap: wrap;
}

.tab-btn {
    font-family: 'Inter', sans-serif;
    background: transparent;
    border: none;
    padding: 1rem 1.5rem;
    color: var(--text-secondary);
    cursor: pointer;
    border-bottom: 3px solid transparent;
    margin-bottom: -2px;
    transition: all 0.3s ease;
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.tab-btn:hover {
    color: var(--gold);
    background: rgba(212, 175, 55, 0.05);
}

.tab-btn.active {
    color: var(--gold);
    border-bottom-color: var(--gold);
}

.tab-content {
    display: none;
    animation: fadeIn 0.3s ease;
}

.tab-content.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* History Table */
.history-table {
    width: 100%;
    border-collapse: collapse;
    font-family: 'Inter', sans-serif;
}

.history-table thead {
    background: var(--bg-secondary);
}

.history-table th {
    padding: 1rem;
    text-align: left;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 2px solid var(--border);
}

.history-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid var(--border);
    font-size: 0.95rem;
    color: var(--text-primary);
}

.history-table tbody tr {
    transition: all 0.3s ease;
}

.history-table tbody tr:hover {
    background: var(--bg-secondary);
}

.history-table tbody tr:last-child td {
    border-bottom: none;
}

.text-center {
    text-align: center !important;
}

/* Responsive Dashboard Content */
@media (max-width: 768px) {
    .user-card {
        flex-direction: column;
        text-align: center;
        padding: 1.5rem;
    }

    .user-info {
        flex-direction: column;
        text-align: center;
    }

    .balance-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .balance-card {
        padding: 1.5rem;
    }

    .balance-amount {
        font-size: 1.8rem;
    }

    .section-card {
        padding: 1.5rem;
    }

    .section-card h2 {
        font-size: 1.5rem;
    }

    .tier-grid {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
        gap: 0.75rem;
    }

    .tier-card {
        padding: 1rem 0.75rem;
    }

    .tier-rate {
        font-size: 1.2rem;
    }

    .referral-levels {
        grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
        gap: 0.75rem;
    }

    .level-card {
        padding: 1rem 0.75rem;
    }

    .level-rate {
        font-size: 1.5rem;
    }

    .tabs {
        gap: 0.25rem;
    }

    .tab-btn {
        padding: 0.75rem 1rem;
        font-size: 0.85rem;
    }

    .history-table {
        font-size: 0.85rem;
    }

    .history-table th,
    .history-table td {
        padding: 0.75rem 0.5rem;
    }

    .deposit-form,
    .referral-stats {
        padding: 0;
    }
}

/* Responsive Dashboard Navigation */
@media (max-width: 768px) {
    .nav-menu {
        gap: 1rem;
        flex-wrap: wrap;
    }

    .nav-link {
        font-size: 0.85rem;
    }

    .btn-disconnect {
        padding: 0.5rem 1rem;
        font-size: 0.85rem;
    }

    .nav-brand {
        font-size: 1.2rem;
    }

    .nav-brand i {
        font-size: 1.5rem;
    }
}

/* ===================================
   COMPREHENSIVE MOBILE RESPONSIVE STYLES
   =================================== */

@media (max-width: 768px) {
    /* CRITICAL: Prevent horizontal overflow on mobile */
    html, body {
        overflow-x: hidden !important;
        max-width: 100vw !important;
        width: 100% !important;
    }

    /* Base Typography - Adjust font sizes for mobile readability */
    body {
        font-size: 14px;
        line-height: 1.5;
        overflow-x: hidden;
        max-width: 100vw;
    }

    * {
        box-sizing: border-box;
    }

    h1 {
        font-size: 1.75rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    h3 {
        font-size: 1.25rem;
    }

    /* Touch-friendly button sizes - minimum 44x44px */
    .btn,
    .btn-primary,
    .btn-success,
    .btn-danger,
    .btn-outline,
    .connect-btn,
    .btn-action,
    .btn-primary-large,
    .btn-copy,
    .btn-disconnect {
        min-height: 44px;
        min-width: 44px;
        padding: 0.75rem 1.5rem;
        font-size: 0.95rem;
    }

    .tab-btn {
        min-height: 44px;
        padding: 0.75rem 1rem;
    }

    /* Landing Page Mobile Layout */
    .landing-page {
        padding: 20px 15px;
    }

    .landing-container {
        padding: 0 10px;
        max-width: 100%;
        overflow-x: hidden;
    }

    .logo-container {
        gap: 12px;
        margin-bottom: 20px;
    }

    .logo-text {
        font-size: 1.75rem;
    }

    .logo-icon {
        font-size: 2.5rem;
    }

    .logo-icon .logo-image {
        width: 50px;
        height: 50px;
    }

    .landing-subtitle {
        font-size: 1rem;
        margin-bottom: 32px;
    }

    /* Stack balance cards vertically on mobile */
    .stats-row {
        grid-template-columns: 1fr;
        gap: 16px;
        margin-bottom: 32px;
    }

    .stat-item {
        padding: 20px;
    }

    .stat-value {
        font-size: 1.5rem;
    }

    .stat-label {
        font-size: 0.85rem;
    }

    /* Info box mobile layout */
    .info-box {
        flex-direction: column;
        text-align: center;
        padding: 24px;
        gap: 16px;
    }

    .info-box > i {
        font-size: 2rem;
    }

    .info-content strong {
        font-size: 1rem;
    }

    .info-content p {
        font-size: 0.9rem;
    }

    /* Connect section mobile */
    .connect-section h2 {
        font-size: 1.5rem;
        margin-bottom: 8px;
    }

    .connect-section p {
        font-size: 0.9rem;
        margin-bottom: 20px;
    }

    .connect-btn {
        padding: 14px 32px;
        font-size: 1rem;
        width: 100%;
        justify-content: center;
    }

    /* Supported wallets mobile */
    .supported-wallets {
        margin-bottom: 48px;
    }

    .wallet-icons {
        gap: 8px;
    }

    .wallet-badge {
        font-size: 0.8rem;
        padding: 6px 12px;
    }

    /* Features grid mobile - stack vertically */
    .features-grid {
        grid-template-columns: 1fr;
        gap: 16px;
        margin-bottom: 48px;
    }

    .feature-box {
        padding: 24px 20px;
    }

    .feature-box i {
        font-size: 2.5rem;
        margin-bottom: 16px;
    }

    .feature-box h3 {
        font-size: 1.2rem;
        margin-bottom: 10px;
    }

    .feature-box p {
        font-size: 0.9rem;
    }

    /* Landing footer mobile */
    .landing-footer {
        padding-top: 32px !important;
        overflow-x: hidden !important;
        max-width: 100% !important;
        width: 100% !important;
    }

    .landing-footer .footer-brand {
        font-size: 1.1rem !important;
        margin-bottom: 12px !important;
        gap: 8px !important;
    }

    .landing-footer .footer-brand i {
        font-size: 1.3rem !important;
    }

    .landing-footer p {
        font-size: 0.85rem !important;
        margin-bottom: 12px !important;
        padding: 0 10px !important;
        text-align: center !important;
    }

    .landing-footer .footer-links {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: wrap !important;
        gap: 8px !important;
        justify-content: center !important;
        font-size: 0.8rem !important;
        width: 100% !important;
    }

    .landing-footer .footer-links a {
        font-size: 0.8rem !important;
        padding: 0.25rem 0.5rem !important;
    }

    .landing-footer .footer-links span {
        display: none !important;
    }

    /* Dashboard Navigation - Adapt for mobile */
    .dashboard-nav {
        padding: 0.5rem 0 !important;
        overflow-x: hidden !important;
        width: 100% !important;
    }

    .nav-container {
        padding: 0 10px !important;
        flex-direction: row !important;
        flex-wrap: wrap !important;
        gap: 0.5rem !important;
        max-width: 100% !important;
        width: 100% !important;
        justify-content: space-between !important;
    }

    .nav-brand {
        font-size: 1rem !important;
        gap: 6px !important;
        flex: 0 0 auto !important;
    }

    .nav-brand i {
        font-size: 1.2rem !important;
    }

    .nav-brand img {
        width: 28px !important;
        height: 28px !important;
    }

    .nav-menu {
        width: 100% !important;
        display: flex !important;
        flex-direction: row !important;
        gap: 0.25rem !important;
        justify-content: space-between !important;
        flex-wrap: nowrap !important;
        order: 2 !important;
    }

    .nav-link {
        font-size: 0.7rem !important;
        padding: 0.4rem 0.5rem !important;
        text-align: center !important;
        flex: 1 !important;
        white-space: nowrap !important;
    }

    .btn-disconnect {
        width: 100% !important;
        justify-content: center !important;
        margin-top: 0 !important;
        font-size: 0.75rem !important;
        padding: 0.5rem 1rem !important;
        order: 3 !important;
    }

    /* Dashboard content spacing */
    .dashboard-content {
        padding-top: 140px;
        padding-bottom: 40px;
    }

    .container {
        padding: 0 15px;
    }

    /* User card mobile - stack vertically */
    .user-card {
        flex-direction: column;
        text-align: center;
        padding: 1.5rem;
        gap: 1rem;
    }

    .user-info {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .user-info > i {
        font-size: 2.5rem;
    }

    .user-info h3 {
        font-size: 1.1rem;
        word-break: break-all;
    }

    .user-info p {
        font-size: 0.85rem;
        flex-direction: column;
        gap: 0.25rem;
    }

    .btn-copy {
        width: 100%;
        justify-content: center;
    }

    /* Balance cards - stack vertically */
    .balance-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
        margin-bottom: 2rem;
    }

    .balance-card {
        padding: 1.5rem;
    }

    .balance-header {
        gap: 0.5rem;
        margin-bottom: 1rem;
    }

    .balance-header i {
        font-size: 1.5rem;
    }

    .balance-header span {
        font-size: 0.85rem;
    }

    .balance-amount {
        font-size: 1.8rem;
        margin-bottom: 1rem;
    }

    .btn-action {
        width: 100%;
        padding: 0.75rem 1.5rem;
        font-size: 0.9rem;
    }

    /* Section cards mobile */
    .section-card {
        padding: 1.5rem;
        margin-bottom: 2rem;
    }

    .section-card h2 {
        font-size: 1.5rem;
        margin-bottom: 0.75rem;
    }

    .section-card > p {
        font-size: 0.9rem;
        margin-bottom: 1.5rem;
    }

    /* Tier selector - adjust to fewer columns */
    .tier-selector {
        margin-bottom: 2rem;
    }

    .tier-selector h3 {
        font-size: 1.1rem;
        margin-bottom: 1rem;
    }

    .tier-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
        margin-bottom: 1.5rem;
    }

    .tier-card {
        padding: 1rem 0.75rem;
    }

    .tier-badge {
        font-size: 0.8rem;
        margin-bottom: 0.5rem;
    }

    .tier-rate {
        font-size: 1.2rem;
        margin-bottom: 0.5rem;
    }

    .tier-range {
        font-size: 0.75rem;
    }

    /* Deposit form mobile */
    .deposit-form {
        padding: 0;
    }

    .form-group {
        margin-bottom: 1.25rem;
    }

    .form-group label {
        font-size: 0.95rem;
        margin-bottom: 0.5rem;
    }

    .form-input {
        padding: 0.85rem;
        font-size: 0.95rem;
    }

    .form-group small {
        font-size: 0.8rem;
        margin-top: 0.4rem;
    }

    .deposit-info {
        padding: 1.25rem;
        margin-bottom: 1.5rem;
    }

    .info-row {
        padding: 0.6rem 0;
        flex-direction: column;
        align-items: flex-start;
        gap: 0.25rem;
    }

    .info-row span {
        font-size: 0.9rem;
    }

    .btn-primary-large {
        padding: 0.9rem 1.75rem;
        font-size: 1rem;
    }

    /* Referral levels - adjust grid */
    .referral-levels {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
        margin-bottom: 2rem;
    }

    .level-card {
        padding: 1rem 0.75rem;
    }

    .level-badge {
        font-size: 0.8rem;
        margin-bottom: 0.5rem;
    }

    .level-rate {
        font-size: 1.5rem;
        margin-bottom: 0.5rem;
    }

    .level-count {
        font-size: 0.85rem;
    }

    /* Referral stats mobile */
    .referral-stats {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .stat-box {
        padding: 1.5rem;
    }

    .stat-box .stat-label {
        font-size: 0.9rem;
        margin-bottom: 0.75rem;
    }

    .stat-box .stat-value {
        font-size: 1.75rem;
    }

    /* Tabs mobile */
    .tabs {
        gap: 0.25rem;
        margin-bottom: 1.5rem;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .tab-btn {
        padding: 0.75rem 1rem;
        font-size: 0.85rem;
        white-space: nowrap;
        flex-shrink: 0;
    }

    /* Tables - horizontally scrollable on mobile */
    .table-container {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        border-radius: 8px;
        margin-bottom: 1rem;
    }

    .history-table {
        font-size: 0.7rem;
        min-width: 100%;
        width: max-content;
    }

    .history-table th,
    .history-table td {
        padding: 0.5rem 0.3rem;
        white-space: nowrap;
        font-size: 0.7rem;
    }

    .history-table th {
        font-size: 0.65rem;
        text-transform: uppercase;
        letter-spacing: 0.3px;
    }
    
    /* Make # column very narrow */
    .history-table th:first-child,
    .history-table td:first-child {
        width: 30px;
        padding-left: 0.3rem;
        padding-right: 0.2rem;
    }
    
    /* Compact amount and date columns */
    .history-table th:nth-child(2),
    .history-table td:nth-child(2) {
        min-width: 70px;
    }

    /* Steps and features grids */
    .steps-grid,
    .safety-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .step-card,
    .safety-card {
        padding: 1.5rem;
    }

    .step-icon,
    .safety-icon {
        font-size: 2.5rem;
        margin: 0.75rem 0;
    }

    .step-card h3,
    .safety-card h3 {
        font-size: 1.1rem;
        margin-bottom: 0.75rem;
    }

    .step-card p,
    .safety-card p {
        font-size: 0.9rem;
    }

    /* Hero section mobile */
    .hero {
        min-height: auto;
        padding: 60px 0 40px;
    }

    .hero-title {
        font-size: 2.5rem;
        margin-bottom: 1rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
        margin-bottom: 2rem;
    }

    .hero-stats {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-bottom: 2rem;
    }

    .stat-card {
        padding: 2rem;
    }

    .hero-actions {
        flex-direction: column;
        gap: 0.75rem;
    }

    .hero-actions .btn {
        width: 100%;
        justify-content: center;
    }

    /* How it works section mobile */
    .how-it-works {
        padding: 60px 0;
    }

    /* Safety section mobile */
    .safety {
        padding: 60px 0;
    }

    .disclaimer-card,
    .terms-card {
        padding: 1.5rem;
        margin-bottom: 1.5rem;
    }

    .disclaimer-card h3,
    .terms-card h3 {
        font-size: 1.1rem;
        margin-bottom: 1rem;
    }

    .disclaimer-content p,
    .terms-content ul {
        font-size: 0.9rem;
        margin-bottom: 0.75rem;
    }

    /* Footer mobile */
    .footer {
        padding: 2rem 0;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }

    .footer-brand {
        font-size: 1.3rem;
    }

    .footer-links {
        flex-direction: column;
        gap: 1rem;
    }

    .footer-links a {
        font-size: 0.9rem;
    }

    /* Loading overlay mobile */
    .loading-overlay {
        padding: 20px;
    }

    .loading-spinner {
        width: 40px;
        height: 40px;
    }

    .loading-overlay p {
        font-size: 0.9rem;
    }

    /* Ensure all interactive elements are touch-friendly */
    a,
    button,
    input,
    select,
    textarea {
        -webkit-tap-highlight-color: rgba(212, 175, 55, 0.2);
    }

    /* Improve form inputs on mobile */
    input[type="number"],
    input[type="text"],
    input[type="email"],
    select,
    textarea {
        font-size: 16px; /* Prevents zoom on iOS */
        min-height: 44px;
    }

    /* Wallet status alerts */
    .alert {
        padding: 0.85rem 1.25rem;
        font-size: 0.9rem;
    }

    .alert i {
        font-size: 1.1rem;
    }

    /* User info card mobile */
    .user-info-card {
        padding: 1.5rem;
        margin-bottom: 1.5rem;
    }

    .user-header {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .user-avatar {
        font-size: 2.5rem;
    }

    .user-details h3 {
        font-size: 1.1rem;
    }

    .user-label {
        font-size: 0.85rem;
    }

    .user-actions {
        margin-left: 0;
        width: 100%;
    }

    .user-actions .btn {
        width: 100%;
    }
}
