@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;700;900&display=swap');

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Noto Sans', Helvetica, Arial, sans-serif;
    line-height: 1.5;
    background: linear-gradient(135deg, #0f1419 0%, #1a2332 50%, #0d1b2a 100%);
    background-attachment: fixed;
    color: #e8f2ff;
    min-height: 100vh;
    margin: 0;
    padding: 20px;
    font-size: 14px;
}

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

.header {
    background: linear-gradient(135deg, rgba(25, 42, 86, 0.8) 0%, rgba(13, 27, 42, 0.9) 100%);
    backdrop-filter: blur(10px);
    padding: 30px;
    border-radius: 12px;
    margin-bottom: 30px;
    border: 1px solid rgba(135, 206, 235, 0.2);
    box-shadow: 0 8px 32px rgba(135, 206, 235, 0.1);
    text-align: center;
}

.title {
    font-size: 2.2em;
    font-weight: bold;
    color: #87ceeb;
    text-shadow: 0 0 10px rgba(135, 206, 235, 0.3);
    margin-bottom: 10px;
}

.subtitle {
    font-size: 1.1em;
    color: #b8d4f0;
    opacity: 0.9;
}

.power-header {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 20px;
}

.power-icon {
    width: 40px;
    height: 40px;
    background: #87ceeb;
    border-radius: 50%;
    margin-right: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: #0d1b2a;
    font-size: 1.1em;
}

.power-name {
    font-size: 1.6em;
    font-weight: 600;
    color: #87ceeb;
    margin-right: 15px;
}

.threat-level {
    padding: 6px 12px;
    border-radius: 15px;
    font-size: 0.9em;
    font-weight: 600;
    text-transform: uppercase;
}

.threat-hostile {
    background: linear-gradient(135deg, #ff6b9d, #ff8fab);
    color: white;
}

.threat-unfriendly {
    background: linear-gradient(135deg, #ffb3ba, #ffc9ce);
    color: #0d1b2a;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-bottom: 30px;
}

.stat-card {
    background: linear-gradient(135deg, rgba(25, 42, 86, 0.6) 0%, rgba(13, 27, 42, 0.8) 100%);
    border: 1px solid rgba(135, 206, 235, 0.2);
    border-radius: 12px;
    padding: 15px;
    text-align: center;
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(135, 206, 235, 0.2);
}

.stat-label {
    font-size: 0.9em;
    color: #b8d4f0;
    margin-bottom: 8px;
    text-transform: uppercase;
    font-weight: 600;
}

.stat-value {
    font-size: 1.8em;
    font-weight: bold;
    color: #87ceeb;
    text-shadow: 0 0 10px rgba(135, 206, 235, 0.5);
}

.section {
    background: linear-gradient(135deg, rgba(25, 42, 86, 0.6) 0%, rgba(13, 27, 42, 0.8) 100%);
    border: 1px solid rgba(135, 206, 235, 0.2);
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 30px;
}

.section h2 {
    font-size: 1.8em;
    color: #87ceeb;
    margin-bottom: 20px;
}

.coverage-rule {
    background: rgba(135, 206, 235, 0.1);
    border: 1px solid #87ceeb;
    border-radius: 8px;
    padding: 15px;
    margin: 15px 0;
    color: #e0f3ff;
    font-style: italic;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    background: rgba(13, 27, 42, 0.4);
    border-radius: 8px;
    overflow: hidden;
}

th, td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid rgba(135, 206, 235, 0.2);
}

th {
    background: linear-gradient(135deg, rgba(135, 206, 235, 0.2) 0%, rgba(13, 27, 42, 0.6) 100%);
    font-weight: 600;
    color: #87ceeb;
    text-transform: uppercase;
    font-size: 0.9em;
}

td {
    color: #e0f3ff;
}

.progress-bar {
    width: 100px;
    height: 20px;
    background: rgba(135, 206, 235, 0.1);
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid rgba(135, 206, 235, 0.3);
}

.progress-fill {
    height: 100%;
    border-radius: 10px;
}

.link-btn {
    display: inline-block;
    background: linear-gradient(135deg, #4a9eff, #87ceeb);
    color: #0f1419;
    padding: 8px 16px;
    text-decoration: none;
    border-radius: 6px;
    font-size: 0.8em;
    font-weight: 600;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.link-btn:hover {
    background: linear-gradient(135deg, #87ceeb, #5fb3eb);
    transform: translateY(-1px);
}

.no-systems {
    text-align: center;
    padding: 40px;
    color: #00aa00;
    font-size: 1.2em;
    font-weight: bold;
}

.footer {
    text-align: center;
    padding: 30px;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 10px;
    margin-top: 40px;
}

.timestamp {
    color: #87ceeb;
    font-weight: 600;
    font-size: 0.9em;
}

.risk-badge {
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.8em;
    font-weight: bold;
    text-transform: uppercase;
}

.sortable {
    cursor: pointer;
    user-select: none;
    transition: all 0.3s ease;
}

.sortable:hover {
    background-color: rgba(135, 206, 235, 0.2);
}

.sortable::after {
    content: " ↕";
    opacity: 0.5;
}
