/* Modern Professional Design System */
:root {
    --primary: #6366F1;
    --primary-dark: #4F46E5;
    --primary-light: #818CF8;
    --secondary: #8B5CF6;
    --accent: #EC4899;
    --success: #10B981;
    --warning: #F59E0B;
    --error: #EF4444;
    --background: #0F172A;
    --surface: #1E293B;
    --surface-light: #334155;
    --text-primary: #F1F5F9;
    --text-secondary: #94A3B8;
    --border: #334155;
    --shadow: rgba(0, 0, 0, 0.5);
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Inter', sans-serif;
    background: var(--background);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Announcement Banner */
.announcement-banner {
    position: sticky;
    top: 0;
    z-index: 999;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.95), rgba(139, 92, 246, 0.95));
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    animation: slideDown 0.5s ease;
    width: 100%;
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.announcement-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.announcement-icon {
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 1.25rem;
    color: white;
}

.announcement-text {
    flex: 1;
    color: white;
    font-size: 0.95rem;
    font-weight: 500;
    line-height: 1.5;
}

.announcement-close {
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.15);
    border: none;
    border-radius: 10px;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.announcement-close:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: scale(1.05);
}

.announcement-close:active {
    transform: scale(0.95);
}

/* Alternative announcement styles for different types */
.announcement-banner.info {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.95), rgba(37, 99, 235, 0.95));
}

.announcement-banner.success {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.95), rgba(5, 150, 105, 0.95));
}

.announcement-banner.warning {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.95), rgba(217, 119, 6, 0.95));
}

.announcement-banner.error {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.95), rgba(220, 38, 38, 0.95));
}

/* Responsive announcement banner */
@media (max-width: 768px) {
    .announcement-content {
        padding: 0.875rem 1rem;
        gap: 0.75rem;
    }

    .announcement-icon {
        width: 38px;
        height: 38px;
        font-size: 1.1rem;
    }

    .announcement-text {
        font-size: 0.875rem;
        line-height: 1.4;
    }

    .announcement-close {
        width: 32px;
        height: 32px;
    }
}

@media (max-width: 480px) {
    .announcement-content {
        padding: 0.75rem;
        gap: 0.625rem;
    }

    .announcement-icon {
        width: 34px;
        height: 34px;
        font-size: 1rem;
    }

    .announcement-text {
        font-size: 0.825rem;
        line-height: 1.35;
    }
    
    .announcement-close {
        width: 30px;
        height: 30px;
    }
}

@keyframes slideUp {
    from {
        transform: translateY(0);
        opacity: 1;
    }
    to {
        transform: translateY(-100%);
        opacity: 0;
    }
}

/* Loading Screen */
.loading-screen {
    position: fixed;
    inset: 0;
    background: var(--background);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s ease;
}

.loading-content {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.loading-logo {
    margin-bottom: 1.5rem;
    animation: pulse 2s infinite;
    background: none !important;
    display: flex;
    align-items: center;
    justify-content: center;
}

.loading-logo svg {
    display: block;
    background: none !important;
}

.loading-logo svg * {
    background: transparent !important;
}

.loading-text {
    font-size: 1.75rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 2rem;
}

.loading-spinner {
    width: 48px;
    height: 48px;
    border: 4px solid rgba(99, 102, 241, 0.2);
    border-top: 4px solid var(--primary);
    border-radius: 50%;
    margin: 0 auto;
    animation: spin 1s linear infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.05); opacity: 0.8; }
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Header */
.header {
    background: rgba(30, 41, 59, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
    gap: 2rem;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    z-index: 1002;
}

.brand-logo {
    filter: drop-shadow(0 4px 8px rgba(99, 102, 241, 0.3));
}

.nav-links {
    display: flex;
    gap: 0.5rem;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    color: var(--text-secondary);
    text-decoration: none;
    border-radius: 10px;
    transition: all 0.3s ease;
    font-weight: 500;
    font-size: 0.95rem;
}

.nav-link:hover {
    color: var(--text-primary);
    background: rgba(99, 102, 241, 0.1);
}

.nav-link.active {
    color: var(--primary);
    background: rgba(99, 102, 241, 0.15);
}

.user-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.wallet-balance {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1.25rem;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(139, 92, 246, 0.1));
    border: 1px solid rgba(99, 102, 241, 0.3);
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.wallet-balance:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(99, 102, 241, 0.2);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 44px;
    height: 44px;
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.3);
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 1002;
    position: relative;
}

.mobile-menu-toggle:hover {
    background: rgba(99, 102, 241, 0.2);
}

.mobile-menu-toggle span {
    width: 22px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all 0.3s ease;
    position: absolute;
}

.mobile-menu-toggle span:nth-child(1) {
    transform: translateY(-6px);
}

.mobile-menu-toggle span:nth-child(3) {
    transform: translateY(6px);
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg);
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
    z-index: 999;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.mobile-menu-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

/* Mobile Menu Container */
.mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    right: -100%;
    width: 85%;
    max-width: 360px;
    height: 100vh;
    background: var(--surface);
    border-left: 1px solid var(--border);
    z-index: 1001;
    transition: right 0.3s ease;
    overflow-y: auto;
    box-shadow: -4px 0 24px rgba(0, 0, 0, 0.5);
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu-header {
    padding: 1.5rem;
    border-bottom: 1px solid var(--border);
    background: rgba(99, 102, 241, 0.05);
}

.mobile-user-info {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.mobile-user-avatar {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
}

.mobile-user-details {
    flex: 1;
}

.mobile-user-name {
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
}

.mobile-user-wallet {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.mobile-wallet-balance {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(139, 92, 246, 0.1));
    border: 1px solid rgba(99, 102, 241, 0.3);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.mobile-wallet-balance:active {
    transform: scale(0.98);
}

.mobile-wallet-balance i {
    color: var(--primary);
    font-size: 1.2rem;
}

.mobile-wallet-amount {
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--primary);
}

.mobile-menu-nav {
    padding: 1rem 0;
}

.mobile-nav-link {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.5rem;
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
}

.mobile-nav-link:active {
    background: rgba(99, 102, 241, 0.05);
}

.mobile-nav-link i {
    width: 24px;
    text-align: center;
    font-size: 1.2rem;
}

.mobile-nav-link.active {
    color: var(--primary);
    background: rgba(99, 102, 241, 0.1);
    border-left-color: var(--primary);
}

.mobile-menu-footer {
    padding: 1rem 1.5rem;
    border-top: 1px solid var(--border);
    margin-top: auto;
}

.mobile-logout-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    width: 100%;
    padding: 1rem;
    background: linear-gradient(135deg, var(--error), #DC2626);
    color: white;
    border: none;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.mobile-logout-btn:active {
    transform: scale(0.98);
}

/* Main Content */
.main-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem;
}

.section {
    display: none;
}

.section.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Dashboard */
.dashboard-header h1 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 2rem;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.dashboard-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.stat-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 1.75rem;
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px var(--shadow);
    border-color: var(--primary);
}

.stat-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    margin-bottom: 1rem;
}

.stat-value {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.25rem;
}

.stat-label {
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 500;
}

.dashboard-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.chart-container,
.recent-activity {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 1.75rem;
}

.chart-container h3,
.recent-activity h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.chart-container {
    min-height: 400px;
}

.activity-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.activity-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 12px;
    border-left: 3px solid var(--primary);
    transition: all 0.3s ease;
}

.activity-item:hover {
    background: rgba(255, 255, 255, 0.05);
}

.activity-icon {
    width: 44px;
    height: 44px;
    background: rgba(99, 102, 241, 0.15);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
}

.activity-content {
    flex: 1;
}

.activity-title {
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.activity-subtitle {
    color: var(--text-secondary);
    font-size: 0.875rem;
}

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

/* Staking Section */
.stake-header {
    text-align: center;
    margin-bottom: 3rem;
}

.stake-header h1 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stake-header p {
    color: var(--text-secondary);
    font-size: 1.1rem;
}

.staking-plans {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.plan-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 2rem;
    transition: all 0.3s ease;
    position: relative;
    cursor: pointer;
}

.plan-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 32px var(--shadow);
    border-color: var(--primary);
}

.plan-card.featured {
    border: 2px solid var(--primary);
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.05), rgba(139, 92, 246, 0.05));
}

.plan-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.plan-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

.plan-header h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.plan-apy {
    background: linear-gradient(135deg, var(--success), var(--primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 2rem;
    font-weight: 800;
}

.plan-apy-small {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-top: 0.25rem;
}

.plan-features {
    margin-bottom: 1.5rem;
}

.feature {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 0;
    color: var(--text-secondary);
}

.feature i {
    color: var(--success);
    font-size: 1.1rem;
}

.stake-btn {
    width: 100%;
    padding: 1rem;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    border: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.stake-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(99, 102, 241, 0.4);
}

/* Portfolio */
.portfolio-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.portfolio-header h1 {
    font-size: 2rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.portfolio-summary {
    display: flex;
    gap: 2rem;
}

.summary-item {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.summary-item span:first-child {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.summary-item span:last-child {
    color: var(--primary);
    font-weight: 700;
    font-size: 1.25rem;
}

.portfolio-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.portfolio-item {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 1.75rem;
    transition: all 0.3s ease;
}

.portfolio-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px var(--shadow);
}

.portfolio-item-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.portfolio-item-title {
    font-size: 1.25rem;
    font-weight: 600;
}

.portfolio-item-status {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(16, 185, 129, 0.15);
    color: var(--success);
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
}

.portfolio-item-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.portfolio-detail {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.portfolio-detail-label {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.portfolio-detail-value {
    font-weight: 600;
    font-size: 1.1rem;
}

.portfolio-progress {
    margin-bottom: 1.5rem;
}

.progress-label {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 4px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary), var(--success));
    border-radius: 4px;
    transition: width 0.3s ease;
}

.portfolio-actions {
    display: flex;
    gap: 1rem;
}

.action-btn {
    flex: 1;
    padding: 0.875rem;
    border: none;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.withdraw-btn {
    background: linear-gradient(135deg, var(--error), #DC2626);
    color: white;
}

.compound-btn {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
}

.action-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 16px var(--shadow);
}

.action-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

/* History */
.history-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.history-header h1 {
    font-size: 2rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.history-filters {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.75rem 1.25rem;
    background: var(--surface);
    color: var(--text-secondary);
    border: 1px solid var(--border);
    border-radius: 10px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.filter-btn:hover,
.filter-btn.active {
    background: rgba(99, 102, 241, 0.15);
    color: var(--primary);
    border-color: var(--primary);
}

.history-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.history-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 14px;
    transition: all 0.3s ease;
}

.history-item:hover {
    background: var(--surface-light);
    transform: translateX(4px);
}

.history-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: white;
}

.history-icon.stake {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
}

.history-icon.reward {
    background: linear-gradient(135deg, var(--success), #059669);
}

.history-icon.withdraw {
    background: linear-gradient(135deg, var(--error), #DC2626);
}

.history-icon.deposit {
    background: linear-gradient(135deg, var(--warning), #D97706);
}

.history-icon.payout {
    background: linear-gradient(135deg, var(--accent), #DB2777);
}

.history-content {
    flex: 1;
}

.history-title {
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.history-subtitle {
    color: var(--text-secondary);
    font-size: 0.875rem;
}

.history-amount {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.25rem;
}

.history-amount-value {
    font-weight: 700;
    font-size: 1.1rem;
}

.history-amount-value.positive {
    color: var(--success);
}

.history-amount-value.negative {
    color: var(--error);
}

.history-date {
    color: var(--text-secondary);
    font-size: 0.8rem;
}

/* Modals */
.modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    z-index: 2000;
    animation: fadeIn 0.3s ease;
    padding: 1rem;
}

.modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 20px;
    max-width: 540px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from { opacity: 0; transform: scale(0.9); }
    to { opacity: 1; transform: scale(1); }
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem;
    border-bottom: 1px solid var(--border);
}

.modal-header h2 {
    color: var(--primary);
    font-size: 1.5rem;
    font-weight: 700;
}

.close-btn {
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.close-btn:hover {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.05);
}

.modal-body {
    padding: 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
    font-weight: 600;
    font-size: 0.95rem;
}

.amount-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.amount-input-wrapper input {
    flex: 1;
}

.max-btn {
    padding: 1rem 1.5rem;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    border: none;
    border-radius: 12px;
    font-weight: 700;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.max-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.4);
}

.max-btn:active {
    transform: translateY(0);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem 1.25rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border);
    border-radius: 12px;
    color: white;
    font-size: 1rem;
    transition: all 0.3s ease;
    font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.15);
}

.form-group input[readonly] {
    background: rgba(255, 255, 255, 0.02);
    cursor: not-allowed;
    opacity: 0.7;
}

.input-helper {
    margin-top: 0.75rem;
    color: var(--text-secondary);
    font-size: 0.875rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
}

.validation-message {
    margin-top: 0.5rem;
    color: var(--error);
    font-size: 0.875rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Staking Form Styles */
.staking-form {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 2rem;
    margin-top: 2rem;
}

.staking-form h3 {
    color: var(--primary);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.plan-info {
    padding: 1rem 1.25rem;
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.3);
    border-radius: 12px;
    color: var(--primary);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.plan-info i {
    font-size: 1.25rem;
}

.rewards-preview {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 1.25rem;
}

.reward-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.reward-item:last-child {
    border-bottom: none;
}

.reward-item span:first-child {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.reward-item span:last-child {
    color: var(--success);
    font-weight: 700;
    font-size: 1.1rem;
}

.confirm-stake-btn {
    width: 100%;
    padding: 1.25rem;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    border: none;
    border-radius: 14px;
    font-weight: 700;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.confirm-stake-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 24px rgba(99, 102, 241, 0.4);
}

.confirm-stake-btn:active {
    transform: translateY(-1px);
}

/* Deposit & Withdraw Forms */
.deposit-form,
.withdraw-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.payment-methods {
    margin: 1.5rem 0;
}

.payment-methods h4 {
    color: var(--text-primary);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.payment-method {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem;
    background: rgba(255, 255, 255, 0.03);
    border: 2px solid var(--border);
    border-radius: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.payment-method:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--primary);
}

.payment-method.active {
    background: rgba(99, 102, 241, 0.1);
    border-color: var(--primary);
}

.method-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
}

.method-info {
    flex: 1;
}

.method-name {
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.method-network {
    color: var(--text-secondary);
    font-size: 0.875rem;
}

.proceed-payment-btn,
.confirm-withdraw-btn {
    width: 100%;
    padding: 1.25rem;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    border: none;
    border-radius: 14px;
    font-weight: 700;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
}

.proceed-payment-btn:hover,
.confirm-withdraw-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 24px rgba(99, 102, 241, 0.4);
}

.proceed-payment-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.withdraw-fee {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 1.25rem;
    margin-top: 1rem;
}

.fee-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    color: var(--text-secondary);
}

.fee-item:not(:last-child) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.fee-item.total {
    color: var(--text-primary);
    font-size: 1.1rem;
    padding-top: 1rem;
    margin-top: 0.5rem;
    border-top: 2px solid var(--border);
}

.fee-item.credit {
    color: var(--success);
    font-weight: 600;
}

.credit-amount {
    font-size: 1.2rem;
    font-weight: 700;
}

/* Payment Modal Specific */
.payment-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.payment-breakdown {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 1.25rem;
}

.breakdown-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    color: var(--text-secondary);
}

.breakdown-item:not(:last-child) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.breakdown-separator {
    height: 2px;
    background: var(--border);
    margin: 0.75rem 0;
}

.breakdown-item.total {
    color: var(--text-primary);
    font-size: 1.1rem;
    padding-top: 1rem;
}

.breakdown-item.credit {
    color: var(--success);
    padding-top: 0.75rem;
}

.payment-amount {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary);
    text-align: center;
    padding: 1rem;
    background: rgba(99, 102, 241, 0.1);
    border-radius: 12px;
}

.payment-address {
    padding: 1.25rem;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid var(--border);
    border-radius: 12px;
    color: var(--text-primary);
    font-family: 'Courier New', monospace;
    font-size: 0.95rem;
    word-break: break-all;
    text-align: center;
}

.copy-btn {
    width: 100%;
    padding: 1rem;
    background: rgba(99, 102, 241, 0.15);
    color: var(--primary);
    border: 1px solid var(--primary);
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
}

.copy-btn:hover {
    background: rgba(99, 102, 241, 0.25);
}

.qr-code {
    display: flex;
    justify-content: center;
    padding: 1.5rem;
    background: white;
    border-radius: 16px;
}

.qr-code img {
    border-radius: 8px;
}

.payment-timer {
    background: rgba(245, 158, 11, 0.1);
    border: 1px solid rgba(245, 158, 11, 0.3);
    border-radius: 12px;
    padding: 1.25rem;
}

.timer-text {
    color: var(--warning);
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    font-size: 1.1rem;
}

#paymentTimer {
    font-family: 'Courier New', monospace;
    font-size: 1.25rem;
    font-weight: 700;
}

.payment-warning {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    border-radius: 12px;
    padding: 1.25rem;
    color: var(--error);
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
}

.payment-warning i {
    font-size: 1.25rem;
    margin-top: 0.125rem;
}

/* Wallet Withdraw Modal - uses same styles as other modals */

.wallet-withdraw-actions .confirm-withdraw-btn {
    flex: 2;
}

/* User Menu */
.user-menu {
    position: relative;
}

.user-menu-btn {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.user-menu-btn:hover {
    background: var(--surface-light);
}

.user-avatar {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

.user-menu-dropdown {
    position: absolute;
    top: calc(100% + 0.5rem);
    right: 0;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 0.5rem;
    min-width: 220px;
    display: none;
    z-index: 1000;
    box-shadow: 0 12px 24px var(--shadow);
}

.user-menu-dropdown.show {
    display: block;
}

.user-menu-item {
    padding: 0.875rem 1rem;
    color: var(--text-secondary);
    cursor: pointer;
    border-radius: 8px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.user-menu-item:hover {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
}

.user-menu-item.danger {
    color: var(--error);
}

.user-menu-item.danger:hover {
    background: rgba(239, 68, 68, 0.1);
}

/* Responsive Design */
@media (max-width: 1200px) {
    .dashboard-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .staking-plans {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}

@media (max-width: 1024px) {
    .dashboard-content {
        grid-template-columns: 1fr;
    }
    
    .navbar {
        padding: 1rem 1.5rem;
    }
    
    .main-content {
        padding: 1.5rem;
    }
    
    .portfolio-item-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .navbar {
        padding: 1rem;
    }

    .nav-brand {
        font-size: 1.1rem;
    }

    .brand-logo {
        width: 28px;
        height: 28px;
    }

    /* Hide desktop navigation on mobile */
    .nav-links {
        display: none;
    }

    .user-info {
        display: none;
    }

    /* Show mobile menu toggle */
    .mobile-menu-toggle {
        display: flex;
    }

    .mobile-menu-overlay {
        display: block;
    }

    .mobile-menu {
        display: flex;
        flex-direction: column;
    }

    .main-content {
        padding: 1rem;
    }

    .dashboard-header h1,
    .stake-header h1,
    .portfolio-header h1,
    .history-header h1 {
        font-size: 1.75rem;
    }

    .dashboard-stats {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .stat-card {
        padding: 1.5rem;
        display: flex;
        align-items: center;
        gap: 1.25rem;
    }
    
    .stat-icon {
        margin-bottom: 0;
    }
    
    .stat-content {
        flex: 1;
    }

    .chart-container {
        min-height: 300px;
        padding: 1.25rem;
    }

    .staking-plans {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }
    
    .plan-card {
        padding: 1.75rem;
    }

    .portfolio-header,
    .history-header {
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
    }

    .portfolio-summary {
        justify-content: space-around;
        flex-wrap: wrap;
    }

    .portfolio-item-content {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .portfolio-actions {
        flex-direction: row;
        gap: 0.75rem;
    }

    .history-filters {
        display: flex;
        flex-wrap: wrap;
        gap: 0.5rem;
    }
    
    .filter-btn {
        flex: 1;
        min-width: calc(33.333% - 0.35rem);
        text-align: center;
    }

    .history-item {
        flex-wrap: wrap;
        padding: 1.25rem;
    }

    .history-amount {
        width: 100%;
        flex-direction: row;
        justify-content: space-between;
        margin-top: 0.75rem;
        padding-top: 0.75rem;
        border-top: 1px solid var(--border);
    }

    .modal-content {
        width: 95%;
        max-width: 500px;
        max-height: 85vh;
    }
    
    .wallet-summary .summary-grid {
        grid-template-columns: 1fr;
    }
    
    .payment-methods .payment-method {
        padding: 1rem;
    }
}

@media (max-width: 480px) {
    .nav-brand {
        font-size: 1rem;
    }

    .brand-logo {
        width: 26px;
        height: 26px;
    }

    .main-content {
        padding: 0.75rem;
    }

    .dashboard-header h1,
    .stake-header h1,
    .portfolio-header h1,
    .history-header h1 {
        font-size: 1.5rem;
        margin-bottom: 1.5rem;
    }

    .stat-card {
        padding: 1.25rem;
    }

    .stat-icon {
        width: 48px;
        height: 48px;
        font-size: 1.25rem;
    }

    .stat-value {
        font-size: 1.5rem;
    }
    
    .stat-label {
        font-size: 0.85rem;
    }
    
    .plan-card {
        padding: 1.5rem;
    }
    
    .plan-header h3 {
        font-size: 1.35rem;
    }
    
    .plan-apy {
        font-size: 1.75rem;
    }

    .portfolio-summary {
        flex-direction: column;
        gap: 1rem;
    }
    
    .summary-item {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .portfolio-actions {
        flex-direction: column;
    }
    
    .action-btn {
        width: 100%;
    }

    .history-filters {
        gap: 0.5rem;
    }
    
    .filter-btn {
        padding: 0.65rem 0.875rem;
        font-size: 0.85rem;
        min-width: calc(50% - 0.25rem);
    }
    
    .history-item {
        padding: 1rem;
    }
    
    .history-icon {
        width: 42px;
        height: 42px;
        font-size: 1.1rem;
    }

    .modal-content {
        width: 100%;
        max-height: 95vh;
        border-radius: 20px 20px 0 0;
        position: fixed;
        bottom: 0;
    }

    .modal-header,
    .modal-body {
        padding: 1.25rem;
    }
    
    .modal-header h2 {
        font-size: 1.35rem;
    }
    
    .form-group {
        margin-bottom: 1.25rem;
    }
    
    .wallet-balance-display {
        padding: 1.5rem;
    }
    
    .balance-amount {
        font-size: 2rem;
    }
    
    .wallet-actions {
        gap: 0.75rem;
    }
    
    .wallet-action-btn {
        padding: 1rem;
        font-size: 0.9rem;
    }
    
    .payment-breakdown,
    .rewards-preview,
    .withdraw-fee {
        padding: 1rem;
    }
}

@media (max-width: 360px) {
    .dashboard-header h1,
    .stake-header h1,
    .portfolio-header h1,
    .history-header h1 {
        font-size: 1.35rem;
    }
    
    .stat-card {
        padding: 1rem;
        gap: 1rem;
    }
    
    .stat-icon {
        width: 44px;
        height: 44px;
        font-size: 1.1rem;
    }
    
    .stat-value {
        font-size: 1.35rem;
    }
    
    .filter-btn {
        min-width: 100%;
    }
    
    .modal-header,
    .modal-body {
        padding: 1rem;
    }
}

/* Success & Error Modals */
.success-modal,
.error-modal {
    max-width: 420px;
    padding: 2.5rem;
    text-align: center;
}

#successModal,
#errorModal {
    z-index: 3000;
}

.success-icon,
.error-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, var(--success), #059669);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: white;
}

.error-icon {
    background: linear-gradient(135deg, var(--error), #DC2626);
}

.success-modal h2,
.error-modal h2 {
    color: var(--text-primary);
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.success-modal p,
.error-modal p {
    color: var(--text-secondary);
    font-size: 1.05rem;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.success-btn,
.error-btn {
    width: 100%;
    padding: 1.25rem;
    border: none;
    border-radius: 14px;
    font-weight: 700;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.success-btn {
    background: linear-gradient(135deg, var(--success), #059669);
    color: white;
}

.error-btn {
    background: linear-gradient(135deg, var(--error), #DC2626);
    color: white;
}

.success-btn:hover,
.error-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 24px var(--shadow);
}

/* Wallet Modal Styles */
.wallet-balance-display {
    padding: 2rem;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(139, 92, 246, 0.1));
    border: 1px solid rgba(99, 102, 241, 0.3);
    border-radius: 16px;
    margin-bottom: 1.5rem;
    text-align: center;
}

.balance-amount {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.balance-label {
    color: var(--text-secondary);
    font-size: 0.95rem;
    font-weight: 500;
}

.wallet-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.wallet-action-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    padding: 1.25rem;
    border: none;
    border-radius: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    color: white;
    font-size: 0.95rem;
}

.deposit-action {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
}

.withdraw-action {
    background: linear-gradient(135deg, var(--error), #DC2626);
}

.wallet-action-btn:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 16px var(--shadow);
}

.wallet-action-btn i {
    font-size: 1.5rem;
}

.wallet-summary {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 1.5rem;
}

.wallet-summary h3 {
    color: var(--text-primary);
    margin-bottom: 1.25rem;
    font-size: 1.1rem;
    font-weight: 600;
    text-align: center;
}

.summary-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.summary-item {
    text-align: center;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.summary-label {
    color: var(--text-secondary);
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
}

.summary-value {
    color: var(--text-primary);
    font-weight: 600;
    font-size: 1rem;
}

/* Additional Utility Classes */
.earnings-highlight {
    color: var(--success) !important;
}

.apy-highlight {
    color: var(--primary) !important;
}

.live-indicator {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    color: var(--success);
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--surface);
}

::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}

/* Selection */
::selection {
    background: rgba(99, 102, 241, 0.3);
    color: white;
}

/* Focus States */
button:focus,
input:focus {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

/* Welcome Bonus Modal */
.welcome-bonus-modal .modal-content {
    max-width: 550px;
}

.welcome-bonus-content {
    text-align: center;
}

.welcome-bonus-header {
    margin-bottom: 2rem;
}

.bonus-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, #FFD700, #FFA500);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: #0f0f23;
    animation: bonusPulse 2s infinite;
}

@keyframes bonusPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.welcome-bonus-header h2 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, #FFD700, #FFA500);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.welcome-bonus-header p {
    color: var(--text-secondary);
    font-size: 1.1rem;
}

.bonus-amount {
    background: rgba(255, 215, 0, 0.1);
    border: 2px solid rgba(255, 215, 0, 0.3);
    border-radius: 16px;
    padding: 2rem;
    margin-bottom: 2rem;
}

.bonus-label {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.bonus-value {
    font-size: 3rem;
    font-weight: 700;
    background: linear-gradient(135deg, #FFD700, #FFA500);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.25rem;
}

.bonus-sublabel {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.bonus-details {
    text-align: left;
    margin-bottom: 1.5rem;
}

.bonus-detail-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    margin-bottom: 0.75rem;
}

.bonus-detail-item i {
    color: #00ff88;
    font-size: 1.25rem;
}

.bonus-detail-item.unlock-requirement i {
    color: #FFD700;
}

.bonus-info {
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.3);
    border-radius: 12px;
    padding: 1rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    text-align: left;
}

.bonus-info i {
    color: var(--primary);
    font-size: 1.25rem;
    margin-top: 0.125rem;
}

.bonus-info p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
    margin: 0;
}

.bonus-claim-btn {
    width: 100%;
    padding: 1.25rem;
    background: linear-gradient(135deg, #FFD700, #FFA500);
    color: #0f0f23;
    border: none;
    border-radius: 14px;
    font-weight: 700;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
}

.bonus-claim-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 24px rgba(255, 215, 0, 0.4);
}

.bonus-lock-notice {
    background: rgba(255, 215, 0, 0.1);
    border: 1px solid rgba(255, 215, 0, 0.3);
    border-radius: 12px;
    padding: 1.25rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.bonus-lock-notice i {
    color: #FFD700;
    font-size: 1.5rem;
    margin-top: 0.125rem;
}

.bonus-lock-notice strong {
    color: #FFD700;
}

.locked-btn {
    opacity: 0.6;
    cursor: not-allowed;
}

.locked-btn:hover {
    transform: none;
    box-shadow: none;
}