* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
}

body {
    background-color: #111;
    color: #FFFFFF;
    line-height: 1.6;
}

.container {
    max-width: 900px;
    margin: 0 auto;
    padding: 20px;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    border-bottom: 1px solid #333;
    margin-bottom: 30px;
}

.logo {
    font-size: 28px;
    font-weight: bold;
}

.nexus {
    color: #20c15a;
}

.market {
    color: #FFFFFF;
}

.last-updated {
    color: #888;
    font-size: 14px;
}

.warning-banner {
    background-color: #ff5050;
    color: #FFFFFF;
    padding: 15px;
    border-radius: 5px;
    display: flex;
    align-items: center;
    margin-bottom: 30px;
}

.warning-icon {
    font-weight: bold;
    font-size: 24px;
    margin-right: 15px;
}

.links-container {
    background-color: #222;
    padding: 20px;
    border-radius: 5px;
    margin-bottom: 30px;
}

.links-container h2 {
    color: #20c15a;
    margin-bottom: 20px;
    font-size: 22px;
}

.link-list {
    margin-bottom: 30px;
}

.link-item {
    display: flex;
    align-items: center;
    padding: 12px 15px;
    background-color: #333;
    margin-bottom: 10px;
    border-radius: 5px;
}

.link-url {
    flex-grow: 1;
    font-family: 'Courier New', monospace;
    color: #FFFFFF;
}

.link-status {
    margin: 0 15px;
    padding: 5px 10px;
    border-radius: 3px;
    font-weight: bold;
    font-size: 14px;
}

.online {
    background-color: #20c15a;
    color: #000;
}

.offline {
    background-color: #ff5050;
    color: #000;
}

.copy-btn {
    background-color: #444;
    color: #FFFFFF;
    border: none;
    padding: 8px 15px;
    border-radius: 3px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.copy-btn:hover {
    background-color: #555;
}

.pgp-verify {
    margin-top: 30px;
}

.pgp-verify h3 {
    color: #20c15a;
    margin-bottom: 15px;
    font-size: 18px;
}

.pgp-verify textarea {
    width: 100%;
    height: 150px;
    background-color: #333;
    color: #FFFFFF;
    border: 1px solid #444;
    padding: 10px;
    border-radius: 5px;
    font-family: 'Courier New', monospace;
    margin-bottom: 10px;
    resize: none;
}

.news-section {
    background-color: #222;
    padding: 20px;
    border-radius: 5px;
    margin-bottom: 30px;
}

.news-section h2 {
    color: #20c15a;
    margin-bottom: 20px;
    font-size: 22px;
}

.news-item {
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #333;
}

.news-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.news-date {
    color: #20c15a;
    font-weight: bold;
    margin-bottom: 5px;
}

footer {
    text-align: center;
    padding: 20px 0;
    color: #888;
    font-size: 14px;
    border-top: 1px solid #333;
}

.disclaimer {
    margin-top: 10px;
    color: #ff5050;
    font-weight: bold;
}

@media (max-width: 768px) {
    header {
        flex-direction: column;
        text-align: center;
    }
    
    .last-updated {
        margin-top: 10px;
    }
    
    .link-item {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .link-status, .copy-btn {
        margin: 5px 0 0 0;
        align-self: flex-end;
    }
}

.intro-section {
    background-color: #222;
    padding: 25px;
    border-radius: 5px;
    margin-bottom: 30px;
}

.intro-section h1 {
    color: #20c15a;
    margin-bottom: 15px;
    font-size: 28px;
}

.intro-section p {
    margin-bottom: 10px;
}

.main-nav {
    display: flex;
    justify-content: space-around;
    background-color: #222;
    padding: 15px;
    border-radius: 5px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.main-nav a {
    color: #FFFFFF;
    text-decoration: none;
    padding: 5px 10px;
    border-radius: 3px;
    transition: background-color 0.3s;
    margin: 5px 0;
}

.main-nav a:hover {
    background-color: #333;
}

.link-description {
    background-color: #333;
    padding: 15px;
    border-radius: 5px;
    margin-bottom: 20px;
}

.link-description p {
    margin-bottom: 10px;
}

.link-meta {
    display: flex;
    flex-direction: column;
    margin: 0 15px;
    min-width: 120px;
}

.link-latency {
    font-size: 12px;
    color: #aaa;
    margin-top: 3px;
}

.mirror-request {
    background-color: #333;
    padding: 15px;
    border-radius: 5px;
    margin-top: 20px;
}

.mirror-request h3 {
    color: #20c15a;
    margin-bottom: 10px;
}

.secured-email {
    display: flex;
    align-items: center;
    margin-top: 10px;
}

.email-addr {
    font-family: 'Courier New', monospace;
    color: #FFFFFF;
    margin-right: 10px;
}

.email-note {
    font-size: 12px;
    color: #aaa;
}

.pgp-section {
    background-color: #222;
    padding: 25px;
    border-radius: 5px;
    margin-bottom: 30px;
}

.pgp-instructions {
    background-color: #333;
    padding: 15px;
    border-radius: 5px;
    margin-bottom: 20px;
}

.pgp-instructions ol {
    margin-left: 20px;
    margin-top: 10px;
}

.pgp-instructions li {
    margin-bottom: 8px;
}

.guide-section {
    background-color: #222;
    padding: 25px;
    border-radius: 5px;
    margin-bottom: 30px;
}

.guide-content {
    background-color: #333;
    padding: 15px;
    border-radius: 5px;
}

.security-tip {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #444;
}

.security-tip:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.security-tip h4 {
    color: #ff5050;
    margin-bottom: 8px;
}

.faq-section {
    background-color: #222;
    padding: 25px;
    border-radius: 5px;
    margin-bottom: 30px;
}

.faq-item {
    background-color: #333;
    padding: 15px;
    border-radius: 5px;
    margin-bottom: 15px;
}

.faq-item h3 {
    color: #20c15a;
    margin-bottom: 10px;
}

.faq-item ul {
    margin-left: 20px;
    margin-top: 10px;
}

.footer-links {
    display: flex;
    justify-content: center;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.footer-links a {
    color: #FFFFFF;
    margin: 0 10px;
    text-decoration: none;
}

.footer-links a:hover {
    text-decoration: underline;
}

.copyright {
    margin-top: 15px;
    font-size: 12px;
    color: #888;
}

/* Адаптивность */
@media (max-width: 768px) {
    .main-nav {
        flex-direction: column;
    }
    
    .main-nav a {
        margin: 5px 0;
        text-align: center;
    }
    
    .link-item {
        flex-direction: column;
    }
    
    .link-meta {
        margin: 10px 0;
        align-self: flex-start;
    }
    
    .footer-links {
        flex-direction: column;
        align-items: center;
    }
    
    .footer-links a {
        margin: 5px 0;
    }
}

/* Логотип и шапка */
.logo-container {
    display: flex;
    align-items: center;
}

.site-logo {
    width: 40px;
    height: 40px;
    margin-right: 15px;
    object-fit: contain;
}

/* Для мобильных */
@media (max-width: 768px) {
    .logo-container {
        flex-direction: column;
        text-align: center;
    }
    
    .site-logo {
        margin-right: 0;
        margin-bottom: 10px;
    }
}