* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    /* Repeating background space tile */
    background-image: url('../images/fotosbg.png'); /* Replace with your bg image path */
    background-repeat: repeat;
    background-position: top left;
    min-height: 100vh;
    font-family: 'Courier New', Courier, monospace;
    display: flex;
    justify-content: center;
    padding: 30px 10px;
}

/* Home Link */
.home-link {
    position: fixed;
    top: 15px;
    left: 15px;
    color: #ffffff;
    background: rgba(0, 0, 0, 0.6);
    padding: 6px 12px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 11px;
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    z-index: 100;
}

/* --- RETRO WINDOW FRAME --- */
.window {
    width: 100%;
    max-width: 900px;
    background: #c0c0c0; /* Retro window gray */
    border: 3px solid #000000;
    box-shadow: 10px 10px 0px rgba(0, 0, 0, 0.4);
    display: flex;
    flex-direction: column;
    max-height: 90vh;
}

/* Title Bar */
.title-bar {
    background: linear-gradient(90deg, #6b449b, #9b51e0); /* Purple header theme */
    padding: 4px 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #ffffff;
    font-weight: bold;
    font-size: 12px;
    letter-spacing: 1px;
}

.title-bar-controls {
    display: flex;
    gap: 3px;
}

.title-bar-controls button {
    width: 18px;
    height: 18px;
    background: #c0c0c0;
    border: 1px solid #ffffff;
    border-right-color: #404040;
    border-bottom-color: #404040;
    font-size: 10px;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Menu Bar */
.menu-bar {
    background: #c0c0c0;
    border-bottom: 2px solid #808080;
    padding: 3px 8px;
    display: flex;
    gap: 16px;
    font-size: 11px;
    color: #000000;
}

.menu-bar span {
    cursor: pointer;
}

/* Window Content Body */
.window-body {
    /* Set this to your repeating background image instead of solid black */
    background-image: url('../images/YOUR-BACKGROUND-IMAGE.jpg'); /* Replace with your bg image path */
    background-repeat: repeat;
    background-position: top left;
    
    overflow-y: auto;
    flex-grow: 1;
    scrollbar-width: thin;
    scrollbar-color: #6b449b #1a1a1a;
}

/* Centered Photo Feed */
.photo-feed {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.photo-feed img {
    width: 100%;
    height: auto;
    display: block;
    cursor: pointer;
    transition: opacity 0.2s ease;
}

.photo-feed img:hover {
    opacity: 0.85;
}

/* --- LIGHTBOX FULLSCREEN MODAL --- */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.92);
    backdrop-filter: blur(8px);
    z-index: 1000;
    justify-content: center;
    align-items: center;
    cursor: zoom-out;
}

.lightbox.active {
    display: flex;
}

.lightbox img {
    max-width: 90vw;
    max-height: 90vh;
    object-fit: contain;
    border: 2px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 0 35px rgba(0, 0, 0, 0.9);
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: #ffffff;
    font-size: 38px;
    font-weight: bold;
    cursor: pointer;
    user-select: none;
}