body {
    background-color: #020508;
    color: #ffffff;
    font-family: 'Segoe UI', sans-serif;
    margin: 0;
    padding: 0;
    min-height: 100vh;
    direction: ltr;
}

.main-header {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1.5rem 3rem;
    background: #0a0d12;
    border-bottom: 1px solid #1c262f;
    position: relative;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 15px;
    position: absolute;
    left: 3rem;
}

.hex-icon {
    width: 25px;
    height: 25px;
    border: 2px solid #40ff40;
    border-radius: 50%;
    background-color: #40ff40;
    color: #000000;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 12px;
}

.hex-icon:hover {
    animation: elastic-spin 2s ease;
    box-shadow: 0 0 10px #40ff40, 0 0 20px rgba(64, 255, 64, 0.5);



}

@keyframes elastic-spin {
    0% {
        transform: rotate(0deg);
    }

    50% {
        transform: rotate(180deg);
    }

    100% {
        transform: rotate(0deg);
    }
}

.logo {
    color: #40ff40;
    letter-spacing: 5px;
    font-size: 1.5rem;
    margin: 0;
    font-weight: 600;
}

.header-right {
    position: absolute;
    right: 1rem;

}

.status-indicator {
    border: 1px solid #40ff40;
    color: #40ff40;
    padding: 4px 15px;
    font-size: 0.7rem;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(64, 255, 64, 0.05);
}

.status-indicator:hover {
    box-shadow: 0 0 10px #40ff40, 0 0 20px rgba(64, 255, 64, 0.5);

}

.pulse-dot {
    width: 8px;
    height: 8px;
    background: #40ff40;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
        box-shadow: 0 0 5px #40ff40;
    }

    50% {
        opacity: 0.3;
        box-shadow: 0 0 2px #40ff40;
    }
}

.hero-section {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 3rem 3rem;
    background: #020508;
}

.hero-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 4rem;
    background: rgba(10, 13, 18, 0.6);
    border: 1px solid #1c262f;
    border-radius: 12px;
    padding: 3rem 4rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(10px);
    width: 100%;
    max-width: 1400px;
}

.radar-circle {
    width: 240px;
    height: 240px;
    border: 2px solid #1a4d1a;
    border-radius: 50%;
    position: relative;
    overflow: hidden;
    background: radial-gradient(circle, #0d2a0d 0%, transparent 75%);
}

.radar-grid-h {
    top: 50%;
    left: 0;
    width: 100%;
    height: 1px;
    position: absolute;
    background: rgba(64, 255, 64, 0.15);
}

.radar-grid-v {
    top: 0;
    left: 50%;
    width: 1px;
    height: 100%;
    position: absolute;
    background: rgba(64, 255, 64, 0.15);
}

.radar-inner-ring {
    position: absolute;
    width: 50%;
    height: 50%;
    border: 1px solid rgba(64, 255, 64, 0.3);
    border-radius: 50%;
    top: 25%;
    left: 25%;
}

.sweep {
    position: absolute;
    width: 100%;
    height: 100%;
    background: conic-gradient(from 0deg, transparent, rgba(64, 255, 64, 0.3));
    animation: rotate 4s linear infinite;
}

.blip {
    position: absolute;
    width: 6px;
    height: 6px;
    background: #40ff40;
    border-radius: 50%;
    box-shadow: 0 0 10px #40ff40, 0 0 20px rgba(64, 255, 64, 0.5);
    animation: fade 2s infinite;
}

.p1 {
    top: 30%;
    left: 40%;
}

.p2 {
    top: 60%;
    left: 70%;
    animation-delay: 1s;
}

.p3 {
    top: 45%;
    left: 60%;
    animation-delay: 0.5s;
}

.mission-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    padding: 2rem 3rem;
    background: #020508;
}

.card {
    background: #0a0d12;
    border: 1px solid #1c262f;
    border-left: 3px solid #5b6a7a;
    border-radius: 8px;
    padding: 20px;
    transition: transform 0.3s, box-shadow 0.3s;
    min-height: 140px;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(64, 255, 64, 0.1);
    border-bottom: 2px solid #40ff40;
}

.card:first-child {
    animation: fadeIn 0.5s ease-in;
}

.card:nth-child(2) {
    animation: fadeIn 0.7s ease-in;
}

.card:nth-child(3) {
    animation: fadeIn 0.9s ease-in;
}

.card:last-child {
    animation: fadeIn 1.1s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.card.critical {
    border-left-color: #ff3b3b;
}

.card.high {
    border-left-color: #ffb800;
}

.card.success {
    border-left-color: #40ff40;
}

.card.targeted {
    border-left-color: #40ff40;
}

.card-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.status-tag {
    font-size: 0.65rem;
    font-weight: bold;
    padding: 3px 8px;
    border-radius: 3px;
    letter-spacing: 1px;
}

.card.critical .status-tag {
    background: rgba(255, 59, 59, 0.2);
    color: #ff3b3b;
}

.card.high .status-tag {
    background: rgba(255, 184, 0, 0.2);
    color: #ffb800;
}

.card.success .status-tag {
    background: rgba(64, 255, 64, 0.2);
    color: #40ff40;
}

.card.success {
    border-left-color: #40ff40;
}

.card.targeted .status-tag {
    background: rgba(64, 255, 64, 0.2);
    color: #40ff40;
}

.sub-text {
    font-size: 0.7rem;
    color: #6b7280;
}

.mission-title {
    font-size: 0.9rem;
    margin: 8px 0;
    color: #fff;
}

.mission-detail {
    font-size: 0.7rem;
    color: #8b92a0;
    margin: 8px 0;
    line-height: 1.4;
}

.progress-container {
    height: 4px;
    background: #1a2029;
    margin-top: 1rem;
    width: 100%;
}

.progress-bar {
    height: 4px;
    background: #40ff40;
    box-shadow: 0 0 10px #40ff40;
    border-radius: 2px;
    flex: 1;
}

.pct {
    color: #8b92a0;
    min-width: 35px;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@keyframes fade {
    50% {
        opacity: 0;
    }
}

@keyframes blink {
    50% {
        opacity: 0.2;
    }
}

.threat-footer {
    margin: 25px 3rem 80px 3rem;
    background: rgba(255, 48, 48, 0.15);
    border: 2px solid #ff3030;
    border-radius: 8px;
    padding: 18px;
    text-align: center;
}

.threat-content {
    color: #ff3030;
    font-weight: bold;
    letter-spacing: 5px;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.threat-dot {
    width: 8px;
    height: 8px;
    background: #ff3030;
    border-radius: 50%;
    animation: blink 1s infinite;
}

.bottom-nav {
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 20px 3rem;
    background: #020508;
    border-top: 1px solid #1c262f;

    bottom: 0;
    left: 0;
    right: 0;
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    color: #6b7280;
    cursor: pointer;
    transition: color 0.3s;
    padding-bottom: 5px;
    border-bottom: 3px solid transparent;
    transition: all 0.3s;

}

.main {
    color: #40ff40;
    border-bottom: 2px solid #40ff40;

}

.main:hover {
    animation: bounce2 2s ease;
}




.nav-item:hover {
    color: #40ff40;
    animation: bounce2 2s ease;
}

@keyframes bounce2 {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-10px);
    }

    60% {
        transform: translateY(-5px);
    }
}

.nav-item:active {
    border-bottom-color: #40ff40;
}

.nav-icon {
    width: 24px;
    height: 24px;
}

.nav-item span {
    font-size: 0.7rem;
}

.action-bar {
    display: flex;
    justify-content: flex-start;
    gap: 20px;
    padding: 25px 3rem;
    background: #020508;
}

.nav-bth {
    background: transparent;
    border: 1px solid #2a3540;
    color: #8b92a0;
    padding: 10px 22px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 0.75rem;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 8px;
}



.nav-bth:hover {
    border-color: #40ff40;
    color: #40ff40;
    background: rgba(64, 255, 64, 0.05);
}


.nav-bth:active {
    transform: scale(0.95);
    background: rgba(64, 255, 64, 0.1);
}

.stats-display {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.stat-box {
    text-align: left;
}

.stat-num {
    display: block;
    font-size: 3rem;
    color: #40ff40;
    font-weight: bold;
    line-height: 1;
    letter-spacing: 2px;
}

.stat-desc {
    display: block;
    font-size: 0.65rem;
    color: #6b7280;
    letter-spacing: 2px;
    margin-top: 5px;
}



@media (max-width: 768px) {
    .hero-section {
        flex-direction: column;
        gap: 2rem;
        padding: 2rem 1.5rem;
    }

    .mission-grid {
        grid-template-columns: 1fr;
        padding: 1.5rem;
    }

    .action-bar {
        flex-direction: column;
        padding: 1.5rem;
    }

    .logo {
        font-size: 2rem;
    }

    .stat-num {
        font-size: 3.5rem;
    }

    .mission-title {
        font-size: 1.1rem;
    }

    .radar-circle {
        width: 280px;
        height: 280px;
    }

    .main-header {
        flex-direction: column;
        gap: 1rem;
        padding: 1rem;
    }

    .bottom-nav {
        padding: 15px 1rem;
    }

    .nav-item span {
        font-size: 0.8rem;
    }
}
