
:root{
  --silver:#c0c0c0;
  --silver-2:#dfdfdf;
  --shadow:#808080;
  --deep:#404040;
  --blue:#000080;
  --sky1:#99d0ff;
  --sky2:#65b8f5;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  color:#000;
  font-family:"MS Sans Serif", Tahoma, Geneva, sans-serif;

  background-color: #008080;

  min-height:100vh;
}

.top-ad{
  padding-top:6px;
  text-align:center;
}
.ad-black{
  width:min(470px, calc(100% - 24px));
  margin:0 auto 3px;
  padding:11px 14px 9px;
  background:#000;
  color:#ffd848;
  font-size:28px;
  font-style:italic;
  font-family:"Times New Roman", serif;
  font-weight:bold;
}
.top-ad a{
  font-size:16px;
  color:#0018a8;
}

.brand-header{
  max-width:820px;
  margin:12px auto 8px;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:0 12px;
}
.brand-mark{
  position:relative;
  width:124px;
  height:124px;
  flex:0 0 auto;
}
.folder{
  position:absolute;
  left:34px;
  top:28px;
  width:54px;
  height:38px;
  background:#ffd200;
  border:2px solid #9c8500;
}
.folder::before{
  content:"";
  position:absolute;
  left:0;
  top:-10px;
  width:28px;
  height:12px;
  background:#ffe26a;
  border:2px solid #9c8500;
  border-bottom:0;
}
.orbit{
  position:absolute;
  inset:6px 0 0 8px;
  border:8px solid #19b200;
  border-radius:50%;
  transform:rotate(-18deg);
  clip-path:ellipse(50% 28% at 50% 50%);
}
.brand-copy h1{
  margin:0;
  font-size:58px;
  line-height:.9;
  letter-spacing:-3px;
  font-family:Arial, sans-serif;
}
.brand-copy p{
  margin:2px 0 0;
  font-size:16px;
}

.page{
  width:min(920px, calc(100% - 22px));
  margin:0 auto;
}

.window{
  background:var(--silver);
  border-top:2px solid #fff;
  border-left:2px solid #fff;
  border-right:2px solid var(--deep);
  border-bottom:2px solid var(--deep);
  box-shadow:1px 1px 0 #000;
}
.main-window{
  margin-top:12px;
}
.title-bar{
  height:26px;
  padding:2px 2px 2px 4px;
  color:#fff;
  display:flex;
  align-items:center;
  justify-content:space-between;
  font-weight:bold;
  background:linear-gradient(90deg, #000080, #1084d0);
}
.title-text{
  display:flex;
  align-items:center;
  gap:6px;
  font-size:13px;
}
.title-icon{
  width:16px;
  height:16px;
  display:inline-block;
  background:
    linear-gradient(#ffd400,#ffd400) 1px 5px / 14px 10px no-repeat,
    linear-gradient(#fff07f,#fff07f) 1px 1px / 8px 6px no-repeat;
}
.title-controls{
  display:flex;
  gap:2px;
}
.title-controls button{
  width:20px;
  height:18px;
  padding:0;
  cursor:pointer;
  background:var(--silver);
  border-top:2px solid #fff;
  border-left:2px solid #fff;
  border-right:2px solid #707070;
  border-bottom:2px solid #707070;
}
.menu-bar{
  display:flex;
  gap:2px;
  padding:4px 6px;
  background:#cfcfcf;
  border-bottom:1px solid #8a8a8a;
}
.menu-bar a{
  color:#000;
  text-decoration:none;
  font-size:13px;
  padding:2px 9px;
}
.menu-bar a:hover{
  background:#000080;
  color:#fff;
}
.window-body{
  padding:14px 14px 8px;
  background:#c0c0c0;
}
.cards-grid{
  display:grid;
  grid-template-columns:repeat(4, 1fr);
  gap:18px 14px;
  justify-items:center;
}
.card{
  width:171px;
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:7px;
  text-decoration:none;
  color:#000;
}
.card_alt{
  width:491px;
  display:flex;
  flex-direction:column;
  justify-content: center;
  align-items:center;
  gap:7px;
  text-decoration:none;
  color:#000;
}
.featured-center {
    display: flex;
    justify-content: center;
    width: 100%;
}
.card img{
  display:block;
  width:171px;
  height:180px;
  image-rendering:auto;
}
.card span,.card_alt span{
  font-size:14px;
  text-align:center;
  line-height:1.1;
  padding:1px 4px;
}
.card:hover span,.card_alt:hover span{
  background:#000080;
  color:#fff;
}
.status-bar{
  display:flex;
  justify-content:space-between;
  gap:8px;
  padding:4px;
  border-top:1px solid #8d8d8d;
}
.status-bar span{
  flex:1;
  min-height:22px;
  display:flex;
  align-items:center;
  padding:2px 8px;
  font-size:12px;
  background:#c0c0c0;
  border-top:2px solid #808080;
  border-left:2px solid #808080;
  border-right:2px solid #fff;
  border-bottom:2px solid #fff;
}

.awards-link{
  text-align:center;
  margin:16px 0 12px;
  font-size:18px;
  font-weight:bold;
}
.awards-link a{color:#001aa8}

.badges{
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  gap:8px;
  margin:10px 0 16px;
}
.badge{
  padding:8px 10px 7px;
  font-size:15px;
  font-weight:bold;
  border:1px solid #888;
  background:#fff;
}
.badge.purple{background:#4d1a75;color:#ffd84a}
.badge.red{background:#780000;color:#fff}
.badge.blue{background:#17398b;color:#fff}
.badge.green{background:#004718;color:#000}

.link-strip{
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  gap:3px;
  padding:4px;
}
.link-strip a{
  padding:4px 6px;
  background:#c0c0c0;
  color:#000;
  font-size:13px;
  text-decoration:none;
  border-top:2px solid #fff;
  border-left:2px solid #fff;
  border-right:2px solid #707070;
  border-bottom:2px solid #707070;
}
.link-strip a:hover{
  background:#000080;
  color:#fff;
}

.go-box{
  margin:14px auto 24px;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:6px;
  font-size:14px;
}
.go-box label{
  background:#ffef73;
  padding:1px 4px;
  font-weight:bold;
}
.go-box select{
  font-family:"MS Sans Serif", Tahoma, sans-serif;
  font-size:14px;
  padding:2px 6px;
}

.page-footer{
  text-align: center;
  margin:0 auto;
  padding:12px 0 14px;
  justify-content:space-between;
  gap:10px;
  font-size:16px;

}
.page-footer a{color:#001aa8}

@media (max-width: 860px){
  .cards-grid{grid-template-columns:repeat(2, 1fr)}
  .brand-copy h1{font-size:54px}
  .page-footer{flex-direction:column;align-items:flex-start}
}
@media (max-width: 480px){
  .cards-grid{grid-template-columns:1fr}
  .brand-header{flex-direction:column}
  .brand-copy h1{font-size:42px;text-align:center}
  .brand-copy p{text-align:center}
  .menu-bar{flex-wrap:wrap}
}

/* Interactive Windows 95 window controls */
.win-control{
  position:relative;
  display:grid;
  place-items:center;
  min-width:20px;
  user-select:none;
  -webkit-user-select:none;
}
.win-control:active,
.win-control.pressed{
  border-top:2px solid #707070;
  border-left:2px solid #707070;
  border-right:2px solid #fff;
  border-bottom:2px solid #fff;
  padding:1px 0 0 1px;
}
.minimize-glyph{
  width:9px;
  height:2px;
  background:#000;
  align-self:end;
  margin-bottom:2px;
}
.maximize-glyph{
  width:10px;
  height:9px;
  border:1px solid #000;
  border-top-width:2px;
}
.close-glyph{
  font-family:Arial,sans-serif;
  font-size:15px;
  font-weight:bold;
  line-height:1;
  transform:translateY(-1px);
}

.main-window{
  transform-origin:center center;
  transition:
    transform 180ms steps(3,end),
    opacity 180ms steps(3,end),
    width 180ms steps(3,end),
    height 180ms steps(3,end),
    margin 180ms steps(3,end);
}
.main-window.window-minimizing{
  transform:translateY(calc(100vh - 120px)) scale(.08,.04);
  opacity:.2;
}
.main-window.window-closing{
  transform:scale(.02,.02);
  opacity:0;
}
.main-window.hidden-window{display:none}
.main-window.maximized{
  position:fixed;
  inset:0 0 38px 0;
  z-index:90;
  width:100vw;
  max-width:none;
  height:calc(100vh - 38px);
  margin:0;
  overflow:auto;
  box-shadow:none;
}
.main-window.maximized .window-body{min-height:calc(100vh - 112px)}
.main-window.maximized .cards-grid{grid-template-columns:repeat(4,minmax(171px,1fr))}
.main-window.restoring{
  animation:windowRestore 180ms steps(3,end);
}
@keyframes windowRestore{
  from{transform:translateY(45vh) scale(.08,.04);opacity:.2}
  to{transform:none;opacity:1}
}

.retro-taskbar{
  position:fixed;
  left:0;right:0;bottom:0;
  height:38px;
  display:flex;
  align-items:center;
  gap:4px;
  padding:3px;
  z-index:120;
  background:#c0c0c0;
  border-top:2px solid #fff;
  box-shadow:0 -1px 0 #808080;
}
.task-start,
.window-task,
.task-clock{
  height:30px;
  font-family:"MS Sans Serif",Tahoma,sans-serif;
  font-size:12px;
  background:#c0c0c0;
  border-top:2px solid #fff;
  border-left:2px solid #fff;
  border-right:2px solid #707070;
  border-bottom:2px solid #707070;
}
.task-start{
  min-width:74px;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:6px;
  font-weight:bold;
}

.windows-flag{
  width:16px;height:14px;
  display:inline-block;
  background:
    linear-gradient(90deg,#f00 0 48%,transparent 48%) 0 0/100% 48% no-repeat,
    linear-gradient(90deg,#00a42a 0 48%,transparent 48%) 0 100%/100% 48% no-repeat,
    linear-gradient(90deg,transparent 52%,#008cff 52%) 0 0/100% 48% no-repeat,
    linear-gradient(90deg,transparent 52%,#ffd400 52%) 0 100%/100% 48% no-repeat;
  transform:skew(-8deg);
}
.window-task{
  min-width:230px;
  max-width:min(420px,45vw);
  text-align:left;
  padding:0 8px;
  overflow:hidden;
  white-space:nowrap;
  text-overflow:ellipsis;
}
.window-task.active{
  border-top:2px solid #707070;
  border-left:2px solid #707070;
  border-right:2px solid #fff;
  border-bottom:2px solid #fff;
  background:repeating-linear-gradient(45deg,#ddd 0 2px,#c0c0c0 2px 4px);
}
.task-clock{
  margin-left:auto;
  min-width:70px;
  display:grid;
  place-items:center;
  border-top:2px solid #808080;
  border-left:2px solid #808080;
  border-right:2px solid #fff;
  border-bottom:2px solid #fff;
}
body{padding-bottom:38px}

@media (max-width:860px){
  .main-window.maximized .cards-grid{grid-template-columns:repeat(2,minmax(171px,1fr))}
}
@media (max-width:480px){
  .main-window.maximized .cards-grid{grid-template-columns:1fr}
  .window-task{min-width:120px;max-width:48vw}
}


/* --- Start menu and personal profile window --- */
.retro-taskbar{
  position:fixed;
  left:0;
  right:0;
  bottom:0;
  min-height:36px;
  display:flex;
  align-items:center;
  gap:4px;
  padding:3px;
  background:#c0c0c0;
  border-top:2px solid #fff;
  z-index:1000;
}

.task-start,
.window-task,
.retro-button{
  font-family:"MS Sans Serif",Tahoma,sans-serif;
  background:#c0c0c0;
  color:#000;
  border-top:2px solid #fff;
  border-left:2px solid #fff;
  border-right:2px solid #404040;
  border-bottom:2px solid #404040;
  box-shadow:1px 1px 0 #000;
  cursor:pointer;
}

.task-start{
  height:29px;
  padding:2px 8px;
  display:flex;
  align-items:center;
  gap:6px;
  font-weight:bold;
}

.windows-flag{
  /*
  width:17px;
  height:17px;
  display:inline-block;
  background:
    linear-gradient(90deg,#f00 0 48%,transparent 48%),
    linear-gradient(#00a31a 0 48%,#ffd400 48% 100%);
  border:1px solid #666;
  transform:skew(-8deg);
  */
  width: 32px;
  height: 32px;
  display: inline-block;

  background-image: url("assets/_icons/icon-win95.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;

  border: 0;
  transform: none;
  image-rendering: pixelated;
}

.window-task{
  height:29px;
  min-width:190px;
  max-width:260px;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  text-align:left;
  padding:2px 9px;
}

.window-task.active,
.task-start.active,
.retro-button:active{
  border-top:2px solid #404040;
  border-left:2px solid #404040;
  border-right:2px solid #fff;
  border-bottom:2px solid #fff;
  box-shadow:none;
  transform:translate(1px,1px);
}

.hidden-task{display:none}

.task-clock{
  margin-left:auto;
  min-width:66px;
  height:29px;
  display:grid;
  place-items:center;
  border-top:2px solid #808080;
  border-left:2px solid #808080;
  border-right:2px solid #fff;
  border-bottom:2px solid #fff;
  font-size:12px;
}

.start-menu{
  position:fixed;
  left:3px;
  bottom:36px;
  width:270px;
  min-height:228px;
  display:none;
  grid-template-columns:38px 1fr;
  background:#c0c0c0;
  border-top:2px solid #fff;
  border-left:2px solid #fff;
  border-right:2px solid #404040;
  border-bottom:2px solid #404040;
  box-shadow:1px 1px 0 #000;
  z-index:1100;
}

.start-menu.open{
  display:grid;
  animation:startPop .11s steps(2,end);
}

@keyframes startPop{
  from{opacity:0;transform:translateY(8px) scaleY(.92);transform-origin:bottom}
  to{opacity:1;transform:none}
}

.start-menu-side{
  writing-mode:vertical-rl;
  transform:rotate(180deg);
  display:flex;
  align-items:flex-start;
  justify-content:flex-start;
  padding:8px 6px;
  background:linear-gradient(#777,#333);
  color:#ddd;
  font-size:22px;
  font-weight:bold;
  letter-spacing:1px;
}

.start-menu-items{
  padding:4px 0;
}

.start-menu-items button,
.start-menu-items a{
  width:100%;
  min-height:43px;
  display:flex;
  align-items:center;
  gap:10px;
  padding:5px 10px;
  color:#000;
  text-decoration:none;
  border:0;
  background:transparent;
  font-family:"MS Sans Serif",Tahoma,sans-serif;
  font-size:14px;
  text-align:left;
  cursor:pointer;
}

.start-menu-items button:hover,
.start-menu-items a:hover{
  color:#fff;
  background:#000080;
}

.start-item-icon{
  width:28px;
  text-align:center;
  font-size:22px;
}

.start-separator{
  height:2px;
  margin:4px 5px;
  border-top:1px solid #808080;
  border-bottom:1px solid #fff;
}

.profile-window{
  position:fixed;
  left:50%;
  top:50%;
  width:min(760px,calc(100vw - 28px));
  transform:translate(-50%,-50%);
  z-index:900;
  margin:0;
}

.profile-window.maximized{
  inset:4px 4px 40px 4px;
  width:auto;
  transform:none;
  overflow:auto;
}

.profile-title-bar{cursor:default}

.profile-title-icon{
  width:16px;
  height:16px;
  display:grid;
  place-items:center;
  color:#000;
  background:#ffd746;
  border:1px solid #705c00;
  font-size:12px;
}

.profile-body{
  display:grid;
  grid-template-columns:210px 1fr;
  gap:12px;
  padding:14px;
  background:#c0c0c0;
}

.profile-photo-area{
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:10px;
  padding:10px;
  border-top:2px solid #808080;
  border-left:2px solid #808080;
  border-right:2px solid #fff;
  border-bottom:2px solid #fff;
}

.profile-photo-area img{
  width:180px;
  height:220px;
  object-fit:cover;
  background:#fff;
}

.retro-button{
  min-width:94px;
  min-height:28px;
  padding:3px 11px;
}

.retro-button.disabled{
  color:#808080;
  text-shadow:1px 1px #fff;
  cursor:default;
}

.property-sheet{
  min-height:330px;
}

.tabs{
  display:flex;
  align-items:flex-end;
  padding-left:8px;
  position:relative;
  z-index:2;
}

.tab{
  min-width:82px;
  padding:5px 12px 4px;
  margin-right:2px;
  font-family:"MS Sans Serif",Tahoma,sans-serif;
  background:#c0c0c0;
  border-top:2px solid #fff;
  border-left:2px solid #fff;
  border-right:2px solid #404040;
  border-bottom:0;
  cursor:pointer;
}

.tab.active{
  padding-top:7px;
  margin-bottom:-2px;
  position:relative;
  z-index:3;
}

.tab-panel{
  display:none;
  min-height:300px;
  padding:14px 12px;
  background:#c0c0c0;
  border-top:2px solid #fff;
  border-left:2px solid #fff;
  border-right:2px solid #404040;
  border-bottom:2px solid #404040;
}

.tab-panel.active{display:block}

fieldset{
  margin:0 0 12px;
  padding:11px;
  border:2px groove #eee;
}

legend{
  padding:0 5px;
  font-size:12px;
}

.profile-list{
  margin:0;
  font-size:13px;
}

.profile-list div{
  display:grid;
  grid-template-columns:105px 1fr;
  margin:5px 0;
}

.profile-list dt{font-weight:bold}
.profile-list dd{margin:0}

.online-dot{
  display:inline-block;
  width:9px;
  height:9px;
  margin-right:4px;
  border-radius:50%;
  background:#00a000;
  border:1px solid #004000;
  box-shadow:inset 1px 1px #82ff82;
}

.tab-panel p{
  margin:0;
  font-size:13px;
  line-height:1.5;
}

.profile-links{
  list-style:none;
  margin:0;
  padding:0;
}

.profile-links li{
  display:grid;
  grid-template-columns:28px 1fr;
  align-items:center;
  min-height:38px;
  border-bottom:1px dotted #888;
}

.profile-links a{
  color:#0000a0;
  text-decoration:underline;
  font-size:13px;
}

.system-badges{
  display:flex;
  flex-wrap:wrap;
  gap:7px;
}

.system-badges span{
  padding:4px 7px;
  color:#fff;
  background:#000080;
  border:1px solid #fff;
  box-shadow:1px 1px 0 #000;
  font-size:12px;
}

.profile-dialog-buttons{
  display:flex;
  justify-content:flex-end;
  gap:8px;
  margin-top:10px;
}

.profile-status{padding-top:2px}

.hidden-window{display:none !important}

.window-minimizing{
  animation:minimizeWin .18s linear forwards;
  transform-origin:bottom left;
}

.window-closing{
  animation:closeWin .18s steps(3,end) forwards;
}

.restoring{
  animation:restoreWin .19s steps(3,end);
}

@keyframes minimizeWin{
  to{opacity:.2;transform:translate(-50%,42vh) scale(.08,.04)}
}

@keyframes closeWin{
  50%{filter:invert(1)}
  to{opacity:0;transform:translate(-50%,-50%) scale(.92)}
}

@keyframes restoreWin{
  from{opacity:.2;transform:translate(-50%,42vh) scale(.08,.04)}
  to{opacity:1;transform:translate(-50%,-50%) scale(1)}
}

.win-control.pressed{
  border-top:2px solid #404040 !important;
  border-left:2px solid #404040 !important;
  border-right:2px solid #fff !important;
  border-bottom:2px solid #fff !important;
  transform:translate(1px,1px);
}

.minimize-glyph{
  display:block;
  width:9px;
  height:2px;
  margin:9px 0 0 3px;
  background:#000;
}

.maximize-glyph{
  display:block;
  width:10px;
  height:9px;
  margin:2px auto;
  border:1px solid #000;
  border-top:2px solid #000;
}

.close-glyph{
  display:block;
  margin-top:-2px;
  font-size:16px;
  font-weight:bold;
  line-height:14px;
}

@media (max-width:620px){
  .profile-body{grid-template-columns:1fr}
  .profile-photo-area{display:none}
  .window-task{min-width:95px;max-width:135px}
  .profile-window{top:48%}
}

/* Final alignment correction: restores the compact Windows 95 caption buttons. */
.title-controls{
  display:flex;
  align-items:center;
  gap:2px;
  height:18px;
}

.title-controls .win-control{
  position:relative;
  display:block;
  flex:0 0 20px;
  width:20px;
  min-width:20px;
  height:18px;
  padding:0 !important;
  line-height:1;
  overflow:hidden;
}

.title-controls .minimize-glyph,
.title-controls .maximize-glyph,
.title-controls .close-glyph{
  position:absolute;
  display:block;
  margin:0;
  transform:none;
}

.title-controls .minimize-glyph{
  width:9px;
  height:2px;
  left:4px;
  bottom:3px;
  background:#000;
}

.title-controls .maximize-glyph{
  width:10px;
  height:9px;
  left:3px;
  top:2px;
  border:1px solid #000;
  border-top:2px solid #000;
}

.title-controls .close-glyph{
  left:3px;
  top:0;
  width:12px;
  height:14px;
  font-family:Arial,sans-serif;
  font-size:15px;
  font-weight:bold;
  line-height:14px;
  text-align:center;
}

.title-controls .win-control:active,
.title-controls .win-control.pressed{
  padding:0 !important;
  transform:none;
}

.title-controls .win-control:active .minimize-glyph,
.title-controls .win-control.pressed .minimize-glyph,
.title-controls .win-control:active .maximize-glyph,
.title-controls .win-control.pressed .maximize-glyph,
.title-controls .win-control:active .close-glyph,
.title-controls .win-control.pressed .close-glyph{
  transform:translate(1px,1px);
}


/* Multi-window taskbar */
.retro-taskbar .window-task{
  min-width:150px;
  max-width:230px;
  flex:0 1 230px;
}

@media (max-width:760px){
  .retro-taskbar{
    overflow-x:auto;
    overflow-y:hidden;
  }

  .retro-taskbar .window-task{
    min-width:130px;
    flex-basis:160px;
  }

  .retro-taskbar .task-clock{
    position:sticky;
    right:0;
    flex:0 0 66px;
  }
}


/* Notepad @Leozlk */
.notepad-menu {
    position: fixed;
    top: 148px;
    /*left: calc(50% - 460px - 230px - 20px);*/
    left: calc(50% - 490px - 230px - 20px);
    width: 230px;
    background: #c0c0c0;
    border: 2px outset #fff;
    padding: 3px;
    z-index: 100;
    font-family: Tahoma, sans-serif;
    font-size: 12px;
}

.notepad-title {
    background: #000080;
    color: white;
    font-weight: bold;
    padding: 4px 6px;
}

.notepad-bar {
    padding: 6px;
    color: black;
}

.notepad-content {
    background: white;
    color: black;
    border: 2px inset #fff;
    padding: 12px;
    font-family: "Courier New", monospace;
    white-space: pre-line;
    line-height: 1.6;
}

.notepad-content a {
    display: block;
    color: #0000ee;
    text-decoration: underline;
}
@media (max-width: 1450px) {
    .notepad-menu {
        position: static;
        margin: 15px auto;
    }
}
.notepad-content a:hover{
  background:#000080;
  color:#fff;
}