/* Basic Reset & Global Styles */
:root {
    --bg-color: #000000;
    --text-color: #e0e0e0;
    --highlight-color: #00ff00; /* Neon Green */
    --glow-color: #00ff00;
    --font-primary: 'Orbitron', sans-serif;
    --font-secondary: 'Roboto Mono', monospace;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-secondary);
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden; /* Prevent horizontal scroll from animations */
    position: relative;
}

.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px;
    position: relative;
    z-index: 1;
}

/* Header */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    border-bottom: 1px solid var(--highlight-color);
    margin-bottom: 40px;
    position: sticky;
    top: 0;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 100;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.site-title {
    font-family: var(--font-primary);
    font-size: 2.5em;
    color: var(--highlight-color);
    text-shadow: 0 0 10px var(--glow-color), 0 0 20px var(--glow-color);
    letter-spacing: 3px;
}

.language-switcher {
    display: flex;
    gap: 10px;
}

.lang-button {
    background: none;
    border: 1px solid var(--highlight-color);
    color: var(--highlight-color);
    padding: 8px 15px;
    font-family: var(--font-secondary);
    font-size: 0.9em;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
    text-transform: uppercase;
    position: relative;
    overflow: hidden;
}

.lang-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 255, 0, 0.3), transparent);
    transition: all 0.5s ease;
}

.lang-button:hover::before {
    left: 100%;
}

.lang-button:hover {
    background-color: rgba(0, 255, 0, 0.1);
    box-shadow: 0 0 15px var(--glow-color);
    text-shadow: 0 0 5px var(--glow-color);
}

.lang-button.active {
    background-color: var(--highlight-color);
    color: var(--bg-color);
    box-shadow: 0 0 20px var(--glow-color);
    text-shadow: 0 0 5px var(--bg-color);
}

/* Main Content Sections */
.section {
    background-color: rgba(10, 10, 10, 0.7);
    border: 1px solid rgba(0, 255, 0, 0.3);
    padding: 30px;
    margin-bottom: 50px;
    border-radius: 8px;
    box-shadow: 0 0 20px rgba(0, 255, 0, 0.2);
    position: relative;
    overflow: hidden; /* For internal animations */
}

.section::before {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    border: 1px solid var(--glow-color);
    border-radius: 10px;
    opacity: 0;
    animation: pulse-border 2s infinite alternate;
    z-index: -1;
}

@keyframes pulse-border {
    0% { opacity: 0; transform: scale(0.98); }
    100% { opacity: 0.3; transform: scale(1); }
}

.section h2 {
    font-family: var(--font-primary);
    font-size: 2em;
    color: var(--highlight-color);
    margin-bottom: 20px;
    text-shadow: 0 0 8px var(--glow-color);
    border-bottom: 2px solid var(--highlight-color);
    padding-bottom: 10px;
    display: inline-block;
    position: relative;
}

.section h2::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 0;
    height: 2px;
    background-color: var(--glow-color);
    animation: underline-grow 1.5s forwards;
}

@keyframes underline-grow {
    to { width: 100%; }
}

.section h3 {
    font-family: var(--font-primary);
    font-size: 1.5em;
    color: var(--text-color);
    margin-top: 30px;
    margin-bottom: 15px;
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.1);
}

.section p {
    margin-bottom: 15px;
    font-size: 1em;
    color: var(--text-color);
}

.section ul {
    list-style: none;
    padding-left: 20px;
    margin-bottom: 15px;
}

.section ul li {
    position: relative;
    margin-bottom: 8px;
    padding-left: 20px;
    color: var(--text-color);
}

.section ul li::before {
    content: '»'; /* Futuristic bullet point */
    color: var(--highlight-color);
    position: absolute;
    left: 0;
    font-weight: bold;
    font-size: 1.2em;
    text-shadow: 0 0 5px var(--glow-color);
}

.last-updated {
    font-size: 0.85em;
    color: rgba(0, 255, 0, 0.7);
    text-align: right;
    margin-top: 20px;
}

/* Footer */
.footer {
    text-align: center;
    padding: 20px 0;
    border-top: 1px solid var(--highlight-color);
    margin-top: 40px;
    font-size: 0.8em;
    color: rgba(0, 255, 0, 0.5);
}

/* Responsive Design */
@media (max-width: 768px) {
    .site-title {
        font-size: 2em;
    }
    .lang-switcher {
        gap: 5px;
    }
    .lang-button {
        padding: 6px 10px;
        font-size: 0.8em;
    }
    .section {
        padding: 20px;
        margin-bottom: 30px;
    }
    .section h2 {
        font-size: 1.8em;
    }
    .section h3 {
        font-size: 1.3em;
    }
}

@media (max-width: 480px) {
    .header {
        flex-direction: column;
        gap: 15px;
    }
    .site-title {
        font-size: 1.8em;
    }
    .lang-switcher {
        width: 100%;
        justify-content: center;
    }
    .lang-button {
        flex: 1;
    }
    .section {
        padding: 15px;
    }
    .section h2 {
        font-size: 1.5em;
    }
    .section h3 {
        font-size: 1.1em;
    }
}

/* Background Grid/Matrix Effect (Optional, can be complex with pure CSS) */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        linear-gradient(to right, rgba(0, 255, 0, 0.05) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(0, 255, 0, 0.05) 1px, transparent 1px);
    background-size: 20px 20px;
    z-index: 0;
    opacity: 0.2;
    animation: background-pulse 10s infinite alternate;
}

@keyframes background-pulse {
    0% { opacity: 0.1; }
    100% { opacity: 0.2; }
}
