:root {
    --bg-dark: #050510;
    --bg-card: #0f0f25;
    --neon-cyan: #00f3ff;
    --neon-pink: #ff00ff;
    --text-main: #e0e0e0;
    --text-muted: #8a8a9b;
    --font-heading: 'Outfit', sans-serif;
    --font-mono: 'Space Mono', monospace;
}

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

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-heading);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    background: rgba(5, 5, 16, 0.9);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.logo .dot {
    color: var(--neon-cyan);
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 2rem;
}

.nav-links a {
    color: var(--text-main);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--neon-cyan);
}



/* Game Area */
.game-wrapper {
    display: flex;
    justify-content: center;
    padding: 2rem 1rem;
}

.game-container {
    position: relative;
    width: 800px;
    height: 600px;
    background: #000;
    border: 2px solid var(--bg-card);
    border-radius: 12px;
    box-shadow: 0 0 30px rgba(0, 243, 255, 0.1);
    overflow: hidden;
}

canvas {
    display: block;
    width: 100%;
    height: 100%;
}

.ui-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.score-board {
    margin-top: 2rem;
    font-family: var(--font-mono);
    font-size: 2rem;
    font-weight: 700;
    text-shadow: 0 0 10px var(--neon-cyan);
    display: flex;
    justify-content: center;
}

.sc-label {
    font-size: 0.8rem;
    color: var(--neon-cyan);
    display: block;
    text-align: center;
    letter-spacing: 2px;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(5, 5, 16, 0.85);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    pointer-events: auto;
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
}

.overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.overlay h1,
.overlay h2 {
    font-size: 3rem;
    text-transform: uppercase;
    letter-spacing: 5px;
    margin-bottom: 0.5rem;
    background: linear-gradient(45deg, var(--neon-cyan), var(--neon-pink));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.overlay p {
    font-family: var(--font-mono);
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.btn-primary {
    background: transparent;
    border: 2px solid var(--neon-cyan);
    color: var(--neon-cyan);
    padding: 0.8rem 2.5rem;
    font-family: var(--font-mono);
    font-size: 1rem;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.2s;
}

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

/* Content Sections */
.content-section {
    padding: 3rem 1rem;
    background: var(--bg-card);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.content-wrapper {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    gap: 3rem;
}

.article-main {
    flex: 2;
}

.sidebar {
    flex: 1;
}

.article-main h1 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.article-main h2 {
    color: var(--neon-cyan);
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.article-main h3 {
    color: var(--neon-pink);
    margin-top: 1.5rem;
}

.article-main p {
    margin-bottom: 1rem;
    color: #bdbdcc;
}

.article-main li {
    margin-bottom: 0.5rem;
    margin-left: 1.5rem;
    color: #bdbdcc;
}

.lead {
    font-size: 1.2rem;
    color: var(--text-main) !important;
}

/* Widget */
.widget {
    margin-top: 2rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
}

.widget h3 {
    margin-bottom: 1rem;
    font-size: 1.1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 0.5rem;
}

.update-list {
    list-style: none;
}

.update-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 0.8rem;
    font-size: 0.9rem;
}

.tag {
    font-size: 0.7rem;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 4px;
    font-family: var(--font-mono);
}

.tag.new {
    background: var(--neon-cyan);
    color: #000;
}

.tag.update {
    background: #ffe600;
    color: #000;
}

.tag.fix {
    background: var(--neon-pink);
    color: #fff;
}

/* Footer */
.site-footer {
    padding: 3rem 0;
    text-align: center;
    background: #020205;
    color: var(--text-muted);
}

.footer-brand {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.footer-links {
    margin-bottom: 1.5rem;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    margin: 0 1rem;
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: var(--neon-cyan);
}

.copyright {
    font-size: 0.8rem;
    opacity: 0.5;
}

/* Contact Form */
.contact-form {
    margin-top: 1.5rem;
    max-width: 600px;
}

.form-group {
    margin-bottom: 1rem;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-main);
    font-family: var(--font-heading);
    border-radius: 4px;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--neon-cyan);
    box-shadow: 0 0 10px rgba(0, 243, 255, 0.1);
}

/* Mobile Responsiveness */
@media (max-width: 850px) {
    .content-wrapper {
        flex-direction: column;
    }

    .game-container {
        width: 100%;
        height: 500px;
    }
}