/* =========================================================
   ACIDWINZIP INC.™  -  shared stylesheet
   Linked by every page. Edit styling here once, it updates
   everywhere. Page-specific content lives in each .html file.
   ========================================================= */

:root{
  --lime: #d4ff00;
  --magenta: #3c64d8;      /* mid blue accent */
  --yellow: #b8c4ff;       /* pale lavender */
  --acid-green: #9eff00;
  --hot-purple: #0000FF;   /* classic win95 blue */
  --black: #0a0a0a;
  --grey: #c0c0c0;
  --grey-dark: #808080;
  --grey-light: #e8e8e8;
  --window-blue: #0000a0;
}

*{ box-sizing: border-box; }

html,body{
  margin:0;
  padding:0;
  min-height:100%;
  font-family: 'Courier New', Courier, monospace;
  cursor: default;
}

/* ============ TILED BACKGROUND (scrolls with the page) ============
   IMAGE: https://file.garden/ZWlUCY4S7Xz2vypS/archived%20backgrounds/checkerboard/bgT007.gif
   To swap the image, change the url() value in background-image below.
   background-repeat: repeat  → tiles the image
   no background-attachment   → scrolls with the page (not fixed)
   ================================================================= */
body{
  background-image: url('https://file.garden/ZWlUCY4S7Xz2vypS/archived%20backgrounds/stars%20%26%20space/Galaxy0.gif');
  background-repeat: repeat;
  /* scrolls with content by default — no background-attachment:fixed */
}

/* ============ DESKTOP ============ */
#desktop{
  position:relative;
  width:100%;
  min-height:100vh;
  padding-top: 40px;    /* clears the fixed marquee header */
  padding-bottom: 60px; /* clears the fixed taskbar */
  box-sizing:border-box;
}

/* ============ MARQUEE BAR (fixed, stays still while scrolling) ============ */
.marquee-bar{
  position:fixed;
  top:0; left:0; right:0;
  width:100%;
  box-sizing:border-box;
  background: var(--hot-purple);
  color: var(--acid-green);
  font-weight:bold;
  font-size: 13px;
  letter-spacing: 2px;
  padding: 4px 0;
  border-bottom: 3px ridge var(--lime);
  white-space: nowrap;
  overflow:hidden;
  z-index: 900;
}
.marquee-bar span{
  display:inline-block;
  padding-left: 100%;
  animation: scroll-left 22s linear infinite;
}
@keyframes scroll-left{
  0%   { transform: translateX(0); }
  100% { transform: translateX(-100%); }
}

/* ============ DESKTOP ICONS (links to pages; scroll with the page) ============ */
.icons{
  position:absolute;
  top: 50px;
  left: 18px;
  display:flex;
  flex-direction:column;
  gap: 22px;
  z-index: 5;
}
.icon{
  width: 84px;
  text-align:center;
  cursor:pointer;
  color: var(--lime);
  text-shadow: 1px 1px 0 #000, 0 0 6px rgba(212,255,0,0.6);
  font-size: 11px;
  user-select:none;
  text-decoration:none;
  display:block;
}
.icon:active{ transform: translateY(1px); }

/* The glyph box is the square you'll replace with a PNG later.
   To swap: put an <img class="glyph-img" src="icons/about.png"> inside
   the .glyph div (or replace the whole .glyph). The image fills the square. */
.icon .glyph{
  width: 48px;
  height: 48px;
  margin: 0 auto 6px;
  border-radius: 6px;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size: 22px;
  overflow:hidden;
}

/* injected icon image rule */
.icon .glyph img, .icon .glyph .ic{
  width: 100%;
  height: 100%;
  object-fit: contain;
  image-rendering: pixelated;
  display:block;
}

.icon .glyph img,
.icon .glyph-img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}
/* If your PNG already includes its own frame/border, add the
   "raw" class to the glyph to drop the box styling:
   <div class="glyph raw"><img src="icons/about.png"></div> */
.icon .glyph.raw{
  background:none;
  border:none;
  border-radius:0;
  box-shadow:none;
}
.icon span{
  display:block;
  background: rgba(0,0,0,0.55);
  padding: 1px 2px;
  border-radius: 2px;
}
/* highlight the icon for the page you're currently on */
.icon.current span{
  background: var(--hot-purple);
  color:#fff;
}

/* ============ WINDOW (one per page, sits in flow, scrolls) ============ */
.window{
  position: static;
  margin: 10px auto 40px auto;   /* centered horizontally on the page */
  width: 480px;
  max-width: 92vw;
  background: var(--grey);
  border: 2px solid #000;
  box-shadow: 4px 4px 0 rgba(0,0,0,0.6), 0 0 24px rgba(60,100,216,0.4);
  font-size: 13px;
}
@media (max-width: 720px){
  .window{ margin-left: 110px; }
}

.titlebar{
  background: linear-gradient(90deg, #0000FF, #4060c0, #a0a8b8, var(--grey));
  color: #fff;
  font-weight:bold;
  font-size: 12px;
  letter-spacing: 1px;
  padding: 4px 6px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  text-shadow: 1px 1px 0 #000;
  user-select:none;
}
.titlebar .title{
  display:flex;
  align-items:center;
  gap:6px;
  overflow:hidden;
  white-space:nowrap;
  text-overflow:ellipsis;
}
.titlebar .buttons{ display:flex; gap:3px; }
.titlebar button{
  width: 18px; height: 18px;
  background: var(--grey-light);
  border: 1px solid #000;
  border-top-color:#fff;
  border-left-color:#fff;
  font-size: 11px;
  line-height:1;
  cursor:pointer;
  color:#000;
  font-weight:bold;
}
.titlebar button:active{
  border-color:#000;
  border-top-color:#555;
  border-left-color:#555;
}
/* the close button on a page goes home; minimize is decorative */
.titlebar a.tb-btn{
  width: 18px; height: 18px;
  background: var(--grey-light);
  border: 1px solid #000;
  border-top-color:#fff;
  border-left-color:#fff;
  font-size: 11px;
  line-height:18px;
  text-align:center;
  cursor:pointer;
  color:#000 !important;
  font-weight:bold;
  text-decoration:none;
  display:inline-block;
}
.titlebar a.tb-btn:active{
  border-color:#000;
  border-top-color:#555;
  border-left-color:#555;
}

.window-body{
  padding: 12px;
  background: var(--grey-light);
  border-top: 1px solid #fff;
}
.window-body h2{
  margin-top:0;
  font-size: 16px;
  color: var(--hot-purple);
  border-bottom: 2px dashed var(--magenta);
  padding-bottom:4px;
}
.window-body p{ line-height:1.5; }
.window-body a{ color: var(--hot-purple); font-weight:bold; }
.window-body a:visited{ color: var(--magenta); }

.blink{ animation: blink 1s steps(1) infinite; }
@keyframes blink{ 50%{ opacity:0; } }

/* ============ PORTFOLIO GALLERY GRID ============ */
.gallery-grid{
  display:grid;
  grid-template-columns: repeat(auto-fill, minmax(110px,1fr));
  gap: 8px;
  margin-top: 10px;
}
.gallery-grid .thumb{
  aspect-ratio: 1;
  background: repeating-linear-gradient(45deg, var(--lime), var(--lime) 10px, var(--magenta) 10px, var(--magenta) 20px);
  border: 2px solid #000;
  display:flex;
  align-items:center;
  justify-content:center;
  color:#000;
  font-size:10px;
  text-align:center;
  font-weight:bold;
  text-shadow: 1px 1px 0 #fff;
  overflow:hidden;
}
.gallery-grid .thumb img{ width:100%; height:100%; object-fit:cover; display:block; }

/* ============ PORTFOLIO CATEGORY FOLDER LIST ============ */
.folder-list{
  display:flex;
  flex-direction:column;
  gap: 8px;
  margin-top: 10px;
}
.folder-item{
  display:flex;
  align-items:center;
  gap: 10px;
  padding: 8px 10px;
  background: #fff;
  border: 1px solid #888;
  cursor:pointer;
  font-weight:bold;
  text-decoration:none;
  color:#000;
}
.folder-item:hover{
  background: var(--hot-purple);
  color:#fff;
}
.folder-glyph{
  width: 32px;
  height: 32px;
  flex-shrink:0;
  background: linear-gradient(135deg, var(--magenta), var(--hot-purple));
  border: 2px solid var(--lime);
  border-radius: 5px;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size: 16px;
}

/* ============ WEBRING BUTTON ROW ============ */
.button-row{
  display:flex;
  flex-wrap:wrap;
  gap:6px;
  margin-top:10px;
  justify-content: center
}
.win95-button-row{
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}
.button-88x31{
  background: var(--grey);
  color: #000;
  font-family: 'MS Sans Serif', Arial, sans-serif;
  font-size: 11px;
  font-weight: bold;
  padding: 6px 14px;
  border-top: 2px solid #fff;
  border-left: 2px solid #fff;
  border-right: 2px solid #000;
  border-bottom: 2px solid #000;
  box-shadow: 3px 3px 0 rgba(0,0,0,0.35);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1.2;
  text-align: center;
  white-space: nowrap;
}
.button-88x31:active{
  border-top-color: #000;
  border-left-color: #000;
  border-right-color: #fff;
  border-bottom-color: #fff;
  box-shadow: none;
  transform: translate(2px,2px);
}

/* ============ HYPERWEB ACCESS CARD ============ */
.id-card{
  border: 2px dashed var(--hot-purple);
  padding: 10px;
  margin-top:10px;
  background: repeating-linear-gradient(135deg, #fff 0 6px, var(--grey-light) 6px 12px);
  font-size:11px;
  line-height:1.5;
}
.id-card b{ color: var(--magenta); }

/* ============ TASKBAR (fixed — do not change, it's perfect) ============ */
#taskbar{
  position:fixed;
  bottom:0; left:0; right:0;
  height: 38px;
  background: linear-gradient(180deg, var(--grey) 0%, var(--grey-dark) 100%);
  border-top: 2px solid #fff;
  display:flex;
  align-items:center;
  padding: 0 6px;
  gap: 6px;
  z-index: 1000;
  font-size:12px;
}
#start-btn{
  background: linear-gradient(90deg, var(--lime), var(--acid-green));
  border: 2px outset #fff;
  font-weight:bold;
  padding: 5px 12px;
  cursor:pointer;
  font-family: inherit;
  font-size:12px;
  text-shadow: 1px 1px 0 #fff;
}
#start-btn:active{ border-style: inset; }

#task-items{
  flex:1;
  display:flex;
  gap:4px;
  overflow:hidden;
}
.task-item{
  background: var(--grey-light);
  border: 1px solid #000;
  border-top-color:#fff; border-left-color:#fff;
  padding: 4px 10px;
  font-size:11px;
  cursor:pointer;
  max-width:140px;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
.task-item.active{
  border-color:#000;
  border-top-color:#555;
  border-left-color:#555;
  background: #d8d8d8;
}

#clock{
  background:#000;
  color: var(--acid-green);
  padding: 4px 8px;
  border: 1px inset #fff;
  font-family: 'Courier New', monospace;
  font-size:12px;
  min-width: 64px;
  text-align:center;
}

/* ============ START MENU ============ */
#start-menu{
  position:fixed;
  bottom: 38px;
  left: 4px;
  width: 200px;
  background: var(--grey);
  border: 2px outset #fff;
  box-shadow: 4px 4px 0 rgba(0,0,0,0.5);
  z-index: 1001;
  display:none;
  font-size:12px;
}
#start-menu.open{ display:flex; }
#start-menu .header{
  background: linear-gradient(180deg, var(--hot-purple), var(--magenta));
  color:#fff;
  font-weight:bold;
  padding: 10px 4px;
  writing-mode: vertical-rl;
  text-orientation: mixed;
  text-align:center;
  text-shadow:1px 1px 0 #000;
  letter-spacing:2px;
  flex-shrink:0;
}
#start-menu ul{
  list-style:none;
  margin:0; padding:0;
  flex:1;
}
#start-menu li{
  padding: 0;
  border-bottom: 1px solid var(--grey-dark);
}
#start-menu li a{
  display:block;
  padding: 8px 10px;
  cursor:pointer;
  text-decoration:none;
  color:#000;
}
#start-menu li a:hover{
  background: var(--hot-purple);
  color:#fff;
}

/* ============ EXTRAS (home page) ============ */
.extras-row{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 14px;
}
.extra-box{
  border: 2px solid var(--hot-purple);
  background: #fff;
  padding: 8px;
  font-size:11px;
}
.extra-section{
  margin-top: 10px;
  border: 2px solid var(--hot-purple);
  background: #fff;
  padding: 8px;
  font-size:11px;
}
.extra-box-title{
  font-weight:bold;
  font-size:11px;
  color: var(--hot-purple);
  border-bottom: 1px dashed var(--hot-purple);
  margin-bottom:6px;
  padding-bottom:3px;
  letter-spacing:1px;
}
.obsessed-list{
  margin:0; padding:0 0 0 14px;
  line-height:1.8;
  color:#222;
}
.obsessed-list li::marker{ color: var(--hot-purple); }

.tarot-widget{
  text-align:center;
}
.tarot-img-wrap{
  position:relative;
  display:inline-block;
  cursor:pointer;
  margin-bottom:6px;
}
.tarot-img-wrap img{
  display:block;
  width:110px;
  border: 3px solid #0000FF;
  box-shadow: 3px 3px 0 #000;
  transition: transform 0.2s;
}
.tarot-img-wrap:hover img{ transform: scale(1.04); }
.tarot-overlay{
  position:absolute;
  inset:0;
  background: rgba(0,0,180,0.88);
  color:#fff;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  padding:8px;
  opacity:0;
  transition: opacity 0.25s;
  pointer-events:none;
}
.tarot-overlay-name{
  font-weight:bold;
  font-size:11px;
  margin-bottom:5px;
  letter-spacing:1px;
  text-transform:uppercase;
}
.tarot-overlay-meaning{ font-size:10px; line-height:1.4; font-style:italic; }
.tarot-card-name{ font-weight:bold; font-size:12px; color:#0000FF; margin-bottom:4px; }
.tarot-note{ font-size:9px; color:#888; line-height:1.5; }

.gif-shrine{
  display:flex;
  flex-wrap:wrap;
  gap:6px;
  margin-top:4px;
}
.gif-shrine img{
  max-width:80px;
  max-height:80px;
  display:block;
}
.gif-placeholder{
  width:70px; height:70px;
  background: repeating-linear-gradient(45deg, #ddd, #ddd 5px, #eee 5px, #eee 10px);
  border:1px dashed #aaa;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:8px;
  color:#aaa;
  text-align:center;
}

.cool-links{
  display:flex;
  flex-wrap:wrap;
  gap:6px;
  margin-top:4px;
}
.cool-link-btn{
  background: var(--hot-purple);
  color: var(--lime) !important;
  padding: 4px 10px;
  font-size:11px;
  font-weight:bold;
  font-family: 'Courier New', monospace;
  border: 2px outset #fff;
  text-decoration:none;
  letter-spacing:1px;
  display:inline-block;
}
.cool-link-btn:hover{
  background: var(--lime);
  color: var(--hot-purple) !important;
}
.cool-link-btn:active{ border-style:inset; }

/* ============ CV PAGE ============ */
.cv-body h3{
  color: var(--hot-purple);
  border-bottom: 1px solid var(--hot-purple);
  padding-bottom:2px;
  margin-top:16px;
  font-size:13px;
  letter-spacing:1px;
}
.cv-body p{ line-height:1.6; font-size:12px; }
.cv-placeholder{ color:#aaa; font-style:italic; }

/* ============ GUESTBOOK ============ */
.gb-embed{
  margin-top: 14px;
  border-top: 2px dashed var(--hot-purple);
  padding-top: 10px;
}
.gb-embed-title{
  font-weight:bold;
  font-size:13px;
  color: var(--hot-purple);
  margin-bottom:8px;
  letter-spacing:1px;
}
.gb-fallback{
  font-size:10px;
  color:#888;
  margin-top:6px;
  text-align:center;
}
.gb-fallback a{ color: var(--hot-purple); }

/* ============ CURSOR FLAIR ============ */
.icon, .titlebar, #start-btn, .task-item, .window-body a, .icon .glyph{
  cursor: pointer;
}


/* ===== Lightbox overlay for gallery images (added by request) ===== */
#lightbox-overlay{
  position:fixed;
  top:0; left:0;
  width:100%; height:100%;
  background:rgba(0,0,0,0.85);
  display:none;
  align-items:center;
  justify-content:center;
  z-index:9999;
}
#lightbox-overlay.active{ display:flex; }
#lightbox-overlay img{
  max-width:90%;
  max-height:90%;
  border:4px solid #fff;
  box-shadow:0 0 20px rgba(0,0,0,0.6);
}
#lightbox-close{
  position:absolute;
  top:20px; right:30px;
  color:#fff;
  font-size:36px;
  font-weight:bold;
  cursor:pointer;
  user-select:none;
}
