/* ===== CSS Variables ===== */
:root {
    --primary-purple: #00D4FF;
    --primary-pink: #0088FF;
    --primary-cyan: #00BFFF;
    --dark-bg: #000000;
    --darker-bg: #000000;
    --card-bg: rgba(10, 10, 20, 0.8);
    --glass-bg: rgba(0, 180, 255, 0.08);
    --border-color: rgba(0, 180, 255, 0.3);
    --text-primary: #FFFFFF;
    --text-secondary: #B8E0FF;
    --text-muted: #6BB6FF;
    --success: #00FF88;
    --warning: #FFB800;
    --danger: #FF4757;
    --gradient-1: linear-gradient(135deg, #00D4FF 0%, #0066CC 100%);
    --gradient-2: linear-gradient(135deg, #00BFFF 0%, #00D4FF 50%, #0088FF 100%);
    --gradient-3: linear-gradient(180deg, rgba(0, 180, 255, 0.1) 0%, rgba(0, 100, 200, 0.05) 100%);
    --bg-shift-x: 0px;
    --bg-shift-y: 0px;
    --star-parallax-x: 0px;
    --star-parallax-y: 0px;
    --star-parallax-x2: 0px;
    --star-parallax-y2: 0px;
}

/* ===== Reset & Base Styles ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Make all text lighter by default */
p, span, div, li, a {
    font-weight: 300;
}

/* Headings - lighter weights */
h1, h2, h3, h4, h5, h6 {
    font-weight: 400;
    letter-spacing: 0.02em;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-weight: 300;
    background:
        radial-gradient(circle at 22% 24%, rgba(46, 36, 92, 0.22), transparent 58%),
        radial-gradient(circle at 74% 68%, rgba(26, 40, 86, 0.16), transparent 62%),
        radial-gradient(circle at 48% 90%, rgba(18, 26, 60, 0.14), transparent 64%),
        linear-gradient(196deg, #000105 0%, #01000c 50%, #000000 100%);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    letter-spacing: 0.01em;
}

body::before {
    content: '';
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    background:
        radial-gradient(circle at 28% 18%, rgba(78, 58, 148, 0.24), transparent 58%),
        radial-gradient(circle at 76% 30%, rgba(32, 72, 140, 0.20), transparent 62%),
        radial-gradient(circle at 48% 86%, rgba(52, 32, 112, 0.18), transparent 65%);
    opacity: 0.42;
    filter: blur(0.9px);
}

body::after {
    content: '';
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    background-image:
        radial-gradient(circle at 4% 6%, rgba(255, 255, 255, 0.82) 1px, transparent 2px),
        radial-gradient(circle at 12% 78%, rgba(190, 220, 255, 0.75) 1px, transparent 2px),
        radial-gradient(circle at 18% 36%, rgba(255, 255, 255, 0.8) 0.9px, transparent 2px),
        radial-gradient(circle at 26% 12%, rgba(160, 205, 255, 0.6) 1px, transparent 2.2px),
        radial-gradient(circle at 32% 68%, rgba(255, 255, 255, 0.75) 0.8px, transparent 2px),
        radial-gradient(circle at 39% 44%, rgba(255, 255, 255, 0.9) 1px, transparent 2px),
        radial-gradient(circle at 46% 82%, rgba(168, 208, 255, 0.68) 1px, transparent 2.4px),
        radial-gradient(circle at 52% 20%, rgba(255, 255, 255, 0.85) 1.1px, transparent 2.3px),
        radial-gradient(circle at 57% 58%, rgba(200, 230, 255, 0.72) 1px, transparent 2.2px),
        radial-gradient(circle at 63% 90%, rgba(255, 255, 255, 0.78) 0.9px, transparent 2.1px),
        radial-gradient(circle at 70% 32%, rgba(255, 255, 255, 0.88) 1px, transparent 2.2px),
        radial-gradient(circle at 74% 12%, rgba(178, 210, 255, 0.65) 1px, transparent 2.3px),
        radial-gradient(circle at 82% 74%, rgba(255, 255, 255, 0.82) 0.9px, transparent 2.3px),
        radial-gradient(circle at 88% 40%, rgba(255, 255, 255, 0.9) 1px, transparent 2.1px),
        radial-gradient(circle at 94% 15%, rgba(205, 232, 255, 0.74) 1.1px, transparent 2.4px),
        radial-gradient(circle at 8% 52%, rgba(255, 255, 255, 0.86) 0.9px, transparent 2.1px),
        radial-gradient(circle at 15% 25%, rgba(255, 255, 255, 0.92) 1px, transparent 2.4px),
        radial-gradient(circle at 21% 88%, rgba(180, 210, 255, 0.66) 0.9px, transparent 2.1px),
        radial-gradient(circle at 28% 48%, rgba(255, 255, 255, 0.78) 1.2px, transparent 2.5px),
        radial-gradient(circle at 36% 70%, rgba(255, 255, 255, 0.9) 0.9px, transparent 2px),
        radial-gradient(circle at 42% 28%, rgba(205, 232, 255, 0.7) 1px, transparent 2.2px),
        radial-gradient(circle at 54% 8%, rgba(255, 255, 255, 0.86) 0.8px, transparent 2px),
        radial-gradient(circle at 61% 46%, rgba(255, 255, 255, 0.88) 1.1px, transparent 2.4px),
        radial-gradient(circle at 67% 62%, rgba(174, 206, 255, 0.62) 1px, transparent 2.3px),
        radial-gradient(circle at 72% 94%, rgba(255, 255, 255, 0.84) 0.9px, transparent 2.1px),
        radial-gradient(circle at 80% 52%, rgba(255, 255, 255, 0.92) 1.1px, transparent 2.5px),
        radial-gradient(circle at 86% 82%, rgba(192, 222, 255, 0.7) 1px, transparent 2.2px),
        radial-gradient(circle at 92% 60%, rgba(255, 255, 255, 0.87) 1px, transparent 2.3px),
        radial-gradient(circle at 96% 30%, rgba(255, 255, 255, 0.75) 0.9px, transparent 2.1px),
        radial-gradient(circle at 4% 90%, rgba(190, 220, 255, 0.7) 1px, transparent 2.3px);
    transform: translate3d(calc(var(--star-parallax-x) * 0.2), calc(var(--star-parallax-y) * 0.2), 0);
    animation: skyTwinkle 25s linear infinite;
    opacity: 0.28;
    mix-blend-mode: screen;
}

@keyframes wavyGlow {
    0%, 100% {
        background-position: 0% 0%, 0% 0%, 0% 0%, 100% 0%, 100% 0%, 100% 0%, 50% 50%, 50% 50%;
        opacity: 0.7;
    }
    50% {
        background-position: 20% 20%, 10% 10%, 15% 15%, 80% 20%, 90% 10%, 85% 15%, 50% 50%, 50% 50%;
        opacity: 0.6;
    }
}

@keyframes wavyLinesHorizontal {
    0% {
        background-position: 0% 0%, 0% 0%, 0% 0%, 100% 0%, 100% 0%, 100% 0%;
    }
    100% {
        background-position: 0% 100%, 0% 100%, 0% 100%, 100% 100%, 100% 100%, 100% 100%;
    }
}

@keyframes subtleWavyFlow {
    0% {
        background-position: -20% -10%;
    }
    50% {
        background-position: 20% 10%;
    }
    100% {
        background-position: -20% -10%;
    }
}

/* Global Stars Background Container - DISABLED */
#global-stars-background {
    display: none;
    pointer-events: none;
}

/* Star Animation Styles - DISABLED */
.star {
    display: none;
}

/* Shooting Star Animation - DISABLED */
.shooting-star-global {
    display: none;
}

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

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

::-webkit-scrollbar-thumb {
    background: var(--gradient-1);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #0052CC 0%, #00B8E6 100%);
}

/* Ensure content appears above stars */
.container,
.header,
.main-content,
.footer,
.modal,
.sidebar {
    position: relative;
    z-index: 1;
}

/* ===== Container ===== */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

/* ===== Header ===== */
.header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--card-bg);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    padding: 20px 0;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.header-left,
.header-right {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 14px;
}

.header-left {
    justify-content: flex-start;
    flex: 1;
    min-width: 0;
}

.header-right {
    justify-content: flex-end;
    gap: 12px;
    flex-shrink: 0;
}

.header-center {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    min-width: 0;
    flex-shrink: 0;
}

.notifications-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    border-radius: 999px;
    border: 1px solid rgba(0, 212, 255, 0.25);
    background: rgba(0, 0, 0, 0.35);
    color: #FFFFFF;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.03em;
    cursor: pointer;
    transition: all 0.25s ease;
    backdrop-filter: blur(14px);
}

.notifications-btn i {
    font-size: 18px;
}

.notifications-btn:hover,
.notifications-btn:focus {
    border-color: rgba(0, 212, 255, 0.7);
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.45);
    transform: translateY(-1px);
    outline: none;
}

.notifications-badge {
    position: absolute;
    top: -6px;
    right: -4px;
    min-width: 24px;
    height: 24px;
    border-radius: 999px;
    background: linear-gradient(135deg, #ff5f9e, #ff3366);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    display: none;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 12px rgba(255, 81, 118, 0.6);
}

.notifications-btn.nav-alerts {
    padding: 10px 18px;
    font-size: 14px;
    gap: 8px;
}

.notifications-btn.nav-alerts .notifications-badge {
    right: -6px;
}

.notifications-panel {
    position: fixed;
    top: 96px;
    right: 32px;
    width: 340px;
    max-width: calc(100vw - 32px);
    max-height: 80vh;
    display: none;
    flex-direction: column;
    background: rgba(5, 10, 25, 0.92);
    border: 1px solid rgba(0, 212, 255, 0.2);
    border-radius: 18px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(20px);
    z-index: 1200;
    overflow: hidden;
}

.notifications-panel.open {
    display: flex;
}

.notifications-panel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 18px 22px;
    border-bottom: 1px solid rgba(0, 212, 255, 0.16);
}

.notifications-panel-header h3 {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

#notifications-clear {
    padding: 6px 12px;
    border-radius: 999px;
    border: 1px solid rgba(0, 212, 255, 0.3);
    background: rgba(0, 0, 0, 0.35);
    color: rgba(200, 224, 255, 0.85);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.05em;
    cursor: pointer;
    transition: all 0.2s ease;
}

#notifications-clear:hover {
    border-color: rgba(0, 212, 255, 0.6);
    color: #ffffff;
    background: rgba(0, 212, 255, 0.2);
}

.notifications-list {
    flex: 1;
    overflow-y: auto;
    padding: 10px 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.notifications-empty {
    padding: 28px;
    text-align: center;
    font-size: 13px;
    color: rgba(200, 224, 255, 0.65);
    display: flex;
    align-items: center;
    justify-content: center;
}

.notification-item {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 14px 20px;
    background: transparent;
    border: none;
    text-align: left;
    color: var(--text-primary);
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

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

.notification-item.unseen {
    background: rgba(0, 212, 255, 0.12);
}

.notification-item:hover {
    background: rgba(0, 212, 255, 0.18);
    transform: translateX(2px);
}

.notification-item-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.notification-item-title {
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.notification-item-time {
    font-size: 12px;
    color: var(--text-secondary);
}

.notification-item-body {
    font-size: 13px;
    color: rgba(200, 224, 255, 0.85);
}

.notification-item-meta {
    font-size: 11px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(200, 224, 255, 0.55);
}

.notifications-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(5, 10, 25, 0.2);
    backdrop-filter: blur(2px);
    z-index: 1100;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
}

.notifications-backdrop.visible {
    opacity: 1;
    pointer-events: auto;
}

.notification-highlight {
    box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.45), 0 0 24px rgba(0, 212, 255, 0.6);
    animation: notificationPulse 1.2s ease-in-out 3;
}

@keyframes notificationPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(0, 212, 255, 0.6);
    }
    50% {
        box-shadow: 0 0 0 6px rgba(0, 212, 255, 0.1);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(0, 212, 255, 0.4);
    }
}

.logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}
.logo:hover {
    transform: scale(1.05);
}

.header-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 14px;
}

.nav-link {
    font-size: 14px;
    font-weight: 500;
    color: rgba(200, 224, 255, 0.8);
    text-decoration: none;
    padding: 10px 18px;
    border-radius: 999px;
    border: 1px solid rgba(0, 212, 255, 0.15);
    background: rgba(0, 0, 0, 0.25);
    transition: all 0.2s ease;
    letter-spacing: 0.02em;
}

.nav-link:hover {
    color: #FFFFFF;
    border-color: rgba(0, 212, 255, 0.5);
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(0, 212, 255, 0.12);
}

.nav-link-icon {
    padding: 6px 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.nav-link-icon-img {
    width: 18px;
    height: 18px;
    object-fit: contain;
}

.nav-link-icon i {
    font-size: 20px;
    color: var(--text-primary);
    transition: color 0.3s ease;
}

.nav-link-icon:hover i {
    color: #00D4FF;
}

.nav-link-primary {
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.22), rgba(0, 110, 255, 0.22));
    border-color: rgba(0, 212, 255, 0.4);
    color: #dff8ff;
}

.nav-link-primary:hover {
    color: #ffffff;
    border-color: rgba(0, 212, 255, 0.7);
    box-shadow: 0 10px 24px rgba(0, 212, 255, 0.18);
}

.logo:active {
    transform: scale(0.98);
}

.logo-image {
    height: 45px;
    width: auto;
    object-fit: contain;
    animation: float 3s ease-in-out infinite;
    filter: drop-shadow(0 0 10px rgba(0, 212, 255, 0.3));
    position: relative;
    z-index: 1;
}

.logo-icon {
    font-size: 32px;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.logo-text {
    font-size: 24px;
    font-weight: 300;
    background: linear-gradient(
        135deg,
        #FF00FF 0%,
        #FF00CC 30%,
        #00D4FF 70%,
        #00BFFF 100%
    );
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 0.05em;
}

/* Status Indicators */
.status-indicator {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(0, 150, 255, 0.2);
    border-radius: 20px;
    backdrop-filter: blur(10px);
    flex-shrink: 0;
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    position: relative;
}

.status-dot.status-active {
    background: #00ff88;
    box-shadow: 0 0 10px rgba(0, 255, 136, 0.6);
    animation: statusPulse 2s ease-in-out infinite;
}

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

.status-label {
    font-size: 11px;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ===== User Account & Authentication ===== */
.btn-connect-wallet {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 20px;
    border-radius: 12px;
    border: 1.5px solid rgba(0, 212, 255, 0.4);
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.15) 0%, rgba(0, 136, 255, 0.1) 100%);
    color: var(--text-primary);
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.02em;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 12px rgba(0, 212, 255, 0.15);
    position: relative;
    overflow: hidden;
    max-width: 200px;
    min-width: 140px;
}

.btn-connect-wallet::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.2) 0%, rgba(0, 136, 255, 0.15) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.btn-connect-wallet:hover::before {
    opacity: 1;
}

.btn-connect-wallet:hover {
    border-color: rgba(0, 212, 255, 0.7);
    box-shadow: 0 6px 20px rgba(0, 212, 255, 0.35);
    transform: translateY(-2px);
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.25) 0%, rgba(0, 136, 255, 0.2) 100%);
}

.btn-connect-wallet:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(0, 212, 255, 0.25);
}

.btn-connect-wallet i {
    font-size: 18px;
    transition: transform 0.3s ease;
}

.btn-connect-wallet:hover i {
    transform: scale(1.1);
}

.btn-connect-wallet.connected {
    border-color: rgba(0, 255, 136, 0.5);
    background: linear-gradient(135deg, rgba(0, 255, 136, 0.15) 0%, rgba(0, 212, 255, 0.1) 100%);
    box-shadow: 0 4px 12px rgba(0, 255, 136, 0.2);
}

.btn-connect-wallet.connected:hover {
    border-color: rgba(0, 255, 136, 0.7);
    box-shadow: 0 6px 20px rgba(0, 255, 136, 0.35);
}

.btn-connect-wallet span {
    position: relative;
    z-index: 1;
    max-width: 120px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    display: inline-block;
}

.btn-login {
    background: rgba(10, 15, 30, 0.9);
    border: 2px solid rgba(0, 212, 255, 0.5) !important;
    color: #00D4FF;
    padding: 10px 20px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    -webkit-tap-highlight-color: rgba(0, 212, 255, 0.3);
    touch-action: manipulation;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    pointer-events: auto !important;
    position: relative;
    z-index: 10000 !important;
    text-decoration: none;
    -webkit-touch-callout: none;
    min-width: 140px;
    min-height: 44px;
    -webkit-appearance: none;
    appearance: none;
    outline: none;
}

.btn-login:hover {
    background: rgba(0, 212, 255, 0.1);
    border-color: rgba(0, 212, 255, 0.8);
    color: #FFFFFF;
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.4);
}

.user-account {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 16px;
    background: rgba(10, 15, 30, 0.8);
    border: 1px solid rgba(0, 212, 255, 0.3);
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1000;
    flex-shrink: 0;
}

.user-account:hover {
    border-color: rgba(0, 212, 255, 0.6);
    background: rgba(0, 212, 255, 0.1);
}

.user-avatar {
    width: 40px;
    height: 40px;
    min-width: 40px;
    min-height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, #00D4FF, #0066CC);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex-shrink: 0;
}

.user-avatar img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    border-radius: 50%;
    aspect-ratio: 1 / 1;
}

.user-avatar span {
    color: white;
    font-weight: 700;
    font-size: 16px;
}

.user-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
    flex-shrink: 1;
}

.user-name {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.user-wallet {
    font-size: 11px;
    color: var(--text-secondary);
    font-family: monospace;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.user-balance {
    font-size: 13px;
    font-weight: 700;
    color: #00FF88;
    padding: 4px 12px;
    background: rgba(0, 255, 136, 0.1);
    border-radius: 20px;
    border: 1px solid rgba(0, 255, 136, 0.3);
}

.user-balance-wrapper {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 2px;
}

.user-cu {
    font-size: 12px;
    color: var(--text-secondary);
}

.user-menu-btn {
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 12px;
    cursor: pointer;
    padding: 4px;
    transition: transform 0.3s ease;
}

.user-account:hover .user-menu-btn {
    transform: rotate(180deg);
}

.user-menu {
    position: fixed;
    background: rgba(10, 20, 35, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(0, 212, 255, 0.3);
    border-radius: 12px;
    padding: 8px;
    min-width: 200px;
    z-index: 10000;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
}

.user-menu-item {
    padding: 12px 16px;
    cursor: pointer;
    border-radius: 8px;
    transition: all 0.2s ease;
    color: var(--text-primary);
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.user-menu-item i {
    font-size: 18px;
    width: 20px;
    text-align: center;
    color: #00D4FF;
}

.user-menu-item:hover {
    background: rgba(0, 212, 255, 0.1);
    color: #00D4FF;
}

.user-menu-item:hover i {
    color: #00FF88;
}

.user-menu-divider {
    height: 1px;
    background: rgba(0, 212, 255, 0.2);
    margin: 4px 0;
}
.wallet-avatar {
    width: 72px;
    height: 72px;
    min-width: 72px;
    min-height: 72px;
    border-radius: 50%;
    background: linear-gradient(135deg, #00D4FF 0%, #0066CC 50%, #00BFFF 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border: 3px solid rgba(0, 212, 255, 0.3);
    box-shadow: 0 4px 20px rgba(0, 212, 255, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.2);
    position: relative;
}

.wallet-avatar::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 50%;
    padding: 2px;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.5), rgba(0, 100, 200, 0.3));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.wallet-avatar:hover::before {
    opacity: 1;
}

.wallet-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.wallet-avatar span {
    color: white;
    font-weight: 700;
    font-size: 28px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.wallet-info-card {
    background: linear-gradient(135deg, rgba(10, 15, 30, 0.95) 0%, rgba(5, 10, 25, 0.95) 100%);
    border: 1px solid rgba(0, 212, 255, 0.2);
    border-radius: 24px;
    padding: 32px;
    backdrop-filter: blur(20px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.wallet-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 32px;
    padding: 24px;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.08) 0%, rgba(0, 100, 200, 0.05) 100%);
    border: 1px solid rgba(0, 212, 255, 0.15);
    border-radius: 16px;
    backdrop-filter: blur(10px);
}

.wallet-user-info h3 {
    font-size: 22px;
    margin-bottom: 6px;
    color: var(--text-primary);
    font-weight: 600;
    letter-spacing: -0.02em;
}

.wallet-email {
    font-size: 14px;
    color: var(--text-secondary);
    opacity: 0.8;
}

.wallet-balance-section {
    background: rgba(0, 212, 255, 0.1);
    border: 1px solid rgba(0, 212, 255, 0.3);
    border-radius: 12px;
    padding: 24px;
    text-align: center;
}

.wallet-balance-label {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 12px;
}

.wallet-balance-value {
    font-size: 36px;
    font-weight: 800;
    color: #00FF88;
    margin-bottom: 16px;
}

.btn-refresh-balance {
    background: rgba(10, 15, 30, 0.9);
    border: 1px solid rgba(0, 212, 255, 0.5);
    color: #00D4FF;
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-refresh-balance:hover {
    background: rgba(0, 212, 255, 0.1);
    border-color: rgba(0, 212, 255, 0.8);
}

.wallet-address-section {
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(0, 212, 255, 0.2);
    border-radius: 12px;
    padding: 20px;
}

.wallet-address-label {
    font-size: 12px;
    color: var(--text-secondary);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.wallet-address-value {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: monospace;
    font-size: 14px;
    word-break: break-all;
}

.wallet-address-value code {
    color: var(--text-primary);
    background: rgba(0, 0, 0, 0.3);
    padding: 8px 12px;
    border-radius: 6px;
    flex: 1;
}

.btn-copy-address {
    background: rgba(0, 212, 255, 0.1);
    border: 1px solid rgba(0, 212, 255, 0.3);
    color: #00D4FF;
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.btn-copy-address:hover {
    background: rgba(0, 212, 255, 0.2);
    border-color: rgba(0, 212, 255, 0.6);
}

.wallet-deposit-section,
.wallet-usage-info {
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.7) 0%, rgba(10, 18, 35, 0.7) 100%);
    border: 1px solid rgba(0, 212, 255, 0.2);
    border-radius: 20px;
    padding: 28px;
    backdrop-filter: blur(10px);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.wallet-deposit-section h4,
.wallet-usage-info h4 {
    font-size: 18px;
    margin-bottom: 12px;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 8px;
}

.wallet-usage-info h4 i {
    font-size: 20px;
    color: #00D4FF;
}

.wallet-deposit-info {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 16px;
}

.wallet-deposit-info-box {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(0, 212, 255, 0.2);
    border-radius: 8px;
    padding: 16px;
}

.wallet-deposit-info-box p {
    margin: 8px 0;
    font-size: 13px;
    color: var(--text-secondary);
}

.wallet-usage-info ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.wallet-usage-info li {
    padding: 8px 0;
    font-size: 14px;
    color: var(--text-secondary);
    padding-left: 24px;
    position: relative;
}
.wallet-usage-info li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: #00D4FF;
}

.wallet-subscription-section {
    background: rgba(9, 18, 36, 0.85);
    border: 1px solid rgba(0, 212, 255, 0.25);
    border-radius: 16px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 24px;
    transition: box-shadow 0.6s ease;
}

.wallet-subscription-section.highlight-subscription {
    box-shadow: 0 0 40px rgba(0, 212, 255, 0.35);
}
.subscription-summary-card {
    background: rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(0, 212, 255, 0.2);
    border-radius: 12px;
    padding: 20px;
}
.subscription-summary-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.subscription-summary-header h4 {
    margin: 0;
    font-size: 18px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-primary);
}

.subscription-summary-header i {
    font-size: 22px;
    color: #00D4FF;
}

.subscription-status {
    padding: 6px 12px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border: 1px solid rgba(0, 212, 255, 0.4);
}

.subscription-status.active {
    background: rgba(0, 212, 255, 0.15);
    color: #72f6ff;
    border-color: rgba(0, 212, 255, 0.6);
}

.subscription-status.inactive {
    background: rgba(255, 99, 71, 0.1);
    color: #ff8474;
    border-color: rgba(255, 99, 71, 0.4);
}

.subscription-summary-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 16px;
}

.summary-item {
    display: flex;
    flex-direction: column;
    gap: 6px;
    background: rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(0, 212, 255, 0.12);
    border-radius: 10px;
    padding: 14px;
}

.summary-label {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(200, 224, 255, 0.65);
    font-weight: 600;
}

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

.subscription-summary-note {
    margin-top: 16px;
    font-size: 13px;
    color: rgba(200, 224, 255, 0.7);
    background: rgba(0, 212, 255, 0.08);
    border: 1px solid rgba(0, 212, 255, 0.18);
    border-radius: 10px;
    padding: 14px;
}

.subscription-plan-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
}

.subscription-plan-card {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(0, 212, 255, 0.18);
    border-radius: 12px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    transition: border 0.3s ease, transform 0.3s ease;
}

.subscription-plan-card:hover {
    border-color: rgba(0, 212, 255, 0.45);
    transform: translateY(-4px);
}

.subscription-plan-card.current-plan {
    border-color: rgba(0, 212, 255, 0.7);
    box-shadow: 0 12px 32px rgba(0, 212, 255, 0.15);
}

.subscription-plan-card h5 {
    margin: 0;
    font-size: 18px;
    color: var(--text-primary);
}

.plan-heading {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.plan-price {
    font-size: 20px;
    font-weight: 700;
    color: #72f6ff;
}

.plan-price span {
    font-size: 12px;
    font-weight: 500;
    color: rgba(200, 224, 255, 0.65);
}

.plan-cu {
    font-size: 14px;
    font-weight: 600;
    color: rgba(200, 224, 255, 0.85);
}

.plan-description {
    font-size: 13px;
    color: rgba(200, 224, 255, 0.65);
    min-height: 36px;
}

.btn-subscribe-plan,
.btn-generate-api-key,
.btn-revoke-api-key {
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.25), rgba(0, 212, 255, 0.1));
    border: 1px solid rgba(0, 212, 255, 0.4);
    color: #b0f3ff;
    padding: 10px 18px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s ease;
}

.btn-subscribe-plan:hover,
.btn-generate-api-key:hover,
.btn-revoke-api-key:hover {
    border-color: rgba(0, 212, 255, 0.7);
    color: #ffffff;
    transform: translateY(-2px);
}

.btn-subscribe-plan.current {
    background: rgba(0, 212, 255, 0.15);
    border-color: rgba(0, 212, 255, 0.6);
    color: #73f5ff;
    cursor: default;
    transform: none;
}

.btn-subscribe-plan.loading,
.btn-generate-api-key.loading,
.btn-revoke-api-key.loading {
    opacity: 0.7;
    cursor: wait;
    pointer-events: none;
}

.button-spinner {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-top-color: #00D4FF;
    display: inline-block;
    animation: spin 0.8s linear infinite;
    margin-right: 6px;
}

.subscription-api-keys {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(0, 212, 255, 0.18);
    border-radius: 12px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.subscription-api-keys-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}

.subscription-api-keys-header h4 {
    margin: 0;
    font-size: 18px;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 10px;
}

.subscription-api-keys-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.subscription-api-keys-list.empty {
    padding: 12px;
    border-radius: 10px;
    background: rgba(0, 0, 0, 0.25);
    border: 1px dashed rgba(0, 212, 255, 0.25);
}

.subscription-api-key {
    display: grid;
    grid-template-columns: 1.2fr 1.5fr auto;
    align-items: center;
    gap: 12px;
    background: rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(0, 212, 255, 0.12);
    border-radius: 10px;
    padding: 12px 16px;
}

.subscription-api-key.revoked {
    opacity: 0.6;
}

.api-key-prefix code {
    background: rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(0, 212, 255, 0.2);
    border-radius: 8px;
    padding: 6px 10px;
    color: var(--text-primary);
    font-size: 13px;
}

.api-key-meta {
    font-size: 12px;
    color: rgba(200, 224, 255, 0.65);
}

.api-key-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    justify-content: flex-end;
}

.api-key-status {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 999px;
}

.api-key-status.active {
    background: rgba(0, 212, 255, 0.12);
    color: #72f6ff;
}

.api-key-status.revoked {
    background: rgba(255, 99, 71, 0.15);
    color: #ff998b;
}

.subscription-api-note {
    font-size: 12px;
    color: rgba(200, 224, 255, 0.55);
}

.subscription-activity {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(0, 212, 255, 0.18);
    border-radius: 12px;
    padding: 20px;
}

.subscription-activity h4 {
    margin: 0 0 14px;
    font-size: 18px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-primary);
}

.subscription-activity h4 i {
    font-size: 20px;
    color: #00D4FF;
}

.subscription-activity-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.subscription-activity-item {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(0, 0, 0, 0.22);
    border: 1px solid rgba(0, 212, 255, 0.12);
    border-radius: 10px;
    padding: 12px 14px;
}

.subscription-activity-item .activity-icon {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 212, 255, 0.18);
    color: #72f6ff;
    font-size: 18px;
}

.subscription-activity-item.purchase .activity-icon {
    background: rgba(0, 212, 255, 0.18);
    color: #79faff;
}

.subscription-activity-item.usage .activity-icon {
    background: rgba(139, 92, 246, 0.18);
    color: #c7a4ff;
}

.activity-content {
    flex: 1;
}

.activity-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
}

.activity-meta {
    font-size: 12px;
    color: rgba(200, 224, 255, 0.6);
    margin-top: 4px;
}

.subscription-empty-state {
    font-size: 13px;
    color: rgba(200, 224, 255, 0.6);
    margin: 4px 0;
}

.subscription-plan-card button i,
.btn-generate-api-key i,
.btn-revoke-api-key i {
    font-size: 16px;
}

.whitepaper-main {
    padding-top: 80px;
}

.whitepaper-hero {
    padding: 80px 0 40px;
    background: rgba(0, 10, 20, 0.4);
    border-bottom: 1px solid rgba(0, 212, 255, 0.2);
}

.whitepaper-hero-content {
    max-width: 820px;
}

.whitepaper-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    border-radius: 999px;
    border: 1px solid rgba(0, 212, 255, 0.25);
    background: rgba(0, 0, 0, 0.35);
    font-size: 13px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(200, 224, 255, 0.75);
}

.whitepaper-title {
    font-size: 40px;
    line-height: 1.2;
    margin: 16px 0 18px;
    color: var(--text-primary);
}

.whitepaper-subtitle {
    font-size: 18px;
    color: rgba(200, 224, 255, 0.7);
}

.whitepaper-content {
    padding: 40px 0 90px;
}

.whitepaper-grid {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 40px;
}

.whitepaper-toc {
    position: sticky;
    top: 140px;
    align-self: flex-start;
    background: rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(0, 212, 255, 0.18);
    border-radius: 16px;
    padding: 24px;
}

.whitepaper-toc h3 {
    margin-bottom: 16px;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(200, 224, 255, 0.8);
}

.whitepaper-toc ol {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.whitepaper-toc a {
    color: rgba(200, 224, 255, 0.8);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s ease;
}

.whitepaper-toc a:hover {
    color: #ffffff;
}
.whitepaper-article {
    background: rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(0, 212, 255, 0.18);
    border-radius: 20px;
    padding: 40px;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.whitepaper-section h2 {
    font-size: 28px;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.whitepaper-section h3 {
    font-size: 18px;
    margin: 18px 0 8px;
    color: rgba(200, 224, 255, 0.85);
}

.whitepaper-section p,
.whitepaper-section ul {
    font-size: 16px;
    color: rgba(200, 224, 255, 0.75);
    line-height: 1.75;
}

.whitepaper-section ul {
    padding-left: 18px;
}

.whitepaper-section ul li {
    margin-bottom: 10px;
}

.whitepaper-table {
    width: 100%;
    border-collapse: collapse;
    margin: 18px 0;
    background: rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(0, 212, 255, 0.15);
    border-radius: 12px;
    overflow: hidden;
}

.whitepaper-table th,
.whitepaper-table td {
    padding: 14px 18px;
    text-align: left;
    font-size: 14px;
}

.whitepaper-table th {
    background: rgba(0, 212, 255, 0.12);
    color: #aef1ff;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.whitepaper-table tr:nth-child(even) {
    background: rgba(0, 0, 0, 0.2);
}

.whitepaper-footer {
    padding: 40px 0;
    text-align: center;
    color: rgba(200, 224, 255, 0.6);
    font-size: 14px;
    border-top: 1px solid rgba(0, 212, 255, 0.15);
    background: rgba(0, 0, 0, 0.3);
}

.docs-main {
    padding-top: 80px;
}

.docs-hero {
    background: rgba(0, 8, 18, 0.45);
}

.docs-steps {
    margin: 18px 0;
    padding-left: 22px;
    color: rgba(200, 224, 255, 0.75);
    line-height: 1.7;
}

.docs-steps li {
    margin-bottom: 10px;
}
.docs-note {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-top: 18px;
    padding: 14px 18px;
    border-radius: 12px;
    background: rgba(0, 212, 255, 0.08);
    border: 1px solid rgba(0, 212, 255, 0.25);
    color: rgba(200, 224, 255, 0.78);
}

.docs-note i {
    font-size: 20px;
    color: #00d4ff;
    margin-top: 2px;
}
.docs-code {
    margin: 18px 0;
    padding: 18px 20px;
    border-radius: 14px;
    background: rgba(0, 0, 0, 0.45);
    border: 1px solid rgba(0, 212, 255, 0.2);
    color: #d1f1ff;
    font-family: 'Fira Code', 'Consolas', monospace;
    font-size: 14px;
    line-height: 1.6;
    overflow-x: auto;
    white-space: pre-wrap;
}
.docs-code code {
    font-family: inherit;
}
.docs-article ul {
    padding-left: 20px;
}

.docs-article ul li {
    margin-bottom: 10px;
}
@media (max-width: 992px) {
    .whitepaper-grid {
        grid-template-columns: 1fr;
    }
    
    .whitepaper-toc {
        position: relative;
        top: auto;
        margin-bottom: 24px;
    }
}

@media (max-width: 768px) {
    .whitepaper-hero {
        padding: 70px 0 30px;
    }
    
    .whitepaper-title {
        font-size: 30px;
    }
    
    .whitepaper-article {
        padding: 24px;
    }
    
    .whitepaper-section h2 {
        font-size: 24px;
    }
    
    .docs-card {
        padding: 28px;
    }
    
    .docs-title {
        font-size: 28px;
    }
    
    .docs-hero {
        padding: 70px 0 30px;
    }

    .notifications-panel {
        top: 88px;
        right: 16px;
        width: min(92vw, 340px);
    }
}

@media (max-width: 768px) {
    .wallet-subscription-section {
        padding: 18px;
    }
    
    .subscription-summary-grid {
        grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    }
    
    .subscription-plan-grid {
        grid-template-columns: 1fr;
    }
    
    .subscription-api-keys-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .subscription-api-key {
        grid-template-columns: 1fr;
        gap: 8px;
    }
}

.wallet-loading,
.wallet-error {
    text-align: center;
    padding: 40px 20px;
}

.wallet-error {
    color: var(--danger);
}

/* Multi-chain wallet styles */
.wallet-chains-section {
    background: linear-gradient(135deg, rgba(10, 20, 35, 0.6) 0%, rgba(5, 15, 30, 0.6) 100%);
    border: 1px solid rgba(0, 212, 255, 0.2);
    border-radius: 20px;
    padding: 28px;
    backdrop-filter: blur(10px);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.wallet-chains-section h4 {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.wallet-chains-section h4::before {
    content: '';
    width: 4px;
    height: 20px;
    background: linear-gradient(180deg, #00D4FF, #0066CC);
    border-radius: 2px;
}

.wallet-chains-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.wallet-chain-card {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.4) 0%, rgba(10, 15, 30, 0.4) 100%);
    border: 1px solid rgba(0, 212, 255, 0.2);
    border-radius: 16px;
    padding: 24px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.wallet-chain-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(0, 212, 255, 0.5), transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.wallet-chain-card:hover {
    border-color: rgba(0, 212, 255, 0.5);
    transform: translateY(-4px);
    box-shadow: 0 8px 32px rgba(0, 212, 255, 0.2), 0 4px 16px rgba(0, 0, 0, 0.3);
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.5) 0%, rgba(10, 15, 30, 0.5) 100%);
}

.wallet-chain-card:hover::before {
    opacity: 1;
}

.wallet-chain-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(0, 212, 255, 0.1);
}

.wallet-chain-icon {
    width: 56px;
    height: 56px;
    min-width: 56px;
    min-height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.15) 0%, rgba(0, 100, 200, 0.1) 100%);
    border: 1px solid rgba(0, 212, 255, 0.25);
    padding: 10px;
    box-shadow: 0 4px 12px rgba(0, 212, 255, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.wallet-chain-card:hover .wallet-chain-icon {
    transform: scale(1.05) rotate(2deg);
    box-shadow: 0 6px 20px rgba(0, 212, 255, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.wallet-chain-icon-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.wallet-chain-name {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-primary);
    letter-spacing: -0.01em;
}

.wallet-chain-balance {
    margin-bottom: 20px;
    padding: 16px;
    background: linear-gradient(135deg, rgba(0, 255, 136, 0.08) 0%, rgba(0, 200, 100, 0.05) 100%);
    border: 1px solid rgba(0, 255, 136, 0.2);
    border-radius: 12px;
}

.wallet-chain-balance-label {
    font-size: 11px;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
    font-weight: 600;
    opacity: 0.8;
}

.wallet-chain-balance-value {
    font-size: 28px;
    font-weight: 800;
    color: #00FF88;
    text-shadow: 0 2px 8px rgba(0, 255, 136, 0.3);
    letter-spacing: -0.02em;
}

.wallet-chain-address {
    margin-bottom: 16px;
    padding: 12px;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(0, 212, 255, 0.1);
    border-radius: 10px;
}

.wallet-chain-address-label {
    font-size: 11px;
    color: var(--text-secondary);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
    opacity: 0.7;
}

.wallet-chain-address-value {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'SF Mono', 'Monaco', 'Cascadia Code', 'Roboto Mono', monospace;
    font-size: 12px;
}

.wallet-chain-address-value code {
    color: var(--text-primary);
    background: rgba(0, 0, 0, 0.4);
    padding: 8px 12px;
    border-radius: 8px;
    flex: 1;
    word-break: break-all;
    border: 1px solid rgba(0, 212, 255, 0.1);
    font-weight: 500;
}
.btn-copy-address-small {
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.15) 0%, rgba(0, 100, 200, 0.1) 100%);
    border: 1px solid rgba(0, 212, 255, 0.3);
    color: #00D4FF;
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    font-weight: 500;
}

.btn-copy-address-small i {
    font-size: 16px;
    transition: transform 0.3s ease;
}

.btn-copy-address-small:hover {
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.25) 0%, rgba(0, 100, 200, 0.2) 100%);
    border-color: rgba(0, 212, 255, 0.6);
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 212, 255, 0.3);
}

.btn-copy-address-small:hover i {
    transform: scale(1.1);
}

.btn-refresh-chain {
    width: 100%;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.1) 0%, rgba(0, 100, 200, 0.1) 100%);
    border: 1px solid rgba(0, 212, 255, 0.3);
    color: #00D4FF;
    padding: 12px 20px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    position: relative;
    overflow: hidden;
}

.btn-refresh-chain::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(0, 212, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.btn-refresh-chain:hover::before {
    width: 300px;
    height: 300px;
}

.btn-refresh-chain i {
    font-size: 18px;
    position: relative;
    z-index: 1;
    transition: transform 0.3s ease;
}

.btn-refresh-chain:hover {
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.2) 0%, rgba(0, 100, 200, 0.2) 100%);
    border-color: rgba(0, 212, 255, 0.6);
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 212, 255, 0.3);
}

.btn-refresh-chain:hover i {
    transform: rotate(180deg);
}

.btn-refresh-chain span {
    position: relative;
    z-index: 1;
}

.wallet-chain-main {
    border-color: rgba(0, 255, 136, 0.5) !important;
    background: linear-gradient(135deg, rgba(0, 255, 136, 0.1) 0%, rgba(0, 200, 100, 0.05) 100%) !important;
    box-shadow: 0 4px 20px rgba(0, 255, 136, 0.15), inset 0 1px 0 rgba(0, 255, 136, 0.2) !important;
}

.wallet-chain-main::before {
    background: linear-gradient(90deg, transparent, rgba(0, 255, 136, 0.5), transparent) !important;
}

.main-wallet-badge {
    color: #00FF88;
    font-size: 12px;
    font-weight: 600;
    margin-left: 4px;
}

.btn-set-main-wallet {
    width: 100%;
    background: linear-gradient(135deg, rgba(0, 255, 136, 0.15) 0%, rgba(0, 200, 100, 0.1) 100%);
    border: 1px solid rgba(0, 255, 136, 0.4);
    color: #00FF88;
    padding: 12px 20px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 12px;
    position: relative;
    overflow: hidden;
}

.btn-set-main-wallet::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(0, 255, 136, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.btn-set-main-wallet:hover::before {
    width: 300px;
    height: 300px;
}

.btn-set-main-wallet i {
    font-size: 18px;
    position: relative;
    z-index: 1;
}

.btn-set-main-wallet:hover {
    background: linear-gradient(135deg, rgba(0, 255, 136, 0.25) 0%, rgba(0, 200, 100, 0.2) 100%);
    border-color: rgba(0, 255, 136, 0.7);
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 255, 136, 0.3);
}

.btn-set-main-wallet span {
    position: relative;
    z-index: 1;
}

.main-wallet-indicator {
    width: 100%;
    background: rgba(0, 255, 136, 0.15);
    border: 1px solid rgba(0, 255, 136, 0.4);
    color: #00FF88;
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-bottom: 8px;
}

.main-wallet-indicator i {
    font-size: 16px;
}

/* ===== Watchlist Dashboard Styles ===== */
.watchlist-dashboard-content {
    max-width: 900px;
    max-height: 90vh;
    overflow-y: auto;
}

.watchlist-dashboard-body {
    padding: 24px;
}

.watchlist-dashboard {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.watchlist-add-section {
    background: rgba(10, 20, 35, 0.8);
    border: 1px solid rgba(0, 212, 255, 0.3);
    border-radius: 12px;
    padding: 20px;
}

.watchlist-add-section h3 {
    font-size: 18px;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.watchlist-add-form {
    display: grid;
    grid-template-columns: 1fr 1fr auto;
    gap: 12px;
    align-items: end;
}

.watchlist-input {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(0, 212, 255, 0.3);
    border-radius: 8px;
    padding: 12px;
    color: var(--text-primary);
    font-size: 14px;
    transition: all 0.3s ease;
}

.watchlist-input:focus {
    outline: none;
    border-color: rgba(0, 212, 255, 0.6);
    box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.1);
}

.watchlist-tokens {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.watchlist-tokens h3 {
    font-size: 18px;
    color: var(--text-primary);
}

.watchlist-tokens-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 16px;
}
.watchlist-token-card {
    background: rgba(10, 20, 35, 0.8);
    border: 1px solid rgba(0, 212, 255, 0.3);
    border-radius: 12px;
    padding: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.watchlist-token-card:hover {
    border-color: rgba(0, 212, 255, 0.6);
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(0, 212, 255, 0.2);
}

.watchlist-token-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.watchlist-token-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.watchlist-token-logo {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
}

.watchlist-token-name {
    font-size: 15px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 2px;
}

.watchlist-token-symbol {
    font-size: 11px;
    color: var(--text-secondary);
    text-transform: uppercase;
}

.watchlist-remove-btn {
    background: rgba(255, 71, 87, 0.1);
    border: 1px solid rgba(255, 71, 87, 0.3);
    color: #FF4757;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.watchlist-remove-btn:hover {
    background: rgba(255, 71, 87, 0.2);
    border-color: rgba(255, 71, 87, 0.6);
    transform: scale(1.1);
}

.watchlist-token-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    flex-wrap: wrap;
}

.watchlist-token-chain {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(0, 212, 255, 0.12);
    border: 1px solid rgba(0, 212, 255, 0.3);
    color: var(--text-primary);
}

.watchlist-token-chain i {
    font-size: 16px;
    color: #00D4FF;
}

.watchlist-token-contract {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 6px 10px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    max-width: 100%;
}

.watchlist-contract-label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-secondary);
}

.watchlist-contract-address {
    font-family: 'Courier New', monospace;
    font-size: 12px;
    color: var(--text-primary);
    font-weight: 600;
}

.watchlist-copy-btn {
    background: rgba(0, 212, 255, 0.12);
    border: 1px solid rgba(0, 212, 255, 0.3);
    color: #00D4FF;
    border-radius: 8px;
    padding: 6px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.watchlist-copy-btn i {
    font-size: 16px;
}

.watchlist-copy-btn:hover {
    background: rgba(0, 212, 255, 0.25);
    border-color: rgba(0, 212, 255, 0.5);
    transform: translateY(-1px);
}

.watchlist-token-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
}

.watchlist-stat {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 8px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 6px;
}

.watchlist-stat-label {
    font-size: 10px;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.watchlist-stat-value {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-primary);
}

.watchlist-empty,
.watchlist-loading,
.watchlist-error {
    text-align: center;
    padding: 40px 20px;
    color: var(--text-secondary);
}

.watchlist-error {
    color: var(--danger);
}

/* ===== Quest Dashboard Styles ===== */
.quest-dashboard-content {
    max-width: 900px;
    max-height: 90vh;
    overflow-y: auto;
}

.quest-dashboard-body {
    padding: 24px;
}

.quest-dashboard-content {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.quest-loading,
.quest-error {
    text-align: center;
    padding: 40px 20px;
    color: var(--text-secondary);
}

.quest-error {
    color: var(--danger);
}

.quest-credits-banner {
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.15), rgba(0, 255, 136, 0.15));
    border: 1px solid rgba(0, 212, 255, 0.4);
    border-radius: 12px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 16px;
}

.quest-credits-icon {
    font-size: 48px;
    color: #00FF88;
}

.quest-credits-info {
    flex: 1;
}

.quest-credits-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.quest-credits-count {
    font-size: 24px;
    font-weight: 800;
    color: #00FF88;
    margin-bottom: 4px;
}

.quest-credits-description {
    font-size: 14px;
    color: var(--text-secondary);
}

.quest-progress-section {
    background: rgba(10, 20, 35, 0.8);
    border: 1px solid rgba(0, 212, 255, 0.3);
    border-radius: 12px;
    padding: 20px;
}

.quest-progress-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.quest-progress-header h3 {
    font-size: 18px;
    color: var(--text-primary);
    margin: 0;
}

.quest-progress-stats {
    font-size: 14px;
    color: var(--text-secondary);
}

.quest-completed {
    font-weight: 600;
    color: #00FF88;
}

.quest-progress-bar-container {
    width: 100%;
    height: 12px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 6px;
    overflow: hidden;
}

.quest-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #00FF88, #00D4FF);
    border-radius: 6px;
    transition: width 0.5s ease;
}

.quest-reward-banner {
    background: rgba(0, 255, 136, 0.1);
    border: 1px solid rgba(0, 255, 136, 0.3);
    border-radius: 12px;
    padding: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.quest-reward-banner i {
    font-size: 32px;
    color: #00FF88;
}

.quest-reward-banner strong {
    color: var(--text-primary);
    font-size: 16px;
}

.quest-reward-banner p {
    color: var(--text-secondary);
    font-size: 14px;
    margin: 4px 0 0 0;
}

.quest-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.quest-item {
    background: rgba(10, 20, 35, 0.8);
    border: 1px solid rgba(0, 212, 255, 0.3);
    border-radius: 12px;
    padding: 20px;
    display: flex;
    gap: 16px;
    transition: all 0.3s ease;
}

.quest-item:hover {
    border-color: rgba(0, 212, 255, 0.6);
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(0, 212, 255, 0.2);
}

.quest-item.quest-completed {
    border-color: rgba(0, 255, 136, 0.4);
    background: rgba(0, 255, 136, 0.05);
}

.quest-icon {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
}

.quest-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.quest-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.quest-points-badge {
    background: linear-gradient(135deg, #00FF88, #00D4FF);
    color: #000;
    font-size: 12px;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 0 10px rgba(0, 255, 136, 0.3);
}

.quest-description {
    font-size: 14px;
    color: var(--text-secondary);
}
.quest-completed-badge {
    font-size: 12px;
    color: #00FF88;
    font-weight: 600;
    margin-top: 4px;
}

.quest-actions {
    display: flex;
    gap: 12px;
    margin-top: 8px;
    flex-wrap: wrap;
}
.quest-action-btn {
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1px solid;
    text-decoration: none;
}

.quest-action-btn.primary {
    background: rgba(0, 212, 255, 0.1);
    border-color: rgba(0, 212, 255, 0.5);
    color: #00D4FF;
}
.quest-action-btn.primary:hover {
    background: rgba(0, 212, 255, 0.2);
    border-color: rgba(0, 212, 255, 0.8);
    transform: translateY(-2px);
}
.quest-action-btn.secondary {
    background: rgba(0, 255, 136, 0.1);
    border-color: rgba(0, 255, 136, 0.5);
    color: #00FF88;
}
.quest-action-btn.secondary:hover {
    background: rgba(0, 255, 136, 0.2);
    border-color: rgba(0, 255, 136, 0.8);
    transform: translateY(-2px);
}
.quest-verify-form {
    margin-top: 12px;
}

.quest-form-group {
    margin-bottom: 12px;
}

.quest-form-group label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 6px;
}

.quest-input {
    width: 100%;
    background: rgba(10, 20, 35, 0.6);
    border: 1px solid rgba(0, 212, 255, 0.3);
    border-radius: 8px;
    padding: 10px 14px;
    font-size: 14px;
    color: var(--text-primary);
    font-family: 'Inter', sans-serif;
    transition: all 0.3s ease;
}

.quest-input:focus {
    outline: none;
    border-color: rgba(0, 212, 255, 0.6);
    background: rgba(10, 20, 35, 0.8);
    box-shadow: 0 0 10px rgba(0, 212, 255, 0.2);
}

.quest-input::placeholder {
    color: var(--text-secondary);
    opacity: 0.6;
}

.quest-reward-info {
    background: rgba(10, 20, 35, 0.8);
    border: 1px solid rgba(0, 212, 255, 0.3);
    border-radius: 12px;
    padding: 20px;
    display: flex;
    gap: 16px;
    align-items: center;
}

.quest-reward-icon {
    font-size: 48px;
    color: #FFB800;
}
.quest-reward-text {
    flex: 1;
}

.quest-reward-text strong {
    display: block;
    font-size: 16px;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.quest-reward-text p {
    font-size: 14px;
    color: var(--text-secondary);
    margin: 0;
}

.free-credits-badge {
    background: #00FF88;
    color: #000;
    font-size: 11px;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 10px;
    margin-left: 8px;
}

.free-credits-info {
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.15), rgba(0, 255, 136, 0.15));
    border: 1px solid rgba(0, 255, 136, 0.4);
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 16px;
}

.free-credits-banner {
    display: flex;
    align-items: center;
    gap: 12px;
}

.free-credits-banner i {
    font-size: 32px;
    color: #00FF88;
}

.free-credits-banner strong {
    color: var(--text-primary);
    font-size: 16px;
}

.free-credits-banner p {
    color: var(--text-secondary);
    font-size: 13px;
    margin: 4px 0 0 0;
}

/* ===== AI Analysis Dashboard Styles ===== */
.ai-analysis-dashboard-content {
    max-width: 900px;
    max-height: 90vh;
    overflow-y: auto;
}

.ai-analysis-dashboard-body {
    padding: 24px;
}

/* AI Token Calls Modal */
.ai-token-calls-content {
    max-width: 1000px;
    max-height: 90vh;
    overflow-y: auto;
}

.ai-token-calls-body {
    padding: 24px;
}

/* AI Token Calls Header with Refresh Button */
.ai-token-calls-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border-color);
}

.ai-token-calls-header h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
}

.btn-refresh-ai-calls {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: rgba(0, 212, 255, 0.1);
    border: 1px solid rgba(0, 212, 255, 0.3);
    border-radius: 8px;
    color: #00D4FF;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-refresh-ai-calls:hover {
    background: rgba(0, 212, 255, 0.2);
    border-color: rgba(0, 212, 255, 0.5);
    transform: translateY(-2px);
}

.btn-refresh-ai-calls:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}
.btn-refresh-ai-calls i {
    font-size: 16px;
}

.ai-token-calls-dashboard {
    display: flex;
    flex-direction: column;
    gap: 24px;
}
.ai-calls-status-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background: rgba(10, 20, 35, 0.8);
    border: 1px solid rgba(0, 212, 255, 0.3);
    border-radius: 12px;
}

.ai-calls-status-title {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 20px;
    font-weight: 400;
    color: var(--text-primary);
}

.ai-calls-status-title i {
    font-size: 24px;
    color: #00D4FF;
}

.ai-calls-status-details {
    display: flex;
    gap: 16px;
    align-items: center;
    margin-top: 8px;
    font-size: 14px;
    color: var(--text-secondary);
}

.scanning-badge {
    padding: 4px 12px;
    background: rgba(0, 212, 255, 0.2);
    border: 1px solid rgba(0, 212, 255, 0.4);
    border-radius: 12px;
    color: #00D4FF;
    font-size: 12px;
    font-weight: 500;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.6; }
}

.ai-call-current {
    background: rgba(10, 20, 35, 0.8);
    border: 1px solid rgba(0, 212, 255, 0.3);
    border-radius: 12px;
    padding: 24px;
}

.ai-call-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(0, 212, 255, 0.2);
}

.ai-call-header h3 {
    font-size: 20px;
    font-weight: 400;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 8px;
}

.ai-call-header h3 i {
    color: #FFB800;
}

.ai-call-time {
    font-size: 14px;
    color: var(--text-secondary);
}

.ai-call-card {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.ai-call-logo {
    width: 80px;
    height: 80px;
    border-radius: 12px;
    object-fit: cover;
    border: 1px solid rgba(0, 212, 255, 0.3);
}

.ai-call-info {
    flex: 1;
}

.ai-call-name {
    margin-bottom: 12px;
}

.ai-call-name h4 {
    font-size: 24px;
    font-weight: 400;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.ai-call-symbol {
    font-size: 16px;
    color: var(--text-secondary);
    font-weight: 300;
}

.ai-call-address {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
    padding: 8px 12px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 8px;
}

.ai-call-address code {
    font-family: monospace;
    font-size: 13px;
    color: var(--text-primary);
    flex: 1;
    word-break: break-all;
}

.btn-copy-small {
    background: rgba(0, 212, 255, 0.1);
    border: 1px solid rgba(0, 212, 255, 0.3);
    color: #00D4FF;
    padding: 6px 10px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 12px;
    transition: all 0.3s ease;
}

.btn-copy-small:hover {
    background: rgba(0, 212, 255, 0.2);
    border-color: rgba(0, 212, 255, 0.5);
}

.ai-call-metrics {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 16px;
    margin-bottom: 20px;
}

.ai-call-metric {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 12px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 8px;
    border: 1px solid rgba(0, 212, 255, 0.2);
}

.metric-label {
    font-size: 12px;
    color: var(--text-secondary);
    font-weight: 300;
}

.metric-value {
    font-size: 18px;
    font-weight: 500;
    color: var(--text-primary);
}

.ai-call-reason {
    padding: 16px;
    background: rgba(0, 212, 255, 0.1);
    border: 1px solid rgba(0, 212, 255, 0.3);
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 14px;
    color: var(--text-primary);
    line-height: 1.6;
}

.ai-call-reason strong {
    color: #00D4FF;
    font-weight: 500;
}

.ai-call-actions {
    display: flex;
    gap: 12px;
}

.ai-call-empty {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-secondary);
}

.ai-call-empty i {
    font-size: 48px;
    color: var(--text-muted);
    margin-bottom: 16px;
    display: block;
}

.ai-call-empty h3 {
    font-size: 20px;
    font-weight: 400;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.ai-call-history {
    background: rgba(10, 20, 35, 0.8);
    border: 1px solid rgba(0, 212, 255, 0.3);
    border-radius: 12px;
    padding: 24px;
}

.ai-call-history-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(0, 212, 255, 0.2);
}

.ai-call-history-header h3 {
    font-size: 20px;
    font-weight: 400;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 8px;
}

.history-count {
    font-size: 14px;
    color: var(--text-secondary);
    font-weight: 300;
}

.ai-call-history-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.ai-call-history-item {
    padding: 16px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(0, 212, 255, 0.2);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.ai-call-history-item:hover {
    border-color: rgba(0, 212, 255, 0.4);
    background: rgba(0, 212, 255, 0.05);
}

.history-item-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.history-item-name {
    display: flex;
    align-items: center;
    gap: 8px;
}

.history-item-name strong {
    font-size: 16px;
    font-weight: 400;
    color: var(--text-primary);
}

.history-item-symbol {
    font-size: 14px;
    color: var(--text-secondary);
    font-weight: 300;
}

.history-item-time {
    font-size: 12px;
    color: var(--text-muted);
}

.history-item-metrics {
    display: flex;
    gap: 16px;
    margin-bottom: 12px;
    font-size: 13px;
    color: var(--text-secondary);
}

.history-item-actions {
    display: flex;
    gap: 8px;
}

.btn-small {
    padding: 6px 12px;
    font-size: 12px;
    background: rgba(0, 212, 255, 0.1);
    border: 1px solid rgba(0, 212, 255, 0.3);
    color: #00D4FF;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 300;
}

.btn-small:hover {
    background: rgba(0, 212, 255, 0.2);
    border-color: rgba(0, 212, 255, 0.5);
}

.error-state {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-secondary);
}

.error-state i {
    font-size: 48px;
    color: var(--danger);
    margin-bottom: 16px;
    display: block;
}

.error-state h3 {
    font-size: 20px;
    font-weight: 400;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.analysis-stats-overview {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 24px;
}

.stat-card {
    background: rgba(10, 20, 35, 0.8);
    border: 1px solid rgba(0, 212, 255, 0.3);
    border-radius: 12px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 16px;
    transition: all 0.3s ease;
}
.stat-card:hover {
    border-color: rgba(0, 212, 255, 0.6);
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(0, 212, 255, 0.2);
}

.stat-icon {
    font-size: 36px;
    flex-shrink: 0;
}

.stat-info {
    flex: 1;
}

.stat-value {
    font-size: 28px;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.stat-label {
    font-size: 13px;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}

.analyses-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.analysis-card {
    background: rgba(10, 20, 35, 0.8);
    border: 1px solid rgba(0, 212, 255, 0.3);
    border-radius: 16px;
    padding: 24px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.analysis-card:hover {
    border-color: rgba(0, 212, 255, 0.6);
    transform: translateY(-4px);
    box-shadow: 0 8px 32px rgba(0, 212, 255, 0.3);
    background: rgba(10, 20, 35, 0.95);
}

.analysis-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 16px;
    gap: 16px;
}

.analysis-card-token {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
}

.analysis-card-logo {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(0, 212, 255, 0.3);
}

.analysis-card-logo-fallback {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.2), rgba(0, 102, 255, 0.2));
    border: 2px solid rgba(0, 212, 255, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 700;
    color: #00D4FF;
}

.analysis-card-token-info {
    flex: 1;
}

.analysis-card-name {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.analysis-card-symbol {
    font-size: 14px;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.analysis-card-badges {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.analysis-badge {
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.analysis-badge.preview-badge {
    background: rgba(0, 212, 255, 0.15);
    border: 1px solid rgba(0, 212, 255, 0.3);
    color: #00D4FF;
}

.analysis-badge.paid-badge {
    background: rgba(0, 255, 136, 0.15);
    border: 1px solid rgba(0, 255, 136, 0.3);
    color: #00FF88;
}

.analysis-badge.chain-badge {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-secondary);
}

.analysis-card-body {
    margin-bottom: 16px;
}

.analysis-card-summary {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 16px;
    display: -webkit-box;
    line-clamp: 3;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.analysis-card-metrics {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.metric-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 12px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 8px;
}

.metric-label {
    font-size: 11px;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}

.metric-value {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-primary);
}

.metric-value.risk-low {
    color: #00FF88;
}

.metric-value.risk-medium {
    color: #FFB800;
}
.metric-value.risk-high {
    color: #FF4757;
}

.metric-value.recommendation-buy {
    color: #00FF88;
}

.metric-value.recommendation-hold {
    color: #FFB800;
}

.metric-value.recommendation-avoid {
    color: #FF4757;
}
.metric-value.recommendation-speculate {
    color: #00D4FF;
}

.analysis-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 16px;
    border-top: 1px solid rgba(0, 212, 255, 0.2);
    font-size: 12px;
    color: var(--text-secondary);
}

.analysis-card-date {
    display: flex;
    align-items: center;
    gap: 6px;
}
.analysis-card-llm {
    font-weight: 600;
    color: var(--primary-cyan);
}
/* Improved Analysis Modal Styling */
.analysis-header {
    background: linear-gradient(135deg, rgba(10, 20, 35, 0.95), rgba(15, 25, 45, 0.95));
    border: 1px solid rgba(0, 212, 255, 0.3);
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 24px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}
.analysis-title {
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 8px;
    background: linear-gradient(135deg, #00D4FF, #00FF88);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.analysis-meta {
    color: rgba(255, 255, 255, 0.7);
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.analysis-section {
    background: rgba(10, 20, 35, 0.8);
    border: 1px solid rgba(0, 212, 255, 0.2);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
}

.twitter-insights-section {
    background: rgba(15, 23, 42, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.twitter-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    font-size: 11px;
    font-weight: 700;
    color: #FFFFFF;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.twitter-insights-content {
    margin-top: 16px;
    padding: 20px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    border-left: 3px solid rgba(255, 255, 255, 0.3);
    max-height: 600px;
    overflow-y: auto;
    white-space: pre-wrap;
    word-wrap: break-word;
}

.twitter-insights-content p {
    color: var(--text-primary);
    line-height: 1.8;
    font-size: 14px;
    margin: 0 0 12px 0;
}

.twitter-insights-content strong {
    color: var(--text-primary);
    font-weight: 600;
    display: block;
    margin-top: 16px;
    margin-bottom: 8px;
    font-size: 15px;
}

.twitter-insights-content ul {
    margin: 8px 0;
    padding-left: 20px;
    list-style-type: none;
}

.twitter-insights-content li {
    margin: 6px 0;
    padding-left: 20px;
    position: relative;
}

.twitter-insights-content li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--primary-cyan);
    font-weight: bold;
}

.preview-section {
    background: rgba(15, 23, 42, 0.8);
    border: 1px solid rgba(255, 184, 0, 0.3);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
}

.preview-banner {
    text-align: center;
}

.preview-banner strong {
    display: block;
    font-size: 16px;
    color: #FFB800;
    margin-bottom: 8px;
    font-weight: 700;
}

.preview-banner p {
    font-size: 14px;
    color: var(--text-secondary);
    margin: 0;
}

.btn-analyze-preview {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s ease;
}

.btn-analyze-preview:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

/* Add to Watchlist Button on Token Cards */
.btn-add-watchlist {
    background: rgba(0, 212, 255, 0.1);
    border: 1px solid rgba(0, 212, 255, 0.3);
    color: #00D4FF;
    padding: 14px 20px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    white-space: nowrap;
    min-width: 120px;
}

.btn-add-watchlist:hover {
    background: rgba(0, 212, 255, 0.2);
    border-color: rgba(0, 212, 255, 0.6);
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(0, 212, 255, 0.3);
}

.btn-add-watchlist.added {
    background: rgba(0, 255, 136, 0.1);
    border-color: rgba(0, 255, 136, 0.3);
    color: #00FF88;
}

.api-status {
    display: flex;
    gap: 12px;
}
.status-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--danger);
    animation: pulse 2s ease-in-out infinite;
    cursor: pointer;
    transition: transform 0.3s ease;
}
.status-dot:hover {
    transform: scale(1.3);
}
.status-dot.active {
    background: var(--success);
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

/* ===== Hero Section ===== */
.hero {
    position: relative;
    padding: 340px 0 260px;
    text-align: center;
    overflow: hidden;
    z-index: 1;
    min-height: auto;
}

.hero-condensed {
    padding: 40px 0 40px;
}

.hero-condensed .hero-content {
    margin-top: 0;
}

/* Hero section - no circle animations */
.hero::before {
    display: none;
}

/* Hero Title Animation */
.hero-title {
    animation: heroTitleGlow 4s ease-in-out infinite;
}

@keyframes heroTitleGlow {
    0%, 100% {
        filter: drop-shadow(0 0 40px rgba(0, 212, 255, 0.3));
    }
    50% {
        filter: drop-shadow(0 0 60px rgba(0, 212, 255, 0.6)) drop-shadow(0 0 80px rgba(0, 150, 255, 0.4));
    }
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        /* Purple/Magenta glows on left - subtle */
        radial-gradient(circle at 20% 30%, rgba(255, 0, 255, 0.04) 0%, transparent 50%),
        radial-gradient(circle at 10% 60%, rgba(255, 0, 204, 0.03) 0%, transparent 45%),
        /* Cyan/Blue glows on right - subtle */
        radial-gradient(circle at 80% 30%, rgba(0, 212, 255, 0.04) 0%, transparent 50%),
        radial-gradient(circle at 90% 60%, rgba(0, 180, 255, 0.03) 0%, transparent 45%);
    z-index: 0;
}
@keyframes heroGlowPulse {
    0% {
        opacity: 0.8;
        filter: blur(15px);
    }
    100% {
        opacity: 1;
        filter: blur(25px);
    }
}

.hero .container {
    position: relative;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    margin-top: 320px;
}

.hero-title {
    font-size: 64px;
    font-weight: 300;
    background: linear-gradient(
        135deg,
        #FF00FF 0%,
        #FF00CC 25%,
        #00D4FF 75%,
        #00BFFF 100%
    );
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 24px;
    line-height: 1.2;
    letter-spacing: 0.02em;
    text-shadow: 0 0 30px rgba(255, 0, 255, 0.3), 0 0 60px rgba(0, 212, 255, 0.2);
    filter: drop-shadow(0 0 20px rgba(255, 0, 255, 0.4)) drop-shadow(0 0 40px rgba(0, 212, 255, 0.3));
}

.hero-subtitle {
    font-size: 20px;
    font-weight: 300;
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.9) 0%,
        rgba(255, 255, 255, 0.7) 50%,
        rgba(184, 224, 255, 0.8) 100%
    );
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 48px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
    letter-spacing: 0.05em;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
}

.btn-primary {
    background: linear-gradient(
        135deg,
        rgba(0, 102, 255, 0.95) 0%,
        rgba(0, 150, 255, 0.95) 50%,
        rgba(0, 212, 255, 0.95) 100%
    );
    color: #ffffff;
    border: 2px solid rgba(0, 212, 255, 0.3);
    padding: 18px 48px;
    font-size: 16px;
    font-weight: 400;
    border-radius: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 32px rgba(0, 180, 255, 0.4);
    font-family: 'Inter', sans-serif;
    letter-spacing: 0.05em;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.btn-primary:hover::before {
    opacity: 1;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 
        0 12px 48px rgba(0, 212, 255, 0.6),
        0 0 20px rgba(0, 212, 255, 0.4);
    border-color: rgba(0, 212, 255, 0.6);
}

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

.btn-large {
    padding: 20px 50px;
    font-size: 18px;
    width: 100%;
}

.btn-secondary {
    background: rgba(15, 23, 42, 0.7);
    border: 2px solid rgba(0, 150, 255, 0.3);
    box-shadow: 0 5px 15px rgba(0, 212, 255, 0.2);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: linear-gradient(
        135deg,
        rgba(0, 102, 255, 0.3) 0%,
        rgba(0, 150, 255, 0.3) 100%
    );
    border-color: rgba(0, 212, 255, 0.5);
    box-shadow: 0 8px 24px rgba(0, 150, 255, 0.3);
}

/* Hero Buttons Container */
.hero-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
    padding: 0 20px;
}

/* ===== AI Agent Video ===== */
.agent-video-container {
    position: absolute;
    top: 80px;
    left: 50%;
    transform: translateX(-50%);
    width: 520px;
    height: 520px;
    overflow: visible;
    transition: all 0.5s ease;
    z-index: 1;
    pointer-events: none;
    padding: 0;
    background: transparent;
    border-radius: 50%;
    mix-blend-mode: lighten;
    opacity: 0.95;
    -webkit-mask-image: radial-gradient(circle at center, rgba(0, 0, 0, 1) 45%, rgba(0, 0, 0, 0.7) 70%, transparent 100%);
    mask-image: radial-gradient(circle at center, rgba(0, 0, 0, 1) 45%, rgba(0, 0, 0, 0.7) 70%, transparent 100%);
}

.agent-video-container::before {
    content: '';
    position: absolute;
    inset: -36px;
    border-radius: 50%;
    background: radial-gradient(circle at center, rgba(0, 214, 255, 0.45) 0%, rgba(20, 90, 160, 0.22) 55%, rgba(0, 0, 0, 0) 85%);
    filter: blur(12px);
    opacity: 0.75;
    pointer-events: none;
    mix-blend-mode: screen;
    animation: gentleGlow 6s ease-in-out infinite;
}

.agent-video-container::after {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: 50%;
    background: rgba(0, 212, 255, 0.08);
    border: 1px solid rgba(0, 212, 255, 0.35);
    opacity: 0.6;
    pointer-events: none;
    mix-blend-mode: screen;
}

@keyframes gentleGlow {
    0%, 100% {
        opacity: 0.6;
        transform: scale(1);
    }
    50% {
        opacity: 0.9;
        transform: scale(1.05);
    }
}

.agent-video-container.hidden {
    opacity: 0;
    transform: translateX(-50%) scale(0.8);
    pointer-events: none;
}

.agent-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    opacity: 1;
    filter: brightness(1.12) contrast(1.12) saturate(1.15);
}

.video-overlay {
    display: none;
}

@keyframes videoPulse {
    0%, 100% {
        filter: drop-shadow(0 0 30px rgba(0, 212, 255, 0.4)) 
                drop-shadow(0 0 60px rgba(0, 102, 255, 0.3));
    }
    50% {
        filter: drop-shadow(0 0 50px rgba(0, 212, 255, 0.6)) 
                drop-shadow(0 0 100px rgba(0, 102, 255, 0.5));
    }
}

/* Responsive video - smaller monitors */
@media (max-width: 1600px) {
    .agent-video-container {
        width: 480px;
        height: 480px;
        top: 100px;
    }
}

@media (max-width: 1400px) {
    .agent-video-container {
        width: 440px;
        height: 440px;
        top: 110px;
    }
}

@media (max-width: 1200px) {
    .agent-video-container {
        width: 400px;
        height: 400px;
        top: 120px;
    }
}

@media (max-width: 1024px) {
    .agent-video-container {
        width: 340px;
        height: 340px;
        top: 140px;
    }
    
    .hero {
        padding: 300px 0 200px;
    }
    
    .hero-content {
        margin-top: 200px;
        padding: 0 40px;
    }
}

/* Tablet */
@media (max-width: 768px) {
    .agent-video-container {
        position: relative;
        top: 0;
        left: 50%;
        transform: translate(-50%, 0);
        margin: 0 auto 36px;
        width: min(72vw, 320px);
        height: min(72vw, 320px);
        opacity: 0.95;
        pointer-events: none;
        mix-blend-mode: normal;
        -webkit-mask-image: radial-gradient(circle at center, rgba(0, 0, 0, 1) 65%, rgba(0, 0, 0, 0.1) 100%);
        mask-image: radial-gradient(circle at center, rgba(0, 0, 0, 1) 65%, rgba(0, 0, 0, 0.1) 100%);
    }
    
    .hero {
        padding: 260px 0 160px;
    }
    
    .hero-content {
        margin-top: 24px;
        text-align: center;
        padding: 0 24px;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .search-container {
        margin-bottom: 24px;
        padding: 0 20px;
    }
    
    .btn-primary {
        padding: 14px 32px;
        font-size: 14px;
    }
}

/* Mobile */
@media (max-width: 480px) {
    .hero {
        padding: 240px 0 140px;
    }
    
    .hero-title {
        font-size: 28px;
        margin-bottom: 16px;
    }
    
    .hero-subtitle {
        font-size: 16px;
        margin-bottom: 24px;
        padding: 0 20px;
    }
    
    .hero-content {
        margin-top: 16px;
    }
    
    .agent-video-container {
        display: flex !important;
        position: relative;
        width: min(70vw, 240px);
        height: min(70vw, 240px);
        top: 0;
        opacity: 0.95;
        margin: 0 auto 20px;
    }
    
    /* Hide video when MEMESCOPE is open or search is active */
    .memescope-dashboard ~ .agent-video-container,
    .memescope-dashboard ~ * .agent-video-container,
    body:has(.memescope-dashboard) .agent-video-container {
        display: none !important;
    }
    
    .search-container {
        margin-bottom: 20px;
        padding: 0 16px;
    }
    
    .search-input {
        padding: 12px 20px;
        font-size: 14px;
    }
    
    .search-button {
        padding: 12px 24px;
        font-size: 14px;
        margin-bottom: 8px;
    }
    
    .search-hint {
        font-size: 12px;
        padding: 0 16px;
    }
    
    .btn-primary {
        padding: 12px 24px;
        font-size: 13px;
        border-radius: 12px;
    }
    
    .btn-kol,
    .btn-secondary {
        padding: 12px 24px !important;
        font-size: 13px !important;
    }
}

/* Very small mobile screens */
@media (max-width: 360px) {
    .agent-video-container {
        width: min(82vw, 220px);
        height: min(82vw, 220px);
    }
}

/* ===== Search Component ===== */
.search-container {
    max-width: 700px;
    margin: 0 auto 30px;
}

.search-box {
    display: flex;
    gap: 0;
    margin-bottom: 0;
    width: 100%;
    max-width: 600px;
    margin: 0 auto 12px;
}

.search-input {
    flex: 1;
    background: var(--card-bg);
    backdrop-filter: blur(20px);
    border: 2px solid var(--border-color);
    border-radius: 50px;
    padding: 16px 28px;
    font-size: 16px;
    color: var(--text-primary);
    font-family: 'Inter', sans-serif;
    transition: all 0.3s ease;
}

.search-input::placeholder {
    color: var(--text-secondary);
}

.search-input:focus {
    outline: none;
    border-color: var(--primary-cyan);
    box-shadow: 0 5px 20px rgba(0, 212, 255, 0.3);
}

.search-button {
    background: rgba(10, 15, 30, 0.9);
    color: var(--text-primary);
    border: 2px solid rgba(0, 212, 255, 0.5);
    padding: 16px 36px;
    font-size: 16px;
    font-weight: 700;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    font-family: 'Inter', sans-serif;
    white-space: nowrap;
    position: relative;
    overflow: hidden;
    width: 100%;
    max-width: 600px;
    margin: 0 auto 12px;
    display: block;
}

.search-button:hover {
    transform: translateY(-2px);
    border-color: rgba(0, 212, 255, 0.8);
    box-shadow: 
        0 0 20px rgba(0, 212, 255, 0.4),
        0 4px 12px rgba(0, 0, 0, 0.3);
}

.search-button:active {
    transform: translateY(0);
}

.search-hint {
    text-align: center;
    font-size: 14px;
    color: var(--text-secondary);
    margin: 0;
}

/* ===== Stats Section ===== */
.stats-section {
    padding: 60px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 24px;
}

.stat-card {
    background: var(--card-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary-cyan);
    box-shadow: 0 20px 50px rgba(0, 212, 255, 0.2);
}
.stat-value {
    font-size: 36px;
    font-weight: 800;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 14px;
    color: var(--text-secondary);
    font-weight: 600;
}

/* ===== Filters Section ===== */
.filters-section {
    padding: 40px 0;
}
.filter-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}
.filter-btn {
    background: var(--glass-bg);
    border: 2px solid var(--border-color);
    color: var(--text-primary);
    padding: 12px 30px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Inter', sans-serif;
}

.filter-btn:hover {
    border-color: var(--primary-cyan);
    box-shadow: 0 5px 20px rgba(0, 212, 255, 0.2);
}
.filter-btn.active {
    background: var(--gradient-1);
    border-color: transparent;
    box-shadow: 0 10px 30px rgba(0, 102, 255, 0.3);
}
.token-filter-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    align-items: stretch;
    margin-bottom: 24px;
    padding: 20px 24px;
    background: linear-gradient(140deg, rgba(12, 24, 44, 0.9) 0%, rgba(7, 14, 28, 0.94) 100%);
    border: 1px solid rgba(0, 212, 255, 0.18);
    border-radius: 22px;
    box-shadow: 0 22px 48px rgba(3, 12, 24, 0.55);
    backdrop-filter: blur(18px);
}
.token-filter-card {
    position: relative;
    flex: 1 1 240px;
    min-width: 220px;
    padding: 18px 20px;
    border-radius: 20px;
    background: linear-gradient(155deg, rgba(16, 32, 56, 0.92) 0%, rgba(8, 16, 32, 0.88) 100%);
    border: 1px solid rgba(0, 212, 255, 0.14);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.02);
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.token-filter-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 20px;
    background: radial-gradient(circle at top, rgba(0, 212, 255, 0.12) 0%, transparent 65%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.token-filter-card:hover {
    border-color: rgba(0, 212, 255, 0.32);
    box-shadow: 0 24px 42px rgba(0, 212, 255, 0.12);
    transform: translateY(-2px);
}

.token-filter-card:hover::after,
.token-filter-card.active::after {
    opacity: 1;
}

.token-filter-card.active {
    border-color: rgba(0, 212, 255, 0.75);
    box-shadow: 0 28px 48px rgba(0, 212, 255, 0.18);
}

.token-filter-card-header {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-bottom: 14px;
}

.token-filter-title {
    font-size: 13px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(196, 231, 255, 0.92);
    font-weight: 600;
}

.token-filter-subtitle {
    font-size: 12px;
    color: rgba(176, 219, 255, 0.68);
    font-weight: 500;
}

.token-filter-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-radius: 14px;
    border: 1px solid rgba(0, 212, 255, 0.16);
    background: radial-gradient(circle at top, rgba(12, 24, 48, 0.92) 0%, rgba(6, 12, 24, 0.96) 100%);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.token-filter-card.active .token-filter-input-wrapper,
.token-filter-input-wrapper:focus-within {
    border-color: rgba(0, 212, 255, 0.65);
    box-shadow: 0 0 28px rgba(0, 212, 255, 0.28);
}

.token-filter-prefix,
.token-filter-suffix {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 600;
    color: rgba(0, 212, 255, 0.85);
    text-transform: uppercase;
}

.token-filter-prefix i {
    font-size: 16px;
}

.token-filter-input {
    flex: 1;
    min-width: 0;
    background: transparent;
    border: none;
    outline: none;
    color: #E7F7FF;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 0.02em;
    caret-color: var(--primary-cyan);
}

.token-filter-input::placeholder {
    color: rgba(176, 219, 255, 0.4);
    font-weight: 500;
}

.token-filter-input::-webkit-outer-spin-button,
.token-filter-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.token-filter-input[type=number] {
    appearance: textfield;
    -moz-appearance: textfield;
}

.token-filter-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: auto;
    min-width: 150px;
}

.token-filter-reset {
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.22), rgba(0, 212, 255, 0.08));
    border: 1px solid rgba(0, 212, 255, 0.42);
    color: #87E3FF;
    padding: 14px 26px;
    border-radius: 16px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s ease;
    box-shadow: 0 6px 18px rgba(0, 212, 255, 0.2);
}

.token-filter-reset:hover {
    background: rgba(0, 212, 255, 0.3);
    border-color: rgba(0, 212, 255, 0.8);
    color: #ffffff;
    transform: translateY(-1px);
    box-shadow: 0 10px 26px rgba(0, 212, 255, 0.28);
}

.token-filter-reset:active {
    transform: translateY(0);
}

@media (max-width: 992px) {
    .token-filter-bar {
        padding: 18px;
    }
}

@media (max-width: 768px) {
    .token-filter-bar {
        flex-direction: column;
    }
    
    .token-filter-card,
    .token-filter-actions {
        flex: 1 1 auto;
        width: 100%;
    }
    
    .token-filter-actions {
        margin-left: 0;
    }
    
    .token-filter-reset {
        width: 100%;
        justify-content: center;
    }
}
/* ===== Tokens Section ===== */
.tokens-section {
    padding: 40px 0 80px;
    min-height: 500px;
}
.loading-spinner {
    text-align: center;
    padding: 80px 20px;
}
.spinner {
    width: 60px;
    height: 60px;
    border: 4px solid var(--border-color);
    border-top-color: var(--primary-cyan);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}
@keyframes spin {
    to { transform: rotate(360deg); }
}

.tokens-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
    gap: 20px;
    width: 100%;
    align-items: stretch;
}
.ai-token-calls-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.ai-token-calls-header-left {
    display: flex;
    align-items: center;
    gap: 16px;
}

.ai-token-calls-header h3 {
    margin: 0;
    font-size: 22px;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

/* ===== Launchpad Section Headers ===== */
.launchpad-section {
    margin-top: 40px;
}

.launchpad-section:first-child {
    margin-top: 0;
}

.launchpad-header {
    position: relative;
    background: linear-gradient(135deg, rgba(0, 14, 30, 0.75), rgba(0, 40, 85, 0.55));
    border: 1px solid rgba(0, 212, 255, 0.24);
    border-radius: 24px;
    padding: 28px 32px;
    margin-bottom: 24px;
    overflow: hidden;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.45);
}

.launchpad-header::before {
    content: '';
    position: absolute;
    inset: -60% -10% auto -10%;
    height: 140%;
    background: radial-gradient(circle at 50% 0%, rgba(0, 212, 255, 0.25), transparent 60%);
    opacity: 0.45;
    z-index: 0;
}

.launchpad-header::after {
    content: '';
    position: absolute;
    inset: auto 10% -2px 10%;
    height: 3px;
    background: linear-gradient(90deg, rgba(0, 212, 255, 0), rgba(0, 212, 255, 0.55), rgba(0, 212, 255, 0));
    opacity: 0.7;
    border-radius: 12px;
}

.launchpad-header > * {
    position: relative;
    z-index: 1;
}

.launchpad-header h3 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-primary);
}

.launchpad-emoji {
    font-size: 32px;
    line-height: 1;
}

.launchpad-header-logo {
    width: 40px;
    height: 40px;
    object-fit: contain;
    margin-right: 10px;
    vertical-align: middle;
    filter: drop-shadow(0 0 16px rgba(0, 212, 255, 0.4));
}

.launchpad-chain {
    font-size: 14px;
    font-weight: 500;
    padding: 4px 12px;
    background: rgba(0, 212, 255, 0.2);
    border-radius: 8px;
    color: var(--primary-cyan);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.launchpad-description {
    font-size: 16px;
    color: var(--text-secondary);
    margin: 0;
}

.token-card {
    background: var(--card-bg);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 28px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.token-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 180, 255, 0.1) 0%, rgba(0, 136, 255, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.token-card:hover::before {
    opacity: 1;
}

.token-card:hover {
    transform: translateY(-12px) scale(1.02);
    border-color: var(--primary-purple);
    box-shadow: 0 30px 80px rgba(0, 180, 255, 0.4), 
                0 0 0 1px rgba(0, 180, 255, 0.3) inset;
}

.token-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
}

.token-logo {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--gradient-1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    font-weight: 800;
    color: var(--text-primary);
    overflow: hidden;
}

.token-logo img,
.token-logo-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.token-logo-fallback {
    font-size: 28px;
    font-weight: 800;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.token-info {
    flex: 1;
}

.token-name-row {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 4px;
}

.token-name {
    font-size: 18px;
    font-weight: 700;
}

.token-symbol {
    font-size: 14px;
    color: var(--text-secondary);
}

/* AI Call Performance Badge */
.ai-call-performance {
    margin: 16px 0;
    padding: 16px;
    border-radius: 12px;
    text-align: center;
    border: 1px solid;
    backdrop-filter: blur(10px);
}

.ai-call-performance.ai-performance-positive {
    background: linear-gradient(135deg, rgba(0, 255, 136, 0.15), rgba(0, 212, 255, 0.1));
    border-color: rgba(0, 255, 136, 0.4);
}
.ai-call-performance.ai-performance-negative {
    background: linear-gradient(135deg, rgba(255, 71, 87, 0.15), rgba(255, 184, 0, 0.1));
    border-color: rgba(255, 71, 87, 0.4);
}

.ai-performance-header {
    margin-bottom: 8px;
}

.ai-performance-label {
    font-size: 11px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    opacity: 0.8;
}

.ai-performance-content {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 12px;
    margin: 8px 0;
}

.ai-performance-multiplier {
    font-size: 32px;
    font-weight: 700;
    line-height: 1;
}

.ai-performance-percent {
    font-size: 24px;
    font-weight: 600;
    line-height: 1;
}

.ai-call-performance.ai-performance-positive .ai-performance-multiplier,
.ai-call-performance.ai-performance-positive .ai-performance-percent {
    color: #00FF88;
    text-shadow: 0 0 10px rgba(0, 255, 136, 0.5);
}

.ai-call-performance.ai-performance-negative .ai-performance-multiplier,
.ai-call-performance.ai-performance-negative .ai-performance-percent {
    color: #FF4757;
    text-shadow: 0 0 10px rgba(255, 71, 87, 0.5);
}

.ai-performance-subtitle {
    font-size: 11px;
    opacity: 0.6;
    margin-top: 4px;
    font-weight: 300;
}

/* ===== AI Call History Card Styles ===== */
.ai-call-history-card {
    background: var(--card-bg);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 28px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.ai-call-history-card:hover {
    transform: translateY(-8px) scale(1.01);
    border-color: var(--primary-purple);
    box-shadow: 0 20px 60px rgba(0, 180, 255, 0.3), 
                0 0 0 1px rgba(0, 180, 255, 0.2) inset;
}

.call-history-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
}

.call-history-logo {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--gradient-1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    font-weight: 800;
    color: var(--text-primary);
    overflow: hidden;
    flex-shrink: 0;
}

.call-history-logo-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.call-history-logo-fallback {
    font-size: 28px;
    font-weight: 800;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.call-history-info {
    flex: 1;
    min-width: 0;
}

.call-history-name {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.call-history-symbol {
    font-size: 14px;
    color: var(--text-secondary);
    font-weight: 400;
}

.call-history-chain-badge {
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    background: var(--glass-bg);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}

/* Call Performance Badge */
.call-performance-badge {
    margin: 20px 0;
    padding: 20px;
    border-radius: 12px;
    text-align: center;
    border: 1px solid;
    backdrop-filter: blur(10px);
}

.call-performance-badge.call-performance-positive {
    background: linear-gradient(135deg, rgba(0, 255, 136, 0.2), rgba(0, 212, 255, 0.15));
    border-color: rgba(0, 255, 136, 0.5);
}

.call-performance-badge.call-performance-negative {
    background: linear-gradient(135deg, rgba(255, 71, 87, 0.2), rgba(255, 184, 0, 0.15));
    border-color: rgba(255, 71, 87, 0.5);
}

.call-performance-header {
    margin-bottom: 12px;
}

.call-performance-label {
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    opacity: 0.9;
}

.call-performance-content {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 16px;
    margin: 12px 0;
}

.call-performance-multiplier {
    font-size: 36px;
    font-weight: 700;
    line-height: 1;
}

.call-performance-percent {
    font-size: 28px;
    font-weight: 600;
    line-height: 1;
}

.call-performance-badge.call-performance-positive .call-performance-multiplier,
.call-performance-badge.call-performance-positive .call-performance-percent {
    color: #00FF88;
    text-shadow: 0 0 15px rgba(0, 255, 136, 0.6);
}

.call-performance-badge.call-performance-negative .call-performance-multiplier,
.call-performance-badge.call-performance-negative .call-performance-percent {
    color: #FF4757;
    text-shadow: 0 0 15px rgba(255, 71, 87, 0.6);
}

.call-performance-subtitle {
    font-size: 11px;
    opacity: 0.7;
    margin-top: 6px;
    font-weight: 300;
}

.call-performance-secondary {
    margin-top: 14px;
    font-size: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    justify-content: center;
    opacity: 0.85;
    font-weight: 500;
}

.call-performance-secondary-label {
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 11px;
    opacity: 0.7;
}

.call-performance-secondary-values {
    font-weight: 600;
}

.call-status-badge {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-radius: 16px;
    border: 1px solid transparent;
    margin-bottom: 16px;
    font-weight: 600;
}

.call-status-badge i {
    font-size: 20px;
}

.call-status-badge.active {
    background: rgba(0, 255, 204, 0.12);
    border-color: rgba(0, 255, 204, 0.25);
    color: #7afcd6;
}

.call-status-badge.stop-loss {
    background: rgba(255, 71, 87, 0.12);
    border-color: rgba(255, 71, 87, 0.3);
    color: #ff7b8f;
}

.call-status-badge.take-profit {
    background: rgba(0, 255, 136, 0.15);
    border-color: rgba(0, 255, 136, 0.4);
    color: #7bffb1;
    box-shadow: 0 0 25px rgba(0, 255, 136, 0.2);
}

.call-status-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.call-status-title {
    font-size: 14px;
    font-weight: 700;
}

.call-status-subtitle {
    font-size: 12px;
    opacity: 0.8;
}

/* Call History Stats */
.call-history-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin: 20px 0;
}
.call-history-stat {
    padding: 16px;
    background: rgba(10, 20, 35, 0.6);
    border: 1px solid rgba(0, 212, 255, 0.2);
    border-radius: 12px;
    text-align: center;
}

.call-history-stat-label {
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.call-history-stat-value {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
}

.call-history-stat-value.positive {
    color: #00FF88;
}
.call-history-stat-value.negative {
    color: #FF4757;
}
/* Call History Details */
.call-history-details {
    margin: 20px 0;
    padding: 20px;
    background: rgba(10, 20, 35, 0.4);
    border: 1px solid rgba(0, 212, 255, 0.15);
    border-radius: 12px;
}

.call-history-detail-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid rgba(0, 212, 255, 0.1);
}

.call-history-detail-row:last-child {
    border-bottom: none;
}
.call-history-detail-label {
    font-size: 13px;
    color: var(--text-secondary);
    font-weight: 400;
}
.call-history-detail-value {
    font-size: 14px;
    color: var(--text-primary);
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 6px;
}

.call-history-contract-row {
    padding: 16px 0;
    background: rgba(0, 212, 255, 0.05);
    border-radius: 8px;
    padding: 12px 16px;
    margin: 8px 0;
}
.call-history-contract-value {
    display: flex;
    align-items: center;
    gap: 12px;
}

.contract-address {
    font-family: 'Courier New', monospace;
    font-size: 14px;
    color: var(--text-primary);
    font-weight: 600;
    letter-spacing: 0.5px;
}

.copy-contract-btn {
    padding: 6px 12px;
    background: rgba(0, 212, 255, 0.2);
    border: 1px solid rgba(0, 212, 255, 0.4);
    border-radius: 8px;
    color: #00D4FF;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 500;
}

.copy-contract-btn:hover {
    background: rgba(0, 212, 255, 0.3);
    border-color: rgba(0, 212, 255, 0.6);
    transform: scale(1.05);
}

.copy-contract-btn i {
    font-size: 16px;
}

.launchpad-logo-small {
    width: 16px;
    height: 16px;
    object-fit: contain;
    vertical-align: middle;
}

.call-history-note {
    margin-top: 24px;
    padding: 16px 18px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: var(--text-secondary);
}

.call-history-note i {
    font-size: 18px;
}

.call-history-note.stop-loss-note {
    background: rgba(255, 71, 87, 0.12);
    border-color: rgba(255, 71, 87, 0.3);
    color: #ff7b8f;
}

.call-history-note.take-profit-note {
    background: rgba(0, 255, 136, 0.12);
    border-color: rgba(0, 255, 136, 0.35);
    color: #7bffb1;
}

.ai-call-history-card-stopped {
    border-color: rgba(255, 71, 87, 0.35);
    box-shadow: 0 15px 40px rgba(255, 71, 87, 0.18);
}

.ai-call-history-card-stopped:hover {
    border-color: rgba(255, 71, 87, 0.5);
    box-shadow: 0 22px 55px rgba(255, 71, 87, 0.28);
}

.ai-call-history-card-profit {
    border-color: rgba(0, 255, 136, 0.35);
    box-shadow: 0 18px 45px rgba(0, 255, 136, 0.22);
}

.ai-call-history-card-profit:hover {
    border-color: rgba(0, 255, 136, 0.5);
    box-shadow: 0 26px 60px rgba(0, 255, 136, 0.32);
}

.ai-call-performance-card {
    width: 100%;
    margin-bottom: 24px;
    border-radius: 24px;
    padding: 26px;
    background: var(--glass-bg);
    border: 1px solid var(--border-color);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.3);
}

.performance-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 18px;
}

.performance-card-title {
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-primary);
}

.performance-card-winrate {
    font-size: 14px;
    font-weight: 700;
    color: #74f5d7;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}
.performance-card-metrics {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.performance-card-metric {
    flex: 1 1 150px;
    min-width: 120px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 18px;
    padding: 18px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.metric-label {
    font-size: 11px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    opacity: 0.6;
    display: block;
    margin-bottom: 8px;
}

.metric-value {
    font-size: 26px;
    font-weight: 700;
    color: var(--text-primary);
}

.metric-value.positive {
    color: #6dfacb;
}

.metric-value.negative {
    color: #ff7b8f;
}

.performance-card-footer {
    margin-top: 22px;
    font-size: 13px;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.performance-call-preview {
    margin-top: 28px;
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.performance-call-preview-header {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--text-secondary);
    opacity: 0.8;
}

.performance-call-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 14px 16px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
    transition: border 0.3s ease, transform 0.3s ease;
}

.performance-call-item:hover {
    border-color: rgba(0, 212, 255, 0.35);
    transform: translateY(-2px);
}
.performance-call-meta {
    display: flex;
    align-items: center;
    gap: 12px;
}

.performance-call-rank {
    width: 28px;
    height: 28px;
    border-radius: 999px;
    background: rgba(0, 212, 255, 0.15);
    border: 1px solid rgba(0, 212, 255, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.04em;
    color: #74f5d7;
}

.performance-call-name-group {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.performance-call-name {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
}

.performance-call-symbol {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-secondary);
    opacity: 0.7;
}

.performance-call-metrics {
    display: flex;
    align-items: center;
    gap: 12px;
}

.performance-call-multiplier {
    font-size: 12px;
    color: var(--text-secondary);
}

.performance-call-change {
    font-size: 14px;
    font-weight: 600;
}

.performance-call-change.positive {
    color: #6dfacb;
}

.performance-call-change.negative {
    color: #ff7b8f;
}

.performance-call-status {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--text-secondary);
}

.performance-call-status.active {
    background: rgba(0, 255, 186, 0.12);
    border-color: rgba(0, 255, 186, 0.25);
    color: #74f5d7;
}

.performance-call-status.stop-loss {
    background: rgba(255, 71, 87, 0.14);
    border-color: rgba(255, 71, 87, 0.3);
    color: #ff7b8f;
}

.performance-call-status.take-profit {
    background: rgba(0, 255, 170, 0.16);
    border-color: rgba(0, 255, 170, 0.35);
    color: #7bffb1;
}

/* Call History Actions */
.call-history-actions {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

.call-history-actions .btn-analyze,
.call-history-actions .btn-add-watchlist {
    flex: 1;
}
/* ===== AI Call History Sidebar ===== */
.ai-call-history-sidebar {
    display: none;
    width: 380px;
    background: var(--card-bg);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 24px;
    max-height: calc(100vh - 200px);
    overflow-y: auto;
    position: sticky;
    top: 20px;
    margin-left: 24px;
}
.ai-token-calls-active #ai-call-history-sidebar {
    display: block;
}
.tokens-content-area:not(.ai-token-calls-active) .ai-call-history-sidebar {
    display: none !important;
}
.call-history-header-section {
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border-color);
}
.call-history-performance {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    padding: 18px;
    margin-bottom: 18px;
}
.call-history-performance-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-size: 12px;
    color: var(--text-secondary);
}

.call-history-performance-winrate {
    color: #74f5d7;
}

.call-history-performance-metrics {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.performance-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
    font-size: 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.performance-pill span {
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 600;
    opacity: 0.7;
}

.performance-pill strong {
    font-size: 13px;
    font-weight: 700;
    color: var(--text-primary);
}

.performance-pill.positive {
    background: rgba(0, 255, 186, 0.12);
    border-color: rgba(0, 255, 186, 0.25);
    color: #74f5d7;
}

.performance-pill.negative {
    background: rgba(255, 71, 87, 0.12);
    border-color: rgba(255, 71, 87, 0.28);
    color: #ff7b8f;
}

.call-history-performance-footer {
    margin-top: 14px;
    font-size: 12px;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.call-history-performance-best {
    color: #74f5d7;
    font-weight: 600;
}

.call-history-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 6px;
}

.call-history-title i {
    font-size: 24px;
    color: #00D4FF;
}

.call-history-subtitle {
    font-size: 13px;
    color: var(--text-secondary);
    margin: 0;
}

.call-history-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

@media (max-width: 1200px) {
    .ai-call-history-sidebar {
        width: 100%;
        margin-left: 0;
        margin-top: 24px;
        position: relative;
        max-height: none;
        overflow-x: hidden;
    }
}

.call-history-loading,
.call-history-empty,
.call-history-error {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    text-align: center;
    color: var(--text-secondary);
}

.call-history-loading .spinner-small {
    width: 24px;
    height: 24px;
    border: 2px solid rgba(0, 212, 255, 0.3);
    border-top-color: #00D4FF;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin-bottom: 12px;
}

.call-history-empty i,
.call-history-error i {
    font-size: 48px;
    color: var(--text-secondary);
    margin-bottom: 12px;
    opacity: 0.5;
}

.call-history-item {
    background: rgba(10, 20, 35, 0.6);
    border: 1px solid rgba(0, 212, 255, 0.2);
    border-radius: 12px;
    padding: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.call-history-item:hover {
    background: rgba(10, 20, 35, 0.8);
    border-color: rgba(0, 212, 255, 0.4);
    transform: translateX(4px);
}

.call-history-item-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 12px;
    gap: 12px;
}

.call-history-item-logo-container {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--gradient-1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 800;
    color: var(--text-primary);
    overflow: hidden;
    flex-shrink: 0;
}

.call-history-item-logo {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.call-history-item-logo-fallback {
    font-size: 18px;
    font-weight: 800;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.call-history-item-name {
    flex: 1;
    min-width: 0;
}

.call-history-item-name strong {
    display: block;
    font-size: 15px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.call-history-item-symbol {
    font-size: 12px;
    color: var(--text-secondary);
    font-weight: 400;
}

.call-history-item-date {
    font-size: 11px;
    color: var(--text-secondary);
    white-space: nowrap;
    margin-left: 12px;
}

.call-history-item-details {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.call-history-item-contract {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: var(--text-secondary);
    font-family: 'Courier New', monospace;
    padding: 8px;
    background: rgba(0, 212, 255, 0.05);
    border-radius: 6px;
}

.call-history-item-contract i {
    font-size: 14px;
    color: #00D4FF;
}

.call-history-item-performance {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    font-weight: 600;
}

.call-history-item-status {
    margin-top: 6px;
    padding: 4px 12px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 10px;
    letter-spacing: 0.14em;
    font-weight: 700;
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.call-history-item-status.stop-loss {
    background: rgba(255, 71, 87, 0.15);
    border-color: rgba(255, 71, 87, 0.35);
    color: #ff7b8f;
}

.call-history-item-status.take-profit {
    background: rgba(0, 255, 170, 0.16);
    border-color: rgba(0, 255, 170, 0.35);
    color: #7bffb1;
}

.history-multiplier {
    color: var(--text-primary);
}

.history-percent {
    font-weight: 700;
}

.call-history-item-performance.history-performance-positive .history-percent {
    color: #00FF88;
}
.call-history-item-performance.history-performance-negative .history-percent {
    color: #FF4757;
}

.kol-badge-token-card {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px;
    background: rgba(0, 212, 255, 0.15);
    border: 1px solid rgba(0, 212, 255, 0.3);
    border-radius: 12px;
    font-size: 11px;
    font-weight: 700;
    color: #00D4FF;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    white-space: nowrap;
}

.kol-badge-token-card i {
    font-size: 12px;
}

.kol-badge-token-card:hover {
    background: rgba(0, 212, 255, 0.25);
    border-color: rgba(0, 212, 255, 0.5);
    transform: scale(1.05);
    transition: all 0.2s ease;
}

.chain-badge {
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    background: var(--glass-bg);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    gap: 6px;
}

.chain-badge-img {
    width: 16px;
    height: 16px;
    object-fit: contain;
}

.launchpad-logo {
    width: 16px;
    height: 16px;
    object-fit: contain;
    vertical-align: middle;
    margin-right: 4px;
}

.token-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 20px;
}

.token-stat {
    background: var(--glass-bg);
    padding: 12px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
}

.token-stat-label {
    font-size: 12px;
    color: var(--text-secondary);
    margin-bottom: 4px;
}

.token-stat-value {
    font-size: 16px;
    font-weight: 700;
}

.token-stat-value.positive {
    color: var(--success);
}

.token-stat-value.negative {
    color: var(--danger);
}

.token-details {
    margin-bottom: 20px;
}
.token-detail-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    font-size: 14px;
    border-bottom: 1px solid var(--border-color);
}

.token-detail-row:last-child {
    border-bottom: none;
}

.token-detail-label {
    color: var(--text-secondary);
}

.token-detail-value {
    font-weight: 600;
    font-family: 'Courier New', monospace;
    font-size: 12px;
}

.token-actions {
    display: flex;
    gap: 12px;
    align-items: stretch;
    width: 100%;
}
.btn-analyze {
    flex: 1;
    background: linear-gradient(135deg, rgba(10, 15, 30, 0.9), rgba(15, 25, 45, 0.9));
    color: var(--text-primary);
    border: 2px solid transparent;
    padding: 14px 20px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    font-family: 'Inter', sans-serif;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    /* Holographic border effect - only rounded border, blue tones */
    background-clip: padding-box;
    border: 2px solid rgba(0, 212, 255, 0.5);
    box-shadow: 0 0 20px rgba(0, 150, 255, 0.3);
    animation: holoBorderBlue 3s linear infinite;
}
@keyframes holoBorderBlue {
    0% {
        border-color: rgba(0, 150, 255, 0.6);
        box-shadow: 0 0 20px rgba(0, 150, 255, 0.4), 0 0 40px rgba(0, 212, 255, 0.2);
    }
    25% {
        border-color: rgba(0, 212, 255, 0.7);
        box-shadow: 0 0 25px rgba(0, 212, 255, 0.5), 0 0 50px rgba(0, 150, 255, 0.3);
    }
    50% {
        border-color: rgba(0, 180, 255, 0.8);
        box-shadow: 0 0 30px rgba(0, 180, 255, 0.6), 0 0 60px rgba(0, 212, 255, 0.4);
    }
    75% {
        border-color: rgba(0, 212, 255, 0.7);
        box-shadow: 0 0 25px rgba(0, 212, 255, 0.5), 0 0 50px rgba(0, 150, 255, 0.3);
    }
    100% {
        border-color: rgba(0, 150, 255, 0.6);
        box-shadow: 0 0 20px rgba(0, 150, 255, 0.4), 0 0 40px rgba(0, 212, 255, 0.2);
    }
}
.btn-analyze::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent 30%,
        rgba(0, 150, 255, 0.15) 50%,
        transparent 70%
    );
    transform: rotate(0deg);
    animation: holoShine 3s linear infinite;
}

@keyframes holoShine {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.btn-analyze::after {
    display: none; /* Remove square border overlay */
}

@keyframes holoRotate {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

.btn-analyze-text {
    position: relative;
    z-index: 1;
    font-size: 15px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    background: linear-gradient(135deg, #00d4ff, #00ff88);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800;
}

/* Shared text style - blue/white/black only */
.btn-holo-text {
    position: relative;
    z-index: 1;
    font-size: 15px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: #00D4FF;
    font-weight: 800;
}

.search-button:hover .btn-holo-text {
    color: #FFFFFF;
}

.btn-kol .btn-holo-text {
    color: #00D4FF;
}

.btn-kol:hover .btn-holo-text {
    color: #FFFFFF;
}

.btn-analyze-price {
    position: relative;
    z-index: 1;
    font-size: 11px;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 600;
    letter-spacing: 0.3px;
}

.btn-analyze:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 
        0 0 30px rgba(0, 150, 255, 0.7),
        0 0 60px rgba(0, 212, 255, 0.5),
        0 0 90px rgba(0, 180, 255, 0.3);
    border-width: 3px;
    border-color: rgba(0, 212, 255, 0.8);
}

.btn-analyze:hover .btn-analyze-text {
    background: linear-gradient(135deg, #00D4FF, #0096FF, #0066FF);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.btn-analyze:active {
    transform: translateY(-1px) scale(0.98);
}

/* Modal AI Analysis Button */
.btn-analyze-modal {
    background: linear-gradient(135deg, rgba(10, 15, 30, 0.9), rgba(15, 25, 45, 0.9)) !important;
    border: 2px solid rgba(0, 212, 255, 0.45) !important;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    box-shadow:
        0 0 18px rgba(0, 212, 255, 0.35),
        0 0 36px rgba(0, 118, 255, 0.25),
        0 0 48px rgba(0, 255, 204, 0.2) !important;
    animation: analyzePulse 2.8s ease-in-out infinite;
}

.btn-analyze-modal::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent 30%, rgba(0, 212, 255, 0.1) 50%, transparent 70%);
    transform: rotate(0deg);
    animation: holoShine 3s linear infinite;
}

.btn-analyze-modal:hover {
    box-shadow: 
        0 0 30px rgba(0, 212, 255, 0.6),
        0 0 60px rgba(0, 255, 136, 0.4) !important;
}

@keyframes analyzePulse {
    0% {
        box-shadow:
            0 0 16px rgba(0, 212, 255, 0.3),
            0 0 30px rgba(0, 118, 255, 0.2),
            0 0 45px rgba(0, 255, 204, 0.15);
        border-color: rgba(0, 212, 255, 0.4);
    }
    50% {
        box-shadow:
            0 0 26px rgba(0, 255, 204, 0.45),
            0 0 50px rgba(0, 150, 255, 0.3),
            0 0 70px rgba(0, 118, 255, 0.25);
        border-color: rgba(0, 255, 204, 0.6);
    }
    100% {
        box-shadow:
            0 0 16px rgba(0, 212, 255, 0.3),
            0 0 30px rgba(0, 118, 255, 0.2),
            0 0 45px rgba(0, 255, 204, 0.15);
        border-color: rgba(0, 212, 255, 0.4);
    }
}

/* ===== Empty State ===== */
.empty-state {
    text-align: center;
    padding: 80px 20px;
}

.empty-icon {
    font-size: 80px;
    margin-bottom: 20px;
    opacity: 0.5;
}

.empty-icon i {
    color: var(--text-secondary);
}

.empty-state h3 {
    font-size: 24px;
    margin-bottom: 12px;
}

.empty-state p {
    color: var(--text-secondary);
    margin-bottom: 30px;
}

/* ===== Modal ===== */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2000;
    animation: fadeIn 0.3s ease;
}

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

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
}
.modal-content {
    position: relative;
    background: var(--card-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    max-width: 800px;
    max-height: 85vh;
    width: 90%;
    overflow-y: auto;
    z-index: 2001;
    animation: slideUp 0.3s ease;
    padding: 40px;
}
@keyframes slideUp {
    from { transform: translateY(50px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.payment-modal-content {
    max-width: 680px;
    width: min(680px, 92vw);
    padding: clamp(28px, 5vw, 40px);
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--glass-bg);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    font-size: 28px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.modal-close:hover {
    background: var(--danger);
    border-color: var(--danger);
    transform: rotate(90deg);
}

.analysis-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 40px;
    gap: 24px;
    min-height: 400px;
}

.analysis-loading .spinner {
    width: 60px;
    height: 60px;
    border: 4px solid rgba(255, 255, 255, 0.1);
    border-top-color: #FFFFFF;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.analysis-loading p {
    font-size: 18px;
    font-weight: 600;
    color: white;
    margin: 0;
}

.analysis-loading .loading-subtitle {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    margin-top: -8px;
}

.analysis-header {
    margin-bottom: 30px;
    background: rgba(15, 23, 42, 0.95);
    border-radius: 20px;
    padding: 32px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.analysis-header-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 24px;
}

.analysis-token-info {
    flex: 1;
}

.analysis-title {
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 12px;
    color: white;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}
.analysis-meta {
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.analysis-llm {
    font-weight: 600;
}

.analysis-divider {
    opacity: 0.5;
}
.analysis-scores-header {
    display: flex;
    gap: 16px;
}
.score-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    padding: 16px 20px;
    text-align: center;
    min-width: 100px;
}
.score-label {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 8px;
}
.score-value {
    font-size: 32px;
    font-weight: 800;
    color: white;
}

.score-value.low-risk { color: #00FF88; }
.score-value.medium-risk { color: #FFB800; }
.score-value.high-risk { color: #FF4757; }
.score-value.high-security { color: #00FF88; }
.score-value.medium-security { color: #FFB800; }
.score-value.low-security { color: #FF4757; }

.analysis-section {
    background: var(--glass-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 24px;
}

.analysis-section h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.risk-badge {
    display: inline-block;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 16px;
}

.risk-low {
    background: rgba(0, 255, 136, 0.2);
    color: var(--success);
    border: 1px solid var(--success);
}

.risk-medium {
    background: rgba(255, 184, 0, 0.2);
    color: var(--warning);
    border: 1px solid var(--warning);
}

.risk-high {
    background: rgba(255, 71, 87, 0.2);
    color: var(--danger);
    border: 1px solid var(--danger);
}

.analysis-list {
    list-style: none;
}

.analysis-list li {
    padding: 12px 0;
    padding-left: 24px;
    position: relative;
    border-bottom: 1px solid var(--border-color);
}

.analysis-list li:last-child {
    border-bottom: none;
}

.analysis-list li:before {
    content: "•";
    position: absolute;
    left: 8px;
    color: var(--primary-cyan);
    font-size: 20px;
}

.analysis-executive-summary {
    background: rgba(15, 23, 42, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 24px;
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.summary-icon {
    font-size: 48px;
    flex-shrink: 0;
}

.summary-content h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
    color: white;
}

.summary-content p {
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-primary);
}

.analysis-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    margin-bottom: 24px;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.section-header h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
}

.opportunities-count,
.warnings-count {
    background: var(--glass-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 4px 12px;
    font-size: 12px;
    font-weight: 700;
    color: var(--text-secondary);
}

.risk-score-visual {
    margin-top: 16px;
}

.risk-bar-container {
    width: 100%;
    height: 12px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 12px;
}

.risk-bar-fill {
    height: 100%;
    border-radius: 10px;
    transition: width 0.5s ease;
}

.risk-score-text {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-secondary);
    text-align: center;
}

.recommendation-section {
    border: 2px solid;
}

.recommendation-section.recommendation-buy {
    border-color: rgba(0, 255, 136, 0.5);
    background: rgba(0, 255, 136, 0.1);
}

.recommendation-section.recommendation-hold {
    border-color: rgba(255, 184, 0, 0.5);
    background: rgba(255, 184, 0, 0.1);
}

.recommendation-section.recommendation-avoid {
    border-color: rgba(255, 71, 87, 0.5);
    background: rgba(255, 71, 87, 0.1);
}

.recommendation-section.recommendation-speculate {
    border-color: rgba(255, 255, 255, 0.2);
    background: rgba(15, 23, 42, 0.8);
}

.recommendation-content {
    text-align: center;
}

.recommendation-main {
    font-size: 36px;
    font-weight: 900;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.recommendation-main.recommendation-buy { color: #00FF88; }
.recommendation-main.recommendation-hold { color: #FFB800; }
.recommendation-main.recommendation-avoid { color: #FF4757; }
.recommendation-main.recommendation-speculate { color: #FFFFFF; }

.recommendation-reason {
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-primary);
    opacity: 0.9;
}

.detailed-section {
    background: var(--glass-bg);
}

.detailed-analysis-content {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 12px;
    padding: 20px;
    border-left: 4px solid var(--primary-cyan);
}

.detailed-analysis-content p {
    font-size: 15px;
    line-height: 1.8;
    color: var(--text-primary);
    margin: 0;
}

.metrics-analysis-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 16px;
}

.metric-analysis-item {
    background: rgba(0, 212, 255, 0.05);
    border: 1px solid rgba(0, 212, 255, 0.2);
    border-radius: 12px;
    padding: 16px;
}

.metric-name {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--primary-cyan);
    margin-bottom: 8px;
}

.metric-analysis {
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-primary);
}

.opportunities-list,
.warnings-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.opportunity-item,
.warning-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 16px;
    background: var(--glass-bg);
    border-radius: 12px;
    margin-bottom: 12px;
    border-left: 4px solid;
    transition: all 0.3s ease;
}

.opportunity-item {
    border-left-color: #00FF88;
    background: rgba(0, 255, 136, 0.05);
}

.opportunity-item:hover {
    background: rgba(0, 255, 136, 0.1);
    transform: translateX(4px);
}

.warning-item {
    border-left-color: #FF4757;
    background: rgba(255, 71, 87, 0.05);
}

.warning-item:hover {
    background: rgba(255, 71, 87, 0.1);
    transform: translateX(4px);
}

.opportunity-icon,
.warning-icon {
    font-size: 20px;
    flex-shrink: 0;
    margin-top: 2px;
}

.opportunity-text,
.warning-text {
    flex: 1;
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-primary);
}

.confidence-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.confidence-percentage {
    font-size: 24px;
    font-weight: 800;
    color: var(--primary-cyan);
}

.confidence-bar-container {
    margin-top: 8px;
}

.confidence-bar {
    width: 100%;
    height: 16px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 8px;
}

.confidence-fill {
    height: 100%;
    border-radius: 12px;
    transition: width 1s ease;
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.5);
}

.confidence-label {
    font-size: 12px;
    color: var(--text-secondary);
    text-align: center;
}

.verification-section {
    background: rgba(0, 255, 136, 0.1);
    border: 1px solid rgba(0, 255, 136, 0.3);
    text-align: center;
}

.verification-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 12px;
}

.verification-icon {
    font-size: 24px;
}

.verification-text {
    font-size: 14px;
    font-weight: 600;
    color: #00FF88;
}
.confidence-bar {
    width: 100%;
    height: 10px;
    background: var(--glass-bg);
    border-radius: 10px;
    overflow: hidden;
    margin-top: 8px;
}
.confidence-fill {
    height: 100%;
    background: var(--gradient-1);
    transition: width 1s ease;
}

.payment-content {
    text-align: center;
}

.payment-content h2 {
    font-size: 32px;
    margin-bottom: 16px;
}

.payment-description {
    color: var(--text-secondary);
    margin-bottom: 30px;
}

.payment-details {
    background: var(--glass-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 30px;
}
.payment-alert {
    text-align: left;
    margin-bottom: 16px;
    padding: 12px 16px;
    border-radius: 12px;
    font-size: 14px;
    line-height: 1.5;
}

.payment-alert.info {
    background: rgba(0, 212, 255, 0.12);
    border: 1px solid rgba(0, 212, 255, 0.35);
    color: rgba(198, 235, 255, 0.9);
}

.payment-alert.warning {
    background: rgba(255, 196, 0, 0.12);
    border: 1px solid rgba(255, 196, 0, 0.35);
    color: rgba(255, 230, 150, 0.92);
}
.payment-alert.danger {
    background: rgba(255, 71, 87, 0.12);
    border: 1px solid rgba(255, 71, 87, 0.35);
    color: rgba(255, 186, 196, 0.95);
}
#subscription-plan-list {
    margin-bottom: 24px;
}

.payment-row {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    font-size: 16px;
}

.payment-status {
    min-height: 40px;
    margin-bottom: 20px;
}

.payment-note {
    font-size: 12px;
    color: var(--text-secondary);
    margin-top: 20px;
}
/* ===== Toast Notification ===== */
.toast {
    position: fixed;
    bottom: 120px;
    right: 30px;
    background: var(--card-bg);
    backdrop-filter: blur(20px);
    z-index: 10001; /* Above chat sidebar (z-index: 10000) */
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    padding: 16px 24px;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    z-index: 10001; /* Above chat sidebar (z-index: 10000) */
    transform: translateX(400px);
    transition: transform 0.3s ease;
    max-width: 350px;
    word-wrap: break-word;
}
.toast.show {
    transform: translateX(0);
}

.toast.success {
    border-color: var(--success);
}

.toast.error {
    border-color: var(--danger);
}

.toast.warning {
    border-color: var(--warning);
}

.toast.info {
    border-color: rgba(0, 212, 255, 0.6);
}

/* ===== Orbital Animation Section ===== */
.integrations-section {
    position: relative;
    overflow: hidden;
    background: transparent; /* Fully transparent - let global stars show through */
}

/* Smooth gradient fade at the bottom - seamless transition to FAQ */
.integrations-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 500px;
    background: linear-gradient(180deg, 
        transparent 0%, 
        transparent 70%,
        rgba(8, 12, 24, 0.02) 80%, 
        rgba(8, 12, 24, 0.05) 85%, 
        rgba(8, 12, 24, 0.1) 90%, 
        rgba(8, 12, 24, 0.15) 95%, 
        rgba(8, 12, 24, 0.2) 100%);
    pointer-events: none;
    z-index: 1;
}

.orbital-animation-container {
    position: relative;
    width: 100%;
    height: 600px;
    margin: 60px auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Starry Background */
.stars-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: transparent; /* Fully transparent - use global stars instead */
    z-index: 0;
}

/* Orbital System */
.orbital-system {
    position: relative;
    width: 600px;
    height: 600px;
    margin: 0 auto;
}

/* Central Core */
.orbital-core {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 180px;
    height: 180px;
    z-index: 10;
}

.core-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(0, 212, 255, 0.4) 0%, rgba(0, 150, 255, 0.2) 40%, transparent 70%);
    border-radius: 50%;
    animation: corePulse 3s ease-in-out infinite;
}

@keyframes corePulse {
    0%, 100% {
        opacity: 0.6;
        transform: translate(-50%, -50%) scale(1);
    }
    50% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1.1);
    }
}

.core-inner {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 160px;
    height: 160px;
    background: linear-gradient(135deg, rgba(0, 102, 255, 0.9) 0%, rgba(0, 150, 255, 0.8) 50%, rgba(0, 212, 255, 0.9) 100%);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 
        0 0 40px rgba(0, 212, 255, 0.6),
        0 0 80px rgba(0, 150, 255, 0.4),
        inset 0 0 40px rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(0, 212, 255, 0.5);
    z-index: 2;
}

.core-text {
    font-size: 24px;
    font-weight: 700;
    color: #FFFFFF;
    text-shadow: 
        0 0 20px rgba(255, 255, 255, 0.8),
        0 0 40px rgba(0, 212, 255, 0.6),
        0 2px 4px rgba(0, 0, 0, 0.8);
    letter-spacing: 1px;
}

.core-subtext {
    font-size: 12px;
    font-weight: 500;
    color: #FFFFFF;
    text-shadow: 
        0 0 15px rgba(255, 255, 255, 0.7),
        0 0 30px rgba(0, 212, 255, 0.5),
        0 1px 2px rgba(0, 0, 0, 0.8);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-top: 4px;
}

/* Orbital Paths SVG */
.orbital-paths {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    z-index: 1;
    animation: orbitRotate 60s linear infinite;
}
@keyframes orbitRotate {
    from {
        transform: translate(-50%, -50%) rotate(0deg);
    }
    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

/* Orbiting Elements */
.orbital-element {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 40px;
    height: 40px;
    transform-origin: center;
    z-index: 15;
    animation: orbit var(--orbit-speed, 20s) linear infinite;
    animation-delay: calc(var(--start-angle, 0deg) / 360deg * var(--orbit-speed, 20s) * -1);
}
/* Orbit 1 (innermost) */
.orbital-element.orbit-1 {
    --radius: 120px;
}

/* Orbit 2 (middle) */
.orbital-element.orbit-2 {
    --radius: 180px;
}

/* Orbit 3 (outermost) */
.orbital-element.orbit-3 {
    --radius: 240px;
}

@keyframes orbit {
    from {
        transform: translate(-50%, -50%) rotate(var(--start-angle, 0deg)) translateX(var(--radius, 120px)) rotate(calc(var(--start-angle, 0deg) * -1));
    }
    to {
        transform: translate(-50%, -50%) rotate(calc(var(--start-angle, 0deg) + 360deg)) translateX(var(--radius, 120px)) rotate(calc((var(--start-angle, 0deg) + 360deg) * -1));
    }
}

/* Ensure orbital elements use the correct radius */
.orbital-element {
    --radius: 120px; /* Default radius */
}

/* Orbital Capsule */
.orbital-capsule {
    width: 120px;
    padding: 10px 16px;
    background: rgba(10, 15, 30, 0.98);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(0, 212, 255, 0.6);
    border-radius: 30px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 500;
    color: #FFFFFF;
    box-shadow: 
        0 0 20px rgba(0, 212, 255, 0.4),
        inset 0 0 15px rgba(0, 212, 255, 0.15),
        0 2px 8px rgba(0, 0, 0, 0.5);
    transition: all 0.3s ease;
    white-space: nowrap;
    z-index: 10;
    position: relative;
}

.orbital-capsule span {
    color: #FFFFFF;
    font-weight: 500;
}

.orbital-capsule i {
    font-size: 16px;
    color: #00D4FF;
    text-shadow: 
        0 0 10px rgba(0, 212, 255, 1),
        0 0 20px rgba(0, 212, 255, 0.6);
    filter: drop-shadow(0 0 5px rgba(0, 212, 255, 0.8));
}

.orbital-capsule:hover {
    background: rgba(0, 212, 255, 0.25);
    border-color: rgba(0, 212, 255, 0.9);
    box-shadow: 
        0 0 30px rgba(0, 212, 255, 0.7),
        inset 0 0 20px rgba(0, 212, 255, 0.3),
        0 2px 8px rgba(0, 0, 0, 0.5);
    transform: scale(1.1);
    color: #FFFFFF;
}
.orbital-capsule:hover span {
    color: #FFFFFF;
}
.orbital-capsule:hover i {
    color: #FFFFFF;
    text-shadow: 
        0 0 15px rgba(0, 212, 255, 1),
        0 0 30px rgba(0, 212, 255, 0.7);
    filter: drop-shadow(0 0 8px rgba(0, 212, 255, 1));
}
/* ===== Info Sections (How It Works, Technical Overview, FAQ) ===== */
.info-section {
    padding: 80px 0;
    position: relative;
    z-index: 1;
}
/* First info section (How It Works) - seamless transition from video */
.info-section:first-of-type {
    position: relative;
    padding-top: 80px;
    overflow: hidden;
    background: transparent; /* Fully transparent - let global stars show through */
}
/* Smooth gradient fade at the top of "How it works" section */
.info-section:first-of-type::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 200px;
    background: linear-gradient(180deg, 
        transparent 0%, 
        transparent 70%,
        rgba(8, 12, 24, 0.02) 80%, 
        rgba(8, 12, 24, 0.05) 85%, 
        rgba(8, 12, 24, 0.1) 90%, 
        rgba(8, 12, 24, 0.15) 95%, 
        rgba(8, 12, 24, 0.2) 100%);
    pointer-events: none;
    z-index: 1;
}

.info-section-alt {
    background: transparent; /* Fully transparent - let global stars show through */
}

.section-title {
    font-size: 48px;
    font-weight: 300;
    text-align: center;
    margin-bottom: 20px;
    background: linear-gradient(
        135deg,
        #FF00FF 0%,
        #FF00CC 30%,
        #00D4FF 70%,
        #00BFFF 100%
    );
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    z-index: 2;
    letter-spacing: 0.02em;
    text-shadow: 0 0 20px rgba(255, 0, 255, 0.3), 0 0 40px rgba(0, 212, 255, 0.2);
}

.section-intro {
    font-size: 18px;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.7);
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px;
    line-height: 1.8;
    position: relative;
    z-index: 2;
    letter-spacing: 0.01em;
}

/* How It Works - Steps Grid */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.step-card {
    background: var(--card-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 40px 30px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.step-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 180, 255, 0.1) 0%, rgba(0, 136, 255, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.step-card:hover::before {
    opacity: 1;
}

.step-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary-cyan);
    box-shadow: 0 20px 50px rgba(0, 180, 255, 0.3);
}

.step-number {
    width: 70px;
    height: 70px;
    background: var(--gradient-1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: white;
    margin: 0 auto 20px;
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.4);
    transition: all 0.3s ease;
}

.step-number i {
    font-size: 32px;
    color: white;
}

.step-card:hover .step-number {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 0 30px rgba(0, 212, 255, 0.6);
}

.step-title {
    font-size: 24px;
    font-weight: 400;
    margin-bottom: 16px;
    color: rgba(255, 255, 255, 0.95);
    letter-spacing: 0.01em;
}

.step-description {
    font-size: 16px;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
    letter-spacing: 0.01em;
}

/* Technical Overview - Tech Grid */
.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.tech-card {
    background: var(--card-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 35px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.tech-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 180, 255, 0.1) 0%, rgba(0, 136, 255, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.tech-card:hover::before {
    opacity: 1;
}

.tech-card:hover {
    transform: translateY(-6px);
    border-color: var(--primary-cyan);
    box-shadow: 0 15px 40px rgba(0, 180, 255, 0.25);
}

.tech-icon {
    font-size: 48px;
    color: var(--primary-cyan);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tech-title {
    font-size: 22px;
    font-weight: 400;
    margin-bottom: 20px;
    color: rgba(255, 255, 255, 0.95);
    letter-spacing: 0.01em;
}

.tech-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.tech-list li {
    padding: 12px 0;
    padding-left: 24px;
    position: relative;
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.6;
    border-bottom: 1px solid rgba(0, 180, 255, 0.1);
}

.tech-list li:last-child {
    border-bottom: none;
}

.tech-list li::before {
    content: "▸";
    position: absolute;
    left: 0;
    color: var(--primary-cyan);
    font-size: 18px;
    font-weight: 700;
}

/* FAQ Section */
.faq-container {
    max-width: 900px;
    margin: 40px auto 0;
}

.faq-item {
    background: var(--card-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    margin-bottom: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: rgba(0, 212, 255, 0.5);
    box-shadow: 0 5px 20px rgba(0, 180, 255, 0.2);
}

.faq-question {
    padding: 24px 30px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    transition: all 0.3s ease;
    user-select: none;
}

.faq-question:hover {
    color: var(--primary-cyan);
}

.faq-question i {
    font-size: 24px;
    color: var(--primary-cyan);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
    padding: 0 30px;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 0 30px 24px;
}

.faq-answer p {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.8;
    margin: 0;
}

/* Responsive Styles for Info Sections */
@media (max-width: 768px) {
    .info-section {
        padding: 60px 0;
    }
    
    .info-section:first-of-type {
        padding-top: 60px; /* Normal padding since hero contains the video */
    }
    
    .section-title {
        font-size: 36px;
    }
    
    .section-intro {
        font-size: 16px;
        padding: 0 20px;
    }
    
    .steps-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .tech-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .step-card,
    .tech-card {
        padding: 30px 20px;
    }
    
    .faq-question {
        padding: 20px;
        font-size: 16px;
    }
    
    .faq-answer {
        padding: 0 20px;
    }
    
    .faq-item.active .faq-answer {
        padding: 0 20px 20px;
    }
}

@media (max-width: 480px) {
    .info-section:first-of-type {
        padding-top: 60px; /* Normal padding since hero contains the video */
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .section-intro {
        font-size: 14px;
    }
    
    .step-number {
        width: 50px;
        height: 50px;
        font-size: 24px;
    }
    
    .step-title,
    .tech-title {
        font-size: 20px;
    }
    
    .tech-icon {
        font-size: 40px;
    }
}
@media (max-width: 600px) {
    .payment-content h2 {
        font-size: 26px;
    }
    .payment-description {
       font-size: 14px;
        margin-bottom: 22px;
    }
    .payment-details {
        padding: 18px;
        margin-bottom: 22px;
    }
    .subscription-plan-card {
        padding: 18px;
    }
}

@media (max-width: 420px) {
    .payment-modal-content {
        padding: 22px;
    }
    .payment-content h2 {
        font-size: 24px;
    }
}
/* ===== Footer ===== */
.footer {
    background: var(--card-bg);
    backdrop-filter: blur(20px);
    border-top: 1px solid var(--border-color);
    padding: 40px 0;
    text-align: center;
    margin-top: auto;
}
.footer p {
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.footer strong {
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
}

/* ===== KOL Activity Styles ===== */
.kol-activity-container {
    min-height: 100px;
}

.kol-loading, .kol-empty-state, .kol-error {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 30px;
    text-align: center;
}

.kol-loading .loading-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid rgba(0, 212, 255, 0.2);
    border-top-color: var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 15px;
}
.kol-summary {
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.1), rgba(0, 102, 255, 0.1));
    border: 1px solid rgba(0, 212, 255, 0.3);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
    text-align: center;
}

.kol-count {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.kol-count-number {
    font-size: 36px;
    font-weight: 700;
    background: linear-gradient(135deg, #00d4ff, #0066ff);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.kol-count-label {
    font-size: 14px;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
}
.kol-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.kol-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 16px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.kol-item:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(0, 212, 255, 0.5);
    transform: translateX(5px);
}
.kol-rank {
    flex-shrink: 0;
}

.kol-rank-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.2), rgba(255, 165, 0, 0.2));
    border: 2px solid rgba(255, 215, 0, 0.5);
    border-radius: 50%;
    font-weight: 700;
    font-size: 14px;
    color: #FFD700;
}

.kol-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.kol-name {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
}

.kol-address {
    font-size: 12px;
    color: var(--text-secondary);
    font-family: 'Courier New', monospace;
}

.kol-status {
    flex-shrink: 0;
}

.kol-active-badge {
    display: inline-block;
    padding: 6px 12px;
    background: rgba(0, 255, 136, 0.15);
    border: 1px solid rgba(0, 255, 136, 0.3);
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    color: #00ff88;
}

/* ===== KOL Dashboard Modal ===== */
.btn-kol {
    background: rgba(10, 15, 30, 0.9) !important;
    border: 2px solid rgba(0, 212, 255, 0.5) !important;
    color: var(--text-primary) !important;
    position: relative;
    overflow: hidden;
    border-radius: 50px !important;
    padding: 16px 36px !important;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.btn-kol:hover {
    transform: translateY(-2px) !important;
    border-color: rgba(0, 212, 255, 0.8) !important;
    box-shadow: 
        0 0 20px rgba(0, 212, 255, 0.4),
        0 4px 12px rgba(0, 0, 0, 0.3) !important;
}

.btn-kol:active {
    transform: translateY(0) !important;
}

.kol-dashboard-content {
    max-width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    padding: 0;
}

.kol-dashboard-body {
    padding: 0;
}

/* ===== New KOL Dashboard Layout ===== */
.kol-dashboard-layout {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 20px;
    padding: 20px;
    height: 100%;
    max-height: calc(90vh - 80px);
}

.kol-main-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
    overflow-y: auto;
}

.kol-network-view-new {
    background: rgba(10, 15, 30, 0.9);
    border: 1px solid rgba(0, 212, 255, 0.2);
    border-radius: 16px;
    padding: 20px;
    position: relative;
}

.kol-network-canvas-new {
    width: 100%;
    height: 500px;
    border-radius: 12px;
    display: block;
}

.kol-network-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 16px;
    gap: 16px;
}

.kol-nav-btn {
    padding: 8px 20px;
    background: rgba(0, 212, 255, 0.1);
    border: 1px solid rgba(0, 212, 255, 0.3);
    border-radius: 8px;
    color: var(--text-primary);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.kol-nav-btn:hover {
    background: rgba(0, 212, 255, 0.2);
    border-color: rgba(0, 212, 255, 0.5);
    transform: translateY(-2px);
}

.kol-token-counter {
    font-size: 14px;
    color: var(--text-secondary);
    font-weight: 600;
}
.kol-data-table-section {
    background: rgba(10, 15, 30, 0.9);
    border: 1px solid rgba(0, 212, 255, 0.2);
    border-radius: 16px;
    overflow: hidden;
}

.kol-table-tabs {
    display: flex;
    gap: 8px;
    padding: 16px;
    border-bottom: 1px solid rgba(0, 212, 255, 0.2);
    background: rgba(0, 212, 255, 0.05);
}

.kol-table-tab {
    padding: 10px 20px;
    background: transparent;
    border: 1px solid rgba(0, 212, 255, 0.3);
    border-radius: 8px;
    color: var(--text-secondary);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}
.kol-table-tab:hover {
    border-color: rgba(0, 212, 255, 0.5);
    color: var(--text-primary);
}

.kol-table-tab.active {
    background: rgba(0, 212, 255, 0.15);
    border-color: rgba(0, 212, 255, 0.6);
    color: var(--primary-color);
}

.kol-table-content {
    display: none;
    padding: 20px;
    max-height: 400px;
    overflow-y: auto;
}

.kol-table-content.active {
    display: block;
}

.kol-transactions-table,
.kol-leaderboard-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}
.kol-transactions-table thead,
.kol-leaderboard-table thead {
    background: rgba(0, 212, 255, 0.1);
}

.kol-transactions-table th,
.kol-leaderboard-table th {
    padding: 12px;
    text-align: left;
    font-weight: 700;
    color: var(--text-primary);
    text-transform: uppercase;
    font-size: 11px;
    letter-spacing: 0.5px;
    border-bottom: 1px solid rgba(0, 212, 255, 0.2);
}

.kol-transactions-table td,
.kol-leaderboard-table td {
    padding: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
}

.kol-transactions-table tbody tr:hover,
.kol-leaderboard-table tbody tr:hover {
    background: rgba(0, 212, 255, 0.05);
}

.kol-type-badge {
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
}

.kol-type-badge.buy {
    background: rgba(0, 255, 136, 0.15);
    color: #00ff88;
    border: 1px solid rgba(0, 255, 136, 0.3);
}

.kol-type-badge.sell {
    background: rgba(255, 71, 87, 0.15);
    color: #ff4757;
    border: 1px solid rgba(255, 71, 87, 0.3);
}
.kol-solscan-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: rgba(0, 212, 255, 0.1);
    border: 1px solid rgba(0, 212, 255, 0.3);
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
}
.kol-solscan-link:hover {
    background: rgba(0, 212, 255, 0.2);
    border-color: rgba(0, 212, 255, 0.5);
    transform: scale(1.1);
}
.kol-solscan-icon {
    color: var(--primary-color);
    font-size: 16px;
    font-weight: 700;
}

.kol-table-empty {
    text-align: center;
    padding: 40px;
    color: var(--text-secondary);
}
.kol-load-btn {
    margin-top: 16px;
    padding: 10px 20px;
    background: rgba(0, 212, 255, 0.1);
    border: 1px solid rgba(0, 212, 255, 0.3);
    border-radius: 8px;
    color: var(--text-primary);
    cursor: pointer;
    transition: all 0.3s ease;
}

.kol-load-btn:hover {
    background: rgba(0, 212, 255, 0.2);
}
/* ===== KOL Token Sidebar ===== */
.kol-token-sidebar {
    background: rgba(10, 15, 30, 0.9);
    border: 1px solid rgba(0, 212, 255, 0.2);
    border-radius: 16px;
    padding: 20px;
    overflow-y: auto;
    max-height: calc(90vh - 80px);
}
.kol-sidebar-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(0, 212, 255, 0.2);
}
.kol-sidebar-logo {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: rgba(0, 212, 255, 0.1);
    border: 3px solid rgba(0, 212, 255, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
    overflow: hidden;
}

.kol-sidebar-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.token-placeholder {
    font-size: 32px;
    font-weight: 700;
    color: var(--text-primary);
}

.kol-sidebar-token-name {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 8px 0 4px;
}

.kol-sidebar-token-symbol {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 4px;
}

.kol-sidebar-token-address {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: var(--text-secondary);
    font-family: 'Courier New', monospace;
}

.kol-address-text {
    flex: 1;
}

.kol-address-copy-btn {
    background: rgba(0, 212, 255, 0.1);
    border: 1px solid rgba(0, 212, 255, 0.3);
    border-radius: 6px;
    padding: 4px 6px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    color: var(--primary-cyan);
    flex-shrink: 0;
}

.kol-address-copy-btn:hover {
    background: rgba(0, 212, 255, 0.2);
    border-color: rgba(0, 212, 255, 0.5);
    transform: scale(1.1);
}

.kol-address-copy-btn:active {
    transform: scale(0.95);
}

.kol-address-copy-btn svg {
    display: block;
}

.kol-sidebar-rugcheck {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    border-radius: 12px;
    margin-bottom: 20px;
}

.kol-rugcheck-icon {
    font-size: 24px;
}

.kol-rugcheck-text {
    flex: 1;
    font-size: 13px;
    color: var(--text-primary);
}

.kol-sidebar-metrics {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(0, 212, 255, 0.2);
}

.kol-metric-row {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 12px;
    background: rgba(0, 212, 255, 0.05);
    border-radius: 8px;
}

.kol-metric-label {
    font-size: 11px;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}

.kol-metric-value {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-primary);
}

.kol-metric-value.highlight {
    color: #FFB800;
}

.kol-sidebar-financial {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(0, 212, 255, 0.2);
}

.kol-financial-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
}

.kol-financial-label {
    font-size: 12px;
    color: var(--text-secondary);
    text-transform: uppercase;
    font-weight: 600;
}

.kol-financial-value {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-primary);
}

.kol-financial-value.positive {
    color: #00ff88;
}

.kol-financial-value.negative {
    color: #ff4757;
}

.kol-sidebar-stats {
    display: flex;
    gap: 16px;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(0, 212, 255, 0.2);
}

.kol-stat-row {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 12px;
    background: rgba(0, 212, 255, 0.05);
    border-radius: 8px;
}

.kol-stat-label {
    font-size: 11px;
    color: var(--text-secondary);
    text-transform: uppercase;
    font-weight: 600;
}

.kol-stat-value {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary-color);
}

.kol-sidebar-transactions {
    padding-top: 20px;
}

.kol-transactions-title {
    font-size: 13px;
    color: var(--text-secondary);
    text-transform: uppercase;
    font-weight: 700;
    margin-bottom: 12px;
    letter-spacing: 0.5px;
}

.kol-transactions-summary {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.kol-transaction-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 12px;
    background: rgba(0, 212, 255, 0.05);
    border-radius: 8px;
}

.kol-transaction-label {
    font-size: 12px;
    color: var(--text-secondary);
    font-weight: 600;
}

.kol-transaction-value {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-primary);
}

.kol-transaction-value.positive {
    color: #00ff88;
}

.kol-transaction-value.negative {
    color: #ff4757;
}

/* Responsive */
@media (max-width: 1400px) {
    .kol-dashboard-layout {
        grid-template-columns: 1fr 350px;
    }
}

@media (max-width: 1200px) {
    .kol-dashboard-layout {
        grid-template-columns: 1fr;
        grid-template-rows: auto auto;
    }
    
    .kol-token-sidebar {
        max-height: 500px;
    }
}

.kol-dashboard-header {
    padding: 20px;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.1), rgba(0, 102, 255, 0.1));
    border-bottom: 1px solid var(--border-color);
}

.kol-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
}

.kol-stat-card {
    text-align: center;
    padding: 20px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    border-radius: 12px;
}

.kol-stat-number {
    font-size: 32px;
    font-weight: 700;
    background: linear-gradient(135deg, #00d4ff, #0066ff);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 8px;
}

.kol-stat-label {
    font-size: 12px;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.kol-dashboard-section {
    padding: 20px;
}

.kol-dashboard-section h3 {
    font-size: 20px;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.kol-tokens-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.kol-token-card {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 16px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.kol-token-card:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(0, 212, 255, 0.5);
    transform: translateX(5px);
}

.kol-token-rank {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.2), rgba(255, 165, 0, 0.2));
    border: 2px solid rgba(255, 215, 0, 0.5);
    border-radius: 50%;
    font-weight: 700;
    font-size: 16px;
    color: #FFD700;
}

.kol-token-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.kol-token-name {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.kol-token-address {
    font-size: 13px;
    font-weight: 500;
    color: var(--text-secondary);
    font-family: 'Courier New', monospace;
    margin-bottom: 6px;
}

.kol-token-traders {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.kol-token-count {
    font-size: 14px;
    font-weight: 600;
    color: var(--primary-color);
}
.kol-token-names {
    font-size: 12px;
    color: var(--text-secondary);
}
.kol-token-actions {
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
}

.kol-token-stats {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 6px;
}

.kol-token-swaps {
    font-size: 12px;
    color: var(--text-secondary);
    padding: 4px 10px;
    background: rgba(0, 212, 255, 0.15);
    border: 1px solid rgba(0, 212, 255, 0.3);
    border-radius: 12px;
}

.kol-token-sentiment {
    font-size: 12px;
    font-weight: 600;
    padding: 4px 10px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
}

.kol-token-buysell {
    font-size: 11px;
    color: var(--text-secondary);
    font-weight: 500;
}
/* ===== KOL View Tabs ===== */
.kol-view-tabs {
    display: flex;
    gap: 10px;
    padding: 20px 20px 10px;
    border-bottom: 1px solid var(--border-color);
}
.kol-tab {
    padding: 10px 24px;
    background: transparent;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.kol-tab:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.kol-tab.active {
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.2), rgba(0, 102, 255, 0.2));
    border-color: var(--primary-color);
    color: var(--primary-color);
}
/* ===== KOL Network View ===== */
.kol-network-view {
    padding: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 600px;
}
.kol-network-canvas {
    width: 100%;
    max-width: 900px;
    height: 600px;
    border-radius: 12px;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.kol-list-view {
    padding: 20px;
}
/* ===== Modern KOL Token Cards ===== */
.kol-token-card-modern {
    display: flex;
    gap: 20px;
    padding: 24px;
    background: linear-gradient(135deg, rgba(15, 25, 45, 0.9), rgba(10, 15, 30, 0.9));
    border: 1px solid rgba(0, 212, 255, 0.2);
    border-radius: 16px;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.kol-token-card-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.kol-token-card-modern:hover {
    border-color: var(--primary-color);
    box-shadow: 0 8px 32px rgba(0, 212, 255, 0.2);
    transform: translateY(-2px);
}

.kol-token-card-modern:hover::before {
    opacity: 1;
}

.kol-token-rank-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.2), rgba(255, 165, 0, 0.2));
    border: 2px solid rgba(255, 215, 0, 0.5);
    border-radius: 8px;
    font-weight: 700;
    font-size: 14px;
    color: #FFD700;
}

.kol-token-logo-wrapper {
    flex-shrink: 0;
    margin-top: 20px;
}

.kol-token-logo {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(0, 102, 255, 0.2), rgba(0, 212, 255, 0.2));
    border: 3px solid var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    font-weight: 700;
    color: var(--text-primary);
    overflow: hidden;
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.3);
}

.kol-token-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.kol-token-details {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.kol-token-header-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
}

.kol-token-name-group {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.kol-token-name-modern {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.2;
}

.kol-token-symbol-modern {
    font-size: 14px;
    color: var(--text-secondary);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.kol-sentiment-badge {
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.kol-sentiment-badge.bullish {
    background: rgba(0, 255, 136, 0.15);
    border: 1px solid rgba(0, 255, 136, 0.3);
    color: #00ff88;
}

.kol-sentiment-badge.neutral {
    background: rgba(255, 215, 0, 0.15);
    border: 1px solid rgba(255, 215, 0, 0.3);
    color: #FFD700;
}

.kol-sentiment-badge.bearish {
    background: rgba(255, 71, 87, 0.15);
    border: 1px solid rgba(255, 71, 87, 0.3);
    color: #ff4757;
}

.kol-token-metrics {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 16px;
}
.kol-metric {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.kol-metric-label {
    font-size: 11px;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}

.kol-metric-value {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-primary);
}

.kol-metric-value.positive {
    color: #00ff88;
}

.kol-metric-value.negative {
    color: #ff4757;
}
.kol-token-activity {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.kol-activity-bar {
    display: flex;
    height: 8px;
    border-radius: 4px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.05);
}

.kol-activity-buys {
    background: linear-gradient(90deg, #00ff88, #00cc6a);
    transition: width 0.3s ease;
}

.kol-activity-sells {
    background: linear-gradient(90deg, #ff4757, #cc3847);
    transition: width 0.3s ease;
}

.kol-activity-labels {
    display: flex;
    justify-content: space-between;
    font-size: 11px;
    font-weight: 600;
}

.buy-label {
    color: #00ff88;
}

.sell-label {
    color: #ff4757;
}

.kol-traders-group {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding-top: 8px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.kol-traders-count {
    font-size: 12px;
    font-weight: 600;
    color: var(--primary-color);
}

.kol-traders-names {
    font-size: 11px;
    color: var(--text-secondary);
}

/* Updated Stats Cards */
.kol-stat-card {
    position: relative;
    overflow: hidden;
}

.kol-stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.05), rgba(0, 102, 255, 0.05));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.kol-stat-card.active::before {
    opacity: 1;
}
.kol-stat-icon {
    font-size: 24px;
    margin-bottom: 8px;
    filter: grayscale(0.5);
}

.kol-stat-card.active .kol-stat-icon {
    filter: grayscale(0);
}
/* Pump.fun Badge in KOL Tracker */
.pump-fun-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 2px 8px;
    margin-left: 8px;
    background: linear-gradient(135deg, rgba(138, 43, 226, 0.2), rgba(123, 31, 162, 0.2));
    border: 1px solid rgba(138, 43, 226, 0.4);
    border-radius: 10px;
    font-size: 9px;
    font-weight: 700;
    color: #b47dff;
    letter-spacing: 0.5px;
}
.pump-badge-logo {
    width: 12px;
    height: 12px;
    object-fit: contain;
}
/* ===== Responsive Design ===== */

/* Smaller monitors (laptops) */
@media (max-width: 1400px) {
    .hero-title {
        font-size: 52px;
    }
    
    .hero-subtitle {
        font-size: 18px;
    }
}
@media (max-width: 1200px) {
    .hero-title {
        font-size: 48px;
    }
    
    .hero-subtitle {
        font-size: 18px;
    }
}
@media (max-width: 1024px) {
    .hero-title {
        font-size: 42px;
    }
    
    .hero-subtitle {
        font-size: 17px;
    }
}
/* Tablet */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 12px;
        align-items: center;
    }
    
    .header-center {
        order: 1;
    }
    
    .header-right {
        order: 2;
        width: 100%;
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }
    
    .header-left {
        order: 3;
        width: 100%;
        justify-content: center;
    }
    
    .header-nav {
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
        gap: 10px;
    }
    
    .status-indicator {
        padding: 4px 8px;
        gap: 4px;
    }
    
    .status-label {
        font-size: 9px;
    }
    
    .status-dot {
        width: 6px;
        height: 6px;
    }
    
    .logo-text {
        font-size: 18px;
    }
    
    .logo-image {
        height: 32px;
    }
    
    .header-right .user-account,
    #login-button {
        width: 100%;
        justify-content: center;
    }
    
    .header-right .user-account {
        gap: 10px;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .tokens-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 12px;
        width: 100%;
    }
    
    .ai-call-history-sidebar {
        width: 100%;
        margin-left: 0;
        margin-top: 24px;
        position: relative;
        max-height: none;
        overflow-x: hidden;
    }
    
    .token-card {
        padding: 16px;
    }
    
    .token-header {
        gap: 12px;
        margin-bottom: 12px;
    }
    
    .token-logo {
        width: 48px;
        height: 48px;
        font-size: 22px;
    }
    
    .token-name-row {
        gap: 6px;
    }
    
    .token-name {
        font-size: 16px;
    }
    
    .token-symbol {
        font-size: 12px;
    }
    
    .kol-badge-token-card {
        padding: 3px 8px;
        font-size: 10px;
        gap: 3px;
    }
    
    .kol-badge-token-card i {
        font-size: 10px;
    }
    
    .token-stats {
        gap: 8px;
        margin-bottom: 12px;
    }
    
    .token-stat {
        padding: 10px;
    }
    
    .token-details {
        margin-bottom: 12px;
    }
    
    .token-detail-row {
        padding: 6px 0;
        font-size: 13px;
    }
    
    .token-actions {
        gap: 8px;
        flex-direction: column;
    }
    
    .token-actions-group-compact {
        flex-direction: column;
    }
    
    .btn-analyze {
        width: 100%;
    }
    
    .btn-add-watchlist {
        width: 100%;
    }
    
    .btn-watchlist-inline {
        width: 100%;
        flex: 1 1 auto;
    }

    .filter-buttons {
        justify-content: flex-start;
        overflow-x: auto;
        flex-wrap: nowrap;
        padding-bottom: 10px;
    }

    .modal-content {
        width: 95%;
        padding: 24px;
    }

    .payment-modal-content {
        width: 95%;
    }

    .ai-call-performance-card {
        padding: 20px;
        border-radius: 18px;
    }

    .ai-call-history-card {
        padding: 14px;
        border-radius: 14px;
    }

    .call-history-header {
        gap: 8px;
        margin-bottom: 12px;
    }

    .call-history-logo {
        width: 38px;
        height: 38px;
    }

    .call-history-name {
        font-size: 15px;
    }

    .call-performance-multiplier {
        font-size: 22px;
    }

    .call-performance-percent {
        font-size: 16px;
    }

    .call-history-details {
        padding: 12px;
    }

    .call-history-detail-row {
        padding: 6px 0;
        font-size: 12px;
    }

    .call-history-stats {
        gap: 10px;
        margin: 14px 0;
    }

    .call-history-stat {
        padding: 12px;
    }

    .call-history-actions {
        gap: 8px;
    }

    .call-history-actions .btn-analyze,
    .call-history-actions .btn-add-watchlist {
        font-size: 13px;
        padding: 10px 14px;
    }

    .call-history-note {
        font-size: 11px;
    }

    .toast {
        bottom: 100px;
        right: 20px;
        left: 20px;
        max-width: none;
    }
}
/* Mobile */
@media (max-width: 480px) {
    .agent-video-container {
        display: flex !important;
        position: relative;
        width: min(70vw, 240px);
        height: min(70vw, 240px);
        top: 0;
        opacity: 0.95;
        margin: 0 auto 20px;
    }
    
    .chain-volume-box {
        padding: 12px;
    }
    
    .chain-volume-item {
        padding: 6px;
        gap: 4px;
    }
    
    .chain-volume-header {
        gap: 8px;
    }
    
    .chain-volume-logo,
    .chain-volume-logo-fallback {
        width: 24px;
        height: 24px;
    }
    
    .chain-volume-name {
        font-size: 13px;
    }
    
    .chain-volume-value {
        font-size: 12px;
    }
    
    .tokens-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 12px;
        width: 100%;
    }
    
    .token-card {
        padding: 12px;
    }
    
    .header {
        padding: 12px 0;
    }
    
    .header-content {
        flex-direction: column;
        gap: 10px;
        align-items: center;
        text-align: center;
    }
    
    .header-center {
        order: 1;
        flex-direction: column;
        gap: 10px;
    }
    
    .header-right {
        order: 2;
        width: 100%;
        flex-direction: column;
        align-items: center;
        gap: 8px;
    }
    
    .header-left {
        order: 3;
        width: 100%;
        display: flex;
        justify-content: center;
    }
    
    .header-nav {
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
        gap: 8px;
    }
    
    .nav-link {
        font-size: 13px;
        padding: 8px 14px;
    }
    
    .nav-link-icon {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        padding: 8px 12px;
        gap: 6px;
    }
    
    .nav-link-icon-img {
        width: 18px;
        height: 18px;
        object-fit: contain;
    }
    
    /* Compact user account for mobile */
    .user-account {
        display: flex !important;
        padding: 6px 12px;
        gap: 8px;
        max-width: 100%;
        overflow: hidden;
    }
    
    .user-avatar {
        width: 32px;
        height: 32px;
        flex-shrink: 0;
    }
    
    .user-avatar span {
        font-size: 14px;
    }
    
    .user-info {
        min-width: 0;
        flex: 1;
        overflow: hidden;
    }
    
    .user-name {
        font-size: 12px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    
    .user-wallet {
        font-size: 10px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    
    .user-balance {
        font-size: 11px;
        padding: 3px 8px;
        white-space: nowrap;
        flex-shrink: 0;
    }
    
    .user-menu-btn {
        font-size: 10px;
        padding: 2px;
        flex-shrink: 0;
    }

    .ai-call-performance-card {
        padding: 18px;
    }

    .ai-call-history-card {
        padding: 14px;
        border-radius: 14px;
    }

    .call-history-header {
        gap: 8px;
        margin-bottom: 12px;
    }

    .call-history-logo {
        width: 38px;
        height: 38px;
    }

    .call-history-name {
        font-size: 15px;
    }

    .call-performance-multiplier {
        font-size: 22px;
    }

    .call-performance-percent {
        font-size: 16px;
    }
    
    /* Hide login button when user is logged in (handled by JS, but ensure it's hidden) */
    #login-button {
        font-size: 12px;
        padding: 8px 16px;
        min-width: 140px;
        min-height: 44px;
        z-index: 10000 !important;
        position: relative;
        pointer-events: auto !important;
    }
    
    /* Hide status indicator on mobile */
    .header-right .status-indicator {
        display: none;
    }
    
    /* Prevent horizontal scroll on mobile */
    html, body {
        overflow-x: hidden;
        width: 100%;
        max-width: 100vw;
        position: relative;
    }
    
    .container {
        max-width: 100%;
        padding: 0 16px;
        overflow-x: hidden;
    }
    
    * {
        max-width: 100%;
        box-sizing: border-box;
    }
    
    .logo {
        justify-content: center;
    }
    
    .logo-text {
        font-size: 18px;
    }
    
    .logo-image {
        height: 30px;
    }

    .hero-title {
        font-size: 24px;
        line-height: 1.2;
        padding: 0 16px;
    }

    .hero-subtitle {
        font-size: 14px;
        padding: 0 20px;
        margin-bottom: 24px;
    }

    .stat-value {
        font-size: 28px;
    }

    .stats-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .token-stats {
        grid-template-columns: 1fr;
    }

    .search-container {
        padding: 0 16px;
    }
    
    .search-box {
        flex-direction: column;
        margin-bottom: 8px;
    }

    .search-input {
        width: 100%;
        padding: 14px 20px;
        font-size: 15px;
    }

    .search-button {
        width: 100%;
        padding: 14px 24px;
        margin-bottom: 8px;
    }
    
    .search-button .btn-holo-text {
        font-size: 14px;
    }
    
    .search-hint {
        font-size: 12px;
        padding: 0 16px;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 12px;
        padding: 0 16px;
        width: 100%;
    }
    
    .btn-primary {
        padding: 14px 28px;
        font-size: 14px;
        width: 100%;
        max-width: 100%;
    }
    
    .btn-kol,
    .btn-secondary {
        width: 100%;
    }
}
/* ===== Loading State ===== */
.skeleton {
    background: linear-gradient(90deg, var(--glass-bg) 25%, rgba(255, 255, 255, 0.1) 50%, var(--glass-bg) 75%);
    background-size: 200% 100%;
    animation: loading 1.5s ease-in-out infinite;
}
@keyframes loading {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* ===== Token Details Modal ===== */
.token-details-content {
    max-width: 900px;
    width: 95%;
    max-height: 90vh;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 0;
}

.token-details-header {
    background: rgba(10, 20, 35, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(0, 212, 255, 0.2);
    border-bottom: 2px solid rgba(0, 212, 255, 0.3);
    padding: 28px 32px;
    border-radius: 16px 16px 0 0;
    position: relative;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.token-details-header-content {
    display: flex;
    align-items: center;
    gap: 20px;
    position: relative;
}

.token-details-info {
    flex: 1;
}

.token-details-header-right {
    position: absolute;
    top: 32px;
    right: 32px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.token-details-contract-address {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 6px;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 212, 255, 0.3);
    border-radius: 10px;
    padding: 12px 16px;
    min-width: 220px;
}

.contract-label {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-secondary);
}

.contract-value-row {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
}

.contract-value {
    font-size: 13px;
    font-family: 'Courier New', monospace;
    font-weight: 600;
    color: var(--text-primary);
    word-break: break-all;
    flex: 1;
}

.contract-copy-btn {
    background: rgba(0, 212, 255, 0.1);
    border: 1px solid rgba(0, 212, 255, 0.3);
    border-radius: 6px;
    padding: 6px 8px;
    cursor: pointer;
    font-size: 16px;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 32px;
    height: 32px;
    flex-shrink: 0;
    color: #00D4FF;
}

.contract-copy-btn i {
    font-size: 16px;
}
.contract-copy-btn:hover {
    background: rgba(0, 212, 255, 0.2);
    border-color: rgba(0, 212, 255, 0.5);
    color: #00FF88;
    transform: scale(1.05);
}

.contract-copy-btn:active {
    transform: scale(0.95);
}

.token-details-logo {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    border: 2px solid rgba(0, 212, 255, 0.4);
    box-shadow: 0 4px 20px rgba(0, 212, 255, 0.2);
    overflow: hidden;
}

.token-details-logo-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.token-details-logo-fallback {
    font-size: 32px;
    font-weight: 800;
    color: #00D4FF;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.token-details-info h2 {
    font-size: 28px;
    margin-bottom: 8px;
    background: linear-gradient(135deg, #00D4FF, #00FF88);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800;
}

.token-details-symbol {
    font-size: 16px;
    color: var(--text-secondary);
    margin-bottom: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.token-details-chain-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: rgba(0, 212, 255, 0.1);
    border: 1px solid rgba(0, 212, 255, 0.3);
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #00D4FF;
}

.dexscreener-status-badge {
    display: inline-flex;
    align-items: center;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    transition: all 0.3s ease;
    animation: fadeIn 0.5s ease;
}

.dexscreener-status-badge .badge-loading {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--text-muted);
}

.dexscreener-status-badge .badge-loading::before {
    content: '⏳';
    animation: pulse 1.5s ease infinite;
}

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

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

.token-details-body {
    padding: 32px;
    max-width: 100%;
    overflow-x: hidden;
}

.token-details-section {
    margin-bottom: 32px;
    max-width: 100%;
    overflow-x: hidden;
}
.token-details-section h3 {
    font-size: 20px;
    margin-bottom: 16px;
    color: var(--primary-cyan);
    display: flex;
    align-items: center;
    gap: 8px;
}

.token-details-section h3 i {
    font-size: 22px;
    color: #00D4FF;
}

/* Top Holders Styles */
.top-holders-container {
    background: var(--glass-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 20px;
    position: relative;
}

.top-holders-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px;
    gap: 16px;
}
.top-holders-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.top-holders-header {
    display: grid;
    grid-template-columns: 50px 1fr 150px 200px;
    gap: 16px;
    padding: 12px 16px;
    background: rgba(0, 180, 255, 0.1);
    border-radius: 12px;
    font-weight: 700;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.top-holder-item {
    display: grid;
    grid-template-columns: 50px 1fr 150px 200px;
    gap: 16px;
    padding: 16px;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    transition: all 0.3s ease;
    align-items: center;
}

.top-holder-item:hover {
    background: rgba(0, 180, 255, 0.08);
    border-color: var(--primary-purple);
    transform: translateX(4px);
}

.holder-rank {
    font-weight: 700;
    font-size: 16px;
    color: var(--primary-purple);
    text-align: center;
}

.holder-address {
    display: flex;
    align-items: center;
}

.holder-address-text {
    font-family: 'Courier New', monospace;
    font-size: 14px;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 8px;
}

.holder-label {
    display: inline-block;
    padding: 2px 8px;
    background: rgba(0, 255, 136, 0.15);
    border: 1px solid rgba(0, 255, 136, 0.3);
    border-radius: 6px;
    font-size: 11px;
    font-weight: 600;
    color: var(--success);
    text-transform: uppercase;
}

.holder-balance {
    font-weight: 600;
    font-size: 14px;
    color: var(--text-primary);
    text-align: right;
}
.holder-percentage {
    display: flex;
    align-items: center;
}

.holder-percentage-bar-container {
    position: relative;
    width: 100%;
    height: 24px;
    background: rgba(0, 180, 255, 0.1);
    border-radius: 12px;
    overflow: hidden;
}
.holder-percentage-bar {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    background: linear-gradient(90deg, var(--primary-purple) 0%, var(--primary-pink) 100%);
    border-radius: 12px;
    transition: width 0.5s ease;
}
.holder-percentage-text {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    font-size: 12px;
    font-weight: 700;
    color: var(--text-primary);
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
    z-index: 1;
}
/* Responsive Top Holders */
@media (max-width: 768px) {
    .top-holders-header,
    .top-holder-item {
        grid-template-columns: 40px 1fr 100px;
    }
    
    .holder-balance {
        display: none;
    }
}
/* Security Score Radar Chart */
.security-score-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    align-items: center;
    padding: 16px;
    background: var(--glass-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    max-width: 100%;
    overflow: hidden;
}
#security-radar-chart {
    width: 100% !important;
    height: 400px !important;
    max-width: 400px;
    max-height: 400px;
    margin: 0 auto;
}

.security-score-legend {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.security-legend-items {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.security-legend-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    background: rgba(0, 180, 255, 0.05);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.security-legend-item:hover {
    background: rgba(0, 180, 255, 0.1);
    transform: translateX(4px);
}

.security-legend-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    flex-shrink: 0;
}

.security-legend-label {
    flex: 1;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
}

.security-legend-value {
    font-size: 16px;
    font-weight: 700;
    color: var(--primary-purple);
}

.security-overall-score {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px;
    background: rgba(0, 180, 255, 0.15);
    border: 1px solid rgba(0, 180, 255, 0.3);
    border-radius: 12px;
    margin-top: 8px;
}

.security-overall-label {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.security-overall-value {
    font-size: 28px;
    font-weight: 900;
}
/* Responsive Security Radar */
@media (max-width: 1200px) {
    .security-score-container {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    #security-radar-chart {
        width: 100% !important;
        height: 350px !important;
        max-width: 350px;
        max-height: 350px;
        margin: 0 auto;
    }
}
@media (max-width: 768px) {
    .security-score-container {
        padding: 12px;
    }
    
    #security-radar-chart {
        width: 100% !important;
        height: 300px !important;
        max-width: 300px;
        max-height: 300px;
        margin: 0 auto;
    }
    
    .security-legend-item {
        gap: 8px;
    }
    
    .security-legend-label {
        font-size: 12px;
    }
    
    .security-overall-score {
        flex-direction: column;
        text-align: center;
        gap: 8px;
    }
    
    .security-overall-label,
    .security-overall-value {
        font-size: 16px;
    }
}

/* Trading Indicators Styles */
.trading-indicators-container {
    background: var(--glass-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 24px;
}
.indicators-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px;
    gap: 16px;
}
.indicators-locked {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 40px;
    gap: 24px;
    text-align: center;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 12px;
    border: 2px dashed rgba(0, 212, 255, 0.3);
}

.indicators-locked-icon {
    font-size: 64px;
    color: rgba(0, 212, 255, 0.5);
    margin-bottom: 8px;
}

.indicators-locked-content h4 {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.indicators-locked-content p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
    max-width: 400px;
    margin-bottom: 20px;
}

.btn-unlock-indicators {
    padding: 12px 24px;
    background: var(--gradient-1);
    border: none;
    border-radius: 12px;
    color: white;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-unlock-indicators:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 212, 255, 0.4);
}

.token-actions-group {
    display: flex;
    gap: 12px;
    align-items: stretch;
    width: 100%;
}
.token-actions-group-compact {
    justify-content: flex-start;
    width: 100%;
}
.token-actions-group-compact .token-action-btn.primary {
    flex: 1;
}
.btn-watchlist-inline {
    flex: 0 0 auto;
    min-width: 0;
    padding: 12px 18px;
    border-radius: 12px;
    white-space: nowrap;
}
.btn-preview {
    padding: 10px 20px;
    background: rgba(0, 212, 255, 0.1);
    border: 1px solid rgba(0, 212, 255, 0.3);
    border-radius: 12px;
    color: var(--text-primary);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}

.btn-preview:hover {
    background: rgba(0, 212, 255, 0.2);
    border-color: rgba(0, 212, 255, 0.5);
    transform: translateY(-2px);
}

.btn-preview i {
    font-size: 16px;
    color: #00D4FF;
}

/* Analysis Preview Modal */
.analysis-preview-modal {
    background: var(--card-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    max-width: 500px;
    width: 90%;
    max-height: 85vh;
    overflow-y: auto;
    z-index: 2001;
    animation: slideUp 0.3s ease;
}

.analysis-preview-header {
    padding: 24px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.analysis-preview-header h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 8px;
}

.analysis-preview-body {
    padding: 24px;
}

.preview-note {
    background: rgba(0, 212, 255, 0.1);
    border: 1px solid rgba(0, 212, 255, 0.3);
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 24px;
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.preview-note i {
    font-size: 24px;
    color: #00D4FF;
    flex-shrink: 0;
    margin-top: 2px;
}

.preview-note p {
    font-size: 14px;
    color: var(--text-primary);
    line-height: 1.6;
    margin: 0;
}

.preview-metrics {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 16px;
    margin-bottom: 24px;
}

.preview-metric {
    background: var(--glass-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 16px;
    text-align: center;
}

.preview-metric-label {
    font-size: 12px;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
    font-weight: 600;
}

.preview-metric-value {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary-cyan);
}

.preview-cta {
    text-align: center;
    padding-top: 24px;
    border-top: 1px solid var(--border-color);
}

.preview-cta p {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 16px;
}

.btn-analyze-preview {
    width: 100%;
    padding: 14px 24px;
    background: var(--gradient-1);
    border: none;
    border-radius: 12px;
    color: white;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.btn-analyze-preview:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 212, 255, 0.4);
}

.trading-indicators-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 20px;
}

.trading-indicator-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 12px 16px;
    background: rgba(0, 180, 255, 0.05);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.trading-indicator-item:hover {
    background: rgba(0, 180, 255, 0.1);
    transform: translateX(4px);
}

.indicator-status {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.indicator-status.bullish {
    background: rgba(0, 255, 136, 0.2);
    box-shadow: 0 0 8px rgba(0, 255, 136, 0.4);
}

.indicator-status.bearish {
    background: rgba(255, 71, 87, 0.2);
    box-shadow: 0 0 8px rgba(255, 71, 87, 0.4);
}
.indicator-status.neutral {
    background: rgba(255, 184, 0, 0.2);
    box-shadow: 0 0 8px rgba(255, 184, 0, 0.4);
}
.indicator-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.indicator-status.bullish .indicator-dot {
    background: #00FF88;
}

.indicator-status.bearish .indicator-dot {
    background: #FF4757;
}

.indicator-status.neutral .indicator-dot {
    background: #FFB800;
}

.indicator-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.indicator-label {
    font-size: 13px;
    font-weight: 700;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.indicator-value {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
}

.trading-overall-signal {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-radius: 12px;
    margin-top: 16px;
    border: 2px solid;
}

.trading-overall-signal.bullish {
    background: rgba(0, 255, 136, 0.15);
    border-color: rgba(0, 255, 136, 0.5);
}

.trading-overall-signal.bearish {
    background: rgba(255, 71, 87, 0.15);
    border-color: rgba(255, 71, 87, 0.5);
}

.trading-overall-signal.neutral {
    background: rgba(255, 184, 0, 0.15);
    border-color: rgba(255, 184, 0, 0.5);
}

.signal-label {
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-primary);
}

.signal-value {
    font-size: 18px;
    font-weight: 900;
}

.trading-overall-signal.bullish .signal-value {
    color: #00FF88;
}

.trading-overall-signal.bearish .signal-value {
    color: #FF4757;
}

.trading-overall-signal.neutral .signal-value {
    color: #FFB800;
}

.trading-additional-metrics {
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid var(--border-color);
}

.trading-additional-metrics h4 {
    margin: 0 0 16px 0;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.metrics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 12px;
}

.metric-item {
    padding: 12px;
    background: var(--glass-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 13px;
    color: var(--text-primary);
    line-height: 1.5;
}

/* Holder Statistics Styles */
.holder-stats-container {
    background: var(--glass-bg);
    border-radius: 16px;
    padding: 24px;
}

.holder-stats-main {
    margin-bottom: 24px;
}

.holder-stats-total {
    text-align: center;
    padding: 24px;
    background: linear-gradient(135deg, rgba(0, 102, 255, 0.15), rgba(0, 212, 255, 0.15));
    border: 2px solid rgba(0, 212, 255, 0.3);
    border-radius: 16px;
}

.holder-stats-label {
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.holder-stats-value {
    font-size: 48px;
    font-weight: 900;
    color: var(--primary-cyan);
    text-shadow: 0 0 20px rgba(0, 212, 255, 0.5);
}

.holder-stats-breakdown {
    margin-top: 24px;
}

.holder-stats-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 16px;
    text-align: center;
}

.holder-stats-methods {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
}

.holder-method-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px;
    background: var(--glass-bg);
    border: 2px solid var(--border-color);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.holder-method-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(0, 212, 255, 0.2);
}

.swap-method {
    border-left: 4px solid #00FF88;
}

.transfer-method {
    border-left: 4px solid #00D4FF;
}

.airdrop-method {
    border-left: 4px solid #FFB800;
}

.method-icon {
    font-size: 32px;
    flex-shrink: 0;
}

.method-info {
    flex: 1;
}

.method-label {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-secondary);
    margin-bottom: 4px;
}

.method-value {
    font-size: 24px;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 4px;
}
.method-percentage {
    font-size: 14px;
    font-weight: 600;
    color: var(--primary-cyan);
}

/* Holder Changes Styles */
.holder-stats-changes {
    margin-top: 24px;
}

.holder-changes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 12px;
}

.holder-change-item {
    background: var(--glass-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 16px;
    text-align: center;
    transition: all 0.3s ease;
}

.holder-change-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 212, 255, 0.2);
}
.change-label {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-secondary);
    margin-bottom: 8px;
}
.change-value {
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 4px;
}
.change-value.positive {
    color: var(--success);
}

.change-value.negative {
    color: var(--danger);
}

.change-percentage {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-secondary);
}

/* Holder Supply Concentration Styles */
.holder-stats-supply {
    margin-top: 24px;
}

.holder-supply-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.supply-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 16px;
    background: var(--glass-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    transition: all 0.3s ease;
}
.supply-item:hover {
    background: rgba(0, 212, 255, 0.08);
    border-color: var(--primary-cyan);
}

.supply-label {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
}

.supply-percentage {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary-cyan);
}

/* Holder Distribution Styles */
.holder-stats-distribution {
    margin-top: 24px;
}

.holder-distribution-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 12px;
}
.distribution-item {
    background: var(--glass-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 16px;
    text-align: center;
    transition: all 0.3s ease;
}

.distribution-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 212, 255, 0.2);
}
.distribution-icon {
    font-size: 32px;
    margin-bottom: 8px;
}
.distribution-label {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.distribution-value {
    font-size: 20px;
    font-weight: 800;
    color: var(--primary-cyan);
}
/* RugCheck Styles */
.rugcheck-container {
    background: var(--glass-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 24px;
}
.rugcheck-loading,
.rugcheck-unavailable {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px;
    gap: 16px;
}
.rugcheck-unavailable-icon {
    font-size: 48px;
    opacity: 0.5;
}

.rugcheck-hint {
    font-size: 14px;
    color: var(--text-muted);
    text-align: center;
}
.rugcheck-report {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.rugcheck-score-card {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 24px;
    background: rgba(0, 180, 255, 0.08);
    border: 2px solid;
    border-radius: 16px;
}

.rugcheck-score-icon {
    font-size: 48px;
    min-width: 60px;
    text-align: center;
}

.rugcheck-score-info {
    flex: 1;
}

.rugcheck-score-label {
    font-size: 14px;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.rugcheck-score-value {
    font-size: 36px;
    font-weight: 900;
    margin-bottom: 8px;
}

.rugcheck-score-hint {
    font-size: 12px;
    color: var(--text-secondary);
    font-style: italic;
    margin-top: 8px;
    opacity: 0.8;
}

.rugcheck-risk-level {
    display: inline-block;
    padding: 6px 16px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
}

.rugcheck-risk-level.low {
    background: rgba(0, 255, 136, 0.2);
    color: #00FF88;
}

.rugcheck-risk-level.medium {
    background: rgba(255, 184, 0, 0.2);
    color: #FFB800;
}

.rugcheck-risk-level.high {
    background: rgba(255, 71, 87, 0.2);
    color: #FF4757;
}

.rugcheck-risks h4,
.rugcheck-security-info h4 {
    font-size: 16px;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.rugcheck-risk-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.rugcheck-risk-item {
    display: flex;
    gap: 12px;
    padding: 16px;
    background: rgba(0, 180, 255, 0.05);
    border-left: 3px solid;
    border-radius: 8px;
    transition: all 0.3s ease;
}
.rugcheck-risk-item:hover {
    background: rgba(0, 180, 255, 0.1);
    transform: translateX(4px);
}

.rugcheck-risk-item.high {
    border-color: #FF4757;
}

.rugcheck-risk-item.medium {
    border-color: #FFB800;
}
.rugcheck-risk-item.low {
    border-color: #00FF88;
}
.risk-indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    margin-top: 6px;
    flex-shrink: 0;
}

.rugcheck-risk-item.high .risk-indicator {
    background: #FF4757;
    box-shadow: 0 0 8px rgba(255, 71, 87, 0.6);
}

.rugcheck-risk-item.medium .risk-indicator {
    background: #FFB800;
    box-shadow: 0 0 8px rgba(255, 184, 0, 0.6);
}

.rugcheck-risk-item.low .risk-indicator {
    background: #00FF88;
    box-shadow: 0 0 8px rgba(0, 255, 136, 0.6);
}

.risk-content {
    flex: 1;
}

.risk-title {
    font-size: 15px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 4px;
}
.risk-description {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.5;
}
.rugcheck-no-risks {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 40px;
    gap: 12px;
    background: rgba(0, 255, 136, 0.08);
    border-radius: 12px;
}

.no-risks-icon {
    font-size: 48px;
}

.rugcheck-security-info {
    padding: 20px;
    background: rgba(0, 180, 255, 0.05);
    border-radius: 12px;
}

.rugcheck-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
}

.rugcheck-info-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
}

.info-label {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-secondary);
}

.info-value {
    font-size: 14px;
    font-weight: 700;
}

.info-value.positive {
    color: #00FF88;
}

.info-value.negative {
    color: #FF4757;
}

.rugcheck-footer {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    padding-top: 16px;
    border-top: 1px solid var(--border-color);
    font-size: 13px;
    color: var(--text-muted);
}

.rugcheck-footer a {
    color: var(--primary-purple);
    text-decoration: none;
    transition: all 0.3s ease;
}

.rugcheck-footer a:hover {
    color: var(--primary-pink);
}

.token-price-main {
    font-size: 48px;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.token-price-change {
    display: inline-block;
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 18px;
    font-weight: 700;
}

.token-price-change.positive {
    background: rgba(0, 255, 136, 0.1);
    color: var(--success);
}

.token-price-change.negative {
    background: rgba(255, 71, 87, 0.1);
    color: var(--danger);
}

.token-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
}

.token-stat-item {
    background: var(--glass-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 16px;
}

.token-stat-label {
    font-size: 12px;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.token-stat-value {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
}

.token-address-container {
    background: var(--glass-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.token-address-text {
    font-family: 'Courier New', monospace;
    font-size: 14px;
    color: var(--primary-cyan);
    word-break: break-all;
    flex: 1;
}

.token-copy-btn {
    background: var(--gradient-1);
    border: none;
    color: white;
    padding: 8px 16px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.token-copy-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 20px rgba(0, 212, 255, 0.4);
}

.token-chart-container {
    background: var(--glass-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 20px;
    min-height: 400px;
}

.token-chart-iframe {
    width: 100%;
    height: 500px;
    border: none;
    border-radius: 12px;
}

.token-pairs-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.token-pair-item {
    background: var(--glass-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.token-pair-name {
    font-weight: 600;
    color: var(--text-primary);
}

.token-pair-exchange {
    font-size: 14px;
    color: var(--text-secondary);
}

.token-pair-liquidity {
    font-size: 16px;
    font-weight: 700;
    color: var(--primary-cyan);
}

.token-transfers-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-height: 300px;
    overflow-y: auto;
}

.token-transfer-item {
    background: var(--glass-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 12px;
    font-size: 14px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.token-transfer-from-to {
    font-family: 'Courier New', monospace;
    color: var(--primary-cyan);
    font-size: 12px;
}

.token-transfer-amount {
    font-weight: 700;
    color: var(--text-primary);
}

.token-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    align-items: stretch;
    width: 100%;
}
.token-action-btn {
    flex: 1;
    min-width: 150px;
    padding: 14px 24px;
    border-radius: 12px;
    border: none;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}
.token-action-btn.primary {
    background: var(--gradient-1);
    color: white;
}
.token-action-btn.secondary {
    background: var(--glass-bg);
    border: 2px solid var(--border-color);
    color: var(--text-primary);
}

.token-action-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 212, 255, 0.3);
}

.token-no-data {
    text-align: center;
    padding: 24px;
    color: var(--text-secondary);
    font-style: italic;
}

/* Token card clickable cursor */
.token-card {
    cursor: pointer;
}

/* ===== Bubble Map Styles ===== */
.bubble-map-container {
    background: var(--glass-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 20px;
    position: relative;
}

.bubble-map-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.bubble-map-stats {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}

.bubble-map-stat {
    display: flex;
    flex-direction: column;
}

.bubble-map-stat-label {
    font-size: 12px;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.bubble-map-stat-value {
    font-size: 16px;
    font-weight: 700;
    color: var(--primary-cyan);
}

.bubble-map-legend {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-top: 12px;
    padding: 12px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 8px;
}

.bubble-map-legend-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
}

.bubble-map-legend-color {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

#bubble-map-network {
    width: 100%;
    height: 600px;
    border-radius: 12px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border-color);
}

.bubble-map-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 400px;
    color: var(--text-secondary);
}

.bubble-map-loading .spinner {
    margin-bottom: 16px;
}

/* Responsive bubble map */
@media (max-width: 768px) {
    #bubble-map-network {
        height: 400px;
    }
    
    .bubble-map-stats {
        gap: 12px;
    }
    
    .bubble-map-legend {
        gap: 8px;
    }
}

/* Responsive token details */
@media (max-width: 768px) {
    .token-details-content {
        width: 100%;
        max-height: 95vh;
        border-radius: 0;
    }

    .token-details-header {
        padding: 24px;
        border-radius: 0;
    }

    .token-details-header-content {
        flex-direction: column;
        text-align: center;
    }
    
    .token-details-header-right {
        position: relative;
        top: auto;
        right: auto;
        align-items: center;
        margin-top: 16px;
        width: 100%;
    }
    
    .token-details-contract-address {
        width: 100%;
        min-width: auto;
    }

    .token-details-info h2 {
        font-size: 24px;
    }

    .token-price-main {
        font-size: 36px;
    }

    .token-stats-grid {
        grid-template-columns: 1fr;
    }

    .token-actions {
        flex-direction: column;
    }
    
    .token-actions-group-compact {
        flex-direction: column;
    }

    .token-action-btn {
        width: 100%;
    }
    
    .btn-watchlist-inline {
        width: 100%;
        flex: 1 1 auto;
    }

    .token-chart-iframe {
        height: 350px;
    }
}

/* ===== AI Chat Sidebar ===== */
.chat-sidebar {
    position: fixed;
    right: 0;
    top: 0;
    height: 100vh;
    width: 450px;
    background: var(--card-bg);
    backdrop-filter: blur(20px);
    border-left: 1px solid var(--border-color);
    transform: translateX(450px);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 10000;
    display: flex;
    flex-direction: column;
}

.chat-sidebar.active {
    transform: translateX(0);
}

.chat-content {
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
}
.chat-header {
    padding: 24px;
    border-bottom: 1px solid rgba(0, 255, 136, 0.2);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(10, 20, 35, 0.95);
    backdrop-filter: blur(20px);
    border-left: none;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.chat-header-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.chat-avatar {
    font-size: 32px;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.3);
    border: 2px solid rgba(0, 255, 136, 0.4);
    border-radius: 50%;
    overflow: hidden;
    padding: 0;
    box-shadow: 0 4px 15px rgba(0, 255, 136, 0.2);
}
.chat-avatar-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.chat-title {
    font-size: 18px;
    font-weight: 700;
    background: linear-gradient(135deg, #00FF88, #00CC6A);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: flex;
    align-items: center;
    gap: 8px;
}

.chat-pro-badge {
    /* Hidden by default; shown only when user has active PRO subscription */
    display: none;
    background: linear-gradient(135deg, #9D4EDD, #7B2CBF);
    color: #000000;
    -webkit-text-fill-color: #000000;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 8px rgba(157, 78, 221, 0.4);
    animation: proPulse 2s ease-in-out infinite;
}

.chat-pro-badge i {
    font-size: 12px;
    margin-right: 3px;
    color: #000000;
}

@keyframes proPulse {
    0%, 100% {
        box-shadow: 0 2px 8px rgba(157, 78, 221, 0.4);
    }
    50% {
        box-shadow: 0 2px 12px rgba(157, 78, 221, 0.6);
    }
}

.chat-pro-indicator {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 215, 0, 0.15);
    color: #FFD700;
    font-size: 11px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 8px;
    margin-bottom: 8px;
    border: 1px solid rgba(255, 215, 0, 0.3);
}

.chat-grok-indicator {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(29, 161, 242, 0.15);
    color: #1DA1F2;
    font-size: 11px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 8px;
    margin-bottom: 8px;
    margin-left: 8px;
    border: 1px solid rgba(29, 161, 242, 0.3);
}

.chat-status {
    font-size: 12px;
    color: var(--text-secondary);
    font-weight: 500;
}
.chat-close {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(0, 255, 136, 0.3);
    color: #00FF88;
    font-size: 20px;
    cursor: pointer;
    line-height: 1;
    padding: 0;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.chat-close i {
    font-size: 24px;
}

.chat-close:hover {
    background: rgba(0, 255, 136, 0.2);
    border-color: rgba(0, 255, 136, 0.5);
    color: #00FF88;
    transform: scale(1.1);
}

.chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    background: var(--card-bg);
}

.chat-message {
    display: flex;
    gap: 12px;
    animation: slideIn 0.3s ease;
}

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

.chat-message.user {
    flex-direction: row-reverse;
}
.chat-message-avatar {
    font-size: 20px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 255, 136, 0.1);
    border: 1px solid rgba(0, 255, 136, 0.3);
    border-radius: 50%;
    flex-shrink: 0;
    overflow: hidden;
    padding: 0;
    color: #00FF88;
}
.chat-message-avatar i {
    font-size: 20px;
}
.chat-message-avatar.user-avatar {
    background: rgba(0, 255, 136, 0.1);
    border-color: rgba(0, 255, 136, 0.3);
    color: #00FF88;
}

.chat-message-avatar-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.chat-message.user .chat-message-avatar {
    background: rgba(0, 255, 136, 0.1);
    border-color: rgba(0, 255, 136, 0.3);
    color: #00FF88;
}
.chat-message-content {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(0, 255, 136, 0.2);
    border-radius: 12px;
    padding: 14px 18px;
    max-width: 85%;
    font-size: 15px;
    line-height: 1.7;
    color: var(--text-primary);
    word-wrap: break-word;
    overflow-wrap: break-word;
    word-break: break-word;
}
.chat-message.user .chat-message-content {
    background: rgba(0, 255, 136, 0.1);
    border-color: rgba(0, 255, 136, 0.3);
    color: var(--text-primary);
}
.chat-message-content p {
    margin: 0 0 8px 0;
    word-wrap: break-word;
    overflow-wrap: break-word;
    word-break: break-word;
}
.chat-message-content code {
    word-break: break-all;
    display: inline-block;
    max-width: 100%;
    overflow-wrap: break-word;
}

.chat-message-content p:last-child {
    margin-bottom: 0;
}

.chat-message-content ul {
    margin: 8px 0;
    padding-left: 24px;
}

.chat-message-content li {
    margin: 6px 0;
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.chat-message-content li i {
    font-size: 18px;
    color: #00FF88;
    margin-top: 2px;
    flex-shrink: 0;
}

.chat-message-content p i {
    font-size: 18px;
    color: #00FF88;
    margin-right: 6px;
}

.chat-message.typing .chat-message-content {
    display: flex;
    gap: 4px;
    padding: 16px 20px;
}

.typing-dot {
    width: 8px;
    height: 8px;
    background: #00FF88;
    border-radius: 50%;
    animation: typingDot 1.4s ease-in-out infinite;
}

.typing-dot:nth-child(2) {
    animation-delay: 0.2s;
}

.typing-dot:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes typingDot {
    0%, 60%, 100% {
        transform: translateY(0);
    }
    30% {
        transform: translateY(-10px);
    }
}

.chat-input-container {
    padding: 20px 24px;
    border-top: 1px solid rgba(0, 255, 136, 0.2);
    display: flex;
    gap: 12px;
    align-items: flex-end;
    background: rgba(10, 20, 35, 0.95);
    backdrop-filter: blur(20px);
}

.chat-input {
    flex: 1;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(0, 255, 136, 0.3);
    border-radius: 12px;
    padding: 14px 18px;
    color: var(--text-primary);
    font-size: 15px;
    font-family: inherit;
    resize: none;
    max-height: 150px;
    min-height: 50px;
    outline: none;
    transition: all 0.3s ease;
    line-height: 1.6;
}

.chat-input:focus {
    border-color: rgba(0, 255, 136, 0.6);
    box-shadow: 0 0 0 3px rgba(0, 255, 136, 0.1);
    background: rgba(0, 0, 0, 0.4);
}
.chat-send-btn {
    width: 50px;
    height: 50px;
    background: rgba(0, 255, 136, 0.2);
    border: 1px solid rgba(0, 255, 136, 0.4);
    border-radius: 12px;
    color: #00FF88;
    font-size: 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    flex-shrink: 0;
}
.chat-send-btn i {
    font-size: 24px;
}
.chat-send-btn:hover {
    background: rgba(0, 255, 136, 0.3);
    border-color: rgba(0, 255, 136, 0.6);
    color: #00FF88;
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(0, 255, 136, 0.4);
}

.chat-send-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}
/* AI Chat FAB */
.chat-fab {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 74px;
    height: 74px;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 30%, rgba(0, 214, 255, 0.85), rgba(0, 40, 92, 0.9) 70%, rgba(0, 14, 34, 0.95));
    border: 2px solid rgba(0, 214, 255, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 18px 45px rgba(0, 140, 255, 0.55), 0 0 55px rgba(0, 200, 255, 0.4);
    z-index: 9999;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    padding: 0;
    overflow: hidden;
}
.chat-fab::before {
    content: '';
    position: absolute;
    inset: -20%;
    background: radial-gradient(circle, rgba(0, 214, 255, 0.45), transparent 70%);
    filter: blur(12px);
    opacity: 0.9;
}

.chat-fab::after {
    content: '';
    position: absolute;
    inset: 8%;
    border-radius: 50%;
    background: radial-gradient(circle at 50% 20%, rgba(0, 222, 255, 0.3), rgba(0, 19, 45, 0.92));
    border: 1px solid rgba(0, 214, 255, 0.3);
    box-shadow: inset 0 0 35px rgba(0, 214, 255, 0.18);
}

.chat-agent-image {
    position: relative;
    z-index: 2;
    width: 70%;
    height: 70%;
    object-fit: cover;
    border-radius: 50%;
    filter: drop-shadow(0 8px 18px rgba(0, 140, 255, 0.35));
}

.chat-fab:hover {
    transform: translateY(-6px) scale(1.06);
    box-shadow: 0 22px 55px rgba(0, 160, 255, 0.6), 0 0 70px rgba(0, 214, 255, 0.55);
}

.chat-fab.hidden {
    transform: scale(0);
    opacity: 0;
}

/* ===== Twitter Floating Action Button (FAB) ===== */
.twitter-fab {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: radial-gradient(circle at 40% 25%, rgba(28, 180, 255, 0.9), rgba(14, 45, 92, 0.95));
    border: 2px solid rgba(28, 180, 255, 0.4);
    color: #fff;
    font-size: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 18px 45px rgba(28, 180, 255, 0.55), 0 0 55px rgba(0, 214, 255, 0.4);
    z-index: 9999;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    padding: 0;
    overflow: hidden;
}

.twitter-fab::before {
    content: '';
    position: absolute;
    inset: -18%;
    background: radial-gradient(circle, rgba(28, 180, 255, 0.4), transparent 70%);
    filter: blur(12px);
    opacity: 0.85;
}

.twitter-fab::after {
    content: '';
    position: absolute;
    inset: 8%;
    border-radius: 50%;
    background: radial-gradient(circle at 50% 22%, rgba(28, 180, 255, 0.25), rgba(6, 22, 48, 0.95));
    border: 1px solid rgba(28, 180, 255, 0.3);
    box-shadow: inset 0 0 30px rgba(28, 180, 255, 0.22);
}

.twitter-fab-left {
    left: 30px;
    right: auto;
}

.twitter-fab-image {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    padding: 16px;
}

.twitter-fab:hover {
    transform: translateY(-6px) scale(1.06);
    box-shadow: 0 22px 55px rgba(28, 180, 255, 0.65), 0 0 70px rgba(0, 214, 255, 0.5);
}

/* ===== Twitter Sidebar ===== */
.twitter-sidebar {
    position: fixed;
    left: 0;
    top: 0;
    height: 100vh;
    width: 400px;
    background: var(--card-bg);
    backdrop-filter: blur(20px);
    border-right: 1px solid var(--border-color);
    transform: translateX(-400px);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 10000;
    display: flex;
    flex-direction: column;
}

.twitter-sidebar.active {
    transform: translateX(0);
}

/* Old toggle button - hidden */
.twitter-toggle {
    display: none !important;
}

.twitter-icon,
.twitter-text {
    display: none !important;
}

.twitter-content {
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
}

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

.twitter-header h3 {
    margin: 0;
    font-size: 20px;
    color: var(--text-primary);
}

.twitter-close {
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 32px;
    cursor: pointer;
    line-height: 1;
    padding: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

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

.twitter-controls {
    padding: 16px 24px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.twitter-select {
    width: 100%;
    padding: 14px 16px;
    background: rgba(15, 23, 42, 0.95);
    border: 2px solid rgba(0, 212, 255, 0.3);
    border-radius: 12px;
    color: white;
    font-size: 15px;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    outline: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.twitter-select:hover {
    border-color: rgba(0, 212, 255, 0.6);
    background: rgba(20, 30, 50, 0.95);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 212, 255, 0.2);
}

.twitter-select:focus {
    border-color: var(--primary-cyan);
    box-shadow: 0 0 0 4px rgba(0, 212, 255, 0.2), 0 4px 20px rgba(0, 212, 255, 0.3);
}

.twitter-select option {
    background: rgba(15, 23, 42, 1);
    color: white;
    padding: 12px;
    font-weight: 600;
}

/* Payment Chain Selector */
.payment-chain-selector {
    margin: 20px 0;
}

.payment-chain-select {
    width: 100%;
    padding: 14px 16px;
    padding-right: 45px;
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(20px);
    border: 2px solid rgba(0, 212, 255, 0.3);
    border-radius: 12px;
    color: var(--text-primary);
    font-size: 16px;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    outline: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M6 9L12 15L18 9' stroke='%2300D4FF' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 20px;
}
.payment-chain-select:hover {
    border-color: rgba(0, 212, 255, 0.6);
    background: rgba(20, 30, 50, 0.95);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 212, 255, 0.2);
}
.payment-chain-select:focus {
    border-color: var(--primary-cyan);
    box-shadow: 0 0 0 4px rgba(0, 212, 255, 0.2), 0 4px 20px rgba(0, 212, 255, 0.3);
    background: rgba(20, 30, 50, 0.95);
}

.payment-chain-select option {
    background: rgba(15, 23, 42, 1);
    color: var(--text-primary);
    padding: 14px 16px;
    font-weight: 600;
    font-size: 16px;
}
.payment-chain-select option:hover {
    background: rgba(0, 212, 255, 0.2);
}

.payment-chain-select option:checked {
    background: rgba(0, 212, 255, 0.3);
    color: #00D4FF;
}

.twitter-input {
    width: 100%;
    padding: 12px;
    background: var(--glass-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-primary);
    font-size: 14px;
    font-family: inherit;
    outline: none;
    transition: all 0.3s ease;
}

.twitter-input:focus {
    border-color: var(--primary-cyan);
    box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.1);
}

.twitter-load-btn {
    width: 100%;
    padding: 12px;
    background: var(--gradient-1);
    border: none;
    border-radius: 8px;
    color: white;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
}

.twitter-load-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(0, 212, 255, 0.4);
}

.twitter-add-btn {
    padding: 12px 20px;
    background: var(--gradient-1);
    border: none;
    border-radius: 8px;
    color: white;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 50px;
}

.twitter-add-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(0, 212, 255, 0.4);
}

/* Active Feeds List */
.active-feeds-container {
    padding: 12px 24px;
    border-bottom: 1px solid var(--border-color);
}

.active-feeds-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--text-muted);
    letter-spacing: 1px;
}

.twitter-clear-all-btn {
    padding: 4px 8px;
    background: rgba(255, 71, 87, 0.1);
    border: 1px solid rgba(255, 71, 87, 0.3);
    border-radius: 4px;
    color: #FF4757;
    font-size: 11px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.twitter-clear-all-btn:hover {
    background: rgba(255, 71, 87, 0.2);
    border-color: rgba(255, 71, 87, 0.5);
}

.active-feeds-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.active-feed-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 12px;
    background: var(--glass-bg);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    transition: all 0.2s ease;
}

.active-feed-item:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(0, 212, 255, 0.3);
}

.active-feed-label {
    font-size: 13px;
    color: var(--text-color);
    font-weight: 500;
}

.active-feed-remove {
    background: rgba(255, 71, 87, 0.1);
    border: 1px solid rgba(255, 71, 87, 0.3);
    border-radius: 4px;
    color: #FF4757;
    font-size: 16px;
    font-weight: 700;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    padding: 0;
    line-height: 1;
}

.active-feed-remove:hover {
    background: rgba(255, 71, 87, 0.2);
    border-color: rgba(255, 71, 87, 0.5);
    transform: scale(1.1);
}

/* Tweet Source Badge */
.tweet-source-badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.tweet-source-badge.community-badge {
    background: rgba(0, 212, 255, 0.1);
    border: 1px solid rgba(0, 212, 255, 0.3);
    color: #00D4FF;
}

.tweet-source-badge.user-badge {
    background: rgba(138, 80, 255, 0.1);
    border: 1px solid rgba(138, 80, 255, 0.3);
    color: #8A50FF;
}

.twitter-suggestions {
    padding: 12px 24px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    border-bottom: 1px solid var(--border-color);
}

.twitter-chip {
    padding: 6px 12px;
    background: var(--glass-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    color: var(--text-primary);
    font-size: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.twitter-chip:hover {
    background: var(--gradient-1);
    border-color: var(--primary-cyan);
    transform: translateY(-2px);
}
.twitter-feed {
    flex: 1;
    overflow-y: auto;
    padding: 16px 24px;
}
.twitter-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    text-align: center;
    color: var(--text-secondary);
}

.twitter-empty-icon {
    margin-bottom: 16px;
    opacity: 0.5;
    display: flex;
    align-items: center;
    justify-content: center;
}

.twitter-empty-logo {
    width: 64px;
    height: 64px;
    object-fit: contain;
    opacity: 0.6;
}

.twitter-empty-icon i {
    color: var(--text-secondary);
    font-size: 64px;
}

.twitter-hint {
    font-size: 12px;
    opacity: 0.7;
}
.tweet-card {
    background: var(--glass-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 12px;
    transition: all 0.3s ease;
}

.tweet-card:hover {
    border-color: var(--primary-cyan);
    box-shadow: 0 4px 20px rgba(0, 212, 255, 0.2);
}
.tweet-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}
.tweet-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--gradient-1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}

.tweet-user-info {
    flex: 1;
    min-width: 0;
}

.tweet-user-name {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-primary);
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.tweet-username {
    font-size: 12px;
    color: var(--text-secondary);
}

.tweet-date {
    font-size: 11px;
    color: var(--text-secondary);
    white-space: nowrap;
}

.tweet-text {
    font-size: 14px;
    line-height: 1.5;
    color: var(--text-primary);
    margin-bottom: 12px;
    word-wrap: break-word;
}

.tweet-stats {
    display: flex;
    gap: 16px;
    font-size: 12px;
    color: var(--text-secondary);
}
.tweet-stat {
    display: flex;
    align-items: center;
    gap: 4px;
}
.tweet-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px;
    color: var(--text-secondary);
}
.tweet-loading .spinner {
    margin-bottom: 16px;
}
/* ===== MEMESCOPE Dashboard ===== */
.memescope-dashboard {
    width: 100%;
    min-height: 100vh;
    padding: 100px 0 20px;
    background: var(--bg-primary);
}
.dashboard-container {
    display: flex;
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 20px;
    gap: 20px;
}
/* Blockchain Sidebar */
.blockchain-sidebar {
    width: 280px;
    background: var(--card-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 24px;
    height: fit-content;
    position: sticky;
    top: 100px;
}
.sidebar-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border-color);
}
.blockchain-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.blockchain-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    background: linear-gradient(135deg, rgba(10, 20, 40, 0.9), rgba(6, 13, 26, 0.95));
    border: 1px solid rgba(0, 212, 255, 0.12);
    border-radius: 12px;
    color: var(--text-primary);
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: left;
    width: 100%;
    position: relative;
    overflow: hidden;
}

.blockchain-item::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: radial-gradient(circle at 0% 0%, rgba(0, 212, 255, 0.18), transparent 55%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.blockchain-item:hover {
    transform: translateX(4px);
    border-color: rgba(0, 212, 255, 0.35);
}

.blockchain-item:hover::after {
    opacity: 1;
}

.blockchain-item.active {
    background: linear-gradient(135deg, rgba(0, 180, 255, 0.22), rgba(0, 120, 220, 0.28), rgba(6, 18, 38, 0.95));
    border-color: rgba(0, 225, 255, 0.6);
    color: #f4fbff;
    box-shadow: 0 12px 32px rgba(0, 200, 255, 0.22);
}

.blockchain-item.active::after {
    opacity: 0.7;
    background: radial-gradient(circle at 15% 15%, rgba(0, 225, 255, 0.45), transparent 65%);
}

.blockchain-item.active .blockchain-name {
    color: #f6fcff;
}

.blockchain-item.active .blockchain-icon i {
    color: #80f1ff;
}

.blockchain-item-ai-calls {
    border-color: rgba(0, 255, 204, 0.35);
    background: linear-gradient(135deg, rgba(0, 36, 68, 0.92), rgba(0, 18, 38, 0.94));
    box-shadow: 0 0 22px rgba(0, 200, 255, 0.16);
    animation: aiCallsGlow 4s ease-in-out infinite;
}

.blockchain-item-ai-calls .blockchain-name {
    color: #e6fbff;
}

.blockchain-item-ai-calls .blockchain-icon i {
    color: #7cffe9;
}

.blockchain-item-ai-calls:hover {
    transform: translateX(6px) scale(1.01);
    border-color: rgba(0, 255, 204, 0.55);
    box-shadow: 0 0 28px rgba(0, 255, 204, 0.2);
}

.blockchain-item-ai-calls.active {
    background: linear-gradient(140deg, rgba(0, 255, 204, 0.26), rgba(0, 160, 255, 0.32), rgba(6, 18, 38, 0.95));
    border-color: rgba(0, 255, 220, 0.7);
    box-shadow:
        0 0 35px rgba(0, 255, 204, 0.28),
        0 12px 40px rgba(0, 180, 255, 0.18);
    animation-duration: 2.8s;
}

@keyframes aiCallsGlow {
    0% {
        box-shadow: 0 0 12px rgba(0, 255, 204, 0.12);
    }
    50% {
        box-shadow: 0 0 30px rgba(0, 255, 204, 0.28);
    }
    100% {
        box-shadow: 0 0 12px rgba(0, 255, 204, 0.12);
    }
}

.blockchain-icon {
    font-size: 20px;
    width: 24px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.blockchain-icon i {
    font-size: 20px;
    color: #00D4FF;
}

.blockchain-icon-img {
    width: 24px;
    height: 24px;
    object-fit: contain;
    display: block;
}

.blockchain-name {
    flex: 1;
}

/* Tokens Content Area */
.tokens-content-area {
    flex: 1;
    min-width: 0;
    position: relative;
}

.tokens-content-area.ai-token-calls-active.ai-paywall-active .ai-token-calls-header,
.tokens-content-area.ai-token-calls-active.ai-paywall-active #tokens-grid,
.tokens-content-area.ai-token-calls-active.ai-paywall-active #ai-call-history-sidebar {
    filter: blur(6px);
    pointer-events: none;
    user-select: none;
    opacity: 0.6;
}

.ai-token-paywall-overlay {
    position: absolute;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 32px 20px;
    background: rgba(6, 10, 21, 0.68);
    backdrop-filter: blur(14px);
    z-index: 50;
    text-align: center;
}

.tokens-content-area.ai-token-calls-active.ai-paywall-active .ai-token-paywall-overlay {
    display: flex;
}

.ai-token-paywall-card {
    max-width: 520px;
    width: 100%;
    padding: 32px;
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(12, 22, 42, 0.92), rgba(17, 35, 66, 0.94));
    border: 1px solid rgba(0, 212, 255, 0.25);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
}

.ai-token-paywall-icon {
    width: 68px;
    height: 68px;
    border-radius: 18px;
    background: rgba(0, 212, 255, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #00D4FF;
    font-size: 32px;
    box-shadow: inset 0 0 18px rgba(0, 212, 255, 0.2);
}

.ai-token-paywall-card h3 {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
}

.ai-token-paywall-card p {
    color: var(--text-secondary);
    font-size: 16px;
    line-height: 1.6;
    margin: 0;
}

.ai-token-paywall-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
}

.ai-token-paywall-note {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.65);
}

.ai-call-history-card-preview,
.ai-call-preview-card {
    pointer-events: none;
    opacity: 0.9;
}

.call-history-locked {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 28px 20px;
    border-radius: 16px;
    border: 1px dashed rgba(0, 212, 255, 0.35);
    background: rgba(10, 20, 35, 0.72);
    color: var(--text-secondary);
    text-align: center;
}

.call-history-locked i {
    font-size: 28px;
    color: #00D4FF;
}

.notifications-locked {
    position: relative;
}

.notifications-locked::after {
    content: 'Pro';
    position: absolute;
    top: -8px;
    left: -8px;
    background: linear-gradient(90deg, #ff8f3f, #ff4d8d);
    color: #0d1321;
    font-size: 10px;
    font-weight: 700;
    border-radius: 999px;
    padding: 2px 8px;
    box-shadow: 0 8px 20px rgba(255, 141, 63, 0.35);
}
.notifications-locked .notification-button-content {
    filter: blur(3px);
    pointer-events: none;
    user-select: none;
}

/* Chain Volume Stats Box */
.chain-volume-box {
    background: rgba(10, 20, 35, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(0, 212, 255, 0.3);
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

.volume-box-title {
    font-size: 16px;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(0, 212, 255, 0.2);
}

.volume-box-title i {
    font-size: 20px;
    color: #00D4FF;
}

.chain-volume-content {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.chain-volume-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: var(--text-secondary);
    font-size: 14px;
    padding: 20px;
}

.spinner-small {
    width: 20px;
    height: 20px;
    border: 3px solid rgba(0, 212, 255, 0.2);
    border-top-color: #00D4FF;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}
.chain-volume-item {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 8px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    border: 1px solid rgba(0, 212, 255, 0.1);
    transition: all 0.3s ease;
}

.chain-volume-item:hover {
    background: rgba(0, 212, 255, 0.05);
    border-color: rgba(0, 212, 255, 0.3);
    transform: translateX(2px);
}
.chain-volume-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}
.chain-volume-chain {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
    min-width: 0;
}
.chain-volume-logo {
    width: 32px;
    height: 32px;
    object-fit: contain;
    flex-shrink: 0;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.3);
    padding: 4px;
}

.chain-volume-logo-fallback {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 212, 255, 0.15);
    border: 2px solid rgba(0, 212, 255, 0.4);
    border-radius: 50%;
    font-size: 14px;
    font-weight: 800;
    color: #00D4FF;
    flex-shrink: 0;
}
.chain-volume-name {
    font-size: 15px;
    font-weight: 700;
    color: var(--text-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.chain-volume-value {
    font-size: 14px;
    font-weight: 800;
    color: #00FF88;
    white-space: nowrap;
    text-shadow: 0 0 10px rgba(0, 255, 136, 0.5);
}

.chain-volume-bar-container {
    width: 100%;
    height: 10px;
    background: rgba(0, 0, 0, 0.4);
    border-radius: 5px;
    overflow: hidden;
    position: relative;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.3);
}

.chain-volume-bar {
    height: 100%;
    background: linear-gradient(90deg, #00D4FF, #00FF88);
    border-radius: 5px;
    transition: width 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 0 15px rgba(0, 212, 255, 0.6), 
                0 0 30px rgba(0, 255, 136, 0.4),
                inset 0 0 10px rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.chain-volume-bar::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.3),
        transparent
    );
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

/* Chain-specific colors */
.chain-volume-item[data-chain="ethereum"] .chain-volume-bar {
    background: linear-gradient(90deg, #627EEA, #8FA4F9);
    box-shadow: 0 0 15px rgba(98, 126, 234, 0.6),
                0 0 30px rgba(143, 164, 249, 0.4);
}

.chain-volume-item[data-chain="bnb"] .chain-volume-bar {
    background: linear-gradient(90deg, #F3BA2F, #F7D069);
    box-shadow: 0 0 15px rgba(243, 186, 47, 0.6),
                0 0 30px rgba(247, 208, 105, 0.4);
}

.chain-volume-item[data-chain="base"] .chain-volume-bar {
    background: linear-gradient(90deg, #0052FF, #3385FF);
    box-shadow: 0 0 15px rgba(0, 82, 255, 0.6),
                0 0 30px rgba(51, 133, 255, 0.4);
}

.chain-volume-item[data-chain="solana"] .chain-volume-bar {
    background: linear-gradient(90deg, #9945FF, #B878FF);
    box-shadow: 0 0 15px rgba(153, 69, 255, 0.6),
                0 0 30px rgba(184, 120, 255, 0.4);
}

.chain-volume-error,
.chain-volume-empty {
    text-align: center;
    color: var(--text-secondary);
    font-size: 13px;
    padding: 20px;
}

/* Hide stats section */
.stats-section {
    display: none;
}

/* Hide filters section when dashboard is visible */
.memescope-dashboard ~ .filters-section {
    display: none;
}

/* Responsive Orbital Animation */
@media (max-width: 768px) {
    .orbital-animation-container {
        height: 400px;
        width: 100%;
        margin: 40px auto;
    }
    
    .orbital-system {
        width: 400px;
        height: 400px;
    }
    
    .orbital-core {
        width: 120px;
        height: 120px;
    }
    
    .core-inner {
        width: 110px;
        height: 110px;
    }
    
    .core-text {
        font-size: 18px;
    }
    
    .core-subtext {
        font-size: 10px;
    }
    
    .orbital-paths {
        width: 400px;
        height: 400px;
    }
    
    .orbital-element.orbit-1 {
        --radius: 80px;
    }
    
    .orbital-element.orbit-2 {
        --radius: 120px;
    }
    
    .orbital-element.orbit-3 {
        --radius: 160px;
    }
    
    .orbital-capsule {
        width: 100px;
        padding: 8px 12px;
        font-size: 10px;
    }
    
    .orbital-capsule i {
        font-size: 14px;
    }
}
@media (max-width: 480px) {
    .orbital-animation-container {
        height: 350px;
        width: 100%;
        margin: 30px auto;
    }
    
    .orbital-system {
        width: 350px;
        height: 350px;
    }
    
    .orbital-core {
        width: 100px;
        height: 100px;
    }
    
    .core-inner {
        width: 90px;
        height: 90px;
    }
    
    .core-text {
        font-size: 16px;
    }
    
    .core-subtext {
        font-size: 9px;
    }
    
    .orbital-paths {
        width: 350px;
        height: 350px;
    }
    
    .orbital-element.orbit-1 {
        --radius: 70px;
    }
    
    .orbital-element.orbit-2 {
        --radius: 100px;
    }
    
    .orbital-element.orbit-3 {
        --radius: 140px;
    }
    
    .orbital-capsule {
        width: 90px;
        padding: 6px 10px;
        font-size: 9px;
    }
    
    .orbital-capsule i {
        font-size: 12px;
    }
    
    .orbital-capsule span {
        display: none; /* Hide text on very small screens */
    }
}
/* Responsive Chat & Twitter */
@media (max-width: 768px) {
    .chat-sidebar {
        width: 100%;
        transform: translateX(100%);
    }
    
    .chat-sidebar.active {
        transform: translateX(0);
    }
    
    .chat-fab {
        bottom: 20px;
        right: 20px;
        width: 60px;
        height: 60px;
        font-size: 30px;
    }
    
    .twitter-sidebar {
        width: 100%;
        transform: translateX(-100%);
    }
    
    .twitter-sidebar.active {
        transform: translateX(0);
    }
    
    .twitter-fab,
    .twitter-fab-left {
        bottom: 20px;
        left: 20px;
        right: auto;
        width: 60px;
        height: 60px;
        font-size: 30px;
    }
    
    .twitter-fab-image {
        padding: 12px;
    }
    
    /* MEMESCOPE Dashboard Mobile */
    .dashboard-container {
        flex-direction: column;
        padding: 0 16px;
    }
    
    .blockchain-sidebar {
        width: 100%;
        position: relative;
        top: 0;
    }
    
    .blockchain-list {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 8px;
    }
    
    .blockchain-item {
        flex: 1;
        min-width: calc(50% - 4px);
        justify-content: center;
    }
    
    /* RugCheck responsive */
    .rugcheck-score-card {
        flex-direction: column;
        text-align: center;
    }
    
    .rugcheck-score-icon {
        font-size: 64px;
    }
    
    .rugcheck-info-grid {
        grid-template-columns: 1fr;
    }
}
