* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Share Tech Mono', 'Courier New', monospace;
    background: linear-gradient(135deg, #0a0f1e 0%, #0a1a2e 50%, #0a0f1e 100%);
    color: #e0e0e0;
    min-height: 100vh;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(0, 255, 136, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 255, 136, 0.03) 1px, transparent 1px);
    background-size: 40px 40px;
    pointer-events: none;
    z-index: 0;
}

header {
    background: rgba(0, 0, 0, 0.9);
    padding: 1rem 2rem;
    border-bottom: 3px solid #00ff88;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    position: relative;
    z-index: 10;
    backdrop-filter: blur(10px);
}

.logo {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo-icon {
    font-family: 'Press Start 2P', monospace;
    font-size: 1rem;
    color: #00ff88;
    background: rgba(0,255,136,0.1);
    padding: 0.3rem 0.6rem;
    border-radius: 4px;
    border: 1px solid #00ff88;
}

header h1 {
    font-family: 'Press Start 2P', monospace;
    font-size: 1.2rem;
    color: #00ff88;
    text-shadow: 0 0 10px rgba(0,255,136,0.5);
    letter-spacing: 2px;
}

nav a {
    color: #ccc;
    text-decoration: none;
    margin-left: 2rem;
    padding: 0.5rem 1rem;
    transition: 0.3s;
    font-weight: bold;
    letter-spacing: 1px;
}

nav a:hover, nav a.active {
    color: #00ff88;
    background: rgba(0, 255, 136, 0.1);
    border-radius: 4px;
    text-shadow: 0 0 5px #00ff88;
}

main {
    max-width: 1400px;
    margin: 2rem auto;
    padding: 0 2rem;
    position: relative;
    z-index: 1;
}

.hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.game-preview {
    background: linear-gradient(135deg, #11161f, #0d1219);
    border-radius: 20px;
    padding: 1.5rem;
    border: 1px solid #2a3a4a;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.game-screen {
    background: #000000;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 1.5rem;
    border: 2px solid #00ff88;
    box-shadow: 0 0 20px rgba(0,255,136,0.3);
}

.preview-image {
    width: 100%;
    height: auto;
    display: block;
}

.download-card {
    background: linear-gradient(135deg, #0a1a2a, #050a10);
    border-radius: 16px;
    padding: 1.5rem;
    text-align: center;
    border: 1px solid #2a3a4a;
    transition: transform 0.3s;
}

.download-card:hover {
    transform: translateY(-5px);
    border-color: #00ff88;
}

.download-icon {
    font-family: 'Press Start 2P', monospace;
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: #00ff88;
}

.download-card h3 {
    color: #00ff88;
    margin-bottom: 0.5rem;
}

.btn {
    display: inline-block;
    background: linear-gradient(135deg, #00ff88, #00cc6a);
    color: #0a0f1e;
    padding: 14px 28px;
    text-decoration: none;
    border-radius: 8px;
    font-weight: bold;
    margin: 1rem 0;
    transition: 0.3s;
    font-family: 'Press Start 2P', monospace;
    font-size: 0.8rem;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0,255,136,0.3);
}

.btn:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(0,255,136,0.5);
}

.note {
    font-size: 0.7rem;
    color: #888;
}

.instructions {
    background: linear-gradient(135deg, #11161f, #0d1219);
    border-radius: 20px;
    padding: 1.5rem;
    border: 1px solid #2a3a4a;
}

.instruction-header {
    margin-bottom: 1.5rem;
    border-bottom: 2px solid #00ff88;
    padding-bottom: 0.5rem;
}

.instructions h2, .instructions h3 {
    color: #00ff88;
    margin-bottom: 1rem;
}

.controls-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.control-group {
    background: rgba(0,0,0,0.3);
    padding: 1rem;
    border-radius: 8px;
    text-align: center;
}

.keys kbd {
    background: #000;
    border: 1px solid #00ff88;
    padding: 0.3rem 0.6rem;
    border-radius: 4px;
    font-family: monospace;
    font-weight: bold;
    color: #00ff88;
    margin: 0 2px;
    display: inline-block;
}

.game-mechanics {
    margin: 1.5rem 0;
}

.mechanics-list {
    list-style: none;
    padding: 0;
}

.mechanics-list li {
    padding: 0.5rem 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    border-bottom: 1px solid #2a3a4a;
}

.setup-instructions {
    margin: 1.5rem 0;
    background: rgba(0,0,0,0.3);
    border-radius: 12px;
    padding: 1rem;
}

.setup-steps {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.step {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.step-number {
    background: #00ff88;
    color: #0a0f1e;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-weight: bold;
    font-size: 0.9rem;
}

.step p {
    margin: 0;
}

.step code {
    background: #000;
    padding: 0.2rem 0.4rem;
    border-radius: 4px;
    font-family: monospace;
    color: #00ff88;
}

.feature-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
}

.badge {
    background: rgba(0, 255, 136, 0.1);
    border: 1px solid #00ff88;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: bold;
}

.system-requirements {
    margin-top: 2rem;
    background: rgba(0,0,0,0.3);
    border-radius: 16px;
    padding: 1.5rem;
    text-align: center;
}

.system-requirements h3 {
    color: #00ff88;
    margin-bottom: 1rem;
}

.req-grid {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.req-item {
    background: rgba(0,255,136,0.1);
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-weight: bold;
}

.team-hero {
    text-align: center;
    margin-bottom: 3rem;
}

.glitch-text {
    font-family: 'Press Start 2P', monospace;
    font-size: 1.5rem;
    color: #00ff88;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 0 #ff3366;
}

.team-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.team-card {
    background: linear-gradient(135deg, #11161f, #0d1219);
    border-radius: 20px;
    padding: 1.5rem;
    border: 1px solid #2a3a4a;
    transition: all 0.3s;
}

.team-card:hover {
    transform: translateY(-10px);
    border-color: #00ff88;
    box-shadow: 0 10px 30px rgba(0,255,136,0.2);
}

.team-card.lead {
    border-color: #ffaa00;
    box-shadow: 0 0 20px rgba(255,170,0,0.3);
}

.card-header {
    text-align: center;
    margin-bottom: 1rem;
}

.avatar {
    font-family: 'Press Start 2P', monospace;
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: #00ff88;
}

.role-badge {
    display: inline-block;
    background: rgba(0,255,136,0.2);
    padding: 0.2rem 0.8rem;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: bold;
    margin-top: 0.5rem;
}

.role-badge.lead {
    background: rgba(255,170,0,0.3);
    color: #ffaa00;
}

.contribution-list {
    margin: 1rem 0;
    padding: 1rem;
    background: rgba(0,0,0,0.3);
    border-radius: 8px;
}

.contribution-list h4 {
    color: #00ff88;
    margin-bottom: 0.5rem;
}

.contribution-list ul {
    list-style: none;
    padding-left: 0;
}

.contribution-list li {
    padding: 0.2rem 0;
    font-size: 0.9rem;
}

.stats {
    display: flex;
    justify-content: space-around;
    margin: 1rem 0;
    padding: 0.5rem;
    background: rgba(0,0,0,0.2);
    border-radius: 8px;
}

.stats span {
    font-size: 0.8rem;
    font-weight: bold;
}

.github-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1rem;
    color: #00ff88;
    text-decoration: none;
    padding: 0.5rem 1rem;
    background: rgba(0,255,136,0.1);
    border-radius: 8px;
    transition: 0.3s;
}

.github-link:hover {
    background: rgba(0,255,136,0.2);
    transform: translateX(5px);
}

.logs-section {
    margin: 2rem 0;
    text-align: center;
}

.logs-section h3 {
    color: #00ff88;
    margin-bottom: 1rem;
}

.logs-image-container {
    background: #0d1219;
    border-radius: 16px;
    padding: 1rem;
    border: 1px solid #2a3a4a;
}

.logs-image {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.tech-stack {
    margin-top: 2rem;
    text-align: center;
}

.tech-stack h3 {
    color: #00ff88;
    margin-bottom: 1rem;
}

.tech-icons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
}

.tech-icons span {
    background: rgba(0,255,136,0.1);
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-weight: bold;
    border: 1px solid #2a3a4a;
}

footer {
    text-align: center;
    padding: 2rem;
    background: #05080c;
    margin-top: 2rem;
    border-top: 1px solid #1a2a3a;
    position: relative;
    z-index: 1;
}

.footer-links {
    margin-top: 0.5rem;
    font-size: 0.8rem;
}

.footer-links a, .footer-note {
    color: #888;
    text-decoration: none;
}

.footer-links a:hover {
    color: #00ff88;
}

@media (max-width: 768px) {
    .hero {
        grid-template-columns: 1fr;
    }
    header {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    nav a {
        margin: 0 0.5rem;
    }
    .controls-grid {
        grid-template-columns: 1fr;
    }
    header h1 {
        font-size: 0.9rem;
    }
    .glitch-text {
        font-size: 1rem;
    }
}