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

@font-face {
    font-family: 'Monaco';
    src: local('Monaco'), local('Monaco Regular');
    font-weight: normal;
    font-style: normal;
}

body {
    font-family: 'Monaco', 'Consolas', 'Courier New', monospace;
    background: #0a0a0a;
    color: #00ff41;
    overflow-x: hidden;
    min-height: 100vh;
    font-size: 14px;
    line-height: 1.4;
}

/* Terminal Effects */
.terminal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        linear-gradient(rgba(0, 255, 65, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 255, 65, 0.03) 1px, transparent 1px);
    background-size: 20px 20px;
    z-index: -2;
    animation: gridMove 20s linear infinite;
}

.scanlines {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom,
        transparent 50%,
        rgba(0, 255, 65, 0.02) 51%,
        transparent 52%
    );
    background-size: 100% 4px;
    z-index: -1;
    animation: scanline 8s linear infinite;
}

@keyframes gridMove {
    0% { background-position: 0 0; }
    100% { background-position: 20px 20px; }
}

@keyframes scanline {
    0% { transform: translateY(-100%); }
    100% { transform: translateY(100%); }
}

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

/* Terminal Header */
.terminal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3rem;
    padding: 1rem;
    background: rgba(0, 255, 65, 0.05);
    border: 1px solid #003b14;
    position: relative;
}

.system-info {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.prompt {
    color: #008631;
}

.username {
    color: #00ff41;
    font-weight: bold;
}

.cursor {
    animation: blink 1s infinite;
    color: #00ff41;
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

.status-indicator {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.status-label {
    color: #008631;
}

.status-online {
    color: #00ff41;
    animation: pulse 2s infinite;
}

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

/* Terminal Sections */
.terminal-section {
    margin-bottom: 2.5rem;
    background: rgba(0, 255, 65, 0.02);
    border: 1px solid #003b14;
    padding: 1.5rem;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #003b14;
}

.section-title {
    color: #00ff41;
    font-weight: bold;
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
}

.service-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: rgba(0, 255, 65, 0.05);
    border: 1px solid #003b14;
    transition: all 0.3s ease;
}

.service-item:hover {
    background: rgba(0, 255, 65, 0.1);
    border-color: #00ff41;
}

.service-check {
    color: #00ff41;
    font-weight: bold;
}

.service-name {
    color: #00ff41;
}

/* Contacts */
.contacts-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background: rgba(0, 255, 65, 0.05);
    border: 1px solid #003b14;
    text-decoration: none;
    color: #00ff41;
    transition: all 0.3s ease;
}

.contact-link:hover {
    background: rgba(0, 255, 65, 0.1);
    border-color: #00ff41;
    transform: translateX(5px);
}

.contact-type {
    color: #008631;
}

.contact-value {
    color: #00ff41;
    font-weight: bold;
}

.contact-link.donate {
    background: rgba(255, 0, 0, 0.1);
    border-color: #ff0000;
}

.contact-link.donate:hover {
    background: rgba(255, 0, 0, 0.2);
}

/* DC Monitor */
.dc-section {
    background: rgba(0, 0, 0, 0.8);
}

.status-btn {
    background: transparent;
    border: 1px solid #00ff41;
    color: #00ff41;
    padding: 0.5rem 1rem;
    font-family: 'Monaco', monospace;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.status-btn:hover {
    background: rgba(0, 255, 65, 0.1);
    box-shadow: 0 0 10px rgba(0, 255, 65, 0.5);
}

.dc-monitor {
    background: #000;
    border: 1px solid #003b14;
    padding: 1rem;
    min-height: 400px;
    max-height: 500px;
    overflow-y: auto;
}

.terminal-output {
    font-family: 'Monaco', monospace;
    color: #00ff41;
}

.output-line {
    margin-bottom: 0.5rem;
    animation: typewriter 0.1s ease-in;
}

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

.dc-item {
    background: rgba(0, 255, 65, 0.05);
    border: 1px solid #003b14;
    padding: 1rem;
    transition: all 0.3s ease;
}

.dc-item:hover {
    border-color: #00ff41;
    background: rgba(0, 255, 65, 0.1);
}

.dc-name {
    color: #00ff41;
    font-weight: bold;
    margin-bottom: 0.5rem;
    display: flex;
    justify-content: between;
    align-items: center;
}

.dc-location {
    color: #008631;
    font-size: 12px;
}

.dc-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
    font-size: 12px;
}

.stat-item {
    display: flex;
    justify-content: space-between;
}

.stat-label {
    color: #008631;
}

.stat-value {
    color: #00ff41;
}

.stat-value.good {
    color: #00ff41;
}

.stat-value.warning {
    color: #ffff00;
}

.stat-value.critical {
    color: #ff0000;
}

.progress-bar {
    width: 100%;
    height: 4px;
    background: #003b14;
    margin-top: 0.25rem;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: #00ff41;
    transition: width 0.3s ease;
}

/* Language Switcher */
.language-switcher {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    display: flex;
    gap: 0.5rem;
    z-index: 1000;
}

.lang-btn {
    background: transparent;
    border: 1px solid #003b14;
    color: #008631;
    padding: 0.5rem 1rem;
    font-family: 'Monaco', monospace;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.lang-btn.active {
    background: rgba(0, 255, 65, 0.1);
    border-color: #00ff41;
    color: #00ff41;
}

.lang-btn:hover {
    border-color: #00ff41;
}

/* Animations */
@keyframes typewriter {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Scrollbar */
.dc-monitor::-webkit-scrollbar {
    width: 8px;
}

.dc-monitor::-webkit-scrollbar-track {
    background: #003b14;
}

.dc-monitor::-webkit-scrollbar-thumb {
    background: #00ff41;
}

.dc-monitor::-webkit-scrollbar-thumb:hover {
    background: #008631;
}

/* Responsive */
@media (max-width: 768px) {
    .container {
        padding: 1rem;
    }
    
    .terminal-header {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .section-header {
        flex-direction: column;
        gap: 1rem;
    }
    
    .language-switcher {
        position: relative;
        bottom: auto;
        right: auto;
        justify-content: center;
        margin-top: 2rem;
    }
    
    .contact-link {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }
}