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

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}

body {
    background-color: #0a0f14;
    color: #cdd9e6;
    font-family: 'Share Tech Mono', 'Courier New', monospace;
    font-size: 15px;
    line-height: 1.6;
    position: relative;
    min-height: 100vh;
    letter-spacing: 0.3px;
}

body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: repeating-linear-gradient(0deg, rgba(0, 20, 30, 0.1) 0px, rgba(0, 40, 60, 0.1) 2px, transparent 2px, transparent 4px);
    pointer-events: none;
    z-index: 9998;
}

.crt-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 50%, rgba(60, 190, 242, 0.03) 0%, transparent 80%);
    pointer-events: none;
    z-index: 9999;
    mix-blend-mode: overlay;
}

.container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 25px 25px 15px 25px;
    position: relative;
    z-index: 10;
}

.old-header {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    padding: 12px 25px;
    background: #17212b;
    border: 3px solid #303f4a;
    margin-bottom: 35px;
    box-shadow: 0 0 0 1px #3cbef2 inset, 8px 8px 0 rgba(0, 0, 0, 0.5);
    position: relative;
}

.old-header::after {
    content: "GATEWAY v.2.0.6";
    position: absolute;
    bottom: -12px;
    right: 15px;
    background: #0a0f14;
    color: #3cbef2;
    font-size: 9px;
    padding: 2px 8px;
    border: 1px solid #3cbef2;
    font-family: 'Press Start 2P', cursive;
    letter-spacing: 1px;
}

.logo-area {
    display: flex;
    align-items: center;
    gap: 20px;
}

.pixel-logo {
    image-rendering: pixelated;
    image-rendering: crisp-edges;
    border: 3px solid #3cbef2;
    background: #0a0f14;
    padding: 3px;
    box-shadow: 4px 4px 0 #0a0f14;
}

.status-badge {
    font-size: 11px;
    color: #9fc9e0;
    border: 2px solid #3cbef2;
    padding: 6px 12px;
    background: #0e1a24;
    text-transform: uppercase;
    font-family: 'Press Start 2P', cursive;
    letter-spacing: 1.5px;
    box-shadow: 3px 3px 0 #0a0f14;
}

.blink {
    animation: blink-animation 1.4s step-start infinite;
    color: #5fd9ff;
    font-weight: bold;
}

@keyframes blink-animation {
    0%, 50% { opacity: 1; text-shadow: 0 0 5px #3cbef2; }
    50.1%, 100% { opacity: 0.3; text-shadow: none; }
}

.main-nav ul {
    list-style: none;
    display: flex;
    gap: 4px;
    flex-wrap: wrap;
}

.main-nav a {
    color: #e0eefc;
    text-decoration: none;
    padding: 10px 16px;
    background: #25323e;
    border: 3px outset #4d6070;
    font-family: 'Press Start 2P', cursive;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    transition: 0.1s linear;
    display: inline-block;
    box-shadow: 3px 3px 0 #0a0f14;
}

.main-nav a:hover {
    background: #3cbef2;
    color: #0a0f14;
    border: 3px inset #ffffff;
    box-shadow: 5px 5px 0 #0a0f14;
    transform: translate(-2px, -2px);
}

.main-nav a:active {
    transform: translate(2px, 2px);
    box-shadow: 1px 1px 0 #0a0f14;
}

.section {
    background: #16202a;
    border: 3px solid #2f3e4b;
    padding: 30px 30px 35px 30px;
    margin-bottom: 40px;
    box-shadow: 10px 10px 0 #0a1018;
    position: relative;
    transition: box-shadow 0.2s;
}

.section:hover {
    box-shadow: 12px 12px 0 #0a1018, 0 0 0 1px #3cbef2 inset;
}

.section-title {
    font-family: 'Press Start 2P', cursive;
    font-size: 18px;
    margin-bottom: 30px;
    color: #3cbef2;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 2px;
    padding-bottom: 15px;
    line-height: 1.5;
    background: linear-gradient(90deg, transparent, #2f4b5c, transparent);
    background-size: 100% 2px;
    background-repeat: no-repeat;
    background-position: bottom;
}

.ascii-bracket {
    color: #ffffff;
    font-size: 24px;
    filter: drop-shadow(0 0 3px #3cbef2);
}

.relay-content p, .review-content p, .security-content p {
    margin-bottom: 22px;
    font-size: 15px;
}

.glitch {
    color: #b0e0ff;
    font-weight: bold;
    font-size: 1.3em;
    background: #10222e;
    padding: 15px 20px;
    border-left: 8px solid #3cbef2;
    margin-bottom: 30px;
    font-family: 'Share Tech Mono', monospace;
    box-shadow: -5px 5px 0 #0a1018;
    word-break: break-word;
}

.disclaimer {
    color: #ffae70;
    border: 2px dashed #ffae70;
    padding: 18px;
    background: #1e1a14;
    font-size: 14px;
}

.links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin: 30px 0 20px 0;
}

.link-card {
    background: #0d1922;
    border: 3px solid #3cbef2;
    padding: 20px 18px 18px 18px;
    transition: 0.15s ease;
    display: flex;
    flex-direction: column;
    box-shadow: 7px 7px 0 #0a1018;
    position: relative;
}

.link-card:hover {
    transform: translate(-3px, -3px);
    box-shadow: 10px 10px 0 #0a1018, 0 0 15px #3cbef2;
    border-color: #ffffff;
}

.link-card::before {
    content: attr(data-mirror-id);
    position: absolute;
    top: -12px;
    left: 15px;
    background: #3cbef2;
    color: #0a0f14;
    font-size: 11px;
    font-weight: bold;
    padding: 2px 10px;
    border: 2px solid #ffffff;
    font-family: 'Press Start 2P', cursive;
}

.link-header {
    display: flex;
    justify-content: space-between;
    font-size: 11px;
    color: #a0bccc;
    border-bottom: 2px dotted #2f4f5f;
    padding-bottom: 12px;
    margin-bottom: 15px;
}

.link-protocol {
    color: #7fd4ff;
    font-weight: bold;
    background: #0e1e2a;
    padding: 2px 6px;
}

.link-latency {
    color: #c0e0ff;
    background: #0e1e2a;
    padding: 2px 6px;
    font-family: 'Share Tech Mono', monospace;
}

.link-url {
    font-size: 15px;
    color: #ffffff;
    background: #0b141c;
    padding: 15px 12px;
    margin: 15px 0 15px 0;
    border: 3px inset #3b5565;
    cursor: pointer;
    word-break: break-all;
    font-family: 'Share Tech Mono', monospace;
    transition: 0.1s;
    border-radius: 0;
}

.link-url:hover {
    background: #1d3140;
    border: 3px inset #5fd9ff;
    color: #ffffff;
}

.copy-btn {
    background: #253845;
    color: #e0f0ff;
    border: 4px outset #5f7a90;
    padding: 12px 15px;
    font-family: 'Press Start 2P', cursive;
    font-size: 10px;
    cursor: pointer;
    letter-spacing: 1.5px;
    transition: 0.05s linear;
    width: 100%;
    text-align: center;
    box-shadow: 4px 4px 0 #0a1018;
}

.copy-btn:active {
    border: 4px inset #3a5568;
    background: #162b38;
    box-shadow: 1px 1px 0 #0a1018;
    transform: translate(3px, 3px);
}

.link-footer {
    display: flex;
    justify-content: space-between;
    margin-top: 18px;
    font-size: 11px;
    color: #9ab3c7;
    background: #0b141c;
    padding: 8px 10px;
}

.mirror-tag {
    color: #b0c8dd;
    font-family: 'Share Tech Mono', monospace;
}

.verify-badge {
    color: #4fd6b0;
    font-weight: bold;
}

.note {
    font-size: 12px;
    color: #8fa9c0;
    text-align: center;
    margin-top: 25px;
    font-style: normal;
    border-top: 1px solid #2f4b60;
    padding-top: 20px;
}

.verify-panel {
    background: #10222e;
    padding: 30px;
    border: 2px solid #3cbef2;
    box-shadow: inset 0 0 20px rgba(0, 30, 50, 0.8);
}

.input-group {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin: 30px 0 25px 0;
}

.old-input {
    flex: 1 1 320px;
    background: #0b141f;
    border: 4px inset #406175;
    color: #8fcbff;
    padding: 18px 20px;
    font-family: 'Share Tech Mono', monospace;
    font-size: 18px;
    outline: none;
    box-shadow: 0 0 0 1px #3cbef2;
}

.old-input:focus {
    border-color: #3cbef2;
    background: #102433;
    color: #ffffff;
    box-shadow: 0 0 15px #3cbef2;
}

.old-button {
    background: #253845;
    color: #ffffff;
    border: 5px outset #5f7d94;
    padding: 18px 35px;
    font-family: 'Press Start 2P', cursive;
    font-size: 14px;
    cursor: pointer;
    letter-spacing: 2.5px;
    box-shadow: 6px 6px 0 #0a1018;
    transition: 0.05s linear;
}

.old-button:active {
    border: 5px inset #3c5b70;
    background: #102b39;
    box-shadow: 2px 2px 0 #0a1018;
    transform: translate(4px, 4px);
}

.validation-result {
    margin-top: 25px;
    padding: 18px 20px;
    border: 3px solid;
    display: none;
    font-weight: bold;
    font-size: 16px;
    text-align: center;
}

.validation-result.success {
    display: block;
    border-color: #3cbef2;
    color: #b0f0ff;
    background: #0d2b38;
    box-shadow: 0 0 20px #3cbef2;
}

.validation-result.error {
    display: block;
    border-color: #ff5f5f;
    color: #ffbaba;
    background: #2d1c1c;
    box-shadow: 0 0 20px #ff5f5f;
}

.review-content h2 {
    font-family: 'Press Start 2P', cursive;
    font-size: 15px;
    color: #b0e4ff;
    margin: 45px 0 20px 0;
    border-left: 8px solid #3cbef2;
    padding-left: 20px;
    background: linear-gradient(90deg, #1c3343, transparent);
    padding: 12px 0 12px 20px;
}

.review-content h3 {
    font-size: 17px;
    color: #e0f0ff;
    margin: 25px 0 15px 0;
    display: inline-block;
    border-bottom: 3px dotted #3cbef2;
    padding-bottom: 5px;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.info-card {
    background: #0d1c29;
    border: 3px solid #314e60;
    padding: 20px 12px;
    text-align: center;
    box-shadow: 6px 6px 0 #0a1018;
}

.info-card h3 {
    font-size: 12px;
    color: #7fc8ff;
    margin-bottom: 12px;
    font-family: 'Press Start 2P', cursive;
    border: none;
}

.info-card p {
    font-size: 16px;
    color: #ffffff;
    margin: 0;
    font-weight: bold;
}

.pros-cons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin: 40px 0;
}

.pros, .cons {
    background: #10212d;
    padding: 25px;
    border: 3px solid;
    box-shadow: 8px 8px 0 #0a1018;
}

.pros {
    border-color: #3cbef2;
}

.cons {
    border-color: #ff6f6f;
}

.pros h3, .cons h3 {
    font-family: 'Press Start 2P', cursive;
    font-size: 14px;
    margin-bottom: 20px;
    border: none;
    display: block;
}

.pros ul, .cons ul {
    padding-left: 25px;
    list-style-type: square;
}

.pros li, .cons li {
    margin-bottom: 12px;
    font-size: 15px;
}

.conclusion {
    background: #0f2635;
    padding: 25px;
    border: 4px double #3cbef2;
    font-size: 18px;
    text-align: center;
    margin-top: 40px;
    font-weight: bold;
    box-shadow: inset 0 0 20px #0f2635;
}

.security-content h3 {
    font-family: 'Press Start 2P', cursive;
    font-size: 14px;
    color: #9fd4ff;
    margin: 30px 0 15px;
    border-left: 6px solid #3cbef2;
    padding-left: 18px;
}

.pgp-key {
    background: #0d1e2b;
    padding: 25px;
    border: 3px solid #3cbef2;
    margin: 30px 0 15px;
    box-shadow: 8px 8px 0 #0a1018;
}

.pgp-key code {
    display: block;
    background: #1e3343;
    padding: 18px;
    margin: 15px 0 5px;
    color: #9cff9c;
    word-break: break-all;
    font-size: 16px;
    border: 2px inset #5f8fb0;
    font-family: 'Share Tech Mono', monospace;
}

.faq-item {
    margin-bottom: 30px;
    padding-bottom: 25px;
    border-bottom: 2px dotted #2f4f60;
}

.faq-item h3 {
    font-family: 'Press Start 2P', cursive;
    font-size: 13px;
    color: #8fcbff;
    margin-bottom: 12px;
}

.faq-item p {
    margin-bottom: 10px;
}

.faq-item ul {
    margin-left: 25px;
    margin-top: 8px;
}

.old-footer {
    margin-top: 60px;
    padding: 25px 0 15px 0;
    border-top: 5px double #3a5b70;
    text-align: center;
    font-size: 12px;
    color: #7b98b0;
    background: #0f1922;
    box-shadow: 0 -5px 0 #0a121b;
}

.footer-keywords {
    color: #3d6075;
    margin-top: 20px;
    font-size: 10px;
    text-transform: uppercase;
    word-break: break-all;
    letter-spacing: 1px;
}

@media (max-width: 900px) {
    .old-header {
        flex-direction: column;
        gap: 20px;
        align-items: stretch;
        text-align: center;
    }
    
    .logo-area {
        flex-direction: column;
        align-items: center;
    }
    
    .main-nav ul {
        justify-content: center;
    }
    
    .main-nav a {
        font-size: 9px;
        padding: 8px 10px;
    }
    
    .section {
        padding: 20px 18px;
    }
    
    .section-title {
        font-size: 15px;
    }
    
    .ascii-bracket {
        font-size: 18px;
    }
}

@media (max-width: 600px) {
    .container {
        padding: 15px 12px;
    }
    
    .links-grid {
        gap: 20px;
    }
    
    .link-card {
        padding: 15px 12px;
    }
    
    .pros-cons {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .info-grid {
        grid-template-columns: 1fr;
    }
    
    .old-button {
        width: 100%;
        font-size: 12px;
        padding: 15px 10px;
    }
    
    .input-group {
        flex-direction: column;
        gap: 15px;
    }
    
    .old-input {
        width: 100%;
        font-size: 16px;
    }
    
    .pgp-key code {
        font-size: 13px;
        word-break: break-all;
    }
}

.notification {
    position: fixed;
    bottom: 30px;
    left: 30px;
    background: #1f3342;
    color: #b0e4ff;
    padding: 18px 28px;
    border: 4px solid #3cbef2;
    z-index: 10000;
    transform: translateY(200%);
    transition: transform 0.3s cubic-bezier(0.2, 0.9, 0.3, 1.1);
    font-family: 'Press Start 2P', cursive;
    font-size: 11px;
    box-shadow: 12px 12px 0 #0a1018;
    max-width: 350px;
}

.notification.show {
    transform: translateY(0);
}

::-webkit-scrollbar {
    width: 12px;
    background: #0a121c;
}

::-webkit-scrollbar-thumb {
    background: #2b4a60;
    border: 2px solid #3cbef2;
}

::-webkit-scrollbar-thumb:hover {
    background: #3f6e8c;
}

::selection {
    background: #3cbef2;
    color: #0a0f14;
}