:root {
    --primary: #303948;
    --secondary: #FFFFFF;
    --accent: #3cbef2;
    --bg-dark: #1a202c;
    --bg-darker: #0f131a;
    --online: #51cf66;
    --offline: #ff6b6b;
    --warning: #ffcc00;
    --text-muted: #a0a8b8;
}

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

body {
    font-family: 'Courier New', monospace;
    background-color: var(--bg-darker);
    color: var(--secondary);
    line-height: 1.5;
    font-size: 16px;
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.accent {
    color: var(--accent);
}

/* Top Warning */
.top-warning {
    background-color: var(--warning);
    color: #000;
    padding: 8px 0;
    font-weight: bold;
    font-size: 14px;
    text-align: center;
    border-bottom: 1px solid rgba(0,0,0,0.2);
}

.warning-icon {
    margin-right: 10px;
}

/* Header */
.dark-header {
    background-color: var(--primary);
    padding: 20px 0;
    border-bottom: 1px solid rgba(60, 190, 242, 0.2);
}

.header-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo {
    height: 40px;
    width: auto;
}

.title h1 {
    font-size: 24px;
    letter-spacing: 2px;
    margin-bottom: 2px;
}

.subtitle {
    font-size: 12px;
    color: var(--text-muted);
    letter-spacing: 1px;
}

.status-section {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
}

.status-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.status-indicator.online {
    background-color: var(--online);
    box-shadow: 0 0 8px var(--online);
}

.status-text {
    display: flex;
    flex-direction: column;
}

.status-title {
    font-size: 10px;
    color: var(--text-muted);
    letter-spacing: 1px;
}

.status-value {
    font-size: 14px;
    font-weight: bold;
    letter-spacing: 1px;
}

/* Mirror Section */
.mirror-section {
    margin: 30px 0;
    border: 1px solid rgba(60, 190, 242, 0.1);
    background-color: var(--bg-dark);
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    border-bottom: 1px solid rgba(60, 190, 242, 0.1);
}

.section-header h2 {
    font-size: 18px;
    letter-spacing: 1px;
}

.last-updated {
    font-size: 12px;
    color: var(--text-muted);
}

.mirror-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 15px;
    padding: 20px;
}

.mirror-card {
    background-color: var(--primary);
    border: 1px solid rgba(60, 190, 242, 0.1);
    padding: 15px;
}

.mirror-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    font-size: 12px;
}

.mirror-id {
    color: var(--accent);
    font-weight: bold;
    letter-spacing: 1px;
}

.mirror-status {
    padding: 2px 8px;
    border-radius: 3px;
    font-weight: bold;
    font-size: 10px;
    letter-spacing: 1px;
}

.mirror-status.active {
    background-color: rgba(81, 207, 102, 0.2);
    color: var(--online);
}

.mirror-url {
    margin: 15px 0;
    font-family: monospace;
    word-break: break-all;
    font-size: 14px;
}

.protocol {
    color: var(--text-muted);
}

.mirror-actions {
    display: flex;
    gap: 10px;
}

.access-btn, .copy-btn {
    flex: 1;
    padding: 8px;
    border: none;
    font-weight: bold;
    cursor: pointer;
    font-family: 'Courier New', monospace;
    font-size: 12px;
    letter-spacing: 1px;
    text-align: center;
    text-decoration: none;
    transition: all 0.3s;
}

.access-btn {
    background-color: var(--accent);
    color: var(--bg-darker);
}

.access-btn:hover {
    background-color: #2ca8d8;
}

.copy-btn {
    background-color: transparent;
    color: var(--accent);
    border: 1px solid var(--accent);
}

.copy-btn:hover {
    background-color: rgba(60, 190, 242, 0.1);
}

.mirror-footer {
    padding: 15px 20px;
    border-top: 1px solid rgba(60, 190, 242, 0.1);
    font-size: 13px;
    color: var(--text-muted);
}

/* Info Section */
.info-section {
    margin: 30px 0;
}

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

.info-card {
    background-color: var(--bg-dark);
    border: 1px solid rgba(60, 190, 242, 0.1);
    padding: 20px;
}

.info-card h3 {
    font-size: 16px;
    margin-bottom: 15px;
    letter-spacing: 1px;
}

.security-list {
    list-style: none;
}

.security-list li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 10px;
    font-size: 14px;
}

.security-list li:before {
    content: "■";
    position: absolute;
    left: 0;
    color: var(--accent);
    font-size: 10px;
}

.system-status {
    margin-top: 20px;
}

.status-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    font-size: 13px;
}

.status-label {
    color: var(--text-muted);
}

.status-value {
    font-weight: bold;
}

/* Verification Section */
.verification-section {
    margin: 40px 0;
}

.verification-box {
    background-color: var(--bg-dark);
    border: 1px solid rgba(60, 190, 242, 0.1);
    padding: 20px;
    margin-bottom: 20px;
}

.input-group {
    display: flex;
    margin-bottom: 15px;
}

.input-group input {
    flex: 1;
    padding: 10px;
    background-color: var(--primary);
    border: 1px solid rgba(60, 190, 242, 0.2);
    color: var(--secondary);
    font-family: 'Courier New', monospace;
    font-size: 14px;
}

.input-group button {
    padding: 0 20px;
    background-color: var(--accent);
    color: var(--bg-darker);
    border: none;
    font-weight: bold;
    cursor: pointer;
    font-family: 'Courier New', monospace;
}

.verify-result {
    padding: 10px;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 10px;
}

.verify-result.valid {
    background-color: rgba(81, 207, 102, 0.1);
    color: var(--online);
}

.verify-result.invalid {
    background-color: rgba(255, 107, 107, 0.1);
    color: var(--offline);
}

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

.pgp-info {
    background-color: var(--bg-dark);
    border: 1px solid rgba(60, 190, 242, 0.1);
    padding: 20px;
}

.pgp-info h3 {
    font-size: 16px;
    margin-bottom: 15px;
    letter-spacing: 1px;
}

.pgp-block {
    font-family: monospace;
    font-size: 12px;
    line-height: 1.6;
    margin-bottom: 15px;
    word-break: break-all;
    background-color: var(--primary);
    padding: 15px;
    border-radius: 3px;
}

/* Footer */
.dark-footer {
    background-color: var(--primary);
    padding: 20px 0;
    border-top: 1px solid rgba(60, 190, 242, 0.1);
    margin-top: 50px;
}

.footer-content {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer-disclaimer {
    font-size: 12px;
    color: var(--text-muted);
    text-align: center;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    font-size: 11px;
    color: var(--text-muted);
}

/* Notification */
.copy-notification {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--accent);
    color: var(--bg-darker);
    padding: 10px 20px;
    font-weight: bold;
    font-size: 12px;
    letter-spacing: 1px;
    border-radius: 3px;
    opacity: 0;
    transition: opacity 0.3s;
    z-index: 1000;
}

.copy-notification.show {
    opacity: 1;
}

/* Responsive */
@media (max-width: 768px) {
    .header-grid {
        grid-template-columns: 1fr;
    }
    
    .status-section {
        justify-content: flex-start;
        margin-top: 10px;
    }
    
    .mirror-grid {
        grid-template-columns: 1fr;
    }
    
    .info-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .input-group {
        flex-direction: column;
    }
    
    .input-group button {
        padding: 10px;
        margin-top: 10px;
    }
}