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

body {
    background: #f0f4fa;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', 'Courier New', monospace;
    color: #1a2b3e;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeSpeed;
}

.page-wrapper {
    max-width: 1280px;
    margin: 0 auto;
    padding: 1.5rem 2rem;
}

.site-header {
    background: #ffffff;
    border: 2px solid #274372;
    padding: 1rem 2rem;
    margin-bottom: 2rem;
    box-shadow: 12px 12px 0 rgba(39, 67, 114, 0.15);
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.logo-area {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.site-title {
    font-size: 2.2rem;
    font-weight: 800;
    letter-spacing: -1px;
    color: #274372;
    text-transform: uppercase;
    line-height: 1;
}

.thin {
    font-weight: 400;
    color: #5a7bb2;
    font-size: 1.8rem;
}

.header-badge {
    font-size: 0.7rem;
    text-transform: uppercase;
    background: #274372;
    color: white;
    padding: 0.2rem 1rem;
    display: inline-block;
    width: fit-content;
    border: 1px solid #102331;
}

.main-nav {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.nav-link {
    color: #274372;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    padding: 0.4rem 0;
    border-bottom: 2px solid transparent;
}

.nav-link:hover {
    border-bottom-color: #274372;
}

.gallery-row {
    margin-bottom: 2.5rem;
    border: 2px solid #274372;
    background: #ffffff;
    box-shadow: 12px 12px 0 rgba(39, 67, 114, 0.1);
}

.gif-container {
    width: 100%;
    background: #ffffff;
    padding: 0.2rem;
}

.prime-gif {
    display: block;
    width: 100%;
    height: auto;
    max-height: 128px;
    object-fit: cover;
    border: none;
}

.content-block {
    background: #ffffff;
    border: 2px solid #274372;
    padding: 2rem 2.2rem;
    margin-bottom: 2.5rem;
    box-shadow: 14px 14px 0 rgba(39, 67, 114, 0.1);
}

.block-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    border-bottom: 2px solid #274372;
    padding-bottom: 0.6rem;
    margin-bottom: 2rem;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
}

.block-title {
    font-weight: 800;
    color: #274372;
    font-size: 1.2rem;
}

.block-title::before {
    content: '▶';
    color: #274372;
    margin-right: 0.6rem;
    font-size: 0.9rem;
    opacity: 0.6;
}

.block-counter {
    font-family: 'Courier New', monospace;
    background: #edf2f9;
    padding: 0.2rem 1rem;
    border: 1px solid #274372;
    color: #274372;
    font-weight: 600;
    font-size: 0.8rem;
}

.links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.8rem;
}

.link-card {
    border: 2px solid #274372;
    background: #ffffff;
    padding: 1.4rem 1.2rem 1rem 1.2rem;
    position: relative;
    box-shadow: 8px 8px 0 rgba(39, 67, 114, 0.15);
}

.link-status {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.7rem;
    text-transform: uppercase;
    color: #2a4b7c;
    margin-bottom: 1rem;
    font-weight: 600;
}

.status-dot {
    width: 10px;
    height: 10px;
    background: #00a86b;
    display: inline-block;
    border: 1px solid #1f3a5f;
}

.link-url {
    font-size: 0.95rem;
    word-break: break-all;
    margin-bottom: 1.2rem;
    font-weight: 500;
    color: #102331;
    background: #f5f9ff;
    padding: 0.8rem 1rem;
    border: 2px dashed #274372;
    cursor: pointer;
    font-family: 'Courier New', monospace;
}

.copy-btn {
    background: #ffffff;
    border: 2px solid #274372;
    width: 36px;
    height: 36px;
    position: absolute;
    top: 1rem;
    right: 1rem;
    cursor: pointer;
    box-shadow: 4px 4px 0 #274372;
    font-size: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.copy-btn::before {
    content: '⎘';
    font-size: 1.1rem;
    color: #274372;
}

.copy-btn:active {
    transform: translate(2px, 2px);
    box-shadow: 2px 2px 0 #274372;
}

.link-latency {
    font-size: 0.7rem;
    color: #4f6f8f;
    border-top: 1px solid #dee7f2;
    padding-top: 0.6rem;
    font-family: 'Courier New', monospace;
}

.footnote {
    font-size: 0.8rem;
    color: #274372;
    margin-top: 1.8rem;
    border-left: 4px solid #274372;
    padding: 0.6rem 1.5rem;
    background: #f0f6ff;
}

.verification-module {
    background: #f8fcff;
    border: 2px solid #274372;
    padding: 2rem 2rem;
}

.input-group {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.verify-input {
    flex: 3 1 260px;
    background: #ffffff;
    border: 2px solid #274372;
    padding: 0.8rem 1.2rem;
    font-family: 'Courier New', monospace;
    font-size: 1rem;
    outline: none;
    box-shadow: inset -2px -2px 0 #d9e2f0;
}

.verify-input:focus {
    background: #ffffff;
    border-color: #1a3a63;
}

.verify-btn {
    flex: 0 1 auto;
    background: #274372;
    border: 2px solid #102331;
    color: white;
    font-weight: 700;
    padding: 0 2rem;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    box-shadow: 5px 5px 0 rgba(0,0,0,0.1);
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', monospace;
    min-height: 48px;
}

.verify-btn:hover {
    background: #1f3a63;
    box-shadow: 3px 3px 0 #102331;
    transform: translate(2px, 2px);
}

.verify-btn:active {
    transform: translate(4px, 4px);
    box-shadow: 1px 1px 0 #102331;
}

.validation-result {
    font-size: 1rem;
    padding: 1rem 1.5rem;
    margin-top: 1rem;
    font-weight: 600;
    display: none;
    border: 2px solid;
}

.validation-result.success {
    display: block;
    background: #e2f7e8;
    border-color: #1f8440;
    color: #0b4f22;
}

.validation-result.error {
    display: block;
    background: #ffe8ec;
    border-color: #c41e3a;
    color: #8b1a2d;
}

.verify-note {
    margin-top: 1rem;
    font-size: 0.8rem;
    color: #3d5e83;
    padding-left: 0.5rem;
    border-left: 2px solid #274372;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 1.5rem;
    margin-bottom: 0.5rem;
}

.stat-card {
    background: #f5f9ff;
    border: 2px solid #274372;
    padding: 1.5rem 0.5rem;
    text-align: center;
    box-shadow: 6px 6px 0 #c5d2e8;
}

.stat-number {
    font-size: 2rem;
    font-weight: 800;
    color: #274372;
    line-height: 1.1;
    text-transform: uppercase;
    letter-spacing: -1px;
}

.stat-label {
    font-size: 0.8rem;
    color: #2f4a73;
    margin-top: 0.5rem;
    font-weight: 500;
}

.info-text-blocks {
    margin-bottom: 2rem;
}

.info-paragraph {
    margin-bottom: 1.5rem;
    font-size: 1rem;
    color: #1f2f40;
    background: #fafdff;
    padding: 1rem 1.8rem;
    border-left: 6px solid #274372;
    box-shadow: 6px 6px 0 #d9e2f0;
    line-height: 1.6;
}

.info-paragraph strong {
    color: #274372;
    font-weight: 700;
}

.info-grid-compact {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 1rem;
    margin-top: 1.5rem;
}

.info-item {
    background: #f4f9ff;
    border: 2px solid #274372;
    padding: 1rem 0.8rem;
    display: flex;
    flex-direction: column;
    box-shadow: 4px 4px 0 #c5d2e8;
}

.info-label {
    font-size: 0.7rem;
    text-transform: uppercase;
    color: #2d4b79;
    letter-spacing: 0.5px;
    font-weight: 600;
}

.info-value {
    font-size: 1.1rem;
    font-weight: 700;
    color: #274372;
    margin-top: 0.2rem;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.faq-item {
    background: #f9fcff;
    border: 2px solid #274372;
    padding: 1.2rem 1.8rem;
    box-shadow: 6px 6px 0 #cbd6ea;
}

.faq-question {
    font-weight: 700;
    color: #274372;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.faq-question::before {
    content: '[?]';
    font-size: 0.8rem;
    color: #ffffff;
    background: #274372;
    padding: 0.1rem 0.4rem;
}

.faq-answer {
    color: #1f2f40;
    font-size: 0.95rem;
    line-height: 1.6;
    padding-left: 1.5rem;
}

.security-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
}

.security-card {
    background: #f8fcff;
    border: 2px solid #274372;
    padding: 1.5rem 1.2rem;
    box-shadow: 6px 6px 0 #cbd6ea;
}

.security-title {
    font-weight: 700;
    color: #274372;
    font-size: 1.1rem;
    margin-bottom: 0.8rem;
    text-transform: uppercase;
}

.security-text {
    color: #1f2f40;
    font-size: 0.9rem;
    line-height: 1.5;
}

.category-stats {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.category-bar {
    display: grid;
    grid-template-columns: 180px 60px 1fr;
    align-items: center;
    gap: 0.8rem;
}

.category-name {
    font-weight: 600;
    color: #274372;
    font-size: 0.95rem;
}

.category-percent {
    font-family: 'Courier New', monospace;
    font-weight: 700;
    color: #1f2f40;
}

.bar-bg {
    height: 16px;
    background: #e3eaf5;
    border: 1px solid #274372;
    width: 100%;
}

.bar-fill {
    height: 100%;
    background: #274372;
    width: 0%;
}

.specs-table {
    display: flex;
    flex-direction: column;
}

.spec-row {
    display: grid;
    grid-template-columns: 200px 1fr;
    padding: 0.8rem 0;
    border-bottom: 1px solid #d0ddee;
}

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

.spec-label {
    font-weight: 600;
    color: #274372;
    font-size: 0.9rem;
    text-transform: uppercase;
}

.spec-value {
    color: #1f2f40;
    font-size: 0.95rem;
    font-family: 'Courier New', monospace;
}

.updates-list {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.update-item {
    display: grid;
    grid-template-columns: 110px 1fr;
    gap: 1rem;
    padding: 0.6rem 0;
    border-bottom: 1px dashed #b5c6df;
}

.update-date {
    font-family: 'Courier New', monospace;
    font-weight: 600;
    color: #274372;
    font-size: 0.85rem;
}

.update-text {
    color: #1f2f40;
    font-size: 0.9rem;
}

.vendor-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.2rem;
}

.vendor-card {
    background: #f5f9ff;
    border: 2px solid #274372;
    padding: 1.2rem 1rem;
    box-shadow: 5px 5px 0 #c5d2e8;
}

.vendor-name {
    font-weight: 800;
    color: #274372;
    font-size: 1.1rem;
    margin-bottom: 0.2rem;
}

.vendor-since {
    font-size: 0.7rem;
    color: #4f6f8f;
    margin-bottom: 0.3rem;
    font-family: 'Courier New', monospace;
}

.vendor-rating {
    font-weight: 600;
    color: #1f2f40;
    font-size: 0.85rem;
    margin-bottom: 0.3rem;
}

.vendor-cats {
    font-size: 0.8rem;
    color: #2f4a73;
}

.site-footer {
    border-top: 3px solid #274372;
    margin-top: 2.5rem;
    padding: 1.8rem 0 1rem;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.8rem 2rem;
    font-size: 0.8rem;
    color: #274372;
    text-transform: uppercase;
    font-weight: 600;
}

.separator {
    opacity: 0.4;
    color: #274372;
}

.footer-small {
    text-align: center;
    font-size: 0.7rem;
    color: #4f6f8f;
    margin-top: 1.2rem;
    padding: 0.5rem;
    border-top: 1px dashed #bdc9db;
    max-width: 80%;
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 650px) {
    .page-wrapper {
        padding: 1rem 1rem;
    }

    .site-title {
        font-size: 1.8rem;
    }

    .thin {
        font-size: 1.4rem;
    }

    .header-container {
        flex-direction: column;
        align-items: start;
    }

    .main-nav {
        width: 100%;
        justify-content: space-between;
        gap: 0.3rem;
    }

    .nav-link {
        font-size: 0.9rem;
    }

    .block-header {
        flex-direction: column;
        gap: 0.5rem;
    }

    .block-title::before {
        display: none;
    }

    .content-block {
        padding: 1.2rem 1rem;
    }

    .links-grid {
        grid-template-columns: 1fr;
    }

    .verify-btn {
        width: 100%;
    }

    .category-bar {
        grid-template-columns: 140px 50px 1fr;
        gap: 0.5rem;
    }

    .spec-row {
        grid-template-columns: 1fr;
        gap: 0.2rem;
    }

    .update-item {
        grid-template-columns: 1fr;
        gap: 0.2rem;
    }

    .footer-content {
        flex-direction: column;
        align-items: center;
        gap: 0.5rem;
    }

    .separator {
        display: none;
    }

    .footer-small {
        max-width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    * {
        transition-duration: 0.01ms;
    }
}

::selection {
    background: #274372;
    color: #ffffff;
}