:root {
    --bg: #050505;
    --panel: #0a0f14;
    --text: #e0f7fa;
    --muted: #8892b0;
    --accent: #00ff9d;
    --neon1: #bd00ff;
    --neon2: #00e1ff;
    --neon3: #ff4da6;
}

* {
    box-sizing: border-box
}

html,
body {
    height: 100%;
    margin: 0;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, "Roboto Mono", "Courier New", monospace;
    background: linear-gradient(180deg, #000000 0%, var(--bg) 100%);
    color: var(--text);
    -webkit-font-smoothing: antialiased
}

.container {
    max-width: 1100px;
    margin: 36px auto;
    padding: 20px
}

.header {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 60px;
}

.nav-toggle {
    background: none;
    border: 1px solid var(--accent);
    color: var(--accent);
    font-size: 24px;
    padding: 4px 8px;
    border-radius: 6px;
    cursor: pointer;
    margin-left: auto;
    display: none;
}

.nav {
    display: flex;
    gap: 10px;
}

.nav a {
    color: var(--muted);
    text-decoration: none;
    padding: 8px;
    border-radius: 6px;
    border: 1px solid transparent;
    transition: color 0.3s;
}

.nav a:hover {
    color: var(--accent);
    border-color: rgba(0, 255, 157, 0.1);
    background: rgba(0, 255, 157, 0.05);
}

.gaming-nav-link {
    color: var(--neon1);
    text-decoration: none;
    padding: 8px 12px;
    border-radius: 6px;
    border: 1px solid var(--neon1);
    margin-left: auto;
    transition: all 0.3s ease;
    box-shadow: 0 0 8px rgba(189, 0, 255, 0.2);
}

.gaming-nav-link:hover {
    color: #fff;
    background: linear-gradient(90deg, rgba(189, 0, 255, 0.2), rgba(0, 225, 255, 0.2));
    border-color: #fff;
    box-shadow: 0 0 15px rgba(189, 0, 255, 0.6);
    transform: scale(1.05);
}

.nav.is-open {
    flex-direction: column;
    width: 100%;
    text-align: center;
    gap: 12px;
    display: flex !important;
    margin-top: 12px;
}

.card {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01));
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 16px;
    border-radius: 10px;
    margin-top: 14px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.8);
}

.avatar-container {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.avatar {
    width: 160px;
    height: 160px;
    object-fit: cover;
    border-radius: 50%;
    border: 3px solid var(--accent);
    animation: pulse-glow 3s infinite;
    transition: transform 0.3s ease;
}

.avatar:hover {
    transform: scale(1.05);
    cursor: pointer;
}

@keyframes pulse-glow {
    0% {
        box-shadow: 0 0 10px rgba(0, 255, 157, 0.2);
    }

    50% {
        box-shadow: 0 0 25px rgba(0, 255, 157, 0.5);
    }

    100% {
        box-shadow: 0 0 10px rgba(0, 255, 157, 0.2);
    }
}

.h1 {
    font-size: 28px;
    color: var(--accent);
    margin: 0;
    text-shadow: 0 0 10px rgba(0, 255, 157, 0.3);
}

.kv {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px
}

.kv .chip {
    background: rgba(255, 255, 255, 0.05);
    padding: 6px 8px;
    border-radius: 6px;
    color: var(--muted);
    font-size: 13px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.terminal {
    background: #020808;
    border-radius: 8px;
    padding: 14px;
    font-size: 14px;
    line-height: 1.6;
    color: #bdf7b6;
    border: 1px solid #1a2e1a;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 16px;
    margin-top: 12px
}

.project {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.00));
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 12px;
    border-radius: 8px;
    transition: transform 0.2s;
}

.project:hover {
    transform: translateY(-2px);
    border-color: var(--accent);
}

.neon-btn {
    display: inline-block;
    padding: 8px 12px;
    border-radius: 8px;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
    background: rgba(255, 255, 255, 0.03);
    color: var(--text);
    transition: all 0.2s;
}

.neon-btn:hover {
    transform: translateY(-2px);
    border-color: var(--accent);
    color: var(--accent);
    box-shadow: 0 0 15px rgba(0, 255, 157, 0.2);
}

.footer {
    margin-top: 20px;
    color: #6b8b6b;
    font-size: 13px;
    display: flex;
    justify-content: space-between;
    align-items: center
}

.gaming-hero {
    padding: 18px;
    border-radius: 10px;
    background: linear-gradient(90deg, rgba(189, 0, 255, 0.08), rgba(0, 225, 255, 0.06));
    border: 1px solid rgba(189, 0, 255, 0.2);
    box-shadow: 0 0 30px rgba(189, 0, 255, 0.1);
}

.neon-title {
    font-size: 20px;
    color: var(--neon1);
    text-shadow: 0 0 10px rgba(189, 0, 255, 0.6);
}

.gaming-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 12px;
    margin-top: 12px
}

.gaming-card {
    padding: 12px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.thumbnail {
    height: 140px;
    background: linear-gradient(135deg, var(--neon1), var(--neon2));
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #001;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

@media(max-width:880px) {
    .nav-toggle {
        display: block;
    }

    .header {
        flex-wrap: wrap;
    }

    .nav {
        display: none;
        margin-left: 0;
    }

    .gaming-nav-link {
        display: none;
    }

    .container {
        margin: 18px;
        padding: 12px;
    }
}