:root {
    --bg-primary: #F9FAFB;
    --bg-card: #FFFFFF;
    --text-primary: #0F172A;
    --text-secondary: #64748B;
    --accent: #0F172A;
    --accent-hover: #1E293B;
    --border-light: #F1F5F9;
    --border-focus: rgba(15, 23, 42, 0.1);
    --positive: #10B981;
    --hero-bg: #0B0D11;
    --header-bg: #0B0D11;
}

body {
    background-color: var(--bg-primary);
    color: var(--text-primary);
    font-family: 'Manrope', sans-serif;
    margin: 0;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
}

.font-mono {
    font-family: 'JetBrains Mono', monospace;
}

/* Glass Button Background */
.glass-btn {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.glass-btn:hover {
    background: rgba(255, 255, 255, 0.15);
}

/* Dark Header Style */
.header-main {
    background-color: var(--header-bg);
    color: #ffffff;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

/* Hero Section with Pattern */
.hero-pattern {
    position: relative;
    background-color: var(--hero-bg);
    background-image: url('assets/design/banner.png');
    background-size: cover;
    background-position: center;
    color: #ffffff;
    overflow: hidden;
    height: 380px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.hero-text {
    font-size: 5rem;
    font-weight: 900;
    letter-spacing: -0.05em;
    line-height: 0.85;
    text-transform: uppercase;
    text-align: right;
    position: absolute;
    bottom: 40px;
    right: 48px;
    pointer-events: none;
}

.token-header-info {
    background: white;
    padding: 40px 0;
    border-bottom: 1px solid var(--border-light);
}

/* Card Styles */
.dashboard-card {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: 12px;
    box-shadow: 0px 1px 2px 0px rgba(0, 0, 0, 0.05);
    /* Updated box-shadow */
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    /* Added transition */
}

/* Table Styles */
.strategy-table th {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid var(--border-light);
}

.strategy-table td {
    padding: 1.5rem;
    border-bottom: 1px solid var(--border-light);
}

.strategy-table tr:last-child td {
    border-bottom: none;
}

/* Widget Styles */
.widget-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--text-primary);
}

.input-container {
    background: #F8FAFC;
    border: 1px solid #E2E8F0;
    border-radius: 12px;
    padding: 1.25rem;
    transition: all 0.2s ease;
}

.input-container:focus-within {
    border-color: #CBD5E1;
    background: #ffffff;
    box-shadow: 0 0 0 4px rgba(241, 245, 249, 1);
}

.currency-badge {
    background: #ffffff;
    border: 1px solid var(--border-light);
    border-radius: 9999px;
    padding: 0.25rem 0.75rem;
    font-size: 0.875rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.btn-action {
    background: var(--accent);
    color: #ffffff;
    font-weight: 700;
    padding: 1.25rem;
    border-radius: 8px;
    width: 100%;
    transition: all 0.2s ease;
    text-align: center;
}

.btn-action:hover:not(:disabled) {
    background: var(--accent-hover);
    transform: translateY(-1px);
}

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

/* Footer Style */
.footer-link {
    color: var(--text-secondary);
    font-size: 0.875rem;
    transition: color 0.2s ease;
}

.footer-link:hover {
    color: var(--text-primary);
}

/* Utility */
.token-logo-bg {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

.pos-change {
    color: var(--positive);
    font-weight: 600;
}

/* Hide AppKit/Reown floating widget */
body>div[style*="position: fixed"][style*="bottom"],
body>div[style*="z-index: 89"],
appkit-button {
    display: none !important;
}

/* Custom Scrollbar for modern look */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: #e5e7eb;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: #d1d5db;
}