@import url('https://fonts.googleapis.com/css2?family=VT323&family=Share+Tech+Mono&display=swap');

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

body {
    font-family: 'Share Tech Mono', monospace;
    background: #000;
    color: #0f0;
    overflow-x: hidden;
    position: relative;
}

.matrix-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        repeating-linear-gradient(
            0deg,
            transparent,
            transparent 2px,
            rgba(0, 255, 0, 0.03) 2px,
            rgba(0, 255, 0, 0.03) 4px
        );
    pointer-events: none;
    z-index: 1;
}

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

.warning-banner {
    background: #ff0000;
    color: #000;
    text-align: center;
    padding: 15px;
    font-weight: bold;
    font-size: 1.2em;
    border: 3px solid #fff;
    box-shadow: 0 0 20px #ff0000;
    animation: pulse 2s infinite;
    margin-bottom: 30px;
}

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

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

.glitch {
    font-family: 'VT323', monospace;
    font-size: 4em;
    font-weight: bold;
    text-transform: uppercase;
    position: relative;
    text-shadow: 0.05em 0 0 #00fffc, -0.03em -0.04em 0 #fc00ff,
                 0.025em 0.04em 0 #fffc00;
    animation: glitch 725ms infinite;
}

.glitch span {
    position: absolute;
    top: 0;
    left: 0;
}

@keyframes glitch {
    0% {
        text-shadow: 0.05em 0 0 #00fffc, -0.03em -0.04em 0 #fc00ff,
                     0.025em 0.04em 0 #fffc00;
    }
    15% {
        text-shadow: 0.05em 0 0 #00fffc, -0.03em -0.04em 0 #fc00ff,
                     0.025em 0.04em 0 #fffc00;
    }
    16% {
        text-shadow: -0.05em -0.025em 0 #00fffc, 0.025em 0.035em 0 #fc00ff,
                     -0.05em -0.05em 0 #fffc00;
    }
    49% {
        text-shadow: -0.05em -0.025em 0 #00fffc, 0.025em 0.035em 0 #fc00ff,
                     -0.05em -0.05em 0 #fffc00;
    }
    50% {
        text-shadow: 0.05em 0.035em 0 #00fffc, 0.03em 0 0 #fc00ff,
                     0 -0.04em 0 #fffc00;
    }
    99% {
        text-shadow: 0.05em 0.035em 0 #00fffc, 0.03em 0 0 #fc00ff,
                     0 -0.04em 0 #fffc00;
    }
    100% {
        text-shadow: -0.05em 0 0 #00fffc, -0.025em -0.04em 0 #fc00ff,
                     -0.04em -0.025em 0 #fffc00;
    }
}

.tagline {
    font-size: 1.2em;
    color: #0ff;
    margin-top: 10px;
    letter-spacing: 3px;
}

.stats-panel {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 40px 0;
}

.stat-item {
    background: rgba(0, 255, 0, 0.05);
    border: 2px solid #0f0;
    padding: 20px;
    text-align: center;
    box-shadow: 0 0 15px rgba(0, 255, 0, 0.3);
    transition: all 0.3s ease;
}

.stat-item:hover {
    background: rgba(0, 255, 0, 0.1);
    box-shadow: 0 0 25px rgba(0, 255, 0, 0.5);
    transform: translateY(-5px);
}

.stat-label {
    font-size: 0.9em;
    color: #0ff;
    margin-bottom: 10px;
}

.stat-value {
    font-size: 2em;
    font-weight: bold;
    color: #0f0;
    font-family: 'VT323', monospace;
}

.main-action {
    text-align: center;
    margin: 60px 0;
}

.recycle-button {
    background: linear-gradient(45deg, #0f0, #0a0);
    color: #000;
    border: 4px solid #0f0;
    padding: 30px 60px;
    font-size: 1.5em;
    font-family: 'VT323', monospace;
    cursor: pointer;
    text-transform: uppercase;
    box-shadow: 0 0 30px rgba(0, 255, 0, 0.5);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.recycle-button:hover {
    background: linear-gradient(45deg, #0ff, #0aa);
    box-shadow: 0 0 50px rgba(0, 255, 255, 0.7);
    transform: scale(1.05);
}

.recycle-button:active {
    transform: scale(0.95);
}

.recycle-button.loading {
    animation: loading 1s infinite;
}

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

.btn-text {
    display: block;
    font-size: 1.2em;
}

.btn-subtext {
    display: block;
    font-size: 0.6em;
    margin-top: 5px;
    color: #003300;
}

.result-panel {
    background: rgba(0, 255, 255, 0.05);
    border: 3px solid #0ff;
    padding: 30px;
    margin: 40px 0;
    box-shadow: 0 0 30px rgba(0, 255, 255, 0.3);
    animation: slideDown 0.5s ease;
}

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

.result-panel.hidden {
    display: none;
}

.result-header {
    font-size: 1.5em;
    text-align: center;
    color: #0ff;
    margin-bottom: 20px;
    font-family: 'VT323', monospace;
}

.result-content {
    background: rgba(0, 0, 0, 0.5);
    padding: 20px;
    border: 1px solid #0ff;
}

.result-row {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid rgba(0, 255, 255, 0.2);
}

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

.result-label {
    color: #0ff;
    font-weight: bold;
}

.result-value {
    color: #0f0;
    font-family: 'VT323', monospace;
    word-break: break-all;
}

.result-footer {
    text-align: center;
    margin-top: 15px;
    color: #ff0;
    font-style: italic;
}

.submission-section {
    margin: 60px 0;
}

.submission-intro {
    text-align: center;
    color: #0ff;
    font-size: 1.1em;
    margin-bottom: 30px;
    line-height: 1.6;
}

.submission-panel {
    background: rgba(255, 165, 0, 0.05);
    border: 2px solid #ffa500;
    padding: 30px;
    margin: 20px 0;
    box-shadow: 0 0 20px rgba(255, 165, 0, 0.3);
}

.form-group {
    margin-bottom: 25px;
}

.form-label {
    display: block;
    color: #ffa500;
    font-weight: bold;
    margin-bottom: 10px;
    font-size: 1.1em;
}

.form-select {
    width: 100%;
    background: #000;
    color: #0f0;
    border: 2px solid #0f0;
    padding: 12px 15px;
    font-family: 'Share Tech Mono', monospace;
    font-size: 1em;
    cursor: pointer;
    transition: all 0.3s ease;
}

.form-select:hover {
    border-color: #0ff;
    box-shadow: 0 0 10px rgba(0, 255, 255, 0.3);
}

.form-select:focus {
    outline: none;
    border-color: #0ff;
    box-shadow: 0 0 15px rgba(0, 255, 255, 0.5);
}

.form-textarea {
    width: 100%;
    background: #000;
    color: #0f0;
    border: 2px solid #0f0;
    padding: 15px;
    font-family: 'Share Tech Mono', monospace;
    font-size: 0.95em;
    resize: vertical;
    min-height: 150px;
    line-height: 1.5;
    transition: all 0.3s ease;
}

.form-textarea:hover {
    border-color: #0ff;
    box-shadow: 0 0 10px rgba(0, 255, 255, 0.3);
}

.form-textarea:focus {
    outline: none;
    border-color: #0ff;
    box-shadow: 0 0 15px rgba(0, 255, 255, 0.5);
}

.form-textarea::placeholder {
    color: #0a0;
}

.submit-button {
    background: linear-gradient(45deg, #ffa500, #ff8c00);
    color: #000;
    border: 4px solid #ffa500;
    padding: 25px 50px;
    font-size: 1.3em;
    font-family: 'VT323', monospace;
    cursor: pointer;
    text-transform: uppercase;
    box-shadow: 0 0 30px rgba(255, 165, 0, 0.5);
    transition: all 0.3s ease;
    width: 100%;
    margin-top: 20px;
}

.submit-button:hover {
    background: linear-gradient(45deg, #ff8c00, #ffa500);
    box-shadow: 0 0 50px rgba(255, 165, 0, 0.7);
    transform: scale(1.02);
}

.submit-button:active {
    transform: scale(0.98);
}

.submit-button.loading {
    animation: loading 1s infinite;
    opacity: 0.7;
}

.submission-result {
    background: rgba(255, 165, 0, 0.05);
    border: 3px solid #ffa500;
    padding: 30px;
    margin: 30px 0;
    box-shadow: 0 0 30px rgba(255, 165, 0, 0.3);
    animation: slideDown 0.5s ease;
}

.submission-result.hidden {
    display: none;
}

.submission-header {
    font-size: 1.5em;
    text-align: center;
    color: #ffa500;
    margin-bottom: 20px;
    font-family: 'VT323', monospace;
}

.submission-content {
    background: rgba(0, 0, 0, 0.5);
    padding: 20px;
    border: 1px solid #ffa500;
}

.submission-summary {
    color: #0ff;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 165, 0, 0.3);
}

.summary-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    color: #0f0;
}

.summary-label {
    color: #ffa500;
    font-weight: bold;
}

.validation-details {
    max-height: 400px;
    overflow-y: auto;
}

.validation-item {
    padding: 10px;
    margin: 8px 0;
    border-left: 3px solid #0f0;
    background: rgba(0, 255, 0, 0.05);
}

.validation-item.invalid {
    border-left-color: #f00;
    background: rgba(255, 0, 0, 0.05);
}

.validation-id {
    color: #0ff;
    font-family: 'VT323', monospace;
    word-break: break-all;
    font-size: 1.1em;
}

.validation-message {
    color: #0f0;
    margin-top: 5px;
    font-size: 0.9em;
}

.validation-item.invalid .validation-message {
    color: #f00;
}

.api-docs {
    margin: 60px 0;
}

.section-title {
    font-family: 'VT323', monospace;
    font-size: 2.5em;
    text-align: center;
    color: #0ff;
    margin: 40px 0 30px;
    text-shadow: 0 0 10px rgba(0, 255, 255, 0.5);
}

.api-section {
    background: rgba(0, 255, 0, 0.05);
    border: 2px solid #0f0;
    padding: 25px;
    margin: 20px 0;
}

.api-endpoint {
    font-family: 'VT323', monospace;
    font-size: 1.8em;
    color: #0f0;
    margin-bottom: 10px;
}

.api-description {
    color: #0ff;
    margin-bottom: 20px;
    font-size: 1.1em;
}

.code-block {
    background: #000;
    border: 1px solid #0f0;
    margin: 15px 0;
    overflow-x: auto;
}

.code-header {
    background: #0f0;
    color: #000;
    padding: 8px 15px;
    font-weight: bold;
    font-size: 0.9em;
}

.code-block pre {
    padding: 15px;
    color: #0f0;
    overflow-x: auto;
    font-family: 'Share Tech Mono', monospace;
    font-size: 0.9em;
    line-height: 1.5;
}

.manifesto {
    margin: 60px 0;
}

.manifesto-content {
    background: rgba(255, 0, 0, 0.05);
    border: 2px solid #f00;
    padding: 30px;
    box-shadow: 0 0 20px rgba(255, 0, 0, 0.3);
}

.manifesto-text {
    color: #0f0;
    line-height: 1.8;
    margin-bottom: 20px;
    font-size: 1.1em;
}

.manifesto-text.emphasis {
    font-size: 1.3em;
    color: #0ff;
    text-align: center;
    font-weight: bold;
    margin: 30px 0;
}

.manifesto-text.small {
    font-size: 0.85em;
    color: #ff0;
    font-style: italic;
    margin-top: 30px;
}

.footer {
    text-align: center;
    margin: 60px 0 20px;
    padding: 30px;
    border-top: 2px solid #0f0;
    color: #0ff;
}

.footer-small {
    font-size: 0.9em;
    color: #f0f;
    margin-top: 10px;
}

@media (max-width: 768px) {
    .glitch {
        font-size: 2.5em;
    }

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

    .recycle-button {
        padding: 20px 40px;
        font-size: 1.2em;
    }

    .result-row {
        flex-direction: column;
        gap: 5px;
    }

    .code-block pre {
        font-size: 0.75em;
    }
}
