/* ===== RESET & BASE ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Press Start 2P', monospace;
    background-color: #1a1a1a;
    color: #e0e0e0;
    line-height: 1.6;
    min-height: 100vh;
    background-image:
        repeating-linear-gradient(0deg, rgba(40,40,40,0.3) 0px, rgba(40,40,40,0.3) 2px, transparent 2px, transparent 4px),
        repeating-linear-gradient(90deg, rgba(40,40,40,0.3) 0px, rgba(40,40,40,0.3) 2px, transparent 2px, transparent 4px);
    background-size: 8px 8px;
}

a {
    text-decoration: none;
    color: inherit;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== SCROLL FADE ===== */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===== BUTTONS (square, pixel, cyan border) ===== */
.btn {
    display: inline-block;
    font-family: 'Press Start 2P', monospace;
    font-size: 14px;
    padding: 14px 24px;
    background-color: #2a2a2a;
    color: #fff;
    border: 3px solid #00e5ff;
    box-shadow: inset 0 -4px 0 #1a1a1a, 0 0 0 transparent;
    transition: all 0.15s ease;
    cursor: pointer;
    text-align: center;
    letter-spacing: 0.5px;
    line-height: 1;
    border-radius: 0;
    min-width: 140px;
    position: relative;
}

.btn:hover {
    border-color: #66f0ff;
    box-shadow: inset 0 -4px 0 #1a1a1a, 0 0 20px rgba(0, 229, 255, 0.4);
    transform: scale(1.02);
}

.btn:active {
    transform: translateY(2px);
    box-shadow: inset 0 0 0 #1a1a1a, 0 0 20px rgba(0, 229, 255, 0.2);
}

.btn-secondary {
    border-color: #888;
    background-color: #2a2a2a;
}

.btn-secondary:hover {
    border-color: #aaa;
    box-shadow: inset 0 -4px 0 #1a1a1a, 0 0 20px rgba(136, 136, 136, 0.3);
}

.btn-small {
    font-size: 12px;
    padding: 10px 18px;
    min-width: auto;
}

.btn-large {
    font-size: 18px;
    padding: 20px 40px;
    min-width: 200px;
}

.btn-social {
    border-color: #ff0050;
    background-color: #2a2a2a;
    padding: 14px 28px;
}

.btn-social:hover {
    border-color: #ff3377;
    box-shadow: inset 0 -4px 0 #1a1a1a, 0 0 20px rgba(255, 0, 80, 0.4);
}

.btn-windows {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background-color: #1e1e1e;
    border-color: #00bcd4;
    padding: 20px 40px;
    font-size: 18px;
    min-width: 220px;
    margin: 0 auto;
}

.btn-windows:hover {
    border-color: #4dd0e1;
    box-shadow: inset 0 -4px 0 #1a1a1a, 0 0 30px rgba(0, 188, 212, 0.5);
}

.windows-icon {
    width: 32px;
    height: 32px;
    display: inline-block;
    image-rendering: pixelated;
}

/* ===== NAVBAR ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(20, 20, 20, 0.85);
    backdrop-filter: blur(6px);
    border-bottom: 2px solid #2a2a2a;
    padding: 8px 0;
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.nav-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.nav-logo {
    width: 40px;
    height: 40px;
    image-rendering: pixelated;
}

.nav-banner-logo {
    height: 40px;
    width: auto;
    image-rendering: pixelated;
}

/* If you want the banner logo to be larger, adjust the height */
.nav-brand {
    font-size: 20px;
    color: #fff;
    letter-spacing: 1px;
    text-shadow: 0 0 8px rgba(0, 229, 255, 0.3);
}

.nav-right {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.nav-link {
    font-family: 'Press Start 2P', monospace;
    font-size: 12px;
    padding: 8px 14px;
    background: #2a2a2a;
    border: 2px solid #444;
    color: #ccc;
    transition: all 0.15s;
    border-radius: 0;
    text-transform: uppercase;
}

.nav-link:hover {
    border-color: #00e5ff;
    background: #333;
    color: #fff;
    box-shadow: 0 0 16px rgba(0, 229, 255, 0.2);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.nav-toggle span {
    width: 28px;
    height: 3px;
    background: #ccc;
    transition: 0.2s;
}

/* ===== HERO ===== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background:
        radial-gradient(ellipse at center, rgba(0, 229, 255, 0.05) 0%, transparent 70%),
        repeating-linear-gradient(45deg, rgba(40,40,40,0.2) 0px, rgba(40,40,40,0.2) 2px, transparent 2px, transparent 6px);
    background-color: #121212;
    padding-top: 80px;
    padding-bottom: 40px;
    border-bottom: 2px solid #2a2a2a;
    position: relative;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, transparent, #00e5ff, transparent);
    opacity: 0.3;
}

.hero-content {
    max-width: 800px;
    padding: 20px;
}

.hero-logo {
    width: 180px;
    height: 180px;
    image-rendering: pixelated;
    margin-bottom: 20px;
    filter: drop-shadow(0 0 30px rgba(0, 229, 255, 0.2));
}

.hero-title {
    font-size: 56px;
    line-height: 1.2;
    color: #fff;
    text-shadow: 0 0 30px rgba(0, 229, 255, 0.15);
    margin-bottom: 20px;
    letter-spacing: 2px;
}

.hero-title br {
    display: block;
}

.hero-desc {
    font-size: 16px;
    color: #aaa;
    max-width: 600px;
    margin: 0 auto 30px;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ===== SECTIONS ===== */
section {
    padding: 80px 0;
    background-color: #1a1a1a;
    border-bottom: 2px solid #252525;
}

.section-title {
    font-size: 32px;
    text-align: center;
    color: #fff;
    margin-bottom: 12px;
    letter-spacing: 2px;
    text-shadow: 0 0 20px rgba(0, 229, 255, 0.1);
}

.section-sub {
    text-align: center;
    color: #999;
    margin-bottom: 40px;
    font-size: 14px;
}

/* ===== FEATURES ===== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 24px;
}

.feature-card {
    background: #222;
    border: 2px solid #333;
    padding: 24px 16px;
    text-align: center;
    transition: 0.2s;
    box-shadow: inset 0 0 0 transparent;
}

.feature-card:hover {
    border-color: #00e5ff;
    box-shadow: inset 0 0 30px rgba(0, 229, 255, 0.05), 0 0 20px rgba(0, 229, 255, 0.1);
    transform: translateY(-4px);
}

.feature-icon {
    font-size: 36px;
    margin-bottom: 12px;
    display: block;
}

.feature-card h3 {
    font-size: 14px;
    color: #fff;
    margin-bottom: 8px;
}

.feature-card p {
    font-size: 12px;
    color: #999;
    line-height: 1.5;
}

/* ===== DOWNLOAD ===== */
.download {
    text-align: center;
}

.download-btn-wrap {
    margin-top: 20px;
}

/* ===== PLAYER COUNT ===== */
.player-count-container {
    margin-top: 24px;
    text-align: center;
    font-size: 14px;
    color: #aaa;
}

.player-count-container span {
    color: #00e5ff;
    font-weight: bold;
    text-shadow: 0 0 10px rgba(0, 229, 255, 0.3);
}

/* ===== UPDATES ===== */
.update-card {
    background: #222;
    border: 2px solid #333;
    padding: 30px;
    max-width: 700px;
    margin: 0 auto;
}

.update-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 16px;
}

.update-version {
    font-size: 18px;
    color: #00e5ff;
}

.update-date {
    font-size: 12px;
    color: #888;
}

.update-changes {
    list-style: none;
    padding: 0;
    margin: 0 0 24px 0;
}

.update-changes li {
    padding: 6px 0;
    font-size: 13px;
    color: #ccc;
    border-bottom: 1px solid #2a2a2a;
}

.update-changes li:last-child {
    border-bottom: none;
}

/* ===== ACTIVATION ===== */
.activation-box {
    max-width: 500px;
    margin: 0 auto;
    background: #1e1e1e;
    border: 2px solid #333;
    padding: 30px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.activation-input {
    font-family: 'Press Start 2P', monospace;
    padding: 14px 16px;
    background: #111;
    border: 2px solid #333;
    color: #fff;
    font-size: 14px;
    outline: none;
    border-radius: 0;
    width: 100%;
}

.activation-input:focus {
    border-color: #00e5ff;
    box-shadow: 0 0 20px rgba(0, 229, 255, 0.1);
}

.activation-result {
    font-size: 14px;
    text-align: center;
    padding: 10px;
    min-height: 40px;
    color: #aaa;
}

.activation-result.valid {
    color: #66f0ff;
}
.activation-result.invalid {
    color: #ff6b6b;
}
.activation-result.expired {
    color: #ffaa33;
}

/* ===== SOCIALS ===== */
.socials-grid {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

/* ===== MODAL ===== */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(4px);
}

.modal-overlay.active {
    display: flex;
}

.modal-box {
    background: #1a1a1a;
    border: 3px solid #00e5ff;
    padding: 40px 30px;
    max-width: 420px;
    width: 90%;
    position: relative;
    text-align: center;
}

.modal-close {
    position: absolute;
    top: 10px;
    right: 14px;
    background: none;
    border: none;
    color: #888;
    font-size: 28px;
    cursor: pointer;
    font-family: 'Press Start 2P', monospace;
}

.modal-close:hover {
    color: #fff;
}

.modal-title {
    font-size: 24px;
    color: #fff;
    margin-bottom: 8px;
}

.modal-sub {
    font-size: 14px;
    color: #999;
    margin-bottom: 28px;
}

/* ===== FOOTER ===== */
.footer {
    background: #121212;
    border-top: 2px solid #252525;
    padding: 40px 0 20px;
}

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

.footer-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 18px;
    color: #fff;
}

.footer-logo {
    width: 32px;
    height: 32px;
    image-rendering: pixelated;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    font-size: 12px;
    color: #888;
}

.footer-links a {
    color: #888;
    transition: none;
}

.footer-links a:hover {
    color: #888;
    text-decoration: none;
}

.footer-bottom {
    text-align: center;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #222;
    font-size: 11px;
    color: #555;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .nav-right {
        display: none;
        flex-direction: column;
        width: 100%;
        background: rgba(20, 20, 20, 0.98);
        padding: 16px 0;
        gap: 8px;
        margin-top: 8px;
        border-top: 2px solid #2a2a2a;
    }

    .nav-right.open {
        display: flex;
    }

    .nav-toggle {
        display: flex;
    }

    .hero-title {
        font-size: 32px;
    }

    .hero-logo {
        width: 120px;
        height: 120px;
    }

    .hero-desc {
        font-size: 14px;
    }

    .section-title {
        font-size: 24px;
    }

    .btn {
        font-size: 12px;
        padding: 12px 18px;
        min-width: 100px;
    }

    .btn-large {
        font-size: 14px;
        padding: 16px 28px;
        min-width: 150px;
    }

    .features-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }

    .update-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .footer-grid {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .footer-links {
        justify-content: center;
    }

    .btn-windows {
        font-size: 14px;
        padding: 16px 24px;
        min-width: 160px;
    }

    .windows-icon {
        width: 24px;
        height: 24px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 24px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 260px;
    }

    .nav-banner-logo {
        height: 30px;
    }
}
