@import url('https://fonts.googleapis.com/css2?family=Geostar+Fill&display=swap');
@import url('https://fonts.googleapis.com/css2?family=VT323&display=swap');
* { cursor: none; } /* hide the real cursor */

.custom-cursor {
  position: fixed;
  top: 0; left: 0;
  width: 24px; height: 24px;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  background-image: url('images/cursor.png');
  background-size: contain;
  will-change: transform;
}

:root{
  --xp-blue-dark:#c65102;
  --blaze-orange:#FF6600;About Us
  --xp-blue-light:#fc7920;
  --xp-body:#ece9d8;
  --xp-border:#c65102;
  --spray-pink:#ff00aa;
  --spray-green:#39ff14;
  --spray-yellow:#ffd500;
  --spray-cyan:#00e5ff;
}

*{box-sizing:border-box;}

html,body{
  margin:0;
  padding:0;
  background:#2e2e2e url('images/bg-tile.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  font-family:Verdana, Geneva, sans-serif;
  color:#111;
  font-size:13px;
}

a{color:var(--xp-blue-dark);}
a:visited{color:#551a8b;}

/* ===== Page frame ===== */
.page-frame{
  max-width:900px;
  margin:24px auto;
  background:var(--xp-body);
  border:3px solid #000;
  box-shadow:6px 6px 0 rgba(0,0,0,.6);
}

/* ===== ticker ===== */
.led-ticker {
  position: relative;
  overflow: hidden;
  background: #050805;
  height: 48px;
  border-radius: 4px;
  box-shadow: inset 0 0 8px rgba(0,0,0,0.8);
}

.led-ticker__track {
  position: absolute;
  white-space: nowrap;
  font-family: "VT323", monospace;
  font-weight: bold;
  font-display: swap;
  font-size: 46px;
  letter-spacing: 4px;
  color: #ff8800; /* classic amber; try #ff2a2a for red or #33ff33 for green */
  text-shadow: 0 0 6px currentColor, 0 0 12px currentColor;
  line-height: 48px;
  animation: scroll-left var(--ticker-duration, 15s) linear infinite;
  animation-delay: 0s;
}

/* the dot grid overlay — this is what sells the effect */
.led-ticker::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, #000 40%, transparent 41%);
  background-size: 6px 6px;
  pointer-events: none;
  z-index: 2;
  mix-blend-mode: multiply;
}

@keyframes scroll-left {
  from { transform: translateX(100vw); }
  to   { transform: translateX(-100%); }
}

/* ===== XP window chrome ===== */
.window{
  border:2px solid var(--xp-blue-dark);
  border-radius:8px 8px 3px 3px;
  margin:14px;
  background:#fff;
  box-shadow:2px 2px 6px rgba(0,0,0,.5);
}
.title-bar{
  background:#FF6600;
  color:#fff;
  font-weight:bold;
  font-family:Tahoma, Verdana, sans-serif;
  font-size:13px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:3px 4px 3px 8px;
  border-radius:6px 6px 0 0;
}
.title-bar .title-icon{margin-right:6px;}
.title-bar-buttons{display:flex; gap:3px;}
.title-bar-buttons button{
  width:18px;height:16px;
  background:#d4d0c8;
  border:1px solid #16308c;
  border-radius:2px;
  font-size:10px;
  line-height:1;
  cursor:pointer;
  font-weight:bold;
}
.title-bar-buttons button.close{background:#e35b5b;}
.window-body{
  padding:12px;
  background:var(--xp-body);
}
.window.closed{display:none;}

/* ===== graffiti headers ===== */
h1,h2,.graffiti{
  font-family: "Geostar Fill", serif;
  font-weight: 400;
  font-style: normal;
  letter-spacing:1px;
  text-shadow:2px 2px 0 #000, -1px -1px 0 #000, 3px 3px 0 var(--spray-pink);
}
h1{
  color:var(--blaze-orange);
  font-size:30px;
  margin:10px 0;
  transform:rotate(-2deg);
}
h2{
  color:var(--spray-green);
  font-size:24px;
  transform:rotate(-1deg);
}

/* ===== nav ===== */
.xp-nav{
  display:flex;
  gap:2px;
  background:#d4d0c8;
  border-bottom:2px solid #808080;
  padding:4px 4px 0 4px;
}
.xp-nav a{
  text-decoration:none;
  color:#000;
  background:#ece9d8;
  border:1px solid #808080;
  border-bottom:none;
  padding:6px 14px;
  font-family:Tahoma, Verdana, sans-serif;
  font-size:12px;
}
.xp-nav a.active{
  background:#fff;
  font-weight:bold;
  border-color:#0831d9;
}

/* ===== hero ===== */
.hero{
  padding:14px;
  text-align:center;
}
.hero img{max-width:40%; border:3px solid var(--spray-yellow);}


/* ===== body content ===== */
.content{padding:14px 18px; line-height:1.5;}
.content p{margin:0 0 12px 0;}

table.info{
  border-collapse:collapse;
  width:100%;
  font-family:'VT323', monospace;
  font-size:16px;
}
table.info td,table.info th{
  border:1px solid #0a246a;
  padding:6px 10px;
  background:#fff;
}
table.info th{background:var(--xp-blue-light); text-align:left;}

/* ===== gallery ===== */
.gallery-grid{
  display:grid;
  grid-template-columns:repeat(auto-fill,minmax(140px,1fr));
  gap:10px;
  padding:14px;
}
.gallery-grid img{
  width:100%;
  aspect-ratio:1/1;
  object-fit:cover;
  border:3px solid #000;
  outline:2px solid var(--spray-yellow);
  cursor:zoom-in;
  transition:transform .15s ease;
}
.gallery-grid img:hover{transform:scale(1.04) rotate(-1deg);}

/* ===== lightbox ===== */
#lightbox-overlay{
  position:fixed; inset:0;
  background:rgba(10,10,10,.75);
  backdrop-filter:blur(4px);
  display:none;
  align-items:center;
  justify-content:center;
  z-index:999;
}
#lightbox-overlay.show{display:flex;}
#lightbox-overlay img{
  max-width:88vw; max-height:82vh;
  border:5px solid var(--spray-yellow);
  box-shadow:0 0 40px #000;
}
#lightbox-close{
  position:absolute; top:24px; right:32px;
  background:#e35b5b; color:#fff; border:2px solid #000;
  font-weight:bold; font-size:18px; width:34px; height:34px;
  cursor:pointer; border-radius:3px;
}

/* ===== chatroom ===== */
#chat-log{
  height:180px;
  overflow-y:auto;
  background:#000;
  color:var(--spray-green);
  font-family:'VT323', monospace;
  font-size:16px;
  padding:8px;
  border:2px inset #808080;
}
#chat-log .msg .user{color:var(--spray-yellow); font-weight:bold;}
#chat-log .msg .time{color:#888; font-size:12px;}
.chat-input-row{display:flex; gap:6px; margin-top:8px;}
.chat-input-row input[type=text]{
  flex:1; padding:5px; font-family:Verdana; border:2px inset #808080;
}
.chat-input-row button, .btn-xp{
  background:linear-gradient(180deg,#fefefe,#d4d0c8);
  border:1px solid #555; border-radius:3px;
  padding:5px 12px; cursor:pointer; font-family:Tahoma;
}
.chat-input-row button:active, .btn-xp:active{background:#b8b4a8;}

/* ===== footer / status bar ===== */
.status-bar{
  background:#d4d0c8;
  border-top:2px solid #fff;
  font-family:'VT323', monospace;
  font-size:15px;
  display:flex; justify-content:space-between;
  padding:4px 10px;
}
.blink{animation:blinker 1s step-start infinite;}
@keyframes blinker{50%{opacity:0;}}

.badge-under-construction{
  display:inline-block;
  background:var(--spray-yellow);
  border:2px dashed #000;
  padding:2px 8px;
  font-family:'VT323',monospace;
  font-size:15px;
  transform:rotate(-3deg);
}
#spray-canvas{position:fixed; inset:0; pointer-events:none; z-index:5;}
