/* POMP TERMINAL - PUMP.FUN MIND AI */
/* Dark terminal aesthetic */

:root {
    --bg-primary: #0a0a0a;
    --bg-secondary: #111111;
    --text-primary: #00ff41;
    --text-secondary: #00cc33;
    --text-dim: #006622;
    --accent: #ff00ff;
    --accent-secondary: #00ffff;
    --warning: #ffaa00;
    --glow: 0 0 10px var(--text-primary), 0 0 20px var(--text-primary), 0 0 30px var(--text-primary);
}

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

html {
    font-size: 16px;
}

body {
    background-color: var(--bg-primary);
    color: var(--text-primary);
    font-family: 'VT323', 'Share Tech Mono', monospace;
    min-height: 100vh;
    overflow-x: hidden;
    line-height: 1.4;
}

/* CRT Scanline Effect */
.scanlines {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1000;
    background: repeating-linear-gradient(
        0deg,
        rgba(0, 0, 0, 0.15),
        rgba(0, 0, 0, 0.15) 1px,
        transparent 1px,
        transparent 2px
    );
}

.crt-effect {
    animation: flicker 0.15s infinite;
}

@keyframes flicker {
    0% { opacity: 0.97; }
    50% { opacity: 1; }
    100% { opacity: 0.98; }
}

/* Terminal Container */
.terminal-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px;
    min-height: 100vh;
}

/* Header */
.terminal-header {
    border: 2px solid var(--text-primary);
    padding: 15px 20px;
    margin-bottom: 30px;
    background: linear-gradient(180deg, rgba(0,255,65,0.1) 0%, transparent 100%);
    box-shadow: var(--glow), inset 0 0 20px rgba(0,255,65,0.1);
}

.terminal-title {
    font-size: 1.8rem;
    text-align: center;
    letter-spacing: 3px;
    text-shadow: var(--glow);
    margin-bottom: 10px;
}

.status-bar {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    font-size: 1rem;
    color: var(--text-secondary);
}

.status-item {
    text-shadow: 0 0 5px var(--text-secondary);
}

/* Blink Animation */
.blink {
    animation: blink-animation 1s steps(2, start) infinite;
}

@keyframes blink-animation {
    to { visibility: hidden; }
}

/* ASCII Art */
.ascii-art {
    text-align: center;
    margin: 30px 0;
    overflow-x: auto;
}

.ascii-art pre {
    font-family: 'Share Tech Mono', monospace;
    font-size: clamp(0.4rem, 1.5vw, 0.8rem);
    color: var(--accent);
    text-shadow: 0 0 10px var(--accent), 0 0 20px var(--accent);
    display: inline-block;
    line-height: 1.1;
}

/* Intro Section - Typewriter Effect */
.intro-section {
    padding: 20px;
    margin: 20px 0;
    border-left: 3px solid var(--text-primary);
}

.typewriter {
    font-size: 1.2rem;
    margin: 10px 0;
    opacity: 0;
    animation: typeIn 0.5s forwards;
    white-space: nowrap;
    overflow: hidden;
}

.typewriter.delay-1 { animation-delay: 0.5s; }
.typewriter.delay-2 { animation-delay: 1s; }
.typewriter.delay-3 { animation-delay: 1.5s; }

@keyframes typeIn {
    from { 
        opacity: 0;
        width: 0;
    }
    to { 
        opacity: 1;
        width: 100%;
    }
}

/* Navigation */
.terminal-nav {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

.nav-section {
    border: 1px solid var(--text-dim);
    padding: 20px;
    background: rgba(0, 255, 65, 0.02);
}

.nav-section h2 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--accent-secondary);
    text-shadow: 0 0 10px var(--accent-secondary);
}

.nav-section ul {
    list-style: none;
}

.nav-section li {
    margin: 10px 0;
    font-size: 1.1rem;
}

.nav-section a {
    color: var(--text-primary);
    text-decoration: none;
    transition: all 0.3s ease;
}

.nav-section a:hover {
    color: var(--accent);
    text-shadow: var(--glow);
    padding-left: 10px;
}

.link-glow:hover {
    text-shadow: 0 0 10px var(--accent), 0 0 20px var(--accent);
}

.data-field {
    color: var(--warning);
}

.highlight {
    color: var(--accent-secondary);
}

.ca-text {
    font-size: 0.9rem;
    word-break: break-all;
    color: var(--text-secondary);
}

/* Quote Section */
.quote-section {
    margin: 40px 0;
    padding: 30px;
    border: 1px dashed var(--text-dim);
    text-align: center;
    background: linear-gradient(135deg, rgba(255,0,255,0.05) 0%, rgba(0,255,255,0.05) 100%);
}

.quote-section blockquote p {
    font-size: 1.4rem;
    font-style: italic;
    color: var(--accent);
    text-shadow: 0 0 15px var(--accent);
    margin-bottom: 15px;
}

.quote-section cite {
    color: var(--text-dim);
    font-size: 1rem;
}

/* Stats Section */
.stats-section {
    margin: 40px 0;
}

.stats-section h2 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    color: var(--accent-secondary);
    text-shadow: 0 0 10px var(--accent-secondary);
}

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

.stat-item {
    border: 1px solid var(--text-dim);
    padding: 15px;
    text-align: center;
    background: rgba(0, 255, 65, 0.03);
}

.stat-label {
    display: block;
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: 5px;
}

.stat-value {
    display: block;
    font-size: 1.8rem;
    color: var(--accent);
    text-shadow: 0 0 10px var(--accent);
}

/* Footer */
.terminal-footer {
    margin-top: 50px;
    padding-top: 20px;
    border-top: 2px solid var(--text-dim);
}

.disclaimer {
    padding: 20px;
    border: 1px solid var(--warning);
    background: rgba(255, 170, 0, 0.05);
    margin-bottom: 20px;
}

.disclaimer p {
    font-size: 0.9rem;
    color: var(--warning);
    text-align: center;
    line-height: 1.6;
}

.footer-status {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    font-size: 1rem;
    color: var(--text-dim);
    padding: 10px 0;
}

.sol-price {
    color: var(--accent-secondary);
}

/* Page Styles (for subpages) */
.page-content {
    padding: 20px;
    margin: 20px 0;
}

.page-content h1 {
    font-size: 2rem;
    color: var(--accent);
    text-shadow: 0 0 20px var(--accent);
    margin-bottom: 30px;
    text-align: center;
}

.page-content h2 {
    font-size: 1.5rem;
    color: var(--accent-secondary);
    margin: 30px 0 15px 0;
}

.page-content p {
    font-size: 1.2rem;
    margin: 15px 0;
    line-height: 1.6;
}

.page-content ul {
    margin: 15px 0 15px 30px;
}

.page-content li {
    margin: 10px 0;
    font-size: 1.1rem;
}

.back-link {
    display: inline-block;
    margin: 20px 0;
    padding: 10px 20px;
    border: 1px solid var(--text-primary);
    color: var(--text-primary);
    text-decoration: none;
    transition: all 0.3s ease;
}

.back-link:hover {
    background: var(--text-primary);
    color: var(--bg-primary);
    box-shadow: var(--glow);
}

/* Responsive */
@media (max-width: 768px) {
    .terminal-container {
        padding: 10px;
    }
    
    .terminal-title {
        font-size: 1.2rem;
    }
    
    .status-bar {
        flex-direction: column;
        align-items: center;
        gap: 5px;
    }
    
    .ascii-art pre {
        font-size: 0.35rem;
    }
    
    .footer-status {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }
}

/* Glitch Effect (optional) */
.glitch {
    position: relative;
}

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

.glitch::before {
    animation: glitch-1 0.3s infinite;
    color: var(--accent);
    z-index: -1;
}

.glitch::after {
    animation: glitch-2 0.3s infinite;
    color: var(--accent-secondary);
    z-index: -2;
}

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

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

/* Selection */
::selection {
    background: var(--accent);
    color: var(--bg-primary);
}
