/* --- GLOBAL RETRO BASE --- */
html {
    scroll-behavior: smooth;
}
body {
    background-color: #008080; 
    font-family: "MS Sans Serif", "Courier New", monospace;
    color: #ffffff;
    margin: 0;
    padding: 10px;
    box-sizing: border-box;
}
*, *:before, *:after { box-sizing: inherit; }

/* --- 1. STARTING SCREEN --- */
.start-screen {
    width: 100%;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #000000;
    position: relative;
    z-index: 999;
}
.start-box {
    background: #c0c0c0;
    color: #000;
    border: 4px double #ff00ff;
    padding: 30px 15px;
    text-align: center;
    max-width: 400px;
    width: 90%;
    box-shadow: 10px 10px 0px #00ffff;
}
.start-box h1 {
    color: #ff0000;
    font-size: 2.5rem;
    margin: 0 0 15px 0;
}
.enter-btn {
    display: inline-block;
    margin-top: 20px;
    background: #000080;
    color: #fff;
    padding: 12px 24px;
    text-decoration: none;
    font-weight: bold;
    border: 2px solid #fff;
}
.enter-btn:hover {
    background: #ff00ff;
    color: #000;
}
.blink { animation: blinker 1.s linear infinite; }
@keyframes blinker { 50% { opacity: 0; } }

/* --- HUB WRAPPER --- */
.desktop-wrapper {
    max-width: 950px;
    margin: 40px auto;
}
.marquee-container {
    background: #000;
    color: #00ff00;
    padding: 8px;
    border: 2px dashed #ffff00;
    margin-bottom: 20px;
}


.window {
    background: #c0c0c0;
    color: #000000;
    border-top: 3px solid #fff;
    border-left: 3px solid #fff;
    border-right: 3px solid #808080;
    border-bottom: 3px solid #808080;
    margin-bottom: 35px;
    box-shadow: 4px 4px 0px rgba(0,0,0,0.4);
}
.window-title {
    background: linear-gradient(90deg, #800080, #ff00ff);
    color: white;
    padding: 6px 10px;
    font-weight: bold;
}
.window-content { padding: 15px; }

/* --- PROFILE LAYOUT --- */
.artist-profile {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.profile-avatar {
    width: 100%;
    max-width: 180px;
    aspect-ratio: 1 / 1;
    background: #aaa;
    border: 3px inset #fff;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-weight: bold;
    font-size: 0.8rem;
}
.profile-bio h2 { margin-top: 0; color: #800080; }

/* --- SOCIALS INTERFACE --- */
.social-links-zone {
    margin-top: 20px;
    border-top: 2px dashed #808080;
    padding-top: 15px;
}
.social-links-zone h3 { font-size: 0.9rem; margin-bottom: 10px; }
.social-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
}
.social-tag {
    background: #ffffff;
    color: #000000;
    padding: 8px;
    text-decoration: none;
    border: 1px solid #808080;
    font-weight: bold;
    font-size: 0.9rem;
}
.social-tag:hover {
    background: #ffff00;
    border-color: #000;
}

/* --- TAB SELECTION BAR --- */
.tab-container {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-bottom: 15px;
}
.tab-link {
    background: #d9d9d9;
    color: #555;
    padding: 10px;
    text-decoration: none;
    font-weight: bold;
    border: 2px solid #808080;
    text-align: center;
}
.tab-link:hover {
    background: #fff;
    color: #000;
}

/* --- GRID GENERATOR --- */
.art-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
}
.art-card { background: #fff; padding: 10px; border: 2px inset #fff; }
.art-img-placeholder {
    width: 100%;
    aspect-ratio: 4/3;
    background: #eee;
    border: 2px dashed #ccc;
    display: flex;
    align-items: center;
    justify-content: center;
}
.art-meta h3 { margin: 8px 0 4px 0; font-size: 1rem; }
.art-meta p { margin: 0; font-size: 0.8rem; color: #555; }

/* --- RESPONSIVE ADAPTATION OVERRIDES --- */
@media (min-width: 600px) {
    body { padding: 25px; }
    .artist-profile { flex-direction: row; align-items: flex-start; }
    .profile-avatar { margin: 0; width: 180px; }
    .social-grid { grid-template-columns: repeat(2, 1fr); }
    .tab-container { flex-direction: row; gap: 0; }
    .tab-link {
        border-bottom: none;
        border-radius: 5px 5px 0 0;
        padding: 8px 16px;
        margin-right: 4px;
    }
    .art-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 900px) {
    .art-grid { grid-template-columns: repeat(3, 1fr); }
}

.social-tag {
    display: block;
    background: #c0c0c0;
    color: #000000;
    padding: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 0.9rem;
    
    border-top: 2px solid #fff;
    border-left: 2px solid #fff;
    border-right: 2px solid #808080;
    border-bottom: 2px solid #808080;
}

.social-tag:active {
   
    border-top: 2px solid #808080;
    border-left: 2px solid #808080;
    border-right: 2px solid #fff;
    border-bottom: 2px solid #fff;
    padding: 9px 7px 7px 9px; 
}

body {
    background-color: #12041e; 
    background-image: url('/Background/Cybergrid.png'); 
    background-repeat: repeat; 
    background-attachment: scroll;
    
    font-family: 'Courier Prime', Courier, monospace;
    font-size: 1rem;
    line-height: 1.5;
    color: #ffffff;
    margin: 0;
    padding: 10px;
    box-sizing: border-box;

   
    animation: gridScroll 40s linear infinite;
    will-change: background-position; 
}

.art-image {
    width: 100%;
    height: auto;
    display: block;
    border: 1px solid #808080; 
}

.gallery-sub-title {
    background: #e0e0e0;
    color: #800080; 
    padding: 6px;
    font-size: 0.9rem;
    border-bottom: 2px dashed #808080;
    margin-bottom: 15px;
    text-transform: uppercase;
}

/* --- CLICKABLE GALLERY ADJUSTMENTS --- */
.art-image {
    cursor: pointer; 
    transition: transform 0.2s ease;
}
.art-image:hover {
    transform: scale(1.02); 
}

/* --- LIGHTBOX MODAL OVERLAY --- */
.lightbox-overlay {
    display: none; 
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    background-color: rgba(0, 0, 0, 0.85);
    z-index: 99999 !important;
    
    /* CRITICAL CENTERING CONTROLS */
    display: none; 
    justify-content: center; 
    align-items: center; 
    padding: 20px;
    box-sizing: border-box;
}


.lightbox-window {
    width: 100%;
    max-width: 850px; 
    margin: auto !important;
    position: relative;
    box-sizing: border-box;
}

.lightbox-content {
    background: #000000;
    padding: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0; 
}


.lightbox-content img {
    width: 100%;
    max-width: 100%;
    height: auto;
    max-height: 80vh; 
    object-fit: contain;
    border: 2px inset #fff;
    display: block;
}


body {
    font-family: 'Courier Prime', Courier, monospace;
    font-size: 1rem;
    line-height: 1.5;
}


.retro-header h1,
.window-title,
.gallery-sub-title,
.nav-btn,
.tab-link,
.start-box h1,
.enter-btn,
.art-meta h3 {
    font-family: 'Silkscreen', Monaco, monospace !important;
    letter-spacing: 0.5px;
}

/* --- SCALING DOWN SILKSCREEN FOR TITLES --- */


.start-box h1 {
    font-size: 1.5rem !important; 
}


.retro-header h1 {
    font-size: 1.8rem !important; 
}


.window-title {
    font-size: 0.75rem !important; 
    padding: 4px 8px;
}


.gallery-sub-title {
    font-size: 0.8rem !important; 
    padding: 4px;
}


.tab-link, .nav-btn, .enter-btn {
    font-size: 0.85rem !important;
}


.art-meta h3 {
    font-size: 0.9rem !important;
    margin: 4px 0;
}


@keyframes gridScroll {
    from {
        background-position: 0 0;
    }
    to {
        background-position: 50px 50px;
    }
}
