/* color vars */
:root {
    --bg-dark: #3a2b4a; 
    --win-bg: #fdfbfd;
    --border-color: #6a4c8a;
    --head-color: #d1bfe3;
    --text-color: #2d1b3d;
}

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

/* background setup */
body {
    background-color: var(--bg-dark);
    background-image: url('image_0c1984.png');
    background-repeat: repeat;
    font-family: 'Courier Prime', monospace;
    color: var(--text-color);
    padding: 20px;
}

.layout {
    max-width: 900px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 20px;
}

/* windows 98 vibes */
.window {
    background: var(--win-bg);
    border: 2px solid var(--border-color);
    box-shadow: 4px 4px 0px rgba(0,0,0,0.6);
    margin-bottom: 20px;
}

.win-head {
    background: var(--head-color);
    border-bottom: 2px solid var(--border-color);
    padding: 6px 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: 'Press Start 2P', cursive;
    font-size: 10px;
}

.win-btns span {
    display: inline-block;
    border: 1px solid var(--border-color);
    padding: 2px 5px;
    margin-left: 4px;
    cursor: pointer;
    background: var(--win-bg);
    font-weight: bold;
}

.win-body {
    padding: 15px;
    position: relative;
}

.center {
    text-align: center;
}

/* sidebar pfp */
.pfp {
    width: 130px;
    border: 2px solid var(--border-color);
    border-radius: 4px;
    margin-bottom: 10px;
}

.status {
    font-size: 13px;
    font-style: italic;
    margin-bottom: 10px;
}

/* nav items */
.nav {
    list-style: none;
}

.nav li {
    margin-bottom: 10px;
}

.nav a {
    color: var(--text-color);
    text-decoration: none;
    font-weight: bold;
    display: block;
    padding: 4px;
}

.nav a:hover {
    background: var(--head-color);
    border: 1px dashed var(--border-color);
}

h1 {
    font-family: 'Press Start 2P', cursive;
    font-size: 16px;
    margin-bottom: 15px;
    color: var(--border-color);
    line-height: 1.4;
}

p {
    margin-bottom: 12px;
    line-height: 1.5;
}

.timeline {
    margin-top: 25px;
    border-left: 2px dashed var(--border-color);
    padding-left: 15px;
}

/* responsive gallery */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
    gap: 12px;
}

.grid-item {
    border: 1px solid var(--border-color);
    background: white;
    padding: 4px;
}

.grid-item img {
    width: 100%;
    height: 100px;
    object-fit: cover;
    display: block;
}

/* lace decorations */
.lace-banner {
    height: 40px;
    overflow: hidden;
    border-bottom: 1px dashed var(--border-color);
}

.lace-banner img {
    width: 100%;
    object-fit: cover;
    opacity: 0.8;
}

.lace-decor {
    width: 100%;
    height: 30px;
    object-fit: cover;
    opacity: 0.7;
    margin-top: 10px;
}

/* bottom credits */
footer {
    text-align: center;
    margin-top: 30px;
    color: white;
    font-family: 'Press Start 2P', cursive;
    font-size: 8px;
    text-shadow: 2px 2px 0px black;
}

/* fix mobile layout */
@media (max-width: 700px) {
    .layout {
        grid-template-columns: 1fr;
    }
}