:root {
    --bg: #0b0e14;
    --win-bg: #161b22;
    --accent: #add8e6;
    --accent-dim: #5c7d8a;
    --text: #c9d1d9;
    --text-bright: #f0f6fc;
    --text-dark: #0d1117;
    --border: 1.5px solid var(--accent);
    --shadow: 6px 6px 0px #05070a;
    --font-main: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* --- 1. THE OCBIN STAR ENGINE --- */
body {
    background-color: var(--bg);
    margin: 0;
    color: var(--text);
    font-family: var(--font-main);
    font-size: 16px;
    line-height: 1.65;
    padding: 20px;
    overflow-x: hidden;
}

.stars {
    position: fixed;
    top: 0; left: 0;
    width: 200%; height: 200%;
    z-index: -1;
    pointer-events: none;
    image-rendering: pixelated;
}

.small { background-image: radial-gradient(1px 1px at 20px 30px, #fff 100%, transparent 0), radial-gradient(1px 1px at 150px 80px, var(--accent) 100%, transparent 0); background-size: 200px 200px; animation: moveBack 220s linear infinite; opacity: 0.4; }
.medium { background-image: radial-gradient(2px 2px at 50px 50px, var(--accent) 100%, transparent 0), radial-gradient(2px 2px at 200px 300px, #fff 100%, transparent 0); background-size: 400px 400px; animation: moveMid 140s linear infinite; opacity: 0.3; }
.layer3 { background-image: radial-gradient(3px 3px at 100px 100px, #fff 100%, transparent 0); background-size: 600px 600px; animation: moveMid2 90s linear infinite; opacity: 0.25; }
.large { background-image: radial-gradient(4px 4px at 100px 100px, #fff 100%, transparent 0); background-size: 800px 800px; animation: moveFront 50s linear infinite; opacity: 0.2; }

@keyframes moveBack  { from { transform: translate(0, 0); } to { transform: translate(-200px, -200px); } }
@keyframes moveMid   { from { transform: translate(0, 0); } to { transform: translate(-400px, -400px); } }
@keyframes moveMid2  { from { transform: translate(0, 0); } to { transform: translate(-600px, -600px); } }
@keyframes moveFront { from { transform: translate(0, 0); } to { transform: translate(-800px, -800px); } }

/* --- 2. LAYOUT & ANIMATED WINDOWS --- */
#container { max-width: 1250px; margin: 0 auto; }

header, .window {
    background: var(--win-bg);
    border: var(--border);
    margin-bottom: 25px;
    box-shadow: var(--shadow);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

/* Window Glow Effect on Hover */
.window:hover, header:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 15px rgba(173, 216, 230, 0.2), 6px 8px 0px #000;
    border-color: var(--text-bright);
}

header { padding: 25px; }
header h1 { margin: 0; color: var(--accent); font-size: 2.2rem; text-transform: uppercase; letter-spacing: 3px; }

#main-layout { display: flex; gap: 20px; align-items: flex-start; }
#left-col, #right-col { flex: 1; min-width: 250px; }
#center-col { flex: 2.4; }

.window-title {
    background: var(--accent);
    color: var(--text-dark);
    margin: 0;
    padding: 10px 15px;
    font-size: 1rem;
    font-weight: bold;
    text-transform: uppercase;
    transition: background 0.2s ease;
}

.window:hover .window-title {
    background: var(--text-bright); /* Title bar lights up when hovering the window */
}

.window-content { padding: 30px; }

/* Links Glow */
a { color: var(--accent); text-decoration: underline; font-weight: bold; transition: all 0.2s ease; }
a:hover { color: var(--text-bright); text-shadow: 0 0 10px var(--accent); }

/* --- 3. NAVIGATION & BUTTON ANIMATIONS --- */
.main-links-container { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; margin-bottom: 25px; }
.link-grid { display: flex; flex-wrap: nowrap; gap: 8px; padding: 10px 0; }

.btn {
    flex: 1;
    display: block;
    background: rgba(0, 0, 0, 0.4);
    color: var(--accent);
    border: 1px solid var(--accent);
    text-align: center;
    padding: 12px 2px;
    font-size: 13px;
    font-weight: bold;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-decoration: none;
    transition: all 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275); /* Bouncy effect */
}

.btn:hover {
    background: var(--accent);
    color: var(--text-dark);
    transform: scale(1.05); /* Buttons pop out slightly */
    z-index: 10;
}

.btn-main { background: var(--accent) !important; color: var(--text-dark) !important; font-size: 1.25rem; padding: 18px !important; }

/* --- 4. ACCESSIBLE ACCORDION ANIMATIONS --- */
details {
    margin-top: 10px;
    border: 1px solid rgba(173, 216, 230, 0.1);
    background: rgba(0, 0, 0, 0.1);ce
    transition: all 0.3s ease;
}

details[open] {
    background: rgba(0, 0, 0, 0.3);
    border-color: var(--accent);
}

summary {
    padding: 12px 15px;
    cursor: pointer;
    color: var(--accent);
    font-weight: bold;
    text-decoration: underline;
    text-underline-offset: 4px;
    list-style: none;
    transition: all 0.2s ease;
}

summary:hover {
    background: rgba(173, 216, 230, 0.15);
    color: var(--text-bright);
    padding-left: 20px; /* Shifts text slightly to the right on hover */
}

summary::before { content: "[+] "; font-family: monospace; transition: 0.2s; }
details[open] summary::before { content: "[-] "; color: var(--text-bright); }

/* --- 5. MOBILE --- */
@media (max-width: 950px) {
    #main-layout { flex-direction: column; }
    .main-links-container { grid-template-columns: 1fr; }
    .link-grid { flex-wrap: wrap; }
    .btn { flex: 1 1 45%; }
}