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

body {
    background-color: #0a0a0a;
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(0, 255, 65, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 20, 147, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 40% 80%, rgba(0, 255, 65, 0.03) 0%, transparent 50%);
    color: #00ff41;
    font-family: 'Source Code Pro', 'Courier New', 'Monaco', 'Lucida Console', monospace;
    font-size: 14px;
    line-height: 1.4;
    overflow-x: hidden;
    position: relative;
}

/* Neon Header Styles */
.neon-header {
    text-align: center;
    padding: 40px 20px;
    background: linear-gradient(135deg, rgba(255, 20, 147, 0.08), rgba(0, 255, 65, 0.05));
    border-bottom: 1px solid rgba(255, 20, 147, 0.3);
    margin-bottom: 30px;
    position: relative;
}

.neon-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent 0%, rgba(255, 20, 147, 0.1) 50%, transparent 100%);
    pointer-events: none;
}

.neon-title {
    font-size: 48px;
    font-weight: 600;
    color: #ff1493;
    text-shadow: 
        0 0 5px rgba(255, 20, 147, 0.8),
        0 0 15px rgba(255, 20, 147, 0.4),
        0 0 30px rgba(255, 20, 147, 0.2);
    margin-bottom: 10px;
    letter-spacing: 2px;
    animation: neon-flicker 3s infinite alternate;
    position: relative;
    z-index: 1;
}

@keyframes neon-flicker {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.8; }
}

.subtitle {
    font-size: 18px;
    color: #66ff66;
    text-shadow: 0 0 8px rgba(102, 255, 102, 0.6);
    margin-bottom: 20px;
    font-style: italic;
    position: relative;
    z-index: 1;
}

.description {
    font-size: 12px;
    color: #b8b8b8;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
    position: relative;
    z-index: 1;
}

.experiment-note {
    color: #66ff66;
    text-shadow: 0 0 5px rgba(102, 255, 102, 0.6);
    margin-top: 15px;
    display: block;
    margin-bottom: 10px;
}

.disclaimer {
    color: #ff6b35;
    font-weight: bold;
    margin-top: 10px;
    display: block;
    margin-bottom: 10px;
}

.reality-warning {
    color: #ff1493;
    font-weight: bold;
    text-shadow: 0 0 5px rgba(255, 20, 147, 0.5);
    margin-top: 10px;
    display: block;
    margin-bottom: 10px;
}

.disclaimer-link {
    color: #ff1493;
    text-decoration: underline;
    cursor: pointer;
    transition: all 0.3s ease;
}

.disclaimer-link:hover {
    text-shadow: 0 0 10px rgba(255, 20, 147, 0.8);
    color: #ff69b4;
}

/* Contract Interface */
.contract-interface {
    max-width: 1200px;
    margin: 0 auto 40px;
    padding: 0 20px;
}

.contract-section {
    margin-bottom: 25px;
    text-align: center;
}

.contract-label {
    color: #66ff66;
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 10px;
    text-shadow: 0 0 5px rgba(102, 255, 102, 0.3);
    text-align: center;
}

.contract-container {
    display: flex;
    gap: 10px;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.contract-input {
    background: rgba(0, 0, 0, 0.85);
    border: 1px solid rgba(255, 20, 147, 0.4);
    color: #00ff41;
    font-family: 'Source Code Pro', 'Courier New', 'Monaco', 'Lucida Console', monospace;
    font-size: 14px;
    padding: 12px 15px;
    border-radius: 2px;
    width: 450px;
    box-shadow: 
        0 0 15px rgba(255, 20, 147, 0.1),
        inset 0 0 20px rgba(0, 0, 0, 0.6);
    text-align: center;
    cursor: text;
}

.contract-input:focus {
    outline: none;
    border-color: rgba(255, 20, 147, 0.7);
    box-shadow: 
        0 0 25px rgba(255, 20, 147, 0.3),
        inset 0 0 20px rgba(0, 0, 0, 0.6);
}

.copy-btn {
    background: linear-gradient(45deg, rgba(255, 20, 147, 0.8), rgba(0, 255, 65, 0.8));
    border: 1px solid rgba(255, 20, 147, 0.5);
    color: #ffffff;
    font-family: 'Source Code Pro', 'Courier New', 'Monaco', 'Lucida Console', monospace;
    font-size: 14px;
    font-weight: bold;
    padding: 12px 20px;
    cursor: pointer;
    text-transform: uppercase;
    transition: all 0.3s ease;
    border-radius: 2px;
    text-shadow: 0 0 5px rgba(0, 0, 0, 0.8);
}

.copy-btn:hover {
    background: linear-gradient(45deg, rgba(255, 20, 147, 1), rgba(0, 255, 65, 0.9));
    box-shadow: 
        0 0 20px rgba(255, 20, 147, 0.4),
        0 0 40px rgba(0, 255, 65, 0.2);
    transform: translateY(-1px);
}

.collector-section {
    margin-bottom: 50px;
    text-align: center;
}

.collector-label {
    color: #66ff66;
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 10px;
    text-shadow: 0 0 5px rgba(102, 255, 102, 0.3);
}

.collector-container {
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: center;
    width: 100%;
    justify-content: center;
}

.collector-address {
    color: #00ff41;
    font-family: 'Source Code Pro', 'Courier New', 'Monaco', 'Lucida Console', monospace;
    font-size: 14px;
    background: rgba(0, 0, 0, 0.85);
    padding: 12px 15px;
    border: 1px solid rgba(0, 255, 65, 0.3);
    border-radius: 2px;
    text-shadow: 0 0 5px rgba(0, 255, 65, 0.3);
    text-align: center;
    display: inline-block;
    width: 450px;
    box-shadow: 
        0 0 15px rgba(0, 255, 65, 0.1),
        inset 0 0 20px rgba(0, 0, 0, 0.6);
}

.solscan-link {
    color: #ff1493;
    font-family: 'Source Code Pro', 'Courier New', 'Monaco', 'Lucida Console', monospace;
    font-size: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 5px 10px;
    border: 1px solid rgba(255, 20, 147, 0.3);
    border-radius: 2px;
    background: rgba(255, 20, 147, 0.1);
}

.solscan-link:hover {
    color: #ff69b4;
    text-shadow: 0 0 10px rgba(255, 20, 147, 0.8);
    border-color: rgba(255, 20, 147, 0.6);
    background: rgba(255, 20, 147, 0.2);
    transform: translateY(-1px);
}

/* Filter Section */
.filter-section {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.filter-label {
    color: #cccccc;
    font-size: 14px;
}

.filter-dropdown {
    background: rgba(0, 0, 0, 0.8);
    border: 1px solid #00ff41;
    color: #00ff41;
    font-family: 'Source Code Pro', 'Courier New', 'Monaco', 'Lucida Console', monospace;
    font-size: 14px;
    padding: 8px 15px;
}

.scenario-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    max-width: 800px;
}

.tag {
    background: linear-gradient(45deg, rgba(255, 20, 147, 0.15), rgba(0, 255, 65, 0.1));
    border: 1px solid rgba(255, 20, 147, 0.3);
    color: #e0e0e0;
    font-size: 11px;
    padding: 4px 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 2px;
}

.tag:hover {
    background: linear-gradient(45deg, rgba(255, 20, 147, 0.25), rgba(0, 255, 65, 0.15));
    border-color: rgba(255, 20, 147, 0.5);
    box-shadow: 0 0 10px rgba(255, 20, 147, 0.2);
    transform: translateY(-1px);
    color: #ffffff;
}

/* Main Targets Browser */
.main-targets-browser {
    background: rgba(0, 0, 0, 0.7);
    border: 1px solid rgba(255, 20, 147, 0.4);
    margin-bottom: 30px;
    min-height: 200px;
    max-height: 500px;
    overflow-y: auto;
    border-radius: 4px;
    box-shadow: 
        0 0 25px rgba(255, 20, 147, 0.2),
        inset 0 0 40px rgba(0, 0, 0, 0.8);
}

.main-targets-list {
    padding: 20px;
}

.targets-placeholder {
    text-align: center;
    padding: 40px 20px;
    color: #ff1493;
    font-family: 'Source Code Pro', 'Courier New', 'Monaco', 'Lucida Console', monospace;
}

.placeholder-title {
    font-size: 18px;
    font-weight: 600;
    color: #ff1493;
    text-shadow: 0 0 10px rgba(255, 20, 147, 0.8);
    margin-bottom: 15px;
    letter-spacing: 1px;
}

.placeholder-text {
    font-size: 14px;
    color: #b8b8b8;
    margin-bottom: 20px;
    line-height: 1.6;
}

.placeholder-status {
    font-size: 12px;
    color: #00ff41;
    text-shadow: 0 0 5px rgba(0, 255, 65, 0.6);
    animation: pulse-ready 2s infinite;
}

@keyframes pulse-ready {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

/* Targets Browser */
.targets-browser {
    background: rgba(0, 0, 0, 0.7);
    border: 1px solid rgba(255, 20, 147, 0.3);
    margin-bottom: 30px;
    max-height: 400px;
    overflow-y: auto;
    border-radius: 4px;
    box-shadow: 
        0 0 20px rgba(0, 0, 0, 0.8),
        inset 0 0 30px rgba(255, 20, 147, 0.02);
}

.targets-list {
    padding: 20px;
}

/* Conversation Browser */
.conversation-browser {
    background: rgba(0, 0, 0, 0.7);
    border: 1px solid rgba(0, 255, 65, 0.3);
    margin-bottom: 30px;
    max-height: 400px;
    overflow-y: auto;
    border-radius: 4px;
    box-shadow: 
        0 0 20px rgba(0, 0, 0, 0.8),
        inset 0 0 30px rgba(0, 255, 65, 0.02);
}

.conversation-list {
    padding: 20px;
}

.conversation-item {
    border-bottom: 1px solid rgba(0, 255, 65, 0.15);
    padding: 15px 0;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 2px;
}

.conversation-item:hover {
    background: linear-gradient(90deg, rgba(0, 255, 65, 0.08), rgba(255, 20, 147, 0.05));
    padding-left: 10px;
    border-left: 2px solid rgba(255, 20, 147, 0.4);
}

.conversation-title {
    color: #66ff66;
    font-size: 14px;
    margin-bottom: 5px;
    text-shadow: 0 0 5px rgba(102, 255, 102, 0.3);
}

.conversation-preview {
    color: #b8b8b8;
    font-size: 12px;
    opacity: 0.9;
    line-height: 1.4;
}

.conversation-meta {
    color: #ff1493;
    font-size: 11px;
    margin-top: 5px;
    opacity: 0.8;
}

/* Scanlines effect for retro CRT look */
.scanlines {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(transparent 50%, rgba(0, 255, 65, 0.02) 50%);
    background-size: 100% 3px;
    pointer-events: none;
    z-index: 1000;
    animation: scanlines 0.1s linear infinite;
    opacity: 0.7;
}

@keyframes scanlines {
    0% { transform: translateY(0px); }
    100% { transform: translateY(4px); }
}

.terminal-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    position: relative;
    z-index: 1;
}

.terminal-header {
    text-align: center;
    margin-bottom: 30px;
    border: 1px solid #00ff41;
    padding: 15px;
    background-color: rgba(0, 0, 0, 0.8);
}

.terminal-title {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 5px;
    text-shadow: 0 0 10px #00ff41;
}

.terminal-subtitle {
    font-size: 16px;
    opacity: 0.8;
}

.intro-text {
    margin-bottom: 30px;
    text-align: center;
}

.experiment-by {
    margin-top: 10px;
    font-size: 12px;
    opacity: 0.7;
}

.highlight {
    color: #ffff00;
    text-shadow: 0 0 5px #ffff00;
}

.conversation-title {
    text-align: center;
    font-size: 20px;
    margin-bottom: 30px;
    font-weight: 500;
}

.ascii-art {
    margin: 30px 0;
    text-align: center;
    font-size: 12px;
    line-height: 1.2;
}

.terminal-session {
    background-color: rgba(0, 20, 0, 0.3);
    border: 1px solid #00ff41;
    padding: 20px;
    margin: 20px 0;
}

.command-line {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.prompt {
    color: #00ff41;
    font-weight: 500;
    margin-right: 5px;
}

.output-section {
    margin: 20px 0;
    padding-left: 20px;
}

.output-section .typing-text {
    margin-bottom: 8px;
}

.interactive-section {
    margin-top: 30px;
    border-top: 1px solid #00ff41;
    padding-top: 20px;
}

#command-input {
    background: transparent;
    border: none;
    color: #00ff41;
    font-family: 'Source Code Pro', 'Courier New', 'Monaco', 'Lucida Console', monospace;
    font-size: 14px;
    outline: none;
    flex: 1;
    margin-right: 5px;
}

#command-input::placeholder {
    color: rgba(0, 255, 65, 0.5);
}

.cursor-blink {
    animation: blink 1s infinite;
}

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

/* Typing animation */
.typing-text {
    overflow: hidden;
    white-space: nowrap;
    border-right: 2px solid #00ff41;
    animation: typing 3s steps(40, end), blink-caret 0.75s step-end infinite;
    margin-bottom: 10px;
}

.typing-text.slow {
    animation: typing 5s steps(40, end), blink-caret 0.75s step-end infinite;
}

.typing-text.delayed {
    animation: typing 3s steps(40, end) 2s both, blink-caret 0.75s step-end infinite 2s;
}

.typing-command {
    overflow: hidden;
    white-space: nowrap;
    border-right: 2px solid #00ff41;
    animation: typing 2s steps(30, end) 1s both, blink-caret 0.75s step-end infinite 1s;
}

@keyframes typing {
    from { width: 0; }
    to { width: 100%; }
}

@keyframes blink-caret {
    from, to { border-color: transparent; }
    50% { border-color: #00ff41; }
}

.footer-links {
    margin-top: 50px;
    border: 1px solid #00ff41;
    padding: 20px;
    background-color: rgba(0, 20, 0, 0.2);
}

.link-section {
    margin-bottom: 20px;
    text-align: center;
}

.link-title {
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 5px;
    color: #ffff00;
}

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

.highlight-link {
    color: #00ffff;
    text-decoration: none;
    text-shadow: 0 0 5px #00ffff;
}

.highlight-link:hover {
    text-shadow: 0 0 10px #00ffff;
}

.support-section {
    text-align: center;
    font-size: 11px;
    opacity: 0.7;
}

.crypto-link {
    color: #ff6b35;
    text-decoration: none;
    font-family: monospace;
}

.crypto-link:hover {
    text-shadow: 0 0 5px #ff6b35;
}

/* Documentation Link */
.docs-link-section {
    margin-top: 15px;
    text-align: center;
}

.docs-link {
    display: inline-block;
    background: linear-gradient(45deg, rgba(0, 255, 65, 0.2), rgba(255, 20, 147, 0.1));
    border: 1px solid rgba(0, 255, 65, 0.4);
    color: #00ff41;
    padding: 12px 20px;
    text-decoration: none;
    font-family: 'Source Code Pro', 'Courier New', monospace;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 4px;
    transition: all 0.3s ease;
    box-shadow: 0 0 10px rgba(0, 255, 65, 0.2);
    text-shadow: 0 0 5px rgba(0, 255, 65, 0.6);
}

.docs-link:hover {
    background: linear-gradient(45deg, rgba(0, 255, 65, 0.3), rgba(255, 20, 147, 0.2));
    border-color: rgba(0, 255, 65, 0.8);
    color: #ffffff;
    box-shadow: 0 0 20px rgba(0, 255, 65, 0.4);
    text-shadow: 0 0 10px rgba(0, 255, 65, 0.8);
    transform: translateY(-2px);
}

/* Screen flicker effect */
body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(0, 255, 65, 0.01), rgba(255, 20, 147, 0.008));
    pointer-events: none;
    z-index: 999;
    animation: flicker 0.2s infinite linear alternate;
}

@keyframes flicker {
    0% { opacity: 1; }
    100% { opacity: 0.95; }
}

/* Responsive design */
@media (max-width: 768px) {
    .terminal-container {
        padding: 10px;
    }
    
    .terminal-title {
        font-size: 18px;
    }
    
    .conversation-title {
        font-size: 16px;
    }
    
    body {
        font-size: 12px;
    }
    
    .ascii-art {
        font-size: 10px;
    }
}

/* Glow effects */
.terminal-header,
.terminal-session,
.footer-links {
    box-shadow: 0 0 20px rgba(0, 255, 65, 0.1);
}

/* Text selection styling */
::selection {
    background-color: rgba(0, 255, 65, 0.3);
    color: #ffffff;
}

::-moz-selection {
    background-color: rgba(0, 255, 65, 0.3);
    color: #ffffff;
}

/* AI Status Monitor */
.ai-status-monitor {
    background: rgba(0, 0, 0, 0.85);
    border: 1px solid rgba(0, 255, 65, 0.4);
    margin: 20px auto;
    max-width: 1200px;
    padding: 10px 20px;
    font-family: 'Source Code Pro', 'Courier New', 'Monaco', 'Lucida Console', monospace;
    font-size: 12px;
    border-radius: 2px;
    box-shadow: 0 0 15px rgba(0, 255, 65, 0.2);
}

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

.ai-name {
    color: #00ff41;
    font-weight: 600;
    text-shadow: 0 0 5px rgba(0, 255, 65, 0.6);
}

.status-indicator {
    color: #00ff41;
    animation: pulse-online 2s infinite;
}

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

.uptime {
    color: #66ff66;
    font-family: monospace;
}

.status-details {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 15px;
}

.cpu-usage, .memory-usage, .network-activity, .active-targets {
    color: #b8b8b8;
}

.cpu-usage span, .memory-usage span {
    color: #ffff00;
    font-weight: bold;
}

.network-activity span {
    color: #00ffff;
}

.active-targets span {
    color: #ff1493;
}

/* AI Thoughts */
.ai-thoughts {
    margin-top: 20px;
    padding: 15px;
    background: rgba(0, 255, 65, 0.05);
    border-left: 3px solid rgba(0, 255, 65, 0.3);
    border-radius: 2px;
}

.thought-bubble {
    color: #66ff66;
    font-style: italic;
    font-size: 13px;
    animation: thinking 3s infinite;
}

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

/* AI Response Area */
.ai-response-area {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-top: 15px;
    padding: 10px;
    background: rgba(255, 20, 147, 0.05);
    border: 1px solid rgba(255, 20, 147, 0.2);
    border-radius: 2px;
    animation: fadeIn 0.5s ease-in;
}

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

.ai-avatar {
    font-size: 20px;
    animation: bounce 2s infinite;
}

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

.ai-message {
    color: #ff1493;
    font-size: 13px;
    line-height: 1.4;
    flex: 1;
}

/* Activity Log */
.activity-log {
    margin-top: 15px;
    padding: 10px;
    background: rgba(0, 0, 0, 0.6);
    border-left: 2px solid rgba(0, 255, 65, 0.3);
    border-radius: 2px;
    max-height: 120px;
    overflow-y: auto;
    font-size: 11px;
}

.log-entry {
    display: flex;
    gap: 8px;
    margin-bottom: 3px;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.log-entry:hover {
    opacity: 1;
}

.log-entry.new {
    animation: logEntryAppear 0.5s ease-in;
}

@keyframes logEntryAppear {
    from { opacity: 0; transform: translateX(-10px); }
    to { opacity: 0.8; transform: translateX(0); }
}

.timestamp {
    color: #666;
    font-family: monospace;
    min-width: 60px;
}

.log-text {
    color: #b8b8b8;
    flex: 1;
}

/* User Presence Indicator */
.user-presence {
    margin-top: 10px;
    padding: 8px 12px;
    background: rgba(255, 20, 147, 0.1);
    border: 1px solid rgba(255, 20, 147, 0.3);
    border-radius: 2px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    animation: presenceGlow 2s infinite;
}

@keyframes presenceGlow {
    0%, 100% { box-shadow: 0 0 5px rgba(255, 20, 147, 0.2); }
    50% { box-shadow: 0 0 15px rgba(255, 20, 147, 0.4); }
}

.presence-indicator {
    font-size: 14px;
    animation: eyeBlink 3s infinite;
}

@keyframes eyeBlink {
    0%, 90%, 100% { opacity: 1; }
    95% { opacity: 0.3; }
}

.presence-text {
    color: #ff1493;
    font-style: italic;
}

/* Subtle hover effects for interactivity */
.tag {
    transition: all 0.2s ease;
    cursor: pointer;
}

.tag:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(255, 20, 147, 0.3);
}

.copy-btn:hover {
    transform: scale(1.02);
    box-shadow: 0 0 10px rgba(0, 255, 65, 0.4);
}

.solscan-link:hover {
    text-shadow: 0 0 8px rgba(255, 20, 147, 0.6);
}

/* Subtle screen flicker effect */
@keyframes screenFlicker {
    0%, 100% { opacity: 1; }
    99% { opacity: 1; }
    99.5% { opacity: 0.98; }
}

body {
    animation: screenFlicker 8s infinite;
}

/* Header Buttons Container */
.header-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 20px;
}

/* X (Twitter) Button in Header */
.x-link-header {
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.8);
    border: 1px solid rgba(255, 20, 147, 0.4);
    border-radius: 6px;
    padding: 8px 20px;
    text-decoration: none;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
    box-shadow: 0 0 10px rgba(255, 20, 147, 0.2);
    min-width: 60px;
}

.x-link-header .x-icon {
    color: #ff1493;
    font-size: 16px;
    font-weight: bold;
    text-shadow: 0 0 5px rgba(255, 20, 147, 0.6);
    transition: all 0.3s ease;
}

.x-link-header:hover {
    border-color: rgba(255, 20, 147, 0.8);
    box-shadow: 0 0 20px rgba(255, 20, 147, 0.4);
    transform: translateY(-2px);
}

.x-link-header:hover .x-icon {
    color: #ffffff;
    text-shadow: 0 0 10px rgba(255, 20, 147, 0.8);
}

/* Documentation Button in Header */
.docs-link-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: rgba(0, 0, 0, 0.8);
    border: 1px solid rgba(0, 255, 65, 0.4);
    border-radius: 6px;
    padding: 8px 16px;
    text-decoration: none;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
    box-shadow: 0 0 10px rgba(0, 255, 65, 0.2);
}

.docs-link-header .docs-icon {
    color: #00ff41;
    font-size: 16px;
    text-shadow: 0 0 5px rgba(0, 255, 65, 0.6);
    transition: all 0.3s ease;
}

.docs-link-header .docs-text {
    color: #00ff41;
    font-size: 12px;
    font-weight: 600;
    font-family: 'Source Code Pro', 'Courier New', monospace;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: 0 0 5px rgba(0, 255, 65, 0.6);
    transition: all 0.3s ease;
}

.docs-link-header:hover {
    border-color: rgba(0, 255, 65, 0.8);
    box-shadow: 0 0 20px rgba(0, 255, 65, 0.4);
    transform: translateY(-2px);
}

.docs-link-header:hover .docs-icon,
.docs-link-header:hover .docs-text {
    color: #ffffff;
    text-shadow: 0 0 10px rgba(0, 255, 65, 0.8);
}

/* Powered by Virtuals Protocol */
.powered-by-hack {
    position: fixed;
    top: 20px;
    right: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(0, 0, 0, 0.8);
    border: 1px solid rgba(0, 255, 65, 0.4);
    border-radius: 4px;
    padding: 8px 12px;
    font-family: 'Source Code Pro', 'Courier New', 'Monaco', 'Lucida Console', monospace;
    font-size: 12px;
    z-index: 1000;
    backdrop-filter: blur(5px);
    box-shadow: 0 0 10px rgba(0, 255, 65, 0.2);
}

.blink-dot {
    color: #00ff41;
    font-size: 14px;
    animation: dot-blink 1.5s infinite;
    text-shadow: 0 0 5px rgba(0, 255, 65, 0.8);
}

@keyframes dot-blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0.3; }
}

.powered-text {
    color: #b8b8b8;
    font-weight: 500;
    letter-spacing: 0.5px;
    text-decoration: none;
    transition: color 0.3s ease;
    cursor: pointer;
}

.powered-text:hover {
    color: #00ff41;
    text-shadow: 0 0 5px rgba(0, 255, 65, 0.6);
}

.powered-by-hack:hover {
    border-color: rgba(0, 255, 65, 0.6);
    box-shadow: 0 0 15px rgba(0, 255, 65, 0.3);
}

.powered-by-hack:hover .powered-text {
    color: #00ff41;
    text-shadow: 0 0 5px rgba(0, 255, 65, 0.6);
}

/* SOL Stats Section */
.sol-stats-section {
    margin-bottom: 50px;
}

.sol-stats-label {
    color: #00ff41;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 10px;
    text-align: center;
    text-shadow: 0 0 5px rgba(0, 255, 65, 0.6);
}

.sol-stats-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: rgba(0, 0, 0, 0.85);
    border: 1px solid rgba(255, 20, 147, 0.4);
    color: #00ff41;
    font-family: 'Source Code Pro', 'Courier New', 'Monaco', 'Lucida Console', monospace;
    font-size: 14px;
    padding: 12px 15px;
    border-radius: 2px;
    width: 450px;
    margin: 0 auto;
    box-shadow: 
        0 0 15px rgba(255, 20, 147, 0.1),
        inset 0 0 20px rgba(0, 0, 0, 0.6);
    text-align: center;
}

.sol-amount {
    color: #00ff41;
    font-weight: bold;
    font-size: 16px;
    text-shadow: 0 0 8px rgba(0, 255, 65, 0.8);
}

.sol-currency {
    color: #66ff66;
    font-weight: 600;
    text-shadow: 0 0 5px rgba(102, 255, 102, 0.6);
}

.sol-status {
    color: #ff1493;
    font-size: 12px;
    font-weight: 500;
    text-shadow: 0 0 5px rgba(255, 20, 147, 0.6);
    margin-left: 10px;
}

.loading-dots {
    animation: loading-dots 1.5s infinite;
}

@keyframes loading-dots {
    0% { opacity: 0; }
    25% { opacity: 0.5; }
    50% { opacity: 1; }
    75% { opacity: 0.5; }
    100% { opacity: 0; }
}

/* Active tag styles */
.tag.active {
    background: linear-gradient(45deg, rgba(255, 20, 147, 0.4), rgba(0, 255, 65, 0.3)) !important;
    border-color: rgba(255, 20, 147, 0.8) !important;
    box-shadow: 0 0 15px rgba(255, 20, 147, 0.4) !important;
    transform: scale(1.05) !important;
    color: #ffffff !important;
}

/* Hacker Popup Modal */
.hacker-popup {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(2px);
}

.hacker-popup-content {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.95), rgba(10, 10, 10, 0.98));
    margin: 5% auto;
    border: 2px solid #00ff41;
    border-radius: 0;
    width: 80%;
    max-width: 700px;
    font-family: 'Source Code Pro', 'Courier New', 'Monaco', 'Lucida Console', monospace;
    box-shadow: 
        0 0 30px rgba(0, 255, 65, 0.3),
        inset 0 0 50px rgba(0, 0, 0, 0.8);
    animation: popup-glitch 0.3s ease-out;
}

@keyframes popup-glitch {
    0% {
        transform: scale(0.8) translateX(-10px);
        opacity: 0;
        filter: hue-rotate(180deg);
    }
    50% {
        transform: scale(1.02) translateX(5px);
        filter: hue-rotate(90deg);
    }
    100% {
        transform: scale(1) translateX(0);
        opacity: 1;
        filter: hue-rotate(0deg);
    }
}

.hacker-header {
    background: linear-gradient(90deg, rgba(0, 255, 65, 0.2), rgba(255, 20, 147, 0.1));
    border-bottom: 1px solid #00ff41;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.hacker-title {
    color: #00ff41;
    font-size: 18px;
    font-weight: 600;
    text-shadow: 0 0 10px rgba(0, 255, 65, 0.8);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hacker-close {
    color: #ff1493;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    text-shadow: 0 0 5px rgba(255, 20, 147, 0.8);
}

.hacker-close:hover {
    color: #ff6b35;
    text-shadow: 0 0 15px rgba(255, 107, 53, 1);
    transform: scale(1.2);
}

.hacker-body {
    padding: 20px;
    color: #00ff41;
    line-height: 1.6;
}

.file-header {
    color: #66ff66;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 15px;
    text-shadow: 0 0 8px rgba(102, 255, 102, 0.6);
    border-left: 3px solid #00ff41;
    padding-left: 10px;
}

.status-line {
    color: #b8b8b8;
    font-size: 14px;
    margin-bottom: 20px;
    font-family: 'Source Code Pro', 'Courier New', 'Monaco', 'Lucida Console', monospace;
}

.status-active {
    color: #00ff41;
    font-weight: bold;
    text-shadow: 0 0 5px rgba(0, 255, 65, 0.8);
    animation: pulse-active 2s infinite;
}

@keyframes pulse-active {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

.briefing-content {
    background: rgba(0, 255, 65, 0.05);
    border: 1px solid rgba(0, 255, 65, 0.3);
    border-left: 4px solid #00ff41;
    padding: 15px;
    color: #cccccc;
    font-size: 14px;
    line-height: 1.8;
    border-radius: 2px;
    text-shadow: 0 0 3px rgba(0, 255, 65, 0.3);
}

/* Briefing Display in Conversation Box */
.briefing-display {
    padding: 20px;
    color: #00ff41;
    font-family: 'Source Code Pro', 'Courier New', 'Monaco', 'Lucida Console', monospace;
}

.briefing-header {
    border-bottom: 1px solid rgba(0, 255, 65, 0.3);
    margin-bottom: 20px;
    padding-bottom: 10px;
}

.briefing-title {
    color: #00ff41;
    font-size: 18px;
    font-weight: 600;
    text-shadow: 0 0 10px rgba(0, 255, 65, 0.8);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.briefing-body {
    line-height: 1.6;
}

.file-name {
    color: #66ff66;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 15px;
    text-shadow: 0 0 8px rgba(102, 255, 102, 0.6);
    border-left: 3px solid #00ff41;
    padding-left: 10px;
}

.status-info {
    color: #b8b8b8;
    font-size: 14px;
    margin-bottom: 20px;
    font-family: 'Source Code Pro', 'Courier New', 'Monaco', 'Lucida Console', monospace;
}

.status-active {
    color: #00ff41;
    font-weight: bold;
    text-shadow: 0 0 5px rgba(0, 255, 65, 0.8);
    animation: pulse-active 2s infinite;
}

.target-status {
    color: #ff1493;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 15px;
    text-shadow: 0 0 8px rgba(255, 20, 147, 0.6);
    border-left: 3px solid #ff1493;
    padding-left: 10px;
}

.intel-content {
    background: rgba(0, 255, 65, 0.05);
    border: 1px solid rgba(0, 255, 65, 0.3);
    border-left: 4px solid #00ff41;
    padding: 15px;
    color: #cccccc;
    font-size: 14px;
    line-height: 1.8;
    border-radius: 2px;
    text-shadow: 0 0 3px rgba(0, 255, 65, 0.3);
    white-space: pre-line;
}

/* Popup responsive */
@media (max-width: 768px) {
    .hacker-popup-content {
        width: 95%;
        margin: 10% auto;
    }
    
    .hacker-title {
        font-size: 16px;
    }
    
    .file-header {
        font-size: 14px;
    }
    
    .briefing-title {
        font-size: 16px;
    }
    
    .file-name {
        font-size: 14px;
    }
}

/* Enhanced Mobile Responsive Design */
@media (max-width: 768px) {
    body {
        padding: 10px;
    }
    
    /* Header adjustments */
    .neon-title {
        font-size: 28px !important;
        line-height: 1.2;
    }
    
    .subtitle {
        font-size: 14px !important;
        line-height: 1.4;
        padding: 0 10px;
    }
    
    .description {
        font-size: 13px !important;
        line-height: 1.6;
        padding: 0 10px;
    }
    
    /* Header buttons mobile */
    .header-buttons {
        gap: 10px;
        flex-wrap: wrap;
    }
    
    .x-link-header,
    .docs-link-header {
        padding: 6px 12px;
        font-size: 12px;
        min-width: auto;
    }
    
    .docs-link-header .docs-text {
        font-size: 10px;
    }
    
    .docs-link-header .docs-icon {
        font-size: 14px;
    }
    
    /* Contract interface mobile */
    .contract-input, .collector-address, .sol-stats-container {
        width: 100% !important;
        max-width: 320px;
        font-size: 12px !important;
    }
    
    .contract-container, .collector-container {
        flex-direction: column;
        gap: 10px;
    }
    
    .copy-btn {
        width: 100%;
        max-width: 120px;
        margin: 0 auto;
    }
    
    /* AI Status Monitor mobile */
    .ai-status-monitor {
        margin: 15px 10px !important;
        padding: 8px 12px !important;
        font-size: 10px !important;
    }
    
    .status-header {
        flex-direction: column;
        gap: 5px;
        text-align: center;
    }
    
    .status-details {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }
    
    .ai-name {
        font-size: 13px !important;
    }
    
    /* Tags mobile */
    .scenario-tags {
        justify-content: center;
        gap: 8px;
    }
    
    .tag {
        padding: 6px 10px !important;
        font-size: 11px !important;
        margin: 2px;
    }
    
    /* Terminal mobile */
    .main-targets-browser, .conversation-browser {
        min-height: 150px;
        max-height: 300px;
    }
    
    /* Command input mobile */
    .command-input {
        font-size: 14px !important;
    }
    
    /* Powered by mobile */
    .powered-by-hack {
        position: relative !important;
        top: auto !important;
        right: auto !important;
        margin: 15px auto;
        justify-content: center;
    }
    
    /* Footer mobile */
    .footer-links {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .link-section {
        margin-bottom: 15px;
    }
}
