/* VARIABLES & THEME */
:root {
    --bg-color: #0d0211;
    --window-bg: #1a0926;
    --text-color: #00ffcc;
    --text-accent: #ff007f;
    --border-color: #390099;
    --font-stack: "Courier New", Courier, monospace;
}

/* RESET & BASE */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-stack);
    line-height: 1.6;
    padding-top: 100px; /* Increased slightly to accommodate larger center header stacked layout */
    background-image: linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.25) 50%), linear-gradient(90deg, rgba(255, 0, 0, 0.06), rgba(0, 255, 0, 0.02), rgba(0, 0, 255, 0.06));
    background-size: 100% 4px, 6px 100%; /* Subtle CRT scanline feel */
}

/* HEADER & NAV */
.neon-header {
    display: flex;
    justify-content: space-between; /* Pushes items to left, center, and right */
    align-items: center;            /* Centers items vertically relative to each other */
    padding: 10px 20px;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background-color: var(--window-bg);
    border-bottom: 2px solid var(--border-color);
    box-shadow: 0 4px 10px rgba(57, 0, 153, 0.4);
}

/* Ensure the left logo remains a cohesive flex row */
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: bold;
    font-size: 1.2rem;
    text-shadow: 0 0 8px var(--text-color);
}

/* Styling for your new centered logo */
.center-logo {
    display: flex;
    flex-direction: column;  /* Stacks text cleanly beneath the central logo image */
    align-items: center;
    justify-content: center;
    text-align: center;
}

.center-logo img {
    height: 45px;            /* Scales your s_logo graphic */
    width: auto;             /* Keeps proportions intact */
    margin-bottom: 2px;
}

.center-logo span {
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 1.1rem;
    color: #fff;
    text-shadow: 0 0 8px var(--text-accent);
}

nav a {
    color: var(--text-color);
    text-decoration: none;
    margin-left: 20px;
}
nav a:hover, nav a.active {
    color: var(--text-accent);
    text-shadow: 0 0 5px var(--text-accent);
}

/* UTILITIES */
.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px;
}
.blink-text {
    animation: blink 1.5s infinite;
    color: var(--text-accent);
    font-weight: bold;
    margin-top: 15px;
}
@keyframes blink {
    0%, 49% { opacity: 1; }
    50%, 100% { opacity: 0; }
}

/* HERO BOX */
.hero-box {
    text-align: center;
    border: 2px dashed var(--text-color);
    padding: 30px;
    margin-bottom: 40px;
    background: rgba(26, 9, 38, 0.5);
}
.hero-box h1 {
    font-size: 2rem;
    margin-bottom: 15px;
    color: #fff;
    text-shadow: 0 0 10px var(--text-accent);
}

/* WINDOW COMPONENT (90s DESKTOP STYLE) */
.window-container {
    border: 3px solid var(--text-accent);
    background: var(--window-bg);
    box-shadow: 5px 5px 0px var(--border-color);
    margin-bottom: 40px;
}
.window-header {
    background: linear-gradient(90deg, var(--text-accent), var(--border-color));
    color: #fff;
    padding: 8px 15px;
    display: flex;
    justify-content: space-between;
    font-weight: bold;
    align-items: center;
}
.window-buttons {
    display: flex;
    gap: 5px;
}
.win-btn, .win-btnX {
    background: #000;
    border: 1px solid #fff;
    padding: 1px 6px;
    font-size: 0.8rem;
    cursor: pointer;
}
.window-body {
    padding: 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}
@media (max-width: 768px) {
    .window-body { grid-template-columns: 1fr; }
}

/* MOCK PHONE UI (MODERN UX SIMULATOR) */
.mock-phone {
    background: #000;
    border: 4px solid var(--text-color);
    border-radius: 20px;
    padding: 15px;
    max-width: 300px;
    margin: 0 auto;
    box-shadow: 0 0 15px rgba(0, 255, 204, 0.3);
}
.mock-screen {
    background: #111;
    border: 2px solid #333;
    border-radius: 10px;
    height: 400px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.card-meta {
    font-size: 0.7rem;
    color: var(--text-accent);
}
.mock-screen h2 {
    font-size: 1.2rem;
    color: #fff;
}
.mock-actions {
    display: flex;
    gap: 10px;
}
.btn {
    flex: 1;
    padding: 10px;
    font-family: var(--font-stack);
    font-weight: bold;
    border: 2px solid;
    background: transparent;
    cursor: pointer;
}
.btn-skip { color: var(--text-accent); border-color: var(--text-accent); }
.btn-visit { color: var(--text-color); border-color: var(--text-color); text-decoration: none; text-align: center; display: inline-block; }
.btn:hover { background: rgba(255,255,255,0.1); }

/* SIDEBAR / TEXT DETAILS */
.window-sidebar {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.window-sidebar ul {
    list-style-type: "⚡ ";
    padding-left: 20px;
    margin: 20px 0;
}
.window-sidebar li { margin-bottom: 10px; }

.download-btn {
    display: inline-block;
    background: var(--text-color);
    color: #000;
    padding: 15px 25px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.2rem;
    text-align: center;
    border: 3px solid #fff;
    box-shadow: 4px 4px 0 var(--text-accent);
}
.download-btn:hover {
    transform: translate(-2px, -2px);
    box-shadow: 6px 6px 0 var(--text-accent);
}

/* FOOTER */
footer {
    text-align: center;
    padding: 40px 20px;
    border-top: 1px dashed var(--border-color);
    font-size: 0.8rem;
}
.webring {
    margin-top: 15px;
    color: var(--text-accent);
}
.webring a { color: var(--text-color); text-decoration: none; margin: 0 5px; }