@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&display=swap');

:root {
    --bg-base: #08070d;
    --bg-surface: rgba(18, 16, 32, 0.6);
    --bg-surface-hover: rgba(26, 23, 46, 0.85);
    --border-color: rgba(255, 255, 255, 0.08);
    --border-color-glow: rgba(168, 85, 247, 0.4);
    
    --primary: #a855f7; /* Purple */
    --primary-glow: rgba(168, 85, 247, 0.3);
    --secondary: #06b6d4; /* Cyan */
    --secondary-glow: rgba(6, 182, 212, 0.3);
    --accent: #ec4899; /* Pink */
    
    --text-primary: #f4f4f5;
    --text-muted: #a1a1aa;
    --text-success: #10b981;
    --text-error: #ef4444;
    --text-warning: #f59e0b;
    
    --font-sans: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-smooth: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Base Styles */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: var(--font-sans);
    -webkit-font-smoothing: antialiased;
}

body {
    background-color: var(--bg-base);
    color: var(--text-primary);
    overflow-x: hidden;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Background Animated Blobs */
.bg-blobs {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -2;
    overflow: hidden;
    pointer-events: none;
}

.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(150px);
    opacity: 0.15;
    animation: float 25s infinite alternate ease-in-out;
}

.blob-1 {
    width: 500px;
    height: 500px;
    background: var(--primary);
    top: -10%;
    left: -10%;
}

.blob-2 {
    width: 600px;
    height: 600px;
    background: var(--secondary);
    bottom: -20%;
    right: -10%;
    animation-delay: -5s;
}

.blob-3 {
    width: 400px;
    height: 400px;
    background: var(--accent);
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: -10s;
}

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

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

::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* Grid & Layout */
.app-container {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    z-index: 1;
}

header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 2.5rem;
    background: rgba(8, 7, 13, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 50;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: var(--text-primary);
}

.logo-icon {
    width: 38px;
    height: 38px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 20px rgba(168, 85, 247, 0.4);
    font-weight: 800;
    font-size: 1.25rem;
    letter-spacing: -1px;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 800;
    background: linear-gradient(to right, #fff, #a855f7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -0.5px;
}

.logo-suffix {
    background: linear-gradient(to right, var(--secondary), #fff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-center {
    display: flex;
    gap: 1.5rem;
}

.nav-link {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition-fast);
    padding: 0.5rem 1rem;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-link:hover, .nav-link.active {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.04);
}

.nav-link.active {
    border-bottom: 2px solid var(--primary);
    border-radius: 8px 8px 0 0;
    background: rgba(168, 85, 247, 0.05);
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* Glassmorphism Buttons */
.btn {
    padding: 0.65rem 1.25rem;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: var(--transition-smooth);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    border: 1px solid transparent;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), #8b5cf6);
    color: #fff;
    box-shadow: 0 4px 15px rgba(168, 85, 247, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(168, 85, 247, 0.5);
}

.btn-secondary {
    background: linear-gradient(135deg, var(--secondary), #0891b2);
    color: #fff;
    box-shadow: 0 4px 15px rgba(6, 182, 212, 0.3);
}

.btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(6, 182, 212, 0.5);
}

.btn-outline {
    background: rgba(255, 255, 255, 0.03);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
}

.btn-glow-cyan {
    box-shadow: 0 0 15px rgba(6, 182, 212, 0.4);
}

/* Connected Badges */
.wallet-badge, .social-badge {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-primary); /* Explicitly set white text color to fix browser default override */
    padding: 0.5rem 1rem;
    border-radius: 12px;
    font-size: 0.85rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    cursor: pointer;
    transition: var(--transition-fast);
}

.wallet-badge:hover {
    background: rgba(168, 85, 247, 0.1);
    border-color: rgba(168, 85, 247, 0.4);
    box-shadow: 0 0 15px rgba(168, 85, 247, 0.2);
    color: #fff;
}

.social-badge:hover {
    background: rgba(29, 161, 242, 0.1);
    border-color: rgba(29, 161, 242, 0.4);
    box-shadow: 0 0 15px rgba(29, 161, 242, 0.2);
    color: #fff;
}

.badge-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--text-success);
    box-shadow: 0 0 8px var(--text-success);
}

.badge-dot.disconnected {
    background-color: var(--text-error);
    box-shadow: 0 0 8px var(--text-error);
}

/* User Balance Card in Navbar */
.nav-balance {
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--secondary);
    background: rgba(6, 182, 212, 0.06);
    border: 1px solid rgba(6, 182, 212, 0.15);
    padding: 0.5rem 0.85rem;
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

/* App Main Content Area */
main {
    flex: 1;
    padding: 2.5rem;
    max-width: 1400px;
    width: 100%;
    margin: 0 auto;
    position: relative;
}

.page-section {
    display: none;
    animation: fadeIn 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.page-section.active {
    display: block;
}

/* Glassmorphism Card Element */
.glass-card {
    background: var(--bg-surface);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.glass-card:hover {
    background: var(--bg-surface-hover);
    border-color: rgba(255, 255, 255, 0.12);
}

/* Hero / Landing Screen */
.hero-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 4rem 1rem;
    gap: 2rem;
}

.hero-tag {
    background: rgba(168, 85, 247, 0.1);
    border: 1px solid rgba(168, 85, 247, 0.2);
    color: var(--primary);
    padding: 0.5rem 1.25rem;
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    animation: pulse 2s infinite;
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -2px;
    max-width: 900px;
}

.gradient-text-purple {
    background: linear-gradient(135deg, #c084fc, #a855f7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.gradient-text-cyan {
    background: linear-gradient(135deg, #22d3ee, #06b6d4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-muted);
    max-width: 650px;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
}

/* Platform Live Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    width: 100%;
    margin-top: 3rem;
}

.stat-card {
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.stat-card .label {
    color: var(--text-muted);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.stat-card .value {
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: -1px;
    background: linear-gradient(to right, #fff, #d4d4d8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-card .value.cyan {
    background: linear-gradient(to right, #22d3ee, #06b6d4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-card .value.purple {
    background: linear-gradient(to right, #c084fc, #a855f7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-card .change {
    font-size: 0.8rem;
    font-weight: 600;
}

.stat-card .change.up {
    color: var(--text-success);
}

/* Landing How it Works */
.features-section {
    padding: 5rem 0;
    text-align: center;
}

.section-title {
    font-size: 2.25rem;
    font-weight: 800;
    margin-bottom: 3rem;
    letter-spacing: -1px;
}

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

.feature-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.25rem;
    text-align: center;
    padding: 2.5rem 2rem;
}

.feature-icon-wrapper {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    color: var(--secondary);
    transition: var(--transition-smooth);
}

.feature-card:hover .feature-icon-wrapper {
    background: var(--primary);
    color: #fff;
    box-shadow: 0 0 25px rgba(168, 85, 247, 0.5);
    transform: scale(1.1);
}

.feature-title {
    font-size: 1.25rem;
    font-weight: 700;
}

.feature-description {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Worker Dashboard Grid */
.dashboard-layout {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 2rem;
}

.sidebar-filters {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.sidebar-title {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
    padding-left: 0.5rem;
}

.filter-btn {
    background: transparent;
    border: none;
    padding: 0.75rem 1rem;
    border-radius: 10px;
    color: var(--text-muted);
    font-weight: 600;
    font-size: 0.9rem;
    text-align: left;
    cursor: pointer;
    transition: var(--transition-fast);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

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

.filter-btn.active {
    color: #fff;
    background: rgba(168, 85, 247, 0.15);
    border-left: 3px solid var(--primary);
    border-radius: 0 10px 10px 0;
    padding-left: calc(1rem - 3px);
}

.tasks-container {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

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

.dashboard-info {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.dashboard-info h2 {
    font-size: 1.75rem;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.dashboard-info p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

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

/* Task Cards */
.task-card {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.task-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.task-creator {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.creator-avatar {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
}

.task-badge {
    padding: 0.25rem 0.6rem;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
}

.task-badge.follow {
    background: rgba(6, 182, 212, 0.12);
    color: var(--secondary);
    border: 1px solid rgba(6, 182, 212, 0.2);
}

.task-badge.like {
    background: rgba(236, 72, 153, 0.12);
    color: var(--accent);
    border: 1px solid rgba(236, 72, 153, 0.2);
}

.task-badge.repost {
    background: rgba(168, 85, 247, 0.12);
    color: var(--primary);
    border: 1px solid rgba(168, 85, 247, 0.2);
}

.task-badge.feedback {
    background: rgba(245, 158, 11, 0.12);
    color: var(--text-warning);
    border: 1px solid rgba(245, 158, 11, 0.2);
}

.task-title {
    font-size: 1.15rem;
    font-weight: 700;
    line-height: 1.4;
}

.task-card-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    padding-top: 0.75rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.task-reward-box {
    display: flex;
    flex-direction: column;
}

.task-reward-label {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.task-reward-value {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--secondary);
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.task-capacity {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.task-capacity span {
    color: var(--text-primary);
    font-weight: 600;
}

/* Modals */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(5, 4, 8, 0.85);
    backdrop-filter: blur(10px);
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.modal-content {
    width: 100%;
    max-width: 500px;
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 2.25rem;
    position: relative;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    transform: scale(0.9);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.modal-overlay.active .modal-content {
    transform: scale(1);
}

.modal-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    color: var(--text-muted);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    transition: var(--transition-fast);
}

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

.modal-header {
    margin-bottom: 1.5rem;
}

.modal-title {
    font-size: 1.5rem;
    font-weight: 800;
}

.modal-body {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

/* Campaign Creator / Advertiser Form */
.form-section {
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
}

.form-row-split {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted);
}

.form-input, .form-select {
    width: 100%;
    padding: 0.85rem 1.25rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    color: var(--text-primary);
    font-size: 0.95rem;
    outline: none;
    transition: var(--transition-fast);
}

.form-input:focus, .form-select:focus {
    border-color: var(--primary);
    background: rgba(255, 255, 255, 0.04);
    box-shadow: 0 0 12px rgba(168, 85, 247, 0.2);
}

.form-input::placeholder {
    color: rgba(255, 255, 255, 0.25);
}

.form-hint {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.form-price-summary {
    background: rgba(168, 85, 247, 0.04);
    border: 1px solid rgba(168, 85, 247, 0.12);
    padding: 1.25rem;
    border-radius: 14px;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
}

.summary-row.total {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 0.6rem;
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--primary);
}

/* Pump.fun Trading Screen Layout */
.trading-layout {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 2rem;
}

.chart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.25rem;
}

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

.token-logo {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    box-shadow: 0 0 15px rgba(168, 85, 247, 0.4);
    font-size: 1.25rem;
}

.token-meta {
    display: flex;
    flex-direction: column;
}

.token-name-symbol {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.token-name {
    font-weight: 800;
    font-size: 1.35rem;
}

.token-symbol {
    color: var(--text-muted);
    font-size: 0.85rem;
    background: rgba(255, 255, 255, 0.05);
    padding: 0.15rem 0.4rem;
    border-radius: 4px;
    font-weight: 600;
}

.token-price-display {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.token-price-val {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-success);
}

.token-price-change {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-success);
}

/* Candle Chart Area */
.chart-container {
    height: 380px;
    background: rgba(5, 4, 8, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    position: relative;
    overflow: hidden;
    margin-bottom: 1.5rem;
}

.chart-svg {
    width: 100%;
    height: 100%;
}

.bonding-curve-section {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.bonding-curve-header {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.bonding-curve-percentage {
    color: var(--secondary);
    font-weight: 700;
}

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

.bonding-progress-fill {
    height: 100%;
    background: linear-gradient(to right, var(--primary), var(--secondary));
    box-shadow: 0 0 10px rgba(6, 182, 212, 0.5);
    width: 74%;
    transition: width 0.5s ease-out;
}

/* Trading Buy / Sell Form Panel */
.trading-panel {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.tab-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 0.25rem;
}

.tab-btn {
    border: none;
    background: transparent;
    padding: 0.65rem;
    border-radius: 10px;
    color: var(--text-muted);
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition-fast);
}

.tab-btn.buy.active {
    background: var(--text-success);
    color: #fff;
}

.tab-btn.sell.active {
    background: var(--text-error);
    color: #fff;
}

.quick-amounts {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.quick-amt-btn {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    color: var(--text-muted);
    padding: 0.4rem;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-fast);
}

.quick-amt-btn:hover {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.08);
}

.trading-summary {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding-top: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Leaderboard Page */
.leaderboard-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1.5rem;
}

.leaderboard-table th {
    text-align: left;
    padding: 1rem;
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--text-muted);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.leaderboard-table td {
    padding: 1rem;
    font-size: 0.95rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.leaderboard-row:hover {
    background: rgba(255, 255, 255, 0.02);
}

.leaderboard-rank {
    font-weight: 800;
    font-size: 1.1rem;
}

.leaderboard-rank.top-1 {
    color: #eab308;
    text-shadow: 0 0 10px rgba(234, 179, 8, 0.4);
}

.leaderboard-rank.top-2 {
    color: #cbd5e1;
}

.leaderboard-rank.top-3 {
    color: #b45309;
}

.leaderboard-user {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

/* Toast Notifications */
.toast-container {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.toast {
    background: rgba(18, 16, 32, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1rem 1.5rem;
    color: var(--text-primary);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 600;
    font-size: 0.9rem;
    min-width: 300px;
    animation: slideIn 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transition: var(--transition-fast);
}

.toast.success {
    border-left: 4px solid var(--text-success);
}

.toast.error {
    border-left: 4px solid var(--text-error);
}

.toast.warning {
    border-left: 4px solid var(--text-warning);
}

/* Verification Loading Spinner */
.loading-spinner {
    width: 24px;
    height: 24px;
    border: 3px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    border-top-color: var(--secondary);
    animation: spin 1s infinite linear;
}

.verify-flow-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.25rem;
    padding: 2rem;
    text-align: center;
}

.verify-steps {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    width: 100%;
    text-align: left;
}

.verify-step {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.verify-step.done {
    color: var(--text-success);
}

.verify-step.active {
    color: var(--text-primary);
    font-weight: 600;
}

.verify-step-check {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 2px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
}

.verify-step.done .verify-step-check {
    background: var(--text-success);
    border-color: var(--text-success);
    color: #fff;
}

.verify-step.active .verify-step-check {
    border-color: var(--secondary);
}

/* Animations Keyframes */
@keyframes float {
    0% {
        transform: translate(0, 0) scale(1);
    }
    50% {
        transform: translate(50px, -50px) scale(1.1);
    }
    100% {
        transform: translate(-30px, 40px) scale(0.95);
    }
}

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

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

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(168, 85, 247, 0.4);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(168, 85, 247, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(168, 85, 247, 0);
    }
}

/* Floating Particles (Tokens Rain) */
.particle {
    position: fixed;
    pointer-events: none;
    z-index: 1000;
    width: 14px;
    height: 14px;
    background: radial-gradient(circle, var(--secondary) 0%, rgba(6, 182, 212, 0.2) 100%);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--secondary);
    animation: rain down linear forwards;
}

@keyframes rain {
    0% {
        transform: translateY(-50px) rotate(0deg);
        opacity: 1;
    }
    100% {
        transform: translateY(100vh) rotate(360deg);
        opacity: 0;
    }
}

/* WURK Style Wallet Modal Enhancements */
.wallet-warning-card {
    background: rgba(168, 85, 247, 0.03);
    border: 1px dashed rgba(168, 85, 247, 0.3);
    border-radius: 12px;
    padding: 1rem;
    font-size: 0.8rem;
    color: var(--text-muted);
    line-height: 1.4;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-align: left;
    margin-bottom: 1.25rem;
}

.wallet-wurk-btn {
    display: flex;
    align-items: center;
    width: 100%;
    padding: 1rem 1.25rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    border-radius: 14px;
    color: var(--text-primary);
    cursor: pointer;
    transition: var(--transition-smooth);
    text-align: left;
    gap: 1rem;
    text-decoration: none;
    margin-top: 0.75rem;
}

.wallet-wurk-btn:hover {
    background: var(--bg-surface-hover);
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(168, 85, 247, 0.15);
}

.wallet-wurk-icon {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: rgba(168, 85, 247, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.25rem;
    flex-shrink: 0;
}

.wallet-wurk-btn:hover .wallet-wurk-icon {
    background: var(--primary);
    color: #fff;
    box-shadow: 0 0 15px rgba(168, 85, 247, 0.4);
}

.wallet-wurk-texts {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    flex-grow: 1;
}

.wallet-wurk-title {
    font-size: 0.95rem;
    font-weight: 700;
}

.wallet-wurk-subtitle {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* WURK style green reward box */
.wurk-reward-card {
    background: rgba(16, 185, 129, 0.04);
    border: 1px solid rgba(16, 185, 129, 0.15);
    border-radius: 14px;
    padding: 1.25rem;
    display: flex;
    align-items: center;
    gap: 1.25rem;
    text-align: left;
    margin-bottom: 1.25rem;
}

.wurk-reward-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: rgba(16, 185, 129, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-success);
    font-size: 1.35rem;
    font-weight: 800;
    flex-shrink: 0;
}

.wurk-reward-texts {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.wurk-reward-label {
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.wurk-reward-value {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--text-success);
    display: flex;
    align-items: baseline;
    gap: 0.35rem;
    line-height: 1.1;
}

.wurk-reward-usd {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 600;
}

/* WURK purple submissions info banner */
.wurk-info-banner {
    background: rgba(168, 85, 247, 0.04);
    border: 1px solid rgba(168, 85, 247, 0.15);
    color: #c084fc;
    border-radius: 12px;
    padding: 1rem 1.25rem;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-align: left;
    margin-top: 1.25rem;
    font-weight: 600;
}

/* WURK Listed By Header Card */
.wurk-listed-by-card {
    background: rgba(255, 255, 255, 0.01);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1rem 1.25rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.25rem;
}

.wurk-listed-by-left {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    text-align: left;
}

.wurk-listed-by-label {
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.wurk-listed-by-address {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-primary);
    font-family: monospace;
}

.wurk-listed-by-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.wurk-listed-by-action-btn {
    background: transparent;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    font-size: 0.8rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.4rem 0.65rem;
    border-radius: 6px;
    transition: var(--transition-fast);
}

.wurk-listed-by-action-btn:hover {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
}

.closes-in-timer {
    color: var(--text-warning);
    font-family: monospace;
    font-weight: 700;
}


/* Wallet and Twitter popup frames (simulated) */
.mock-popup-frame {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.mock-popup-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    margin-bottom: 1rem;
}

.mock-popup-title {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-weight: 700;
    font-size: 1.1rem;
}

.mock-popup-logo {
    width: 28px;
    height: 28px;
    object-fit: contain;
}

.mock-popup-body {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    text-align: center;
    padding: 1rem 0;
}

/* Responsiveness adjustments */
@media (max-width: 1024px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .features-grid {
        grid-template-columns: 1fr;
    }
    .dashboard-layout {
        grid-template-columns: 1fr;
    }
    .trading-layout {
        grid-template-columns: 1fr;
    }
    .task-list {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    header {
        flex-direction: column;
        gap: 1rem;
        padding: 1rem;
    }
    .nav-center {
        width: 100%;
        justify-content: space-around;
    }
    .hero-title {
        font-size: 2.5rem;
    }
    .stats-grid {
        grid-template-columns: 1fr;
    }
}

/* FAQ Accordion Styling */
.faq-accordion-container {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.faq-item {
    background: rgba(255, 255, 255, 0.01);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    transition: var(--transition-smooth);
}

.faq-item:hover {
    background: rgba(255, 255, 255, 0.03);
    border-color: rgba(255, 255, 255, 0.15);
}

.faq-question {
    width: 100%;
    background: transparent;
    border: none;
    padding: 1.25rem 1.5rem;
    text-align: left;
    color: var(--text-primary);
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    outline: none;
}

.faq-chevron {
    transition: transform 0.3s ease;
    color: var(--text-muted);
}

.faq-item.active {
    background: rgba(255, 255, 255, 0.02);
    border-color: var(--primary);
}

.faq-item.active .faq-chevron {
    transform: rotate(180deg);
    color: var(--primary);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s cubic-bezier(0, 1, 0, 1);
    padding: 0 1.5rem;
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.6;
}

.faq-item.active .faq-answer {
    max-height: 600px;
    padding: 0 1.5rem 1.5rem 1.5rem;
    transition: max-height 0.3s cubic-bezier(0.99, 0.01, 0.01, 0.99);
}

/* Vault Badges and Results Styling */
.vault-badge-LP {
    background: rgba(6, 182, 212, 0.1);
    color: var(--secondary);
    border: 1px solid rgba(6, 182, 212, 0.2);
    padding: 0.15rem 0.4rem;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 700;
}

.vault-badge-yes {
    background: rgba(16, 185, 129, 0.1);
    color: var(--text-success);
    border: 1px solid rgba(16, 185, 129, 0.2);
    padding: 0.15rem 0.4rem;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 700;
}

.vault-badge-no {
    background: rgba(239, 68, 68, 0.1);
    color: var(--text-error);
    border: 1px solid rgba(239, 68, 68, 0.2);
    padding: 0.15rem 0.4rem;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 700;
}

/* Quality Filter Selector Group */
.quality-filter-group {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
    margin-top: 0.25rem;
}

.quality-filter-btn {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    color: var(--text-muted);
    padding: 0.75rem;
    border-radius: 10px;
    font-size: 0.8rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    transition: var(--transition-fast);
}

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

.quality-filter-btn.active {
    border-color: var(--primary);
    color: #fff;
    background: rgba(168, 85, 247, 0.08);
    box-shadow: 0 0 12px rgba(168, 85, 247, 0.2);
}

/* Preset Cards */
.preset-list-container {
    background: rgba(255, 255, 255, 0.01);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    margin-bottom: 1.5rem;
    overflow: hidden;
}

.preset-category-header {
    width: 100%;
    background: rgba(255, 255, 255, 0.02);
    border: none;
    padding: 1rem 1.25rem;
    text-align: left;
    color: var(--text-primary);
    font-weight: 800;
    font-size: 0.95rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    outline: none;
}

.preset-items-grid {
    display: flex;
    flex-direction: column;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.preset-list-container.active .preset-items-grid {
    max-height: 500px;
}

.preset-item-btn {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(255,255,255,0.03);
    padding: 0.85rem 1.25rem;
    text-align: left;
    color: var(--text-muted);
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: var(--transition-fast);
}

.preset-item-btn:hover {
    background: rgba(255, 255, 255, 0.03);
    color: var(--text-primary);
    padding-left: 1.5rem;
}

.preset-badge-blue {
    background: rgba(29, 161, 242, 0.12);
    color: #1da1f2;
    border: 1px solid rgba(29, 161, 242, 0.2);
    padding: 0.15rem 0.4rem;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 700;
}

.preset-badge-orange {
    background: rgba(249, 115, 22, 0.12);
    color: #f97316;
    border: 1px solid rgba(249, 115, 22, 0.2);
    padding: 0.15rem 0.4rem;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 700;
}

/* Two-Column Configuration / Participation Boxes */
.job-meta-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
    margin-bottom: 1.25rem;
}

.job-meta-box {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1.25rem;
    font-size: 0.85rem;
}

.job-meta-title {
    font-size: 0.75rem;
    font-weight: 800;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    padding-bottom: 0.4rem;
}

.job-meta-row {
    display: flex;
    justify-content: space-between;
    padding: 0.35rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.02);
}

.job-meta-row:last-child {
    border-bottom: none;
}

.job-meta-row .lbl {
    color: var(--text-muted);
    font-weight: 600;
}

.job-meta-row .val {
    color: var(--text-primary);
    font-weight: 700;
}

/* Green Reward Box */
.job-reward-box-large {
    background: rgba(16, 185, 129, 0.04);
    border: 1px solid rgba(16, 185, 129, 0.15);
    border-radius: 12px;
    padding: 1.25rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
    margin-bottom: 1.25rem;
}

/* Info Alert Banner */
.job-info-banner {
    background: rgba(168, 85, 247, 0.05);
    border: 1px solid rgba(168, 85, 247, 0.15);
    color: var(--text-muted);
    border-radius: 10px;
    padding: 0.75rem 1rem;
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1rem;
}

/* OR Separators */
.or-separator {
    display: flex;
    align-items: center;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.75rem;
    font-weight: 700;
    margin: 1rem 0;
    width: 100%;
}

.or-separator::before, .or-separator::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.or-separator:not(:empty)::before {
    margin-right: .5em;
}

.or-separator:not(:empty)::after {
    margin-left: .5em;
}

/* -------------------------------------------------------------
   CYBER WATCHER MASCOT (FOLLOWING EYES) STYLES
   ------------------------------------------------------------- */
.cyber-watcher-container {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 1000;
    pointer-events: auto;
    transition: bottom 1.2s cubic-bezier(0.34, 1.56, 0.64, 1), 
                right 1.2s cubic-bezier(0.34, 1.56, 0.64, 1), 
                transform 1.2s cubic-bezier(0.34, 1.56, 0.64, 1),
                box-shadow 1.2s ease;
}

.cyber-watcher-container.intro-center {
    bottom: calc(50vh - 40px); /* Aligns vertically with the center of the hero text */
    right: calc(50vw + 260px); /* Pushed left into the open circle area next to the title */
    transform: scale(1.6);
    box-shadow: 0 0 50px rgba(168, 85, 247, 0.4);
}

.cyber-watcher-container.intro-center .watcher-tooltip {
    opacity: 1;
    transform: translateY(0);
    bottom: 86px;
}

.cyber-watcher-container:hover:not(.intro-center) {
    transform: scale(1.15) translateY(-5px);
}

.cyber-watcher-inner {
    width: 76px;
    height: 76px;
    background: rgba(18, 16, 32, 0.75);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(168, 85, 247, 0.25);
    box-shadow: 0 8px 32px rgba(168, 85, 247, 0.15), inset 0 0 15px rgba(168, 85, 247, 0.1);
    border-radius: 50% 50% 45% 45%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    position: relative;
}

.cyber-watcher-inner::after {
    content: '';
    position: absolute;
    bottom: -6px;
    width: 50px;
    height: 4px;
    background: radial-gradient(ellipse at center, rgba(168, 85, 247, 0.4) 0%, rgba(0, 0, 0, 0) 70%);
    z-index: -1;
    filter: blur(1px);
    animation: pulseShadow 2s infinite ease-in-out;
}

@keyframes pulseShadow {
    0%, 100% { transform: scale(1); opacity: 0.6; }
    50% { transform: scale(1.2); opacity: 1; }
}

.watcher-eyes {
    display: flex;
    gap: 8px;
}

.eye {
    width: 22px;
    height: 26px;
    background: #08070d;
    border: 1.5px solid rgba(168, 85, 247, 0.6);
    border-radius: 50%;
    position: relative;
    overflow: hidden;
    box-shadow: 0 0 10px rgba(168, 85, 247, 0.2);
}

.pupil {
    width: 9px;
    height: 9px;
    background: #10b981;
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 8px #10b981, 0 0 15px #10b981;
    pointer-events: none;
    transition: transform 0.05s ease-out;
}

/* Futuristic holographic antenna/brows */
.cyber-watcher-inner::before {
    content: '';
    position: absolute;
    top: -5px;
    width: 46px;
    height: 6px;
    background: linear-gradient(90deg, transparent, var(--secondary) 20%, var(--secondary) 80%, transparent);
    clip-path: polygon(10% 0%, 90% 0%, 100% 100%, 0% 100%);
    opacity: 0.7;
    animation: hoverEars 3s infinite ease-in-out;
}

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

.watcher-tooltip {
    position: absolute;
    bottom: 86px;
    right: 0;
    background: rgba(8, 7, 13, 0.95);
    border: 1px solid rgba(168, 85, 247, 0.3);
    padding: 0.5rem 0.85rem;
    border-radius: 10px;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-primary);
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transform: translateY(10px);
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
}

.cyber-watcher-container:hover:not(.intro-center) .watcher-tooltip {
    opacity: 1;
    transform: translateY(0);
}

/* Cyber Watcher Chat Window Styling */
.watcher-chat-window {
    position: absolute;
    bottom: 92px;
    right: 0;
    width: 320px;
    height: 400px;
    background: rgba(12, 10, 24, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(168, 85, 247, 0.35);
    border-radius: 18px;
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.6), 0 0 25px rgba(168, 85, 247, 0.15);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
    transform: translateY(15px) scale(0.9);
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    z-index: 1010;
}

.watcher-chat-window.active {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0) scale(1);
}

.chat-header {
    background: rgba(168, 85, 247, 0.15);
    padding: 0.85rem 1.25rem;
    border-bottom: 1px solid rgba(168, 85, 247, 0.25);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.chat-header-title {
    font-size: 0.9rem;
    font-weight: 800;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.chat-header-status {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.75rem;
    color: var(--text-success);
    font-weight: 700;
}

.chat-header-dot {
    width: 6px;
    height: 6px;
    background: var(--text-success);
    border-radius: 50%;
    box-shadow: 0 0 6px var(--text-success);
}

.chat-body {
    flex: 1;
    padding: 1rem;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    scroll-behavior: smooth;
}

/* Custom scrollbars for chat */
.chat-body::-webkit-scrollbar {
    width: 4px;
}
.chat-body::-webkit-scrollbar-thumb {
    background: rgba(168, 85, 247, 0.3);
    border-radius: 2px;
}

.chat-message {
    max-width: 85%;
    padding: 0.65rem 0.85rem;
    border-radius: 14px;
    font-size: 0.82rem;
    line-height: 1.4;
    word-break: break-word;
}

.chat-message.bot {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
    color: var(--text-primary);
    align-self: flex-start;
    border-bottom-left-radius: 4px;
}

.chat-message.user {
    background: linear-gradient(135deg, var(--primary), #8b5cf6);
    color: #fff;
    align-self: flex-end;
    border-bottom-right-radius: 4px;
    box-shadow: 0 3px 10px rgba(168, 85, 247, 0.2);
}

.chat-typing-indicator {
    align-self: flex-start;
    font-size: 0.75rem;
    color: var(--text-muted);
    font-style: italic;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.chat-footer {
    padding: 0.75rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    display: flex;
    gap: 0.5rem;
}

.chat-input {
    flex: 1;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    padding: 0.5rem 0.85rem;
    color: var(--text-primary);
    font-size: 0.82rem;
    outline: none;
    transition: var(--transition-fast);
}

.chat-input:focus {
    border-color: rgba(168, 85, 247, 0.4);
    background: rgba(255, 255, 255, 0.06);
}

.chat-send-btn {
    background: var(--primary);
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 10px;
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
}

.chat-send-btn:hover {
    background: #8b5cf6;
    transform: scale(1.05);
}

/* Extra Mobile Responsiveness Enhancements */
@media (max-width: 768px) {
    .nav-center {
        width: 100%;
        overflow-x: auto;
        white-space: nowrap;
        justify-content: flex-start;
        gap: 0.5rem;
        padding-bottom: 0.5rem;
        -webkit-overflow-scrolling: touch;
    }
    .nav-center::-webkit-scrollbar {
        display: none;
    }
    .nav-link {
        flex: 0 0 auto;
        padding: 0.5rem 0.75rem;
        font-size: 0.85rem;
    }
    .nav-right {
        width: 100%;
        justify-content: center;
        gap: 0.5rem;
        flex-wrap: wrap;
    }
    .wallet-badge, .social-badge {
        flex: 1 1 auto;
        justify-content: center;
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
    }
    .cyber-watcher-container {
        bottom: 16px;
        right: 16px;
    }
    .cyber-watcher-container.intro-center {
        bottom: calc(50vh - 29px);
        right: calc(50vw - 29px);
        transform: scale(1.4);
    }
    .cyber-watcher-inner {
        width: 58px;
        height: 58px;
    }
    .eye {
        width: 16px;
        height: 20px;
    }
    .pupil {
        width: 7px;
        height: 7px;
    }
    .cyber-watcher-inner::before {
        width: 36px;
        top: -4px;
    }
    .watcher-chat-window {
        width: calc(100vw - 32px);
        right: 0;
        bottom: 74px;
        height: 380px;
    }
}




