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

body {
    font-family: 'Fira Code', monospace;
    background: linear-gradient(135deg, #0d1421 0%, #1a2332 100%);
    color: #00ff41;
    min-height: 100vh;
    overflow-x: hidden;
}

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

/* Terminal Header */
.header {
    margin-bottom: 30px;
}

.terminal-header {
    background: #1e2a3a;
    border: 1px solid #00ff41;
    border-radius: 8px 8px 0 0;
    padding: 10px 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: 0 0 20px rgba(0, 255, 65, 0.3);
}

.terminal-buttons {
    display: flex;
    gap: 8px;
}

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

.btn.red { background: #ff5f56; }
.btn.yellow { background: #ffbd2e; }
.btn.green { background: #27ca3f; }

.terminal-title {
    color: #00ff41;
    font-weight: 500;
    text-shadow: 0 0 10px #00ff41;
}

/* Logo and Title Section */
.logo-section {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    margin-bottom: 40px;
    padding: 30px;
    background: rgba(30, 42, 58, 0.5);
    border: 1px solid #00ff41;
    border-radius: 10px;
    box-shadow: 0 0 30px rgba(0, 255, 65, 0.2);
}

.logo {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 2px solid #00ff41;
    box-shadow: 0 0 20px rgba(0, 255, 65, 0.5);
    filter: drop-shadow(0 0 10px #00ff41);
}

.title-section {
    text-align: center;
}

.main-title {
    font-size: 3rem;
    font-weight: 700;
    color: #00ff41;
    text-shadow: 0 0 20px #00ff41;
    letter-spacing: 3px;
    margin-bottom: 10px;
}

.subtitle {
    color: #66ff99;
    font-size: 1.1rem;
    letter-spacing: 1px;
    opacity: 0.8;
}

/* Status Bar */
.status-bar {
    display: flex;
    justify-content: space-between;
    background: #1e2a3a;
    padding: 15px 25px;
    border: 1px solid #00ff41;
    border-radius: 5px;
    margin-bottom: 30px;
    box-shadow: inset 0 0 10px rgba(0, 255, 65, 0.1);
}

.status-item {
    color: #cccccc;
    font-size: 0.9rem;
}

.status-active {
    color: #00ff41;
    font-weight: bold;
    text-shadow: 0 0 5px #00ff41;
}

.status-scanning {
    color: #ffff00;
    animation: pulse 1.5s infinite;
}

/* Input Section */
.input-section {
    margin-bottom: 30px;
}

.input-group {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.input-label {
    color: #00ff41;
    font-weight: 500;
    text-shadow: 0 0 5px #00ff41;
}

.terminal-input {
    background: #1e2a3a;
    border: 2px solid #00ff41;
    border-radius: 5px;
    padding: 15px 20px;
    color: #00ff41;
    font-family: 'Fira Code', monospace;
    font-size: 1rem;
    outline: none;
    transition: all 0.3s ease;
    box-shadow: inset 0 0 10px rgba(0, 255, 65, 0.1);
}

.terminal-input:focus {
    border-color: #66ff99;
    box-shadow: 0 0 20px rgba(0, 255, 65, 0.4);
}

.scan-button {
    background: linear-gradient(45deg, #ff0080, #ff4000);
    border: none;
    border-radius: 5px;
    padding: 15px 30px;
    color: white;
    font-family: 'Fira Code', monospace;
    font-weight: bold;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.5);
    box-shadow: 0 0 20px rgba(255, 0, 128, 0.4);
}

.scan-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 30px rgba(255, 0, 128, 0.6);
}

/* Results Section */
.results-section {
    background: #1e2a3a;
    border: 1px solid #00ff41;
    border-radius: 8px;
    margin-bottom: 30px;
    overflow: hidden;
    box-shadow: 0 0 20px rgba(0, 255, 65, 0.2);
}

.result-header {
    background: #0d1421;
    padding: 15px 25px;
    border-bottom: 1px solid #00ff41;
    font-weight: bold;
    color: #00ff41;
    text-shadow: 0 0 10px #00ff41;
}

.blinking-cursor {
    animation: blink 1s infinite;
}

.result-content {
    padding: 25px;
    min-height: 150px;
}

/* Address Grid */
.address-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.address-card {
    background: #1e2a3a;
    border: 1px solid #00ff41;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 0 15px rgba(0, 255, 65, 0.1);
}

.address-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 25px rgba(0, 255, 65, 0.3);
}

.card-header {
    color: #66ff99;
    font-size: 0.9rem;
    margin-bottom: 10px;
    font-weight: 500;
}

.card-content {
    color: #00ff41;
    font-size: 1.2rem;
    font-weight: bold;
    text-shadow: 0 0 5px #00ff41;
}

.threat-low {
    color: #00ff00;
}

.threat-medium {
    color: #ffff00;
}

.threat-high {
    color: #ff0000;
}

/* Scanning Animation */
.scanning-animation {
    text-align: center;
}

.scanning-line {
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, #00ff41, transparent);
    animation: scan 2s infinite;
    margin-bottom: 20px;
}

.scanning-text {
    color: #66ff99;
    animation: pulse 1.5s infinite;
}

/* System Logs */
.system-logs {
    background: #1e2a3a;
    border: 1px solid #00ff41;
    border-radius: 8px;
    margin-bottom: 30px;
    box-shadow: 0 0 20px rgba(0, 255, 65, 0.2);
}

.log-header {
    background: #0d1421;
    padding: 15px 25px;
    border-bottom: 1px solid #00ff41;
    font-weight: bold;
    color: #00ff41;
    text-shadow: 0 0 10px #00ff41;
}

.log-content {
    padding: 20px 25px;
    max-height: 200px;
    overflow-y: auto;
}

.log-entry {
    color: #66ff99;
    margin-bottom: 8px;
    font-size: 0.9rem;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.log-entry:hover {
    opacity: 1;
}

/* Footer */
.footer {
    margin-top: 40px;
    padding: 20px 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #66ff99;
    font-size: 0.9rem;
}

.pulse-dot {
    width: 10px;
    height: 10px;
    background: #00ff41;
    border-radius: 50%;
    animation: pulse 2s infinite;
    box-shadow: 0 0 10px #00ff41;
}

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

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

@keyframes scan {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 10px;
    }

    .logo-section {
        flex-direction: column;
        gap: 20px;
    }

    .main-title {
        font-size: 2rem;
    }

    .status-bar {
        flex-direction: column;
        gap: 10px;
    }

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