@import url('https://fonts.googleapis.com/css2?family=Press+Start+2P&display=swap');

:root {
    --pixel-size: 4px;
    --bg-color: #0a0a1a;
    --text-color: #7be599;
    --accent-color: #7f50f4;
    --nav-color: #7be599; 
    --nav-hover-color: #9dffb8; 
    --border-color: #7f50f4;
    --hover-color: #9d75f6;
    --ready-color: #7be599;
    --dev-color: #ffa500;
    --panel-bg: rgba(26, 26, 42, 0.95);
    --glow-color: #7f50f4;
    --pixel-shadow: 8px 8px 0px #000;
    --pixel-glow: 0 0 20px var(--glow-color);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Press Start 2P', monospace;
    image-rendering: pixelated;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
    scroll-behavior: smooth;
    font-size: 14px;
    background-image: 
        linear-gradient(rgba(10, 10, 26, 0.9), rgba(10, 10, 26, 0.9)),
        repeating-linear-gradient(
            0deg,
            transparent,
            transparent 2px,
            rgba(127, 80, 244, 0.1) 2px,
            rgba(127, 80, 244, 0.1) 4px
        );
    position: relative;
    min-height: 100vh;
    padding-left: 10px;
    padding-right: 10px;
}

.green-glow {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(
        ellipse at center,
        rgba(123, 229, 153, 0.1) 0%,
        rgba(123, 229, 153, 0.05) 40%,
        transparent 70%
    );
    pointer-events: none;
    z-index: 9996;
    animation: greenPulse 4s ease-in-out infinite;
}


.scanline {
    display: fixed;
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 0px;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(123, 229, 153, 0.9) 20%,
        rgba(123, 229, 153, 1) 50%,
        rgba(123, 229, 153, 0.9) 80%,
        transparent 100%
    );
    box-shadow: 0 0 20px rgba(123, 229, 153, 0.8);
    z-index: 9999;
    animation: scanline 6s linear infinite;
    pointer-events: none;
}

@keyframes scanline {
    0% {
        top: 0%;
        opacity: 0.6;
    }
    10% {
        opacity: 0.7;
    }
    20% {
        opacity: 0.8;
    }
    30% {
        opacity: 0.7;
    }
    40% {
        opacity: 0.5;
    }
    50% {
        top: 50%;
        opacity: 0.35;
    }
    60% {
        opacity: 0.5;
    }
    70% {
        opacity: 0.7;
    }
    80% {
        opacity: 0.8;
    }
    90% {
        opacity: 0.7;
    }
    100% {
        top: 100%;
        opacity: 0.6;
    }
}

.since-text {
    text-align: center;
    margin-top: 40px;
    font-size: 18px;
}

@keyframes greenPulse {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.6; }
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 25px;
    position: relative;
    z-index: 1;
}

.pixel-border {
    border: var(--pixel-size) solid var(--border-color);
    position: relative;
    background: var(--panel-bg);
    box-shadow: var(--pixel-shadow);
}

.pixel-border::before {
    content: '';
    position: absolute;
    top: calc(-1 * var(--pixel-size));
    left: calc(-1 * var(--pixel-size));
    right: calc(-1 * var(--pixel-size));
    bottom: calc(-1 * var(--pixel-size));
    border: var(--pixel-size) solid var(--border-color);
    pointer-events: none;
}

.pixel-border::after {
    content: '';
    position: absolute;
    top: calc(-2 * var(--pixel-size));
    left: calc(-2 * var(--pixel-size));
    right: calc(-2 * var(--pixel-size));
    bottom: calc(-2 * var(--pixel-size));
    border: var(--pixel-size) solid rgba(127, 80, 244, 0.3);
    pointer-events: none;
}

header {
    background-color: var(--panel-bg);
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: var(--pixel-size) solid var(--border-color);
    margin: 0;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.logo-container {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    position: relative;
}

.logo {
    display: block;
    width: 64px;
    height: 64px;
    transition: all 0.3s ease;
    image-rendering: pixelated;
    filter: drop-shadow(4px 4px 0px #000);
    border: 2px solid var(--accent-color);
}

.logo:hover {
    transform: scale(1.1) rotate(5deg);
    filter: drop-shadow(0 0 10px var(--glow-color)) drop-shadow(4px 4px 0px #000);
}

.logo-text {
    margin-left: 16px;
    font-size: 1.2rem;
    color: var(--accent-color);
    white-space: nowrap;
    text-shadow: 3px 3px 0px #000;
    letter-spacing: 1px;
}

nav {
    background-color: var(--panel-bg);
    padding: 15px 0;
    margin-bottom: 40px;
    border-bottom: var(--pixel-size) solid var(--border-color);
}

.nav-links {
    display: flex;
    justify-content: center;
    list-style: none;
    gap: 40px;
    flex-wrap: wrap;
}

.nav-links a {
    text-decoration: none;
    color: var(--nav-color); 
    font-weight: normal;
    padding: 12px 20px;
    position: relative;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    white-space: nowrap;
    text-shadow: 2px 2px 0px #000;
    border: 2px solid transparent;
}

.nav-links a:hover {
    color: var(--nav-hover-color); 
    text-shadow: 0 0 10px rgba(123, 229, 153, 0.8); 
    border: 2px solid var(--nav-color);
    background: rgba(123, 229, 153, 0.1); /
}

.nav-links a::before {
    content: '>';
    position: absolute;
    left: -15px;
    opacity: 0;
    transition: all 0.3s ease;
    color: var(--nav-color); 
}

.nav-links a:hover::before {
    opacity: 1;
    left: -10px;
}

.main-content {
    padding: 40px 0;
}

.content-section {
    padding: 80px 0;
    border-bottom: var(--pixel-size) solid var(--border-color);
    scroll-margin-top: 100px;
    position: relative;
}

.content-section:last-of-type {
    border-bottom: none;
}



h1 {
    font-size: 2.5rem;
    margin-bottom: 40px;
    color: var(--accent-color);
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 2px;
    line-height: 1.3;
    text-shadow: 
        4px 4px 0px #000,
        0 0 20px var(--glow-color);
    position: relative;
}

h1::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 4px;
    background: var(--accent-color);
    box-shadow: 2px 2px 0px #000;
}

h2 {
    font-size: 1.8rem;
    margin-bottom: 30px;
    color: var(--accent-color);
    position: relative;
    display: inline-block;
    line-height: 1.4;
    text-shadow: 3px 3px 0px #000;
}

h2::after {
    content: '';
    position: absolute;
    width: 100%;
    height: var(--pixel-size);
    bottom: -8px;
    left: 0;
    background-color: var(--accent-color);
    box-shadow: 2px 2px 0px #000;
}

p {
    margin-bottom: 25px;
    font-size: 0.9rem;
    line-height: 1.8;
    color: var(--text-color);
    text-shadow: 1px 1px 0px #000;
}

.services-list {
    list-style: none;
    margin-left: 0;
}

.services-list li {
    margin-bottom: 20px;
    position: relative;
    padding-left: 50px;
    font-size: 0.9rem;
    line-height: 1.7;
    color: var(--text-color);
    text-shadow: 1px 1px 0px #000;
}

.services-list li::before {
    content: '■';
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-size: 1.2rem;
    text-shadow: 2px 2px 0px #000;
    animation: blink 2s infinite;
}

.games-list {
    list-style: none;
    margin-left: 0;
}

.games-list li {
    margin-bottom: 20px;
    position: relative;
    padding-left: 50px;
    font-size: 0.9rem;
    line-height: 1.7;
}

.games-list li::before {
    content: '▶';
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-size: 1.1rem;
    text-shadow: 2px 2px 0px #000;
}

.game-item {
    margin-bottom: 15px;
    padding: 15px;
    background: rgba(26, 26, 42, 0.8);
    border: 2px solid var(--border-color);
    position: relative;
    transition: all 0.3s ease;
}

.game-item:hover {
    background: rgba(26, 26, 42, 0.9);
    box-shadow: 0 5px 15px rgba(127, 80, 244, 0.3);
}

.game-name {
    color: var(--text-color);
    text-decoration: none;
    transition: all 0.3s ease;
    word-break: break-word;
    display: block;
    margin-bottom: 8px;
    text-shadow: 1px 1px 0px #000;
}

.game-name.ready {
    color: var(--ready-color);
    text-shadow: 0 0 10px rgba(123, 229, 153, 0.5);
}

.game-name.ready:hover {
    color: var(--hover-color);
    text-decoration: none;
    text-shadow: 0 0 15px var(--glow-color);
}

.game-name.dev {
    color: var(--dev-color);
    cursor: not-allowed;
    opacity: 0.8;
}

.game-status {
    font-size: 0.7rem;
    margin-top: 5px;
    display: block;
    text-shadow: 1px 1px 0px #000;
}

.status-ready {
    color: var(--ready-color);
    text-shadow: 0 0 5px rgba(123, 229, 153, 0.5);
}

.status-dev {
    color: var(--dev-color);
    text-shadow: 0 0 5px rgba(255, 165, 0, 0.5);
}

.lang-btn {
    background: transparent;
    border: 3px solid var(--accent-color);
    color: var(--text-color);
    padding: 10px 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.8rem;
    white-space: nowrap;
    text-shadow: 1px 1px 0px #000;
    box-shadow: 4px 4px 0px #000;
    position: relative;
}

.lang-btn:hover {
    background-color: var(--hover-color);
    color: var(--bg-color);
    transform: translate(2px, 2px);
    box-shadow: 2px 2px 0px #000;
}

.lang-btn.active {
    background-color: var(--accent-color);
    color: var(--bg-color);
    box-shadow: 2px 2px 0px #000;
    transform: translate(2px, 2px);
}

footer {
    background-color: var(--panel-bg);
    color: var(--text-color);
    padding: 60px 0 30px;
    margin-top: 50px;
    border-top: var(--pixel-size) solid var(--border-color);
    position: relative;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        var(--accent-color) 50%, 
        transparent 100%);
}

.footer-content {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    color: var(--text-color);
    text-decoration: none;
    padding: 12px 24px;
    border: 3px solid var(--accent-color);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    white-space: nowrap;
    text-shadow: 1px 1px 0px #000;
    box-shadow: 4px 4px 0px #000;
}

.social-links a:hover {
    background-color: var(--accent-color);
    color: var(--bg-color);
    transform: translate(2px, 2px);
    box-shadow: 2px 2px 0px #000;
    text-shadow: none;
}

.copyright {
    text-align: center;
    margin-top: 30px;
    color: var(--text-color);
    font-size: 0.7rem;
    opacity: 0.8;
    text-shadow: 1px 1px 0px #000;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.loading {
    opacity: 0.7;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 0.7; }
    50% { opacity: 0.3; }
}

.fade-in {
    animation: fadeInUp 0.8s ease forwards;
}

.scanlines {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: repeating-linear-gradient(
        0deg,
        rgba(0, 0, 0, 0.03) 0px,
        rgba(0, 0, 0, 0.03) 1px,
        transparent 1px,
        transparent 2px
    );
    pointer-events: none;
    z-index: 9997;
}

@media (max-width: 768px) {
    :root {
        --pixel-size: 3px;
        --pixel-shadow: 4px 4px 0px #000;
    }
    
    body { 
        font-size: 12px; 
    }
    
    .container { 
        padding: 0 15px; 
    }
    
    header { 
        padding: 15px 0; 
    }
    
    .header-content { 
        flex-direction: column; 
        gap: 15px; 
        text-align: center; 
    }
    
    .logo { 
        display: none;
        width: 48px; 
        height: 48px; 
    }
    
    .logo-text { 
        font-size: 1rem; 
        margin-left: 12px; 
    }
    
    .language-switcher { 
        justify-content: center; 
    }
    
    .lang-btn { 
        padding: 8px 16px; 
        font-size: 0.7rem; 
    }
    
    nav { 
        padding: 10px 0; 
        margin-bottom: 30px; 
    }
    
    .nav-links { 
        gap: 15px; 
        justify-content: center; 
        flex-direction: column; 
    }
    
    .nav-links a { 
        font-size: 0.8rem; 
        padding: 10px 15px; 
    }
    
    .main-content { 
        padding: 30px 0; 
    }
    
    .content-section { 
        padding: 60px 0; 
        scroll-margin-top: 80px; 
    }
    
    h1 { 
        font-size: 1.8rem; 
        margin-bottom: 30px; 
    }
    
    h2 { 
        font-size: 1.3rem; 
        margin-bottom: 25px; 
    }
    
    p { 
        font-size: 0.8rem; 
        margin-bottom: 20px; 
    }
    
    .services-list li, .games-list li { 
        font-size: 0.8rem; 
        padding-left: 40px; 
        margin-bottom: 15px; 
    }
    
    .game-status { 
        font-size: 0.6rem; 
    }
    
    footer { 
        padding: 40px 0 20px; 
    }
    
    .footer-top { 
        flex-direction: column; 
        text-align: center; 
        gap: 15px; 
    }
    
    .social-links { 
        justify-content: center; 
    }
    
    .social-links a { 
        font-size: 0.7rem; 
        padding: 10px 18px; 
    }
    
    .scanline {
        height: 3px;
    }
}
