@import url("css2.css");

:root {
  --background: #000000;
  --text-color: #00FF00;
  --glow-color: rgba(0, 255, 0, 0.7);
  --xp-blue: #245edc;
  --xp-blue-darker: #1e55ea;
  --xp-blue-border: #6ca3f9;
  --xp-green-start: #58b549;
  --xp-green-end: #3b8237;
  --y2k-pink: #FF00FF;
  --y2k-cyan: #00FFFF;
  --y2k-yellow: #FFFF00;
  --y2k-magenta: #FF00FF;
}

html {
  height: 100%;
}

body {
  background: var(--background);
  font-family: "Lekton", monospace;
  font-size: 17px;
  font-weight: 400;
  width: 95%;
  max-width: 800px;
  margin: 0 auto;
  color: var(--text-color);
  /* Changed cursor to a reliable, aesthetic crosshair */
  cursor: crosshair;
  overflow-x: hidden;
}

/* Y2K BACKGROUND (STATIC) */
#y2k-background-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: -1;
}

.y2k-object {
    position: absolute;
    color: white;
    font-size: 20px;
    opacity: 0; /* Start invisible, fade in with animation */
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-25px) rotate(180deg); }
}

@keyframes flicker {
    0%, 100% { opacity: 0.2; }
    50% { opacity: 1; }
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

*:focus {
  outline: 0 !important;
}

/* --- SHIMMERING TEXT EFFECT --- */
@keyframes soft-shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

.shimmer-text, .shimmer-text b, .shimmer-text a {
    background: linear-gradient(90deg, 
        var(--y2k-pink), 
        var(--y2k-cyan), 
        var(--y2k-yellow),
        var(--y2k-magenta),
        var(--y2k-pink) /* loop */
    );
    background-size: 200% auto;
    color: transparent;
    -webkit-background-clip: text;
    background-clip: text;
    animation: soft-shimmer 8s linear infinite;
    text-shadow: none;
}

a {
  text-decoration: underline;
  cursor: pointer;
  transition: all 0.2s ease-in-out;
}
.shimmer-text a:hover {
    filter: brightness(1.5);
}

.audio-trigger {
    /* Removed explicit font-size and color to match other links */
}

content {
  width: 100%;
  margin: auto;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  padding-bottom: 40px;
}

main {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  text-align: left;
}

.container {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin-top: 50px;
}

.break {
  flex-basis: 100%;
  height: 0;
  margin: 10px 0 10px 0;
}

.bar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: black;
  border-bottom: 2px solid var(--y2k-pink);
  overflow: hidden;
  height: 40px;
  z-index: 1000;
  display: flex;
  align-items: center;
}

.bar .text {
  display: inline-block;
  white-space: nowrap;
  padding-left: 100%;
  font-weight: bold;
  background: linear-gradient(90deg, var(--y2k-pink), var(--y2k-cyan), var(--y2k-yellow), var(--y2k-magenta), var(--y2k-pink));
  background-size: 200% auto;
  color: transparent;
  -webkit-background-clip: text;
  background-clip: text;
  animation: scroll 20s linear infinite, soft-shimmer 5s linear infinite;
}

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

/* INPUT & BUTTON */
.input-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 10px;
}

#levitateInput {
    background: rgba(0, 255, 0, 0.05);
    border: 2px inset rgba(0, 255, 0, 0.5);
    border-radius: 5px;
    padding: 15px;
    color: var(--text-color);
    font-family: "Lekton", monospace;
    font-size: 16px;
    box-shadow: 0 0 15px rgba(0, 255, 0, 0.2) inset, 0 0 5px rgba(255, 0, 255, 0.3);
    resize: none;
    height: 100px;
    transition: all 0.3s ease;
}

#levitateInput::placeholder { color: rgba(0, 255, 0, 0.4); }
#levitateInput:focus {
    box-shadow: 0 0 25px rgba(0, 255, 0, 0.5) inset, 0 0 10px var(--y2k-pink);
    border-color: var(--y2k-pink);
}

#levitateButton {
    background: linear-gradient(45deg, var(--y2k-pink), var(--y2k-cyan));
    border: 2px outset #fff;
    color: #fff;
    font-weight: bold;
    text-shadow: 1px 1px 2px #000;
    padding: 10px 15px;
    border-radius: 5px;
    cursor: pointer;
    font-family: "Tahoma", sans-serif;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 0 10px var(--y2k-pink), 0 0 10px var(--y2k-cyan);
}
#levitateButton:hover { transform: scale(1.05); box-shadow: 0 0 15px var(--y2k-pink), 0 0 15px var(--y2k-cyan); }
#levitateButton:active { transform: scale(0.98); border-style: inset; }

/* FOOTER */
.footer-y2k {
    text-align: center;
    padding: 20px 0;
    font-size: 14px;
}

/* --- XP TASKBAR --- */
#xp-taskbar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 30px;
    background: linear-gradient(to bottom, var(--xp-blue-darker), var(--xp-blue) 50%, var(--xp-blue-darker) 100%);
    border-top: 2px solid var(--xp-blue-border);
    z-index: 2000;
    display: flex;
    align-items: stretch;
    font-family: "Tahoma", sans-serif;
}

.start-button {
    background: linear-gradient(to bottom, var(--xp-green-start), var(--xp-green-end));
    border-radius: 10px 10px 0 0 / 15px 15px 0 0;
    border: 1px solid #3b8237;
    padding: 0 15px 0 30px;
    cursor: pointer;
    box-shadow: 1px 1px 3px rgba(0,0,0,0.5);
    color: #fff;
    font-weight: bold;
    font-style: italic;
    font-size: 16px;
    text-shadow: 1px 1px 2px #000;
    position: relative;
    display: flex;
    align-items: center;
}
.start-button::before {
    content: '';
    position: absolute;
    left: 5px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20"><path fill="%23fff" d="M10 0C4.48 0 0 4.48 0 10s4.48 10 10 10 10-4.48 10-10S15.52 0 10 0zm0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8z"/><path fill="%23fff" d="M10.5 5h-1v6h1V5zm-1 7h1v1h-1v-1z"/></svg>');
    background-size: cover;
}

.taskbar-divider {
    width: 2px;
    background: linear-gradient(to right, #6ca3f9, #245edc, #6ca3f9);
    margin: 0 2px;
}

.taskbar-programs {
    flex-grow: 1;
}

.system-tray {
    background: #6ca3f9;
    padding: 0 10px;
    display: flex;
    align-items: center;
    box-shadow: -2px 0 2px rgba(0,0,0,0.3) inset;
    border-left: 1px solid var(--xp-blue-border);
}

#system-clock {
    color: #fff;
    font-size: 12px;
}

/* RESPONSIVENESS */
@media screen and (max-width: 768px) {
  .container { flex-direction: column; align-items: center; text-align: center; }
  body { font-size: 16px; }
  #levitateInput { height: 80px; }
  #xp-taskbar { height: 25px; }
  .start-button { font-size: 14px; padding: 1px 10px 1px 25px; }
}
