/* === Base Reset === */
body {
  margin: 0;
  padding: 0;
  background: linear-gradient(180deg, #0f0c29, #302b63, #24243e);
  font-family: 'Orbitron', sans-serif;
  color: #ffffff;
  height: 100vh;
  overflow-x: hidden;
  background-attachment: fixed;
  background-size: cover;
  cursor: url('https://cur.cursors-4u.net/symbols/sym-6/sym600.cur'), auto;
}

body::before {
  content: "";
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: repeating-linear-gradient(
    rgba(255, 255, 255, 0.02),
    rgba(255, 255, 255, 0.02) 1px,
    transparent 1px,
    transparent 2px
  );
  pointer-events: none;
  z-index: 9999;
}

/* === Grid Overlay === */
#overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background-image:
    linear-gradient(to right, rgba(255,255,255,0.1) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,0.1) 1px, transparent 1px);
  background-size: 40px 40px;
  background-color: transparent;
  pointer-events: none;
  opacity: 0.2;
  z-index: 0;
}

/* === Tooltip === */
.tooltip {
  position: relative;
  cursor: help;
  border-bottom: 1px dotted #0f0;
}

.tooltip .tooltiptext {
  visibility: hidden;
  width: 220px;
  background-color: #111;
  color: #0f0;
  text-align: left;
  padding: 8px;
  border: 1px solid #0f0;
  border-radius: 4px;
  position: absolute;
  z-index: 1;
  bottom: 125%;
  left: 50%;
  transform: translateX(-50%);
  opacity: 0;
  transition: opacity 0.3s;
  font-size: 0.9em;
}

.tooltip:hover .tooltiptext {
  visibility: visible;
  opacity: 1;
}

/* === Layout Container === */
.layout-container {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 20px;
  max-width: 100%;
  padding: 60px 20px;
  box-sizing: border-box;
}

/* === Sidebars === */
#left-sidebar,
#updates-sidebar {
  width: 220px;
  background: rgba(0, 0, 0, 0.6);
  border: 2px solid #ff77ff;
  padding: 15px;
  border-radius: 10px;
  color: #fff;
  font-family: 'Press Start 2P', cursive;
  font-size: 11px;
  z-index: 999;
  box-shadow: 0 0 10px #00fff7;
  flex-shrink: 0;
}

#updates-sidebar {
  border-color: #00fff7;
}

#left-sidebar h2,
#updates-sidebar h2 {
  font-size: 12px;
  text-align: center;
  margin-bottom: 10px;
}

#left-sidebar ul {
  padding: 0;
  list-style: none;
}

#left-sidebar li {
  margin-bottom: 10px;
}

#left-sidebar a {
  color: #ff77ff;
  text-decoration: none;
}

#left-sidebar a:hover {
  color: #ffffff;
  text-shadow: 0 0 5px #ff77ff;
}

#updates li {
  margin-bottom: 8px;
  list-style-type: square;
  color: #00fff7;
}

#updates li span.date {
  color: #ff77ff;
  display: block;
  font-size: 10px;
  margin-top: 2px;
}

/* === Content Area === */
.content-wrapper {
  flex: 1;
  max-width: 900px;
  margin: 60px auto;
  padding: 30px;
  background: rgba(0, 0, 0, 0.6);
  border: 2px solid #00fff7;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 0 15px #ff77ff;
  box-sizing: border-box;
}

/* === Footer === */
#footer-container {
  width: 100%;
  text-align: center;
  font-family: 'Press Start 2P', cursive;
  font-size: 10px;
  color: #ff77ff;
  margin-top: 40px;
  padding: 15px;
  border-top: 1px dashed #00fff7;
  opacity: 0.7;
  z-index: 1;
  position: relative;
}

/* === Headings & Text === */
h1 {
  font-family: 'Press Start 2P', cursive;
  font-size: 18px;
  color: #ff77ff;
  text-shadow: 0 0 5px #00fff7;
  margin-bottom: 20px;
  animation: pulseText 3s infinite ease-in-out;
}

@keyframes pulseText {
  0%, 100% {
    text-shadow: 0 0 5px #ff77ff, 0 0 10px #00fff7;
  }
  50% {
    text-shadow: 0 0 10px #ff77ff, 0 0 20px #00fff7;
  }
}

/* === Navigation === */
nav {
  margin-bottom: 20px;
}

nav a {
  display: inline-block;
  margin: 5px;
  padding: 10px 15px;
  font-family: 'Press Start 2P', cursive;
  font-size: 11px;
  background: rgba(0, 255, 247, 0.1);
  border: 1px solid #00fff7;
  border-radius: 6px;
  color: #ff77ff;
  text-decoration: none;
  transition: all 0.2s ease-in-out;
  box-shadow: 0 0 8px #00fff7;
}

nav a:hover {
  background: rgba(255, 119, 255, 0.1);
  color: #ffffff;
  box-shadow: 0 0 12px #ff77ff;
  transform: scale(1.05) rotate(-1deg);
}

/* === Links === */
a {
  color: #00fff7;
  text-decoration: none;
  font-family: 'Press Start 2P', cursive;
  font-size: 12px;
}

a:hover {
  color: #ff77ff;
  text-shadow: 0 0 5px #ff77ff;
}

/* === Tabs === */
.tab-buttons button {
  background: #302b63;
  color: #fff;
  border: 1px solid #00fff7;
  padding: 8px 15px;
  font-family: 'Orbitron', sans-serif;
  cursor: pointer;
  margin-right: 5px;
  border-radius: 6px;
}

.tab-buttons button:hover {
  background: #ff77ff;
  color: black;
}

.tab-content {
  margin-top: 20px;
  background: rgba(0,0,0,0.5);
  padding: 15px;
  border-radius: 8px;
  box-shadow: 0 0 10px #00fff7;
}

/* === Responsive Cleanup === */
@media screen and (max-width: 768px) {
  #left-sidebar,
  #updates-sidebar {
    display: none;
  }

  .content-wrapper {
    margin: 20px;
    max-width: 95%;
  }

  #footer-container {
    font-size: 8px;
    padding: 10px;
  }
}
