/* === GLOBAL RESETS === */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background: radial-gradient(circle at center, #0b001f, #000);
  min-height: 100vh;
  font-family: 'Orbitron', sans-serif;
  color: white;
  overflow-x: hidden;
  position: relative;
}

/* === BACKGROUND EFFECTS === */
.lights {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background:
    radial-gradient(circle at 20% 30%, rgba(255,0,255,0.3), transparent 40%),
    radial-gradient(circle at 80% 70%, rgba(0,255,255,0.3), transparent 40%),
    radial-gradient(circle at 50% 50%, rgba(255,255,0,0.2), transparent 40%);
  animation: pulse 5s ease-in-out infinite alternate;
  z-index: 0;
}

@keyframes pulse {
  from { opacity: 0.4; transform: scale(1); }
  to { opacity: 0.9; transform: scale(1.05); }
}

/* === SUBTLE DISCO LIGHT FLASHES === */
.disco-light {
  position: fixed;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  opacity: 0.3;
  mix-blend-mode: screen;
  filter: blur(40px);
  z-index: 0;
  animation: flash 8s infinite ease-in-out;
}

@keyframes flash {
  0%, 100% { opacity: 0.1; transform: scale(0.8); }
  50% { opacity: 0.6; transform: scale(1.2); }
}

.light1 { background: magenta; top: 10%; left: 15%; animation-delay: 0s; }
.light2 { background: cyan; top: 40%; left: 70%; animation-delay: 2s; }
.light3 { background: yellow; top: 70%; left: 30%; animation-delay: 4s; }
.light4 { background: lime; top: 80%; left: 80%; animation-delay: 6s; }

.grid {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 200%;
  height: 60vh;
  background-image:
    linear-gradient(90deg, rgba(0,255,255,0.2) 1px, transparent 1px),
    linear-gradient(rgba(255,0,255,0.2) 1px, transparent 1px);
  background-size: 80px 80px;
  transform: perspective(600px) rotateX(65deg);
  animation: gridMove 10s linear infinite;
  z-index: 1;
}

@keyframes gridMove {
  0% { background-position: 0 0, 0 0; }
  100% { background-position: 0 80px, 80px 0; }
}

/* === DISCO BALL === */
.disco-ball {
  position: fixed;
  top: 10%;
  left: 50%;
  transform: translateX(-50%);
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #fff, #aaa 40%, #666 70%);
  box-shadow: 0 0 25px #fff, 0 0 40px #ff00ff, 0 0 60px #00ffff;
  overflow: hidden;
  z-index: 0;
  animation: rotateBall 18s linear infinite;
}

.disco-ball::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(90deg, rgba(255,255,255,0.25) 1px, transparent 1px),
    linear-gradient(rgba(255,255,255,0.25) 1px, transparent 1px);
  background-size: 10px 10px;
  mix-blend-mode: overlay;
}

.tiles {
  position: absolute;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 50% 20%, rgba(255,255,255,0.8), transparent 60%);
  animation: shimmer 4s ease-in-out infinite alternate;
  border-radius: 50%;
}

@keyframes rotateBall {
  from { transform: translateX(-50%) rotate(0deg); }
  to { transform: translateX(-50%) rotate(360deg); }
}

@keyframes shimmer {
  0% { background-position: 0% 0%; opacity: 0.6; }
  100% { background-position: 100% 100%; opacity: 1; }
}

/* === PAGE STRUCTURE === */
main {
  position: relative;
  z-index: 2;
  width: 90%;
  margin: 0 auto;
  padding-top: 2rem;
  display: grid;
  grid-template-areas:
    "header header"
    "sidebar hero"
    "sidebar info"
    "wide wide"
    "bottom bottom";
  grid-template-columns: 33% 67%;
  grid-gap: 2rem;
}

header {
  grid-area: header;
  height: 25vh;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 3rem;
  font-family: 'Press Start 2P', cursive;
  text-align: center;
  text-shadow:
    0 0 10px #ff00ff,
    0 0 20px #ff00ff,
    0 0 30px cyan,
    0 0 50px cyan;
  box-shadow: 0 0 40px rgba(255, 0, 255, 0.4), inset 0 0 20px rgba(0, 255, 255, 0.3);
  background: rgba(0, 0, 0, 0.3);
  border-radius: 20px;
}

/* === SIDEBAR === */
.sidebar {
  grid-area: sidebar;
  background: rgba(255,255,255,0.05);
  border: 2px solid rgba(255,0,255,0.4);
  height: 75vh;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  position: relative;
  box-shadow: 0 0 25px rgba(255, 0, 255, 0.3);
  border-radius: 10px;
}

.sidebar-item {
  position: relative;
  cursor: pointer;
  font-size: 1.2rem;
  transition: color 0.3s ease, transform 0.3s ease;
  text-shadow: 0 0 8px #ff00ff, 0 0 15px magenta;
}

.sidebar-item:hover {
  color: #0ff;
  transform: scale(1.05);
  text-shadow: 0 0 15px cyan, 0 0 30px magenta, 0 0 50px yellow;
}

.sidebar-item .info-box {
  display: none;
  position: absolute;
  left: 110%;
  top: 50%;
  transform: translateY(-50%);
  width: 240px;
  background: rgba(0,0,0,0.8);
  border: 2px solid #0ff;
  padding: 1rem;
  border-radius: 10px;
  text-shadow: 0 0 15px cyan;
  box-shadow: 0 0 25px rgba(0, 255, 255, 0.5), inset 0 0 20px rgba(255, 0, 255, 0.3);
  animation: glowIn 0.5s ease forwards;
}

@keyframes glowIn {
  from { opacity: 0; transform: translateY(-50%) scale(0.8); }
  to { opacity: 1; transform: translateY(-50%) scale(1); }
}

.sidebar-item:hover .info-box {
  display: block;
}

/* === CONTENT SECTIONS === */
.hero {
  grid-area: hero;
  height: 50vh;
  background: rgba(0,0,0,0.5);
  border: 2px solid rgba(0,255,255,0.4);
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  font-size: 2rem;
  text-shadow:
    0 0 15px cyan,
    0 0 30px magenta,
    0 0 50px white;
  box-shadow: 0 0 30px rgba(0, 255, 255, 0.4);
  border-radius: 15px;
}

.info {
  grid-area: info;
  height: 25vh;
  background: rgba(255,255,255,0.05);
  border: 2px solid rgba(255,255,0,0.4);
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  font-size: 1.5rem;
  text-shadow:
    0 0 15px yellow,
    0 0 25px orange,
    0 0 40px red;
  box-shadow: 0 0 25px rgba(255, 255, 0, 0.3);
  border-radius: 15px;
}

.wide {
  grid-area: wide;
  background: rgba(255,255,255,0.05);
  border: 2px solid rgba(255,0,255,0.4);
  padding: 2rem;
  text-align: center;
  font-size: 1.2rem;
  text-shadow:
    0 0 10px magenta,
    0 0 30px cyan,
    0 0 50px blue;
  box-shadow: 0 0 30px rgba(255, 0, 255, 0.4);
  border-radius: 15px;
}

footer {
  grid-area: bottom;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem;
}

.footer-box {
  flex: 1;
  background: rgba(0,0,0,0.6);
  border: 2px solid rgba(0,255,255,0.4);
  padding: 1rem;
  text-align: center;
  text-shadow: 0 0 15px cyan, 0 0 30px magenta;
  box-shadow: 0 0 20px rgba(0,255,255,0.5);
  border-radius: 10px;
  transition: transform 0.3s ease;
}

.footer-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 0 40px rgba(255,0,255,0.6), inset 0 0 25px rgba(0,255,255,0.4);
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background: radial-gradient(circle at center, #240046, #000);
  font-family: 'Orbitron', sans-serif;
  color: #fff;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  padding: 2rem;
}

/* Main layout grid */
.main-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 2rem;
  width: 90%;
  max-width: 1200px;
  align-items: stretch;
}

/* Left column */
.left-column {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.5rem;
}

/* Boxes */
.side-box, .main-box, .bottom-box {
  background: linear-gradient(135deg, #ff00cc, #3333ff);
  border-radius: 14px;
  box-shadow: 0 0 20px #ff00cc, 0 0 40px #3333ff;
  text-align: center;
  padding: 2rem;
  font-size: 1.5rem;
  text-transform: uppercase;
  transition: 0.3s ease;
}

/* Hover glow */
.side-box:hover, .main-box:hover, .bottom-box:hover {
  transform: scale(1.05);
  box-shadow: 0 0 30px #ff33cc, 0 0 60px #33aaff;
  cursor: pointer;
}

/* Right column */
.main-box {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  height: 100%;
  min-height: 450px;
}

/* Bottom row */
.bottom-row {
  display: flex;
  justify-content: space-between;
  width: 90%;
  max-width: 1200px;
  gap: 2rem;
}

.bottom-box {
  flex: 1;
  font-size: 1.3rem;
  padding: 1.5rem;
}
