:root {
    --primary-color: #00f3ff; /* Cyan Neon */
    --secondary-color: #bc13fe; /* Purple Neon */
    --bg-color: #050510; /* Dark Background */
    --text-color: #ffffff;
    --panel-bg: rgba(20, 20, 35, 0.8);
    --font-main: 'Orbitron', sans-serif; /* Sci-fi font */
}

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

body {
    font-family: var(--font-main);
    background-color: var(--bg-color);
    color: var(--text-color);
    background-image: radial-gradient(circle at 50% 50%, #1a1a2e 0%, #000000 100%);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
}

/* HUD Overlay Effect */
body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.25) 50%), linear-gradient(90deg, rgba(255, 0, 0, 0.06), rgba(0, 255, 0, 0.02), rgba(0, 0, 255, 0.06));
    z-index: 2;
    background-size: 100% 2px, 3px 100%;
    pointer-events: none;
}

header {
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px solid var(--primary-color);
    box-shadow: 0 0 15px var(--primary-color);
    background: rgba(0, 0, 0, 0.8);
    z-index: 10;
}

.logo {
    font-size: 2rem;
    font-weight: bold;
    color: var(--primary-color);
    text-shadow: 0 0 10px var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 2px;
}

nav a {
    color: var(--text-color);
    text-decoration: none;
    margin-left: 20px;
    font-size: 1.1rem;
    transition: color 0.3s;
}

nav a:hover {
    color: var(--secondary-color);
    text-shadow: 0 0 8px var(--secondary-color);
}

main {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px;
    position: relative;
    z-index: 5;
}

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

/* Hero Section */
.hero {
    text-align: center;
    animation: fadeIn 1s ease-in-out;
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 20px;
    text-transform: uppercase;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 10px rgba(0, 243, 255, 0.5));
}

.hero p {
    font-size: 1.5rem;
    margin-bottom: 40px;
    color: #ccc;
}

.btn {
    display: inline-block;
    padding: 15px 40px;
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    font-size: 1.2rem;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    box-shadow: 0 0 10px var(--primary-color);
    font-family: var(--font-main);
}

.btn:hover {
    background: var(--primary-color);
    color: #000;
    box-shadow: 0 0 20px var(--primary-color);
}

/* Login & MFA Forms */
.login-container, .mfa-container {
    background: var(--panel-bg);
    padding: 40px;
    border: 1px solid var(--secondary-color);
    box-shadow: 0 0 20px rgba(188, 19, 254, 0.3);
    width: 100%;
    max-width: 400px;
    text-align: center;
    position: relative;
}

/* Corner decorations */
.login-container::before, .login-container::after,
.mfa-container::before, .mfa-container::after {
    content: "";
    position: absolute;
    width: 20px;
    height: 20px;
    border: 2px solid var(--primary-color);
    transition: all 0.3s;
}

.login-container::before { top: -2px; left: -2px; border-right: none; border-bottom: none; }
.login-container::after { bottom: -2px; right: -2px; border-left: none; border-top: none; }

.form-group {
    margin-bottom: 20px;
    text-align: left;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--primary-color);
    font-size: 0.9rem;
}

.form-group input {
    width: 100%;
    padding: 12px;
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid #333;
    color: #fff;
    font-family: var(--font-main);
    font-size: 1rem;
}

.form-group input:focus {
    outline: none;
    border-color: var(--secondary-color);
    box-shadow: 0 0 8px rgba(188, 19, 254, 0.5);
}

.error-msg {
    color: #ff3333;
    margin-bottom: 15px;
    text-shadow: 0 0 5px #ff0000;
}

/* Dashboard */
.dashboard-container {
    width: 100%;
    max-width: 1000px;
    background: var(--panel-bg);
    padding: 30px;
    border: 1px solid var(--primary-color);
}

.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    border-bottom: 1px solid #333;
    padding-bottom: 15px;
}

.flag-box {
    background: rgba(0, 255, 0, 0.1);
    border: 1px solid #00ff00;
    padding: 20px;
    margin-top: 30px;
    text-align: center;
    font-size: 1.5rem;
    color: #00ff00;
    text-shadow: 0 0 10px #00ff00;
    animation: pulse 2s infinite;
}

/* Images */
.game-img {
    width: 100%;
    max-width: 300px;
    height: auto;
    border: 2px solid var(--secondary-color);
    box-shadow: 0 0 15px var(--secondary-color);
    margin: 20px;
    opacity: 0.8;
    transition: opacity 0.3s;
}

.game-img:hover {
    opacity: 1;
}

.gallery {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 40px;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes pulse {
    0% { box-shadow: 0 0 10px rgba(0, 255, 0, 0.2); }
    50% { box-shadow: 0 0 20px rgba(0, 255, 0, 0.5); }
    100% { box-shadow: 0 0 10px rgba(0, 255, 0, 0.2); }
}

/* Responsive */
@media (max-width: 768px) {
    .hero h1 { font-size: 2.5rem; }
    .gallery { flex-direction: column; align-items: center; }
}
