body {
    background-color: #f4f4f4;
    font-family: 'Courier Prime', monospace;
    margin: 0;
    padding: 20px;
    color: #000;
    animation: glitch-displacement 4s infinite linear;
    will-change: transform;
}

.document {
    background-color: #fff;
    max-width: 800px;
    margin: 0 auto;
    padding: 40px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
    position: relative;
}

.header {
    text-align: center;
    margin-bottom: 40px;
}

.classification {
    font-size: 24px;
    font-weight: bold;
    letter-spacing: 5px;
    margin-bottom: 10px;
}

.document-id {
    font-size: 18px;
    margin-bottom: 5px;
}

.archive-stamp {
    font-weight: bold;
    margin: 10px 0;
}

.date {
    position: absolute;
    top: 20px;
    right: 40px;
}

.title {
    text-align: center;
    margin: 40px 0;
}

h1, h2 {
    margin: 10px 0;
}

h1 {
    font-size: 20px;
    font-weight: bold;
}

h2 {
    font-size: 18px;
}

.subtitle {
    margin-top: 10px;
    font-style: italic;
}

.content {
    line-height: 1.6;
}

h3 {
    margin-top: 30px;
    text-decoration: underline;
}

.security-notice {
    margin-top: 40px;
    padding: 20px;
    border: 2px solid #000;
    text-align: center;
    font-size: 14px;
}

[REDACTED] {
    background-color: #000;
    color: transparent;
}

.ticker-tape {
    background-color: #000;
    color: #00ff00;
    padding: 15px 10px;
    margin-bottom: 20px;
    font-family: 'Courier Prime', monospace;
    border-top: 2px solid #00ff00;
    border-bottom: 2px solid #00ff00;
    box-shadow: 0 0 15px rgba(0, 255, 0, 0.2);
    width: 100%;
    box-sizing: border-box;
}

.ticker-content {
    text-align: center;
    font-size: 16px;
    font-weight: bold;
    letter-spacing: 1px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.classification-label {
    color: #00aa00;
    text-transform: uppercase;
    font-size: 14px;
}

.price-value {
    color: #00ff00;
    font-size: 18px;
    font-weight: bold;
    padding: 0 5px;
    text-shadow: 0 0 5px rgba(0, 255, 0, 0.5);
}

@keyframes price-blink {
    0% { opacity: 1; }
    50% { opacity: 0.8; }
    100% { opacity: 1; }
}

@keyframes status-blink {
    0% { opacity: 1; }
    25% { opacity: 0.5; }
    50% { opacity: 0.8; }
    75% { opacity: 0.5; }
    100% { opacity: 1; }
}

.price-blink {
    animation: price-blink 2s infinite;
}

.status-blink {
    animation: status-blink 1.5s infinite;
}

/* Add subtle scan lines */
.scan-lines {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: 9998;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0) 50%,
        rgba(0, 0, 0, 0.01) 50%
    );
    background-size: 100% 4px;
    opacity: 0.5;
}

@keyframes glitch-displacement {
    0% { transform: none; filter: none; }
    92% { transform: none; filter: none; }
    93% { transform: translate(-2px, 2px) skew(0.5deg); filter: hue-rotate(90deg); }
    94% { transform: translate(2px, -2px); filter: none; }
    95% { transform: translate(-2px, -2px); filter: invert(0.1); }
    96% { transform: translate(2px, 2px); filter: none; }
    97% { transform: none; filter: hue-rotate(-90deg); }
    98% { transform: skew(-0.5deg); filter: none; }
    100% { transform: none; filter: none; }
}

.token-link {
    color: #00aa00;
    text-decoration: none;
    font-size: 12px;
    font-weight: bold;
    margin-left: 10px;
    padding: 2px 6px;
    border: 1px solid #00aa00;
    transition: all 0.2s ease;
}

.token-link:hover {
    color: #000;
    background-color: #00ff00;
    text-shadow: none;
    animation: glitch-text 0.4s linear;
}

@keyframes glitch-text {
    0% { transform: none; }
    25% { transform: skew(-2deg); }
    50% { transform: skew(2deg); }
    75% { transform: skew(-1deg); }
    100% { transform: none; }
}

.token-symbol {
    height: 28px;
    width: 28px;
    margin-right: 10px;
    filter: brightness(1.2) hue-rotate(60deg);
    animation: glow 2s ease-in-out infinite;
}

@keyframes glow {
    0% { filter: brightness(1.2) hue-rotate(60deg); }
    50% { filter: brightness(1.4) hue-rotate(90deg); }
    100% { filter: brightness(1.2) hue-rotate(60deg); }
}

@media screen and (max-width: 768px) {
    .ticker-content {
        font-size: 14px;
        gap: 8px;
    }

    .token-symbol {
        height: 24px;
        width: 24px;
        margin-right: 8px;
    }

    .classification-label {
        font-size: 12px;
    }

    .price-value {
        font-size: 16px;
    }
}

@media screen and (max-width: 480px) {
    .ticker-content {
        flex-direction: column;
        gap: 5px;
        padding: 5px 0;
    }

    .token-symbol {
        height: 32px;
        width: 32px;
        margin-right: 0;
        margin-bottom: 5px;
    }

    .token-link {
        margin-left: 0;
        margin-top: 5px;
    }

    .classification-label, .price-value {
        margin: 2px 0;
    }
}
  