/* ============ RE6CE // win95 desktop ============ */
@font-face{
  font-family:"W95FA";
  src:url("assets/W95F.otf") format("opentype");
  font-weight:normal; font-style:normal; font-display:swap;
}
:root{
  --ui-font:"W95FA","Tahoma","MS Sans Serif","Segoe UI",sans-serif;
  --gray:#c0c0c0;
  --gray-d:#808080;
  --gray-dd:#404040;
  --white:#fff;
  --navy:#000080;
  --navy2:#1084d0;
  --navy-off:#7b7b7b;
  --navy-off2:#b5b5b5;
  --text:#000;
  --face:#c0c0c0;
  --link:#0000ee;
}

*{box-sizing:border-box}
[hidden]{display:none!important}
html,body{height:100%}
body{
  margin:0;
  font-family:var(--ui-font);
  font-size:13px;
  color:var(--text);
  background:#fff;
  overflow:hidden;
  -webkit-font-smoothing:none;
  user-select:none;
  cursor:default;
}
img{image-rendering:auto}

/* ---------- 3D bevel helpers ---------- */
.out{ box-shadow: inset -1px -1px #000, inset 1px 1px #fff, inset -2px -2px var(--gray-d), inset 2px 2px var(--gray); }
.in { box-shadow: inset -1px -1px #fff, inset 1px 1px #000, inset -2px -2px var(--gray), inset 2px 2px var(--gray-d); }

/* ============ BOOT SPLASH ============ */
.boot{
  position:fixed; inset:0; z-index:9999;
  background:#000; color:#c8c8c8;
  font-family:"Consolas","Courier New",monospace;
  display:flex; align-items:center; justify-content:center;
  transition:opacity .5s ease;
}
.boot.hidden{opacity:0; pointer-events:none}
.boot-inner{width:min(680px,92vw); padding:0 18px}
.boot-logo{color:#e8e8e8; font-size:11px; line-height:1.15; margin:0 0 14px; text-shadow:0 0 6px rgba(180,180,180,.5)}
.boot-line{font-size:13px; margin:3px 0; letter-spacing:.5px}
.boot-bar{margin:14px 0 8px; height:16px; border:1px solid #555; padding:2px; width:60%}
.boot-bar i{display:block; height:100%; width:0; background:repeating-linear-gradient(90deg,#8f8f8f 0 6px,#000 6px 8px); animation:bootfill 2.4s ease forwards}
@keyframes bootfill{to{width:100%}}
.boot-hint{margin-top:22px; font-size:12px; color:#7a7a7a; animation:blink 1s steps(1) infinite}
.boot-dots::after{content:""; animation:dots 1.2s steps(4,end) infinite}
@keyframes dots{0%{content:""}25%{content:"."}50%{content:".."}75%{content:"..."}}
@keyframes blink{50%{opacity:0}}

/* ============ DESKTOP ============ */
.desktop{
  position:fixed; inset:0 0 40px 0;
  background:#fff;
  overflow:hidden;
  opacity:0; transition:opacity .6s ease .1s;
}
.desktop.on{opacity:1}

/* cycling wallpaper */
.bg-slideshow{ position:absolute; inset:0; z-index:0; pointer-events:none; overflow:hidden }
.bg-slideshow i{
  position:absolute; inset:0;
  background-repeat:no-repeat; background-position:center; background-size:contain;
  opacity:0; animation:bgcycle 24s infinite;
}
.bg-slideshow i:nth-child(1){ animation-delay:0s }
.bg-slideshow i:nth-child(2){ animation-delay:6s }
.bg-slideshow i:nth-child(3){ animation-delay:12s }
.bg-slideshow i:nth-child(4){ animation-delay:18s }
@keyframes bgcycle{
  0%{opacity:0} 3%{opacity:1} 25%{opacity:1} 29%{opacity:0} 100%{opacity:0}
}

.desktop-gadget{
  position:absolute; right:14px; bottom:16px;
  width:250px; max-width:36vw; pointer-events:none;
  filter:saturate(.9) contrast(1.05);
  opacity:0; animation:fadeUp .8s ease .7s forwards;
  box-shadow:0 6px 30px rgba(0,0,0,.25);
}
@keyframes fadeUp{from{opacity:0; transform:translateY(14px)}to{opacity:.96; transform:none}}

/* ---------- desktop icons ---------- */
.icons{position:absolute; inset:0; z-index:5; pointer-events:none}
.icon{
  position:absolute; width:104px; padding:8px 4px 6px; border:1px dotted transparent; background:none;
  display:flex; flex-direction:column; align-items:center; gap:7px;
  color:#000; cursor:pointer; font:inherit; border-radius:2px;
  pointer-events:auto; touch-action:none;
}
.icon.dragging{ opacity:.75; z-index:6 }
.icon:focus-visible, .icon.sel{ outline:none; background:rgba(0,0,128,.25); border:1px dotted #fff; }
.icon-label{ font-size:15px; padding:0 3px; line-height:1.1; text-align:center; }
.icon.sel .icon-label{ background:var(--navy); color:#fff }
.icon-art{ width:70px; height:70px; display:block; transition:transform .12s ease; }
.icon:hover .icon-art{ transform:translateY(-2px) scale(1.04) }
.icon:active .icon-art{ transform:scale(.94) }

/* real brand icon pngs pulled from the original re6ce.xyz assets */
.icon-cult   {background:no-repeat center/contain url("https://cdn.prod.website-files.com/692665c2307f0e9eb2544f56/694881988cdab9ed6531f160_Untitled-4.png")}
.icon-merch  {background:no-repeat center/contain url("https://cdn.prod.website-files.com/692665c2307f0e9eb2544f56/69488035ffddb8d1a2ba63fc_Untitled-3.png")}
.icon-tour   {background:no-repeat center/contain url("https://cdn.prod.website-files.com/692665c2307f0e9eb2544f56/6948821503f9558f6dc30143_tumblr_3ea96a37f9c508e9c7ca7f95c2d9e5c6_7e9ac2c7_540.png")}
.title-ico,.sm-ico{width:16px; height:16px; display:inline-block; vertical-align:-3px; margin-right:3px}
.tray-ico{margin:0 3px}

/* ============ WINDOWS ============ */
.win{
  position:absolute; min-width:260px; min-height:170px;
  background:var(--face);
  box-shadow: inset -1px -1px #000, inset 1px 1px #dfdfdf, inset -2px -2px var(--gray-d), inset 2px 2px #fff, 4px 5px 14px rgba(0,0,0,.28);
  display:flex; flex-direction:column;
  z-index:10;
  animation:winOpen .16s cubic-bezier(.2,.9,.3,1.2);
  transform-origin:top left;
  transition:left .32s cubic-bezier(.22,.9,.24,1), top .32s cubic-bezier(.22,.9,.24,1),
             width .32s cubic-bezier(.22,.9,.24,1), height .32s cubic-bezier(.22,.9,.24,1);
}
.win.closed{display:none}
.win.minimized{ animation:winMin .18s forwards ease-in; }
@keyframes winOpen{from{opacity:0; transform:scale(.85) translateY(6px)} to{opacity:1; transform:none}}
@keyframes winMin{to{opacity:0; transform:scale(.4) translateY(120px)}}
.win.maxed{left:0!important; top:0!important; width:100%!important; height:calc(100% )!important}

.titlebar{
  height:28px; display:flex; align-items:center; justify-content:space-between;
  padding:0 4px 0 4px; margin:2px;
  background:linear-gradient(90deg,var(--navy-off),var(--navy-off2));
  color:#dcdcdc; cursor:default;
}
.win.active .titlebar{ background:linear-gradient(90deg,var(--navy) 0%,var(--navy2) 100%); color:#fff; }
.title{ font-weight:700; font-size:14px; padding-left:3px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.title-ico{ width:19px; height:19px; vertical-align:-4px }
.controls{display:flex; gap:2px}
.ctl{
  width:22px; height:20px; padding:0; line-height:12px; font-size:12px;
  background:var(--face); color:#000; border:none;
  box-shadow: inset -1px -1px #000, inset 1px 1px #fff, inset -2px -2px var(--gray-d), inset 2px 2px var(--gray);
  cursor:pointer; display:flex; align-items:center; justify-content:center; font-family:inherit;
}
.ctl:active{ box-shadow: inset 1px 1px #000, inset -1px -1px #fff, inset 2px 2px var(--gray-d); }
.ctl.close{ font-weight:700 }

.win-body{ margin:2px; padding:10px; background:var(--face); flex:1 1 auto; min-height:0; overflow:auto; box-shadow: inset -1px -1px #fff, inset 1px 1px var(--gray-d); }
.statusbar{
  margin:0 2px 2px; padding:2px 4px; display:flex; justify-content:space-between; align-items:center;
  box-shadow: inset -1px -1px #fff, inset 1px 1px var(--gray-d); font-size:11px; color:#333;
}
.grip{ width:16px; height:16px; cursor:nwse-resize; touch-action:none; background:
  repeating-linear-gradient(135deg,transparent 0 2px,#fff 2px 3px,transparent 3px 4px,var(--gray-d) 4px 5px); }
.win.maxed .grip{ cursor:default }

/* ---------- win95 controls ---------- */
.btn95{
  font:inherit; font-size:12px; padding:4px 12px; background:var(--face); color:#000; cursor:pointer;
  border:none; box-shadow: inset -1px -1px #000, inset 1px 1px #fff, inset -2px -2px var(--gray-d), inset 2px 2px var(--gray);
}
.btn95:active{ box-shadow: inset 1px 1px #000, inset -1px -1px #fff, inset 2px 2px var(--gray-d); transform:translate(1px,1px) }
.btn95:focus-visible{ outline:1px dotted #000; outline-offset:-4px }
.btn95.sq{ padding:3px 8px; min-width:26px }

input[type=text],input[type=email],input[type=tel]{
  font:inherit; font-size:12px; padding:3px 4px; background:#fff; border:none; width:100%;
  box-shadow: inset -1px -1px #fff, inset 1px 1px var(--gray-d), inset -2px -2px var(--gray), inset 2px 2px #000;
}
input:focus{ outline:1px dotted #000; outline-offset:-4px }

/* ---------- 6cult form ---------- */
.cult-body{ display:flex; gap:18px; background:#fff; padding:8px }
.cult-form{ flex:1 1 260px; display:flex; flex-direction:column; gap:6px; min-width:230px; justify-content:flex-start; padding-top:6px }
.cult-form label{ font-weight:700; margin-top:11px; font-size:18px }
.cult-form label:first-child{ margin-top:0 }
.cult-form label b{ color:#e00 }
.cult-form input{ font-size:17px; padding:9px 10px }
.cult-form input::placeholder{ font-size:16px }
.cult-form .btn95{ align-self:flex-start; margin-top:18px; font-size:18px; padding:10px 30px }
.form-msg{ color:#0a7d24; font-weight:700; font-size:16px; margin:10px 0 0; animation:pop .3s ease }
@keyframes pop{from{transform:scale(.6); opacity:0}to{transform:none; opacity:1}}
.cult-art{ flex:1 1 240px; display:flex; align-items:center; justify-content:center; background:#000; padding:10px; align-self:stretch; min-height:0 }
.cult-art img{ width:100%; height:100%; max-height:100%; object-fit:contain; filter:contrast(1.05) }

/* ---------- merch (shop closed) ---------- */
.merch-body{ background:#fff; display:flex; align-items:center; justify-content:center }
.shop-closed{ text-align:center; padding:20px }
.shop-ico{ display:block; width:56px; height:56px; margin:0 auto 14px; background:no-repeat center/contain url("data:image/svg+xml;utf8,\
<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'>\
<rect x='6' y='13' width='20' height='15' fill='%23c0c0c0' stroke='%23000'/>\
<path d='M10 13 v-2 a6 6 0 0 1 12 0 v2' fill='none' stroke='%23000' stroke-width='2'/>\
<circle cx='16' cy='20' r='2.4' fill='%23000'/><rect x='15' y='20' width='2' height='5' fill='%23000'/></svg>") }
.shop-line1{ font-size:22px; font-weight:700; letter-spacing:1px; margin:0 0 6px; text-transform:uppercase }
.shop-line2{ font-size:14px; color:#444; margin:0; letter-spacing:.5px }

/* ---------- tour ---------- */
.tour-body{ background:#fff; display:flex; flex-direction:column; padding:0 }
.marquee{ overflow:hidden; white-space:nowrap; background:#000; color:#0f0; padding:4px 0; font-family:var(--ui-font); letter-spacing:1px; flex:0 0 auto }
.marquee span{ display:inline-block; padding-left:100%; animation:marq 14s linear infinite }
@keyframes marq{to{transform:translateX(-100%)}}
.show-list{ flex:1 1 auto; min-height:0; overflow:auto; padding:6px }
.show{
  display:flex; align-items:center; gap:10px; padding:9px 10px; text-decoration:none; color:#000;
  border-bottom:1px solid #d7d7d7; transition:background .1s ease, padding-left .12s ease; cursor:pointer;
}
.show:hover{ background:var(--navy); color:#fff; padding-left:16px }
.show:hover .show-cta{ color:#25ff9a }
.show:hover .show-where b, .show:hover .show-when b{ color:#fff }
.show-when{ flex:0 0 74px; font-size:13px; white-space:nowrap }
.show-when b{ display:block; font-size:11px; color:#a00; letter-spacing:1px }
.show-where{ flex:1 1 auto; font-size:14px; line-height:1.25 }
.show-where b{ display:block; font-size:15px }
.show-cta{ flex:0 0 auto; font-size:13px; font-weight:700; color:var(--link); white-space:nowrap }

/* ============ TASKBAR ============ */
.taskbar{
  position:fixed; left:0; right:0; bottom:0; height:40px; z-index:1000;
  background:var(--face); display:flex; align-items:center; gap:5px; padding:3px 4px;
  box-shadow: inset 0 1px #fff, inset 0 2px var(--gray);
  border-top:1px solid #dfdfdf;
}
.start-btn{
  display:flex; align-items:center; gap:6px; font:inherit; font-size:15px; font-weight:700;
  padding:2px 12px 2px 7px; height:32px; background:var(--face); cursor:pointer; border:none;
  box-shadow: inset -1px -1px #000, inset 1px 1px #fff, inset -2px -2px var(--gray-d), inset 2px 2px var(--gray);
}
.start-btn.on,.start-btn:active{ box-shadow: inset 1px 1px #000, inset -1px -1px #fff, inset 2px 2px var(--gray-d); }
.start-flag{ width:24px; height:21px; background:no-repeat center/contain url("data:image/svg+xml;utf8,\
<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 22'>\
<path d='M2 3 L11 2 L11 10 L2 11 Z' fill='%23e33'/><path d='M13 2 L22 1 L22 10 L13 10 Z' fill='%232a9d3f'/>\
<path d='M2 12 L11 11 L11 20 L2 21 Z' fill='%231e6fd0'/><path d='M13 11 L22 11 L22 20 L13 21 Z' fill='%23f2b705'/></svg>")}
.task-buttons{ flex:1; display:flex; gap:4px; overflow:hidden }
.task-btn{
  min-width:140px; max-width:180px; height:32px; display:flex; align-items:center; gap:6px;
  padding:0 9px; font:inherit; font-size:14px; background:var(--face); cursor:pointer; border:none;
  box-shadow: inset -1px -1px #000, inset 1px 1px #fff, inset -2px -2px var(--gray-d), inset 2px 2px var(--gray);
  overflow:hidden; white-space:nowrap; text-overflow:ellipsis;
}
.task-btn .title-ico{flex:0 0 auto; width:18px; height:18px}
.task-btn span:last-child{overflow:hidden; text-overflow:ellipsis}
.task-btn.active{ box-shadow: inset 1px 1px #000, inset -1px -1px #fff, inset 2px 2px var(--gray-d); background:repeating-linear-gradient(45deg,#c0c0c0 0 2px,#b0b0b0 2px 4px); font-weight:700 }
.tray{ display:flex; align-items:center; gap:2px; height:32px; padding:0 12px; box-shadow: inset -1px -1px #fff, inset 1px 1px var(--gray-d); }
.clock{ font-size:15px; min-width:74px; text-align:center }

/* ============ START MENU ============ */
.startmenu{
  position:fixed; left:3px; bottom:42px; width:240px; z-index:1001; display:flex;
  background:var(--face); box-shadow: inset -1px -1px #000, inset 1px 1px #fff, inset -2px -2px var(--gray-d), inset 2px 2px var(--gray), 3px 3px 12px rgba(0,0,0,.4);
  transform-origin:bottom left; animation:smOpen .14s ease;
}
@keyframes smOpen{from{opacity:0; transform:translateY(10px) scaleY(.9)}to{opacity:1; transform:none}}
.startmenu-side{ width:34px; background:linear-gradient(var(--navy),#000); flex:0 0 34px; position:relative; overflow:hidden }
.startmenu-side .sm-side-ico{
  position:absolute; inset:0; display:block;
  background:url("https://cdn.prod.website-files.com/692665c2307f0e9eb2544f56/694881988cdab9ed6531f160_Untitled-4.png") no-repeat center bottom;
  background-size:26px auto; opacity:.95; image-rendering:pixelated;
}
.startmenu-list{ list-style:none; margin:0; padding:2px; flex:1 }
.startmenu-list li{ padding:6px 10px; font-size:13px; display:flex; align-items:center; gap:8px; cursor:pointer }
.startmenu-list li:not(.sep):hover{ background:var(--navy); color:#fff }
.startmenu-list .sep{ height:1px; padding:0; margin:3px 2px; box-shadow:inset 0 1px var(--gray-d), inset 0 2px #fff; cursor:default }

/* ============ CONTEXT MENU ============ */
.ctxmenu{
  position:fixed; z-index:1002; list-style:none; margin:0; padding:2px; min-width:150px;
  background:var(--face); box-shadow: inset -1px -1px #000, inset 1px 1px #fff, inset -2px -2px var(--gray-d), inset 2px 2px var(--gray), 3px 3px 10px rgba(0,0,0,.35);
}
.ctxmenu li{ padding:5px 22px 5px 22px; font-size:12px; cursor:pointer }
.ctxmenu li:not(.sep):hover{ background:var(--navy); color:#fff }
.ctxmenu .sep{ height:1px; padding:0; margin:3px 2px; box-shadow:inset 0 1px var(--gray-d), inset 0 2px #fff }

/* ============ CRT overlay ============ */
.crt{ position:fixed; inset:0; z-index:5000; pointer-events:none; opacity:0; transition:opacity .3s; mix-blend-mode:overlay }
.crt.on{ opacity:1 }
.crt::before{ content:""; position:absolute; inset:0; background:repeating-linear-gradient(0deg, rgba(0,0,0,.25) 0 1px, transparent 1px 3px); }
.crt::after{ content:""; position:absolute; inset:0; background:radial-gradient(120% 120% at 50% 50%, transparent 60%, rgba(0,0,0,.45) 100%); animation:flicker 6s infinite }
@keyframes flicker{0%,100%{opacity:.85}48%{opacity:.9}50%{opacity:.72}52%{opacity:.9}}

/* ============ SHUTDOWN ============ */
.shutdown{ position:fixed; inset:0; z-index:9998; background:#000; color:#e8a000;
  display:flex; flex-direction:column; align-items:center; justify-content:center; gap:24px; text-align:center; font-size:22px; letter-spacing:1px }
.shutdown p{ text-shadow:0 0 10px rgba(232,160,0,.4) }

/* ============ responsive ============ */
@media (max-width:760px){
  .win{ left:3vw!important; right:3vw; width:auto!important; max-width:94vw }
  .cult-body{ flex-direction:column }
  .cult-art{ flex-basis:auto; max-height:180px }
  .desktop-gadget{ width:150px; right:8px; bottom:48px }
  #win-merch{ height:70vh!important }
}
