@import url('https://fonts.googleapis.com/css2?family=Press+Start+2P&family=VT323&display=swap');

body {
  background-color: #000000;
  color: #ffffff;
  font-family: 'VT323', monospace;
  font-size: 18px;
  margin: 20px;
}

/* --- TAB NAVIGATION BAR --- */
.tab-container {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  max-width: 850px;
  margin: 0 auto 10px auto;
}

.tab {
  display: inline-block;
  background-color: #000000;
  color: #ffffff;
  border: 2px solid #ffffff;
  font-family: 'Press Start 2P', monospace;
  font-size: 10px;
  padding: 8px 10px;
  cursor: pointer;
  line-height: 1.4;
}

.tab:hover {
  background-color: #333333;
  color: #ffffff;
}

.tab.active {
  background-color: #ffffff;
  color: #000000;
  border: 2px solid #ffffff;
  box-shadow: 3px 3px 0px #888888;
}

/* --- TOP PARALIZE XP ARCADE BANNER --- */
.top-arcade-banner {
  background-color: #000000;
  border: 3px solid #ffffff;
  box-shadow: 5px 5px 0px 0px #ffffff;
  max-width: 850px;
  margin: 0 auto 15px auto;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  box-sizing: border-box;
}

.banner-title {
  font-family: 'Press Start 2P', monospace;
  font-size: 22px;
  color: #ffffff;
  letter-spacing: 2px;
}

/* Blinking arcade square cursor */
@keyframes blinkCursor {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

.blinking-cursor {
  display: inline-block;
  width: 18px;
  height: 22px;
  background-color: #ffffff;
  margin-left: 10px;
  vertical-align: middle;
  animation: blinkCursor 0.8s step-start infinite;
}

/* --- MAIN RETRO 3D ARCADE WINDOW --- */
.tab-window {
  background-color: #0d0d0d;
  border: 3px solid #ffffff;
  box-shadow: 6px 6px 0px 0px #ffffff;
  padding: 0px;
  overflow: hidden;
  max-width: 850px;
  margin: 0 auto 20px auto;
}

/* --- TOP TITLE BAR --- */
.title-bar {
  background-color: #ffffff;
  color: #000000;
  padding: 6px 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 2px solid #000000;
}

.title-bar-left {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* --- FLOATING & DYING PIXEL TITLE ANIMATION --- */
@keyframes titleArcadeGlitch {
  0%, 100% {
    transform: translateY(0px);
    opacity: 1;
    filter: none;
    text-shadow: none;
  }
  20% {
    transform: translateY(-3px);
    opacity: 1;
  }
  40% {
    transform: translateY(2px);
    opacity: 0.9;
  }
  48% {
    transform: translateY(1px);
    opacity: 0.4;
    text-shadow: 2px 0 0 #555, -2px 0 0 #888;
    filter: contrast(200%);
  }
  50% {
    opacity: 0;
  }
  52% {
    opacity: 0.3;
    text-shadow: -3px 0 0 #000;
  }
  54% {
    opacity: 0;
  }
  60% {
    opacity: 0.8;
    filter: none;
    transform: translateY(-2px);
  }
  75% {
    transform: translateY(2px);
    opacity: 1;
  }
}

.title-bar-text {
  font-family: 'Press Start 2P', monospace;
  font-weight: bold;
  font-size: 11px;
  color: #000000;
  letter-spacing: 1px;
  display: inline-block;
  animation: titleArcadeGlitch 5s ease-in-out infinite;
}

.title-bar-controls button {
  background-color: #ffffff;
  color: #000000;
  border: 2px solid #000000;
  font-family: 'Press Start 2P', monospace;
  font-size: 10px;
  padding: 2px 6px;
  cursor: pointer;
}

.title-bar-controls button:hover {
  background-color: #000000;
  color: #ffffff;
}

/* --- BLACK WINDOW BODY --- */
.window-body {
  background-color: #0d0d0d;
  color: #ffffff;
  font-family: 'VT323', monospace;
  font-size: 20px;
  padding: 15px;
}

.window-body h1, 
.window-body h2, 
.window-body h3 {
  font-family: 'Press Start 2P', monospace;
  color: #ffffff;
  font-size: 16px;
  line-height: 1.4;
  margin-bottom: 12px;
}

/* --- FLOATING DESKTOP ICONS --- */
@keyframes floatIcon {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-7px); }
  100% { transform: translateY(0px); }
}

.social-icons-row {
  display: flex;
  gap: 25px;
  margin: 15px 0;
  align-items: center;
}

.desktop-icon {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: #ffffff;
  font-family: 'Press Start 2P', monospace;
  font-size: 10px;
  animation: floatIcon 3s ease-in-out infinite;
}

.desktop-icon:nth-child(even) {
  animation-delay: 1.5s;
}

.desktop-icon img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  image-rendering: pixelated;
  margin-bottom: 6px;
}

/* --- INNER SUNKEN BOXES --- */
.sunken-box {
  background-color: #000000;
  border: 2px solid #ffffff;
  padding: 12px;
  margin-top: 10px;
  margin-bottom: 10px;
  font-family: 'VT323', monospace;
  font-size: 20px;
}

.sunken-box a {
  color: #ffffff;
  font-family: 'VT323', monospace;
  font-size: 20px;
  text-decoration: underline;
}

.sunken-box a:hover {
  color: #cccccc;
}