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

body {
    background: #000;
    font-family: 'Share Tech Mono', monospace;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    color: #00ff99;
    overflow-x: hidden;
    position: relative;
}

.rain {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: repeating-linear-gradient(
        0deg,
        rgba(0, 255, 0, 0.03) 0,
        rgba(0, 255, 0, 0.07) 2px,
        transparent 4px
    );
    animation: rain 12s linear infinite;
    pointer-events: none;
    z-index: 0;
}

@keyframes rain {
    0% { transform: translateY(-100%); }
    100% { transform: translateY(100%); }
}

.crt {
    background: #0a0a0a;
    border: 20px solid #222;
    border-radius: 40px 40px 30px 30px;
    box-shadow: 
        0 0 0 3px #333,
        0 30px 40px rgba(0,0,0,0.8),
        inset 0 0 30px rgba(0, 255, 0, 0.1);
    max-width: 900px;
    width: 100%;
    padding: 30px;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.crt::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at center, transparent 60%, rgba(0,0,0,0.3) 100%);
    pointer-events: none;
    z-index: 3;
    border-radius: 20px;
}

.crt::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background: repeating-linear-gradient(
        0deg,
        rgba(0, 0, 0, 0.15) 0px,
        rgba(0, 255, 0, 0.02) 1px,
        transparent 2px
    );
    background-size: 100% 2px;
    pointer-events: none;
    z-index: 2;
    border-radius: 20px;
}

.glow-base {
    text-shadow: 0 0 5px #00ff99, 0 0 15px #00ff99, 0 0 30px #00ff99;
}

h1, .cmd-item, .trailer-label, .btn-continue, .status-bar, .more-text, .prompt, .path {
    text-shadow: 0 0 5px #00ff99, 0 0 15px #00ff99, 0 0 30px #00ff99;
}

.cmd-text {
    font-size: 2.2rem;
    color: #0ff;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 4px;
    font-weight: bold;
    padding: 10px 0;
    transition: 0.2s;
    border-bottom: 2px solid #0ff;
    text-shadow: 0 0 5px #0ff, 0 0 15px #0ff, 0 0 30px #0ff;
    display: inline-block;
}

.cmd-text:hover {
    color: #ff6666;
    border-bottom-color: #ff6666;
    text-shadow: 0 0 5px #ff6666, 0 0 15px #ff6666, 0 0 30px #ff6666;
}

.terminal-header {
    display: flex;
    align-items: center;
    gap: 15px;
    border-bottom: 2px solid #3a3;
    padding-bottom: 15px;
    margin-bottom: 25px;
    color: #ffcc66;
    flex-wrap: wrap;
}

.prompt {
    color: #7f7;
    font-size: 1.4rem;
    font-weight: bold;
}

.path {
    color: #6cf;
    background: #1a3a3a;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 1.2rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 250px;
}

.cursor {
    width: 20px;
    height: 20px;
    background: #3f3;
    box-shadow: 0 0 10px #0f0;
    animation: blink 1s infinite;
    margin-left: auto;
}

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

.game-title {
    text-align: center;
    margin: 10px 0 20px;
}

.game-title img {
    max-width: 100%;
    height: auto;
    display: inline-block;
}

.game-image {
    margin: 20px auto 30px;
    max-width: 600px;
    border: 2px solid #2a6a2a;
    padding: 6px;
    background: #0c0c0c;
    box-shadow: 0 0 15px rgba(0, 255, 0, 0.3);
    border-radius: 10px;
}

.game-image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 6px;
}

.cmd-line {
    margin: 30px 0;
    text-align: center;
}

.cmd-list {
    margin: 40px auto;
    padding: 20px 0;
    border-top: 2px solid #3a3;
    border-bottom: 2px solid #3a3;
    max-width: 600px;
    width: 100%;
}

.cmd-item {
    display: block;
    color: #cfc;
    font-size: 1.4rem;
    font-weight: bold;
    text-transform: uppercase;
    text-decoration: none;
    letter-spacing: 1px;
    padding: 10px 0;
    transition: 0.15s;
    word-break: break-word;
    border-bottom: 1px dashed #3a3;
}

.cmd-item:last-child {
    border-bottom: none;
}

.cmd-item::before {
    content: ">";
    color: #7f7;
    font-size: 1.6rem;
    font-weight: bold;
    margin-right: 15px;
    text-shadow: 0 0 5px #00ff99, 0 0 15px #00ff99, 0 0 30px #00ff99;
    display: inline-block;
    width: 1.8rem;
}

.cmd-item:hover {
    color: #ff6666;
    text-shadow: 0 0 5px #ff6666, 0 0 15px #ff6666, 0 0 30px #ff6666;
}

.cmd-item:hover::before {
    color: #ff6666;
    text-shadow: 0 0 5px #ff6666, 0 0 15px #ff6666, 0 0 30px #ff6666;
}

.trailer-block {
    margin: 50px 0;
    padding: 20px;
}

.trailer-label {
    color: #cfc;
    font-size: 1.5rem;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.trailer-label .blink {
    color: #cfc;
    animation: blink 1s step-end infinite;
}

.trailer-screen {
    aspect-ratio: 16 / 9;
    background: #0c0c0c;
    border: 2px solid #2a6a2a;
    border-radius: 10px;
    box-shadow: 0 0 15px rgba(0, 255, 0, 0.3);
    overflow: hidden;
}

.trailer-screen iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.continue-line {
    display: flex;
    justify-content: center;
    margin: 50px 0 30px;
}

.btn-continue {
    background: transparent;
    border: none;
    color: #cfc;
    font-size: 2.5rem;
    padding: 15px 30px;
    text-decoration: none;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 8px;
    transition: 0.3s;
    border-bottom: 4px solid #cfc;
    text-shadow: 0 0 5px #00ff99, 0 0 15px #00ff99, 0 0 30px #00ff99;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    white-space: nowrap;
}

.btn-continue:hover {
    color: #ff6666;
    border-bottom-color: #ff6666;
    text-shadow: 0 0 5px #ff6666, 0 0 15px #ff6666, 0 0 30px #ff6666;
}

#more-content {
    display: none;
    margin-top: 40px;
    padding: 30px;
    border: 2px dashed #7a7;
    background: #142014;
    border-radius: 40px;
    text-align: center;
}

#more-content:target {
    display: block;
}

.more-text {
    font-size: 2rem;
    color: #ffeb99;
    line-height: 1.6;
}

.status-bar {
    margin-top: 40px;
    border-top: 2px solid #3a3;
    padding-top: 15px;
    display: flex;
    justify-content: space-between;
    color: #8c8;
    font-size: 1.1rem;
    flex-wrap: wrap;
    gap: 10px;
}

.status-bar .online {
    color: #7f7;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { opacity: 1; }
    50% { opacity: 0.6; }
}

/* mobile stuff */
@media (max-width: 700px) {
    body {
        padding: 5px;
    }

    .crt {
        border-width: 10px;
        padding: 15px;
        border-radius: 20px 20px 15px 15px;
    }

    .crt::before, .crt::after {
        border-radius: 10px;
    }

    .crt::after {
        background: repeating-linear-gradient(
            0deg,
            rgba(0, 0, 0, 0.15) 0px,
            rgba(0, 255, 0, 0.02) 1px,
            transparent 2px
        );
        background-size: 100% 4px;
    }

    .terminal-header {
        gap: 8px;
        padding-bottom: 10px;
        margin-bottom: 15px;
    }

    .prompt, .path, .cmd-item, .trailer-label, .btn-continue, .more-text, .status-bar span,
    .trailer-label .blink, .cmd-item::before {
        text-shadow: 0 0 1px #8f8;
        color: #cfc;
        -webkit-font-smoothing: antialiased;
    }

    .cmd-text {
        font-size: 1.2rem;
        color: #0ff;
        letter-spacing: 2px;
        border-bottom: 1px solid #0ff;
        padding: 5px 0;
        text-shadow: 0 0 1px #6ff;
        -webkit-font-smoothing: antialiased;
    }

    .cmd-text:hover,
    .cmd-item:hover,
    .btn-continue:hover {
        color: #ff6666;
        border-bottom-color: #ff6666;
        text-shadow: 0 0 1px #faa;
    }

    .cmd-item:hover::before {
        color: #ff6666;
        text-shadow: 0 0 1px #faa;
    }

    .cmd-line {
        margin: 15px 0;
        text-align: center;
    }

    .cmd-list {
        margin: 20px auto;
        padding: 10px 0;
    }

    .cmd-item {
        font-size: 1rem;
        padding: 8px 0;
        border-bottom: 1px dashed #3a3;
    }

    .cmd-item::before {
        content: ">";
        font-size: 1.2rem;
        margin-right: 8px;
        width: 1.4rem;
        display: inline-block;
    }

    .trailer-block {
        margin: 20px 0;
        padding: 10px;
    }

    .trailer-label {
        font-size: 1.2rem;
        gap: 5px;
        display: flex;
        align-items: center;
    }

    .trailer-label .blink {
        animation: blink 1s step-end infinite;
    }

    .trailer-screen {
        aspect-ratio: 16 / 9;
        background: #0c0c0c;
        border: 1px solid #2a6a2a;
        border-radius: 6px;
        box-shadow: 0 0 15px rgba(0, 255, 0, 0.3);
        overflow: hidden;
    }

    .trailer-screen iframe {
        width: 100%;
        height: 100%;
        border: none;
    }

    .continue-line {
        margin: 20px 0 15px;
        display: flex;
        justify-content: center;
    }

    .btn-continue {
        font-size: 1.5rem;
        padding: 10px 20px;
        letter-spacing: 4px;
        border-bottom: 3px solid #cfc;
        display: inline-flex;
        align-items: center;
        gap: 5px;
        white-space: normal;
        word-break: break-word;
        background: transparent;
    }

    #more-content {
        display: none;
        margin-top: 20px;
        padding: 20px;
        border: 2px dashed #7a7;
        background: #142014;
        border-radius: 20px;
        text-align: center;
    }

    #more-content:target {
        display: block;
    }

    .more-text {
        font-size: 1.2rem;
        color: #ffeb99;
    }

    .status-bar {
        margin-top: 20px;
        padding-top: 10px;
        font-size: 0.9rem;
        gap: 5px;
        display: flex;
        justify-content: space-between;
        color: #8c8;
    }

    .status-bar .online {
        color: #7f7;
        animation: pulse 2s infinite;
    }
}
@media (max-width: 480px) {
    .terminal-header {
        flex-wrap: wrap;
        justify-content: center;
    }

    .cursor {
        margin-left: 0;
    }

    .path {
        max-width: 100%;
        white-space: normal;
        word-break: break-all;
    }

    .btn-continue {
        font-size: 1.2rem;
        padding: 8px 15px;
        letter-spacing: 2px;
    }

    .cmd-text {
        font-size: 1rem;
        letter-spacing: 1px;
    }

    .cmd-item {
        font-size: 0.9rem;
    }
}