/* Splinter Cell Theme - Night Vision Green */
:root {
    --sc-green: #00ff41;
    --sc-dark-green: #00aa2b;
    --sc-bg: #0a0e0d;
    --sc-bg-lighter: #121716;
    --sc-border: #1a3a2a;
    --sc-text: #0dff7f;
    --sc-text-dim: #0aa860;
    --sc-warning: #ff6b00;
}

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

body {
    font-family: 'Courier New', monospace;
    background: var(--sc-bg);
    color: var(--sc-text);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* Scanline Effect */
.scanlines {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: repeating-linear-gradient(
        0deg,
        rgba(0, 255, 65, 0.03) 0px,
        rgba(0, 255, 65, 0.03) 1px,
        transparent 1px,
        transparent 2px
    );
    pointer-events: none;
    z-index: 9999;
    animation: scanline 8s linear infinite;
}

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

/* Noise Effect */
.noise {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' /%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.05'/%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 9998;
    opacity: 0.3;
}

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

/* Header */
.header {
    text-align: center;
    padding: 40px 20px;
    border: 2px solid var(--sc-border);
    background: linear-gradient(180deg, var(--sc-bg-lighter) 0%, var(--sc-bg) 100%);
    margin-bottom: 30px;
    box-shadow: 0 0 20px rgba(0, 255, 65, 0.2);
    position: relative;
}

.header-top {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
    font-size: 0.8em;
    color: var(--sc-warning);
    text-transform: uppercase;
}

.classified, .clearance {
    padding: 5px 15px;
    border: 1px solid var(--sc-warning);
    background: rgba(255, 107, 0, 0.1);
}

.header h1 {
    font-size: 3em;
    color: var(--sc-green);
    text-shadow: 0 0 10px var(--sc-green), 0 0 20px var(--sc-green);
    letter-spacing: 8px;
    margin: 20px 0;
}

/* Glitch Effect */
.glitch {
    position: relative;
}

.glitch:hover::before,
.glitch:hover::after {
    content: attr(data-text);
    position: absolute;
    left: 0;
    width: 100%;
}

.glitch:hover::before {
    animation: glitch-1 0.3s infinite;
    color: var(--sc-green);
    z-index: -1;
}

.glitch:hover::after {
    animation: glitch-2 0.3s infinite;
    color: var(--sc-dark-green);
    z-index: -2;
}

@keyframes glitch-1 {
    0%, 100% { transform: translate(0); }
    33% { transform: translate(-2px, 2px); }
    66% { transform: translate(2px, -2px); }
}

@keyframes glitch-2 {
    0%, 100% { transform: translate(0); }
    33% { transform: translate(2px, -2px); }
    66% { transform: translate(-2px, 2px); }
}

/* Night Vision Goggles Overlay */
.nvg-overlay {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 60px;
    margin-top: 30px;
}

.nvg-circle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 3px solid var(--sc-green);
    background: radial-gradient(circle, rgba(0, 255, 65, 0.1) 0%, transparent 70%);
    box-shadow:
        inset 0 0 20px rgba(0, 255, 65, 0.3),
        0 0 20px rgba(0, 255, 65, 0.3);
    position: relative;
}

.nvg-circle::before {
    content: '+';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 2em;
    color: var(--sc-green);
    opacity: 0.5;
}

/* Navigation */
.nav {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.nav-link {
    color: var(--sc-text);
    text-decoration: none;
    padding: 12px 24px;
    border: 2px solid var(--sc-border);
    background: var(--sc-bg-lighter);
    transition: all 0.3s ease;
    text-transform: uppercase;
    font-weight: bold;
    letter-spacing: 2px;
    position: relative;
    overflow: hidden;
}

.nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 255, 65, 0.2), transparent);
    transition: left 0.5s ease;
}

.nav-link:hover::before {
    left: 100%;
}

.nav-link:hover {
    border-color: var(--sc-green);
    box-shadow: 0 0 15px rgba(0, 255, 65, 0.4);
    color: var(--sc-green);
}

/* Sections */
.section {
    margin-bottom: 50px;
    padding: 30px;
    border: 1px solid var(--sc-border);
    background: var(--sc-bg-lighter);
    box-shadow: 0 0 10px rgba(0, 255, 65, 0.1);
}

.section-title {
    font-size: 1.8em;
    color: var(--sc-green);
    margin-bottom: 25px;
    text-transform: uppercase;
    letter-spacing: 3px;
    border-bottom: 2px solid var(--sc-border);
    padding-bottom: 10px;
}

.section-number {
    color: var(--sc-warning);
    margin-right: 15px;
}

/* Terminal Box */
.terminal-box {
    border: 2px solid var(--sc-dark-green);
    background: #000;
    margin-top: 20px;
}

.terminal-header {
    background: var(--sc-dark-green);
    color: #000;
    padding: 8px 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: bold;
}

.status-indicator {
    color: var(--sc-green);
    font-size: 1.5em;
}

.terminal-content {
    padding: 20px;
    font-size: 0.95em;
    line-height: 1.8;
}

.typing-effect {
    border-right: 2px solid var(--sc-green);
    animation: blink 1s infinite;
}

@keyframes blink {
    0%, 50% { border-color: var(--sc-green); }
    51%, 100% { border-color: transparent; }
}

/* Skills Grid */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.skill-card {
    padding: 20px;
    border: 1px solid var(--sc-border);
    background: var(--sc-bg);
    transition: all 0.3s ease;
}

.skill-card:hover {
    border-color: var(--sc-green);
    box-shadow: 0 0 15px rgba(0, 255, 65, 0.3);
    transform: translateY(-5px);
}

.skill-icon {
    font-size: 2em;
    color: var(--sc-green);
    margin-bottom: 10px;
}

.skill-card h3 {
    color: var(--sc-green);
    font-size: 1.1em;
    margin-bottom: 10px;
    letter-spacing: 1px;
}

.skill-card p {
    color: var(--sc-text-dim);
    font-size: 0.9em;
    margin-bottom: 15px;
}

.skill-bar {
    width: 100%;
    height: 8px;
    background: var(--sc-bg-lighter);
    border: 1px solid var(--sc-border);
    overflow: hidden;
}

.skill-progress {
    height: 100%;
    background: linear-gradient(90deg, var(--sc-dark-green), var(--sc-green));
    box-shadow: 0 0 10px var(--sc-green);
    animation: loadBar 2s ease-out;
}

@keyframes loadBar {
    from { width: 0; }
}

/* Mission List */
.mission-list {
    margin-top: 20px;
}

.mission-item {
    display: flex;
    gap: 20px;
    padding: 20px;
    margin-bottom: 15px;
    border-left: 4px solid var(--sc-border);
    background: var(--sc-bg);
    transition: all 0.3s ease;
}

.mission-item:hover {
    border-left-color: var(--sc-green);
    background: var(--sc-bg-lighter);
}

.mission-status {
    padding: 5px 15px;
    border: 1px solid;
    font-size: 0.8em;
    font-weight: bold;
    text-align: center;
    height: fit-content;
    white-space: nowrap;
}

.mission-status.success {
    border-color: var(--sc-green);
    color: var(--sc-green);
    background: rgba(0, 255, 65, 0.1);
}

.mission-status.active {
    border-color: var(--sc-warning);
    color: var(--sc-warning);
    background: rgba(255, 107, 0, 0.1);
    animation: pulse 2s infinite;
}

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

.mission-details h3 {
    color: var(--sc-green);
    margin-bottom: 8px;
}

.mission-details p {
    color: var(--sc-text-dim);
    margin-bottom: 8px;
}

.mission-date {
    font-size: 0.85em;
    color: var(--sc-text-dim);
}

/* Contact Box */
.contact-box {
    margin-top: 20px;
}

.contact-warning {
    background: rgba(255, 107, 0, 0.1);
    border: 2px solid var(--sc-warning);
    color: var(--sc-warning);
    padding: 15px;
    margin-bottom: 25px;
    text-align: center;
    font-weight: bold;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-item {
    display: flex;
    justify-content: space-between;
    padding: 15px;
    border: 1px solid var(--sc-border);
    background: var(--sc-bg);
}

.contact-label {
    color: var(--sc-green);
    font-weight: bold;
}

.contact-value {
    color: var(--sc-text);
}

/* Footer */
.footer {
    text-align: center;
    padding: 30px;
    border-top: 2px solid var(--sc-border);
    margin-top: 50px;
    color: var(--sc-text-dim);
}

.footer-content p {
    margin: 5px 0;
}

.timestamp {
    color: var(--sc-green);
    font-weight: bold;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header h1 {
        font-size: 2em;
        letter-spacing: 4px;
    }

    .nvg-overlay {
        gap: 30px;
    }

    .nvg-circle {
        width: 60px;
        height: 60px;
    }

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

    .nav-link {
        width: 100%;
        text-align: center;
    }

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

    .mission-item {
        flex-direction: column;
    }

    .contact-item {
        flex-direction: column;
        gap: 10px;
    }
}
