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

:root {
    --bg-primary: #0a0a0a;
    --bg-secondary: #111111;
    --bg-card: #111111;
    --border-color: #1f1f1f;
    --primary: #DC2626;
    --primary-hover: #991b1b;
    --text-primary: #f5f5f5;
    --text-muted: #737373;
    --success: #10b981;
    --warning: #f59e0b;
    --danger: #ef4444;
}

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

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ========================================
   ANIMATED BACKGROUND
======================================== */

.background-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.grid-canvas,
.particles-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.scan-line {
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg,
        transparent 0%,
        var(--primary) 50%,
        transparent 100%);
    box-shadow:
        0 0 10px var(--primary),
        0 0 20px var(--primary),
        0 0 40px var(--primary);
    animation: scanline 8s linear infinite;
    opacity: 0.3;
}

@keyframes scanline {
    0% { top: -10%; }
    100% { top: 110%; }
}

/* ========================================
   CUSTOM CURSOR
======================================== */

.cursor,
.cursor-follower {
    position: fixed;
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    mix-blend-mode: difference;
}

.cursor {
    width: 10px;
    height: 10px;
    background-color: var(--primary);
    transform: translate(-50%, -50%);
}

.cursor-follower {
    width: 40px;
    height: 40px;
    border: 2px solid var(--primary);
    transform: translate(-50%, -50%);
    transition: width 0.3s, height 0.3s;
}

/* ========================================
   GLOW EFFECT
======================================== */

.glow {
    text-shadow:
        0 0 10px var(--primary),
        0 0 20px var(--primary),
        0 0 40px var(--primary),
        0 0 60px var(--primary);
    animation: glow-pulse 3s ease-in-out infinite;
}

@keyframes glow-pulse {
    0%, 100% {
        text-shadow:
            0 0 10px var(--primary),
            0 0 20px var(--primary),
            0 0 40px var(--primary);
    }
    50% {
        text-shadow:
            0 0 20px var(--primary),
            0 0 40px var(--primary),
            0 0 60px var(--primary),
            0 0 80px var(--primary);
    }
}

/* ========================================
   GLITCH EFFECT
======================================== */

.glitch {
    position: relative;
    animation: glitch-trigger 5s infinite;
}

.glitch::before,
.glitch::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
}

.glitch::before {
    color: #ff0000;
    z-index: -1;
}

.glitch::after {
    color: #00ffff;
    z-index: -2;
}

@keyframes glitch-trigger {
    0%, 90%, 100% { transform: translate(0); }
    90.1% { animation: glitch 0.3s infinite; }
}

@keyframes glitch {
    0% {
        transform: translate(0);
        opacity: 1;
    }
    20% {
        transform: translate(-2px, 2px);
        opacity: 0.8;
    }
    40% {
        transform: translate(2px, -2px);
        opacity: 0.8;
    }
    60% {
        transform: translate(-2px, -2px);
        opacity: 0.8;
    }
    80% {
        transform: translate(2px, 2px);
        opacity: 0.8;
    }
    100% {
        transform: translate(0);
        opacity: 1;
    }
}

.glitch:hover::before {
    opacity: 0.8;
    animation: glitch-before 0.3s infinite;
}

.glitch:hover::after {
    opacity: 0.8;
    animation: glitch-after 0.3s infinite;
}

@keyframes glitch-before {
    0%, 100% { transform: translate(0); }
    33% { transform: translate(-2px, 2px); }
    66% { transform: translate(2px, -2px); }
}

@keyframes glitch-after {
    0%, 100% { transform: translate(0); }
    33% { transform: translate(2px, 2px); }
    66% { transform: translate(-2px, -2px); }
}

/* ========================================
   HEADER
======================================== */

.header {
    background-color: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.logo-img {
    width: 48px;
    height: 48px;
    object-fit: contain;
}

.logo span {
    font-family: 'Rajdhani', sans-serif;
    font-size: 28px;
    font-weight: 700;
    letter-spacing: 4px;
    color: var(--primary);
    text-shadow: 0 0 10px var(--primary);
}

.logo-text {
    font-family: 'Rajdhani', sans-serif;
    font-size: 24px;
    font-weight: 700;
    letter-spacing: 4px;
    color: var(--primary);
    text-shadow: 0 0 10px var(--primary);
}

.nav {
    display: flex;
    gap: 30px;
}

.nav-link {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary);
    transition: width 0.3s;
}

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

.nav-link:hover::after {
    width: 100%;
}

.status-indicator {
    display: flex;
    align-items: center;
    gap: 8px;
}

.status-dot {
    width: 8px;
    height: 8px;
    background-color: var(--success);
    border-radius: 50%;
    animation: pulse-dot 2s infinite;
    box-shadow: 0 0 10px var(--success);
}

@keyframes pulse-dot {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.5;
        transform: scale(1.2);
    }
}

.status-text {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1px;
    color: var(--success);
}

/* ========================================
   HERO SECTION
======================================== */

.hero {
    margin-top: 80px;
    padding: 120px 0;
    text-align: center;
    position: relative;
}

.hero-title {
    font-family: 'Rajdhani', sans-serif;
    font-size: 100px;
    font-weight: 700;
    letter-spacing: 8px;
    margin-bottom: 20px;
    background: linear-gradient(45deg, var(--primary), #ff4545, var(--primary));
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradient-shift 3s ease infinite;
}

@keyframes gradient-shift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.hero-subtitle {
    font-size: 28px;
    font-weight: 400;
    color: var(--text-primary);
    margin-bottom: 20px;
}

.hero-text {
    font-size: 24px;
    color: var(--text-muted);
    margin-bottom: 40px;
    min-height: 40px;
    font-family: 'JetBrains Mono', monospace;
}

.typewriter::after {
    content: '|';
    animation: blink 1s infinite;
    color: var(--primary);
}

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

/* ========================================
   BUTTON
======================================== */

.btn-primary {
    background-color: var(--primary);
    color: var(--text-primary);
    border: none;
    padding: 16px 48px;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 2px;
    cursor: none;
    position: relative;
    overflow: hidden;
    transition: all 0.3s;
    border-radius: 4px;
}

.btn-border {
    position: absolute;
    inset: 0;
    border-radius: 4px;
    padding: 2px;
    background: linear-gradient(45deg, var(--primary), #ff4545, var(--primary));
    background-size: 200% 200%;
    animation: borderGradient 3s linear infinite;
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.3s;
}

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

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

.btn-primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow:
        0 10px 30px rgba(220, 38, 38, 0.3),
        0 0 20px var(--primary);
}

.btn-text {
    position: relative;
    z-index: 1;
}

/* Ripple effect */
.ripple-effect {
    position: relative;
    overflow: hidden;
}

.ripple {
    position: absolute;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.6);
    transform: scale(0);
    animation: ripple-animation 0.6s linear;
}

@keyframes ripple-animation {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

/* ========================================
   GLASSMORPHISM
======================================== */

.glass {
    background: rgba(17, 17, 17, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(220, 38, 38, 0.1);
    position: relative;
}

.glass::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg,
        transparent,
        rgba(255, 255, 255, 0.2),
        transparent);
}

/* ========================================
   FEATURES
======================================== */

.features {
    padding: 80px 0;
}

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

.feature-card {
    padding: 40px 30px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.card-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(220, 38, 38, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s;
}

.feature-card:hover .card-glow {
    opacity: 1;
}

.feature-card:hover {
    border-color: var(--primary);
    transform: translateY(-10px);
    box-shadow:
        0 20px 40px rgba(220, 38, 38, 0.2),
        0 0 20px rgba(220, 38, 38, 0.3);
}

.feature-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 20px;
    color: var(--primary);
}

/* Icon Animations */
.icon-pulse {
    animation: icon-pulse 2s ease-in-out infinite;
}

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

.icon-rotate {
    animation: icon-rotate 3s linear infinite;
}

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

.icon-pulse-fast {
    animation: icon-pulse-fast 1s ease-in-out infinite;
}

@keyframes icon-pulse-fast {
    0%, 100% {
        transform: scale(1);
        filter: drop-shadow(0 0 5px var(--primary));
    }
    50% {
        transform: scale(1.2);
        filter: drop-shadow(0 0 15px var(--primary));
    }
}

.icon-bounce {
    animation: icon-bounce 2s ease-in-out infinite;
}

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

.feature-title {
    font-family: 'Rajdhani', sans-serif;
    font-size: 20px;
    font-weight: 600;
    letter-spacing: 2px;
    margin-bottom: 12px;
}

.feature-description {
    color: var(--text-muted);
    font-size: 14px;
}

/* ========================================
   TOKEN FEED SECTION (Cards Grid)
======================================== */

.token-feed-section {
    max-width: 1400px;
    margin: 0 auto;
    padding: 80px 20px;
    background-color: var(--bg-secondary);
}

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

.feed-title {
    font-family: 'Rajdhani', sans-serif;
    font-size: 36px;
    font-weight: 700;
    letter-spacing: 3px;
    color: var(--primary);
    text-transform: uppercase;
    margin: 0;
}

.feed-tabs {
    display: flex;
    gap: 12px;
}

.tab {
    padding: 12px 24px;
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-muted);
    cursor: none;
    transition: all 0.3s;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    border-radius: 4px;
}

.tab:hover {
    border-color: var(--primary);
    color: var(--text-primary);
    background: rgba(220, 38, 38, 0.05);
}

.tab.active {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--text-primary);
    box-shadow: 0 0 15px rgba(220, 38, 38, 0.4);
}

.tokens-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px;
}

.token-card {
    background: linear-gradient(145deg, #111 0%, #0a0a0a 100%);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 24px;
    cursor: none;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.token-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
    opacity: 0;
    transition: opacity 0.3s;
}

.token-card::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(220, 38, 38, 0.1) 0%, transparent 70%);
    opacity: 0;
    transform: translate(-50%, -50%);
    transition: all 0.5s;
}

.token-card:hover {
    border-color: var(--primary);
    transform: translateY(-8px);
    box-shadow:
        0 15px 50px rgba(0, 0, 0, 0.5),
        0 0 30px rgba(220, 38, 38, 0.3);
}

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

.token-card:hover::after {
    width: 300px;
    height: 300px;
    opacity: 1;
}

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

.token-name {
    font-family: 'Rajdhani', sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: 1px;
}

.token-change {
    font-size: 13px;
    font-weight: 700;
    padding: 6px 12px;
    border-radius: 6px;
    font-family: 'JetBrains Mono', monospace;
}

.token-change.positive {
    color: var(--success);
    background: rgba(16, 185, 129, 0.15);
    box-shadow: 0 0 10px rgba(16, 185, 129, 0.2);
}

.token-change.negative {
    color: var(--danger);
    background: rgba(239, 68, 68, 0.15);
    box-shadow: 0 0 10px rgba(239, 68, 68, 0.2);
}

.token-price {
    font-family: 'JetBrains Mono', monospace;
    font-size: 18px;
    color: var(--text-primary);
    margin-bottom: 16px;
    font-weight: 600;
}

.token-stats {
    display: flex;
    justify-content: space-between;
    margin-bottom: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border-color);
}

.stat {
    text-align: center;
    flex: 1;
}

.stat-label {
    font-size: 10px;
    color: var(--text-muted);
    text-transform: uppercase;
    margin-bottom: 6px;
    letter-spacing: 0.5px;
}

.stat-value {
    font-family: 'JetBrains Mono', monospace;
    font-size: 12px;
    color: var(--text-primary);
    font-weight: 600;
}

.token-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.token-status {
    padding: 6px 14px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.token-status.safe {
    background: rgba(16, 185, 129, 0.2);
    color: var(--success);
    border: 1px solid var(--success);
    box-shadow: 0 0 10px rgba(16, 185, 129, 0.2);
}

.token-status.warning {
    background: rgba(245, 158, 11, 0.2);
    color: var(--warning);
    border: 1px solid var(--warning);
    box-shadow: 0 0 10px rgba(245, 158, 11, 0.2);
}

.token-status.danger {
    background: rgba(239, 68, 68, 0.2);
    color: var(--danger);
    border: 1px solid var(--danger);
    box-shadow: 0 0 10px rgba(239, 68, 68, 0.2);
}

.trade-btn {
    padding: 10px 20px;
    background: transparent;
    border: 1px solid var(--primary);
    color: var(--primary);
    border-radius: 6px;
    font-size: 13px;
    font-weight: 700;
    cursor: none;
    transition: all 0.3s;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.trade-btn:hover {
    background: var(--primary);
    color: var(--text-primary);
    box-shadow: 0 0 20px rgba(220, 38, 38, 0.4);
    transform: scale(1.05);
}

/* Card entrance animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.token-card {
    animation: fadeInUp 0.6s ease forwards;
    opacity: 0;
}

.token-card:nth-child(1) { animation-delay: 0.05s; }
.token-card:nth-child(2) { animation-delay: 0.1s; }
.token-card:nth-child(3) { animation-delay: 0.15s; }
.token-card:nth-child(4) { animation-delay: 0.2s; }
.token-card:nth-child(5) { animation-delay: 0.25s; }
.token-card:nth-child(6) { animation-delay: 0.3s; }
.token-card:nth-child(7) { animation-delay: 0.35s; }
.token-card:nth-child(8) { animation-delay: 0.4s; }
.token-card:nth-child(9) { animation-delay: 0.45s; }
.token-card:nth-child(10) { animation-delay: 0.5s; }
.token-card:nth-child(11) { animation-delay: 0.55s; }
.token-card:nth-child(12) { animation-delay: 0.6s; }

/* Old terminal style - keep for reference, remove later */
.live-feed {
    padding: 80px 0;
    background-color: var(--bg-secondary);
}

.section-title {
    font-family: 'Rajdhani', sans-serif;
    font-size: 36px;
    font-weight: 700;
    letter-spacing: 3px;
    text-align: center;
    margin-bottom: 40px;
}

.feed-container {
    max-width: 900px;
    margin: 0 auto;
    background-color: #000000;
    border: 2px solid var(--primary);
    max-height: 500px;
    overflow-y: auto;
    box-shadow:
        0 0 20px rgba(220, 38, 38, 0.3),
        inset 0 0 50px rgba(220, 38, 38, 0.05);
    position: relative;
}

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

.terminal-cursor {
    position: absolute;
    top: 10px;
    left: 10px;
    width: 8px;
    height: 16px;
    background-color: var(--primary);
    animation: blink 1s infinite;
}

.feed-item {
    display: grid;
    grid-template-columns: 100px 200px 150px 100px 1fr;
    gap: 20px;
    padding: 16px 20px;
    border-bottom: 1px solid rgba(220, 38, 38, 0.1);
    font-size: 14px;
    align-items: center;
    animation: slideInLeft 0.5s ease-out;
    position: relative;
    overflow: hidden;
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.feed-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 3px;
    height: 100%;
    background-color: var(--primary);
    opacity: 0;
    transition: opacity 0.3s;
}

.feed-item:hover::before {
    opacity: 1;
}

.feed-item:hover {
    background-color: rgba(220, 38, 38, 0.05);
}

.feed-time {
    color: var(--text-muted);
}

.feed-token {
    color: var(--text-primary);
    font-weight: 600;
    text-shadow: 0 0 5px currentColor;
}

.feed-liquidity {
    color: var(--text-muted);
}

.feed-status {
    padding: 4px 12px;
    border-radius: 2px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-align: center;
    position: relative;
}

.feed-status.safe {
    background-color: rgba(16, 185, 129, 0.2);
    color: var(--success);
    box-shadow: 0 0 10px rgba(16, 185, 129, 0.3);
}

.feed-status.warning {
    background-color: rgba(245, 158, 11, 0.2);
    color: var(--warning);
    animation: pulse-warning 2s ease-in-out infinite;
}

@keyframes pulse-warning {
    0%, 100% {
        box-shadow: 0 0 5px rgba(245, 158, 11, 0.3);
    }
    50% {
        box-shadow: 0 0 15px rgba(245, 158, 11, 0.6);
    }
}

.feed-status.danger {
    background-color: rgba(239, 68, 68, 0.2);
    color: var(--danger);
    animation: blink-danger 1s ease-in-out infinite;
}

@keyframes blink-danger {
    0%, 100% {
        opacity: 1;
        box-shadow: 0 0 10px rgba(239, 68, 68, 0.5);
    }
    50% {
        opacity: 0.6;
        box-shadow: 0 0 20px rgba(239, 68, 68, 0.8);
    }
}

.feed-message {
    color: var(--text-muted);
    font-size: 12px;
}

/* Flash effect for danger items */
.feed-item.danger-flash {
    animation: dangerFlash 0.3s ease-out;
}

@keyframes dangerFlash {
    0%, 100% { background-color: rgba(220, 38, 38, 0.05); }
    50% { background-color: rgba(239, 68, 68, 0.3); }
}

/* Custom scrollbar */
.feed-container::-webkit-scrollbar {
    width: 8px;
}

.feed-container::-webkit-scrollbar-track {
    background: #000000;
}

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

.feed-container::-webkit-scrollbar-thumb:hover {
    background: var(--primary-hover);
}

/* ========================================
   STATS
======================================== */

.stats {
    padding: 80px 0;
}

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

.stat-card {
    padding: 40px;
    text-align: center;
    transition: all 0.3s;
}

.stat-card:hover {
    transform: translateY(-5px);
}

.stat-value {
    font-family: 'Rajdhani', sans-serif;
    font-size: 60px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 10px;
}

.stat-label {
    color: var(--text-muted);
    font-size: 14px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* ========================================
   TOKEN MODAL
======================================== */

.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease;
}

.modal.hidden {
    display: none;
}

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

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
}

.modal-content {
    position: relative;
    max-width: 600px;
    width: 90%;
    padding: 40px;
    border: 2px solid var(--primary);
    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.8),
        0 0 30px rgba(220, 38, 38, 0.3);
    animation: slideUp 0.3s ease;
    z-index: 10001;
}

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

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 32px;
    line-height: 1;
    color: var(--text-muted);
    cursor: none;
    transition: all 0.3s;
}

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

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

.modal-token-name {
    font-family: 'Rajdhani', sans-serif;
    font-size: 36px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
    text-shadow: 0 0 10px var(--primary);
}

.modal-token-status {
    padding: 6px 16px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1px;
}

.modal-token-status.safe {
    background-color: rgba(16, 185, 129, 0.2);
    color: var(--success);
    box-shadow: 0 0 10px rgba(16, 185, 129, 0.3);
}

.modal-token-status.warning {
    background-color: rgba(245, 158, 11, 0.2);
    color: var(--warning);
    box-shadow: 0 0 10px rgba(245, 158, 11, 0.3);
}

.modal-token-status.danger {
    background-color: rgba(239, 68, 68, 0.2);
    color: var(--danger);
    box-shadow: 0 0 10px rgba(239, 68, 68, 0.3);
}

.modal-info {
    margin: 30px 0;
}

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

.info-label {
    color: var(--text-muted);
    font-size: 14px;
    letter-spacing: 0.5px;
}

.info-value {
    color: var(--text-primary);
    font-weight: 600;
    font-family: 'JetBrains Mono', monospace;
}

.contract-address {
    font-size: 12px;
    max-width: 200px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.copy-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(220, 38, 38, 0.1);
    border: 1px solid var(--primary);
    color: var(--primary);
    padding: 6px 12px;
    font-size: 12px;
    font-weight: 600;
    cursor: none;
    transition: all 0.3s;
    border-radius: 4px;
}

.copy-btn:hover {
    background: var(--primary);
    color: var(--text-primary);
    box-shadow: 0 0 15px rgba(220, 38, 38, 0.5);
}

.modal-buttons {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-top: 30px;
}

.modal-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 20px;
    background: rgba(17, 17, 17, 0.8);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s;
    cursor: none;
}

.modal-btn:hover {
    border-color: var(--primary);
    background: rgba(220, 38, 38, 0.1);
    box-shadow: 0 0 15px rgba(220, 38, 38, 0.2);
    transform: translateY(-2px);
}

.buy-btn {
    background: var(--primary);
    border-color: var(--primary);
}

.buy-btn:hover {
    background: var(--primary-hover);
    box-shadow: 0 0 20px rgba(220, 38, 38, 0.4);
}

/* ========================================
   FEED ITEM CLICKABLE
======================================== */

.feed-item {
    cursor: pointer !important;
    transition: all 0.3s;
    position: relative;
}

.feed-item:hover {
    background-color: rgba(220, 38, 38, 0.1);
    transform: translateX(8px);
    box-shadow: 0 0 20px rgba(220, 38, 38, 0.2);
}

.feed-item:hover::before {
    opacity: 1;
}

.feed-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 4px;
    height: 100%;
    background: var(--primary);
    opacity: 0;
    transition: opacity 0.3s;
    box-shadow: 0 0 10px var(--primary);
}

.feed-item:active {
    transform: translateX(8px) scale(0.98);
    background-color: rgba(220, 38, 38, 0.15);
}

/* ========================================
   FOOTER
======================================== */

.footer {
    background-color: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    padding: 60px 0 30px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.footer-brand .logo {
    margin-bottom: 10px;
}

.footer-tagline {
    color: var(--text-muted);
    font-size: 14px;
}

.footer-links {
    display: flex;
    gap: 20px;
}

.footer-link {
    color: var(--text-muted);
    transition: all 0.3s;
}

.footer-link:hover {
    color: var(--primary);
    transform: scale(1.2);
}

.footer-info {
    display: flex;
    justify-content: center;
    gap: 40px;
    padding: 20px 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    font-size: 12px;
    color: var(--text-muted);
}

.footer-disclaimer {
    text-align: center;
    margin-top: 30px;
    color: var(--text-muted);
    font-size: 12px;
}

/* ========================================
   SCROLL REVEAL
======================================== */

.reveal-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal-on-scroll.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger animation for children */
.reveal-on-scroll.revealed .feature-card,
.reveal-on-scroll.revealed .stat-card {
    animation: fadeInUp 0.6s ease-out forwards;
}

.reveal-on-scroll.revealed .feature-card:nth-child(1) { animation-delay: 0.1s; }
.reveal-on-scroll.revealed .feature-card:nth-child(2) { animation-delay: 0.2s; }
.reveal-on-scroll.revealed .feature-card:nth-child(3) { animation-delay: 0.3s; }
.reveal-on-scroll.revealed .feature-card:nth-child(4) { animation-delay: 0.4s; }

.reveal-on-scroll.revealed .stat-card:nth-child(1) { animation-delay: 0.1s; }
.reveal-on-scroll.revealed .stat-card:nth-child(2) { animation-delay: 0.2s; }
.reveal-on-scroll.revealed .stat-card:nth-child(3) { animation-delay: 0.3s; }

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

/* ========================================
   RESPONSIVE
======================================== */

@media (max-width: 768px) {
    body {
        cursor: auto;
    }

    .cursor,
    .cursor-follower {
        display: none;
    }

    .header-content {
        flex-direction: column;
        gap: 20px;
    }

    .nav {
        gap: 20px;
    }

    .hero-title {
        font-size: 60px;
        letter-spacing: 4px;
    }

    .hero-subtitle {
        font-size: 20px;
    }

    .hero-text {
        font-size: 18px;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    /* Token Feed Cards - Mobile */
    .tokens-grid {
        grid-template-columns: 1fr;
    }

    .feed-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .feed-tabs {
        width: 100%;
        overflow-x: auto;
        scrollbar-width: none;
    }

    .feed-tabs::-webkit-scrollbar {
        display: none;
    }

    .tab {
        flex-shrink: 0;
    }

    .token-card {
        cursor: auto;
    }

    .trade-btn {
        cursor: auto;
    }

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

    .stat-value {
        font-size: 48px;
    }

    .footer-content {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .footer-info {
        flex-direction: column;
        gap: 10px;
    }

    /* Disable some animations on mobile for performance */
    .scan-line,
    .card-glow {
        display: none;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 48px;
    }

    .btn-primary {
        padding: 12px 32px;
        font-size: 14px;
    }
}

/* ========================================
   SMOOTH SCROLL
======================================== */

html {
    scroll-behavior: smooth;
}

/* ========================================
   PERFORMANCE OPTIMIZATIONS
======================================== */

.hero-title,
.feature-card,
.stat-card,
.btn-primary,
.cursor,
.cursor-follower {
    will-change: transform;
}
