/* =============================================================
   Cosmic Synthwave Mirage v3.5
   ─ Glitch Pop x Cybernetic Fusion ─
   Palette ▸ bg: #08001a; glass: rgba(255,255,255,0.05);
               accent-neon: #fb00ff; cyan-glow: #00ffe1; fire: #ff5e00
   Font ▸ 'VT323' (retro pixel) & 'Space Grotesk' for smooth headers
==============================================================*/

@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;700&family=VT323&display=swap');

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  background-color: #08001a;
  background-image: radial-gradient(circle at 30% 20%, rgba(255, 0, 255, 0.05), transparent 70%),
                    radial-gradient(circle at 70% 80%, rgba(0, 255, 255, 0.05), transparent 70%);
  font-family: 'Space Grotesk', sans-serif;
  color: #e0e0f0;
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'VT323', monospace;
  color: #fb00ff;
  letter-spacing: 0.03em;
  text-shadow: 0 0 2px #fb00ff, 0 0 6px #00ffe1;
}

button,
.button,
input[type="button"],
input[type="submit"] {
  font-family: 'VT323', monospace;
  font-size: 1.1rem;
  padding: 0.6rem 1.5rem;
  background: linear-gradient(45deg, #fb00ff, #00ffe1);
  border: none;
  border-radius: 0.4rem;
  color: #08001a;
  cursor: pointer;
  box-shadow: 0 0 8px #fb00ff, 0 0 12px #00ffe1;
  transition: all 0.2s ease-in-out;
}

button:hover {
  transform: scale(1.05) rotate(-1deg);
  filter: brightness(1.2);
}

a {
  color: #00ffe1;
  text-decoration: none;
  border-bottom: 1px dashed #fb00ff;
  transition: all 0.3s ease;
}
a:hover {
  color: #ff5e00;
  border-bottom-color: #ff5e00;
}

#wrapper {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  background: repeating-linear-gradient(45deg, #0a0020 0px, #0a0020 2px, #08001a 2px, #08001a 4px);
}

#header {
  text-align: center;
  padding: 2rem 1rem;
  position: relative;
}

#header .logo {
  font-family: 'VT323', monospace;
  font-size: 2rem;
  color: #fb00ff;
  background: #0f002a;
  border: 2px solid #00ffe1;
  display: inline-block;
  padding: 0.8rem 1.2rem;
  transform: rotate(-6deg);
  box-shadow: 0 0 12px #fb00ff;
}

#main {
  flex: 1;
  padding: 2rem 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  background: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 100 100' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='50' cy='50' r='3' fill='%23fb00ff'/%3E%3C/svg%3E") repeat;
  background-size: 60px 60px;
}

#main article {
  background: rgba(255,255,255,0.05);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 0.75rem;
  padding: 2rem;
  width: 100%;
  max-width: 720px;
  box-shadow: 0 0 24px rgba(0,0,0,0.4);
  margin-bottom: 2rem;
}

#main h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  border-left: 4px solid #00ffe1;
  padding-left: 1rem;
}

#main h3 {
  font-size: 1.5rem;
  color: #ff5e00;
  margin-bottom: 0.6rem;
}

#main h4 {
  font-size: 1.2rem;
  color: #fb00ff;
  margin-bottom: 0.4rem;
}

#main p {
  font-size: 1rem;
  color: #d0d0e0;
  margin-bottom: 1rem;
}

#footer {
  text-align: center;
  padding: 1rem;
  font-size: 0.8rem;
  color: #999;
  background: #0a0020;
  border-top: 1px solid #1c1c2e;
}

@media (max-width: 768px) {
  html {
    font-size: 15px;
  }
  #main article {
    padding: 1.5rem 1rem;
  }
  #main h2 {
    font-size: 1.6rem;
  }
  #main h3 {
    font-size: 1.3rem;
  }
  #main h4 {
    font-size: 1rem;
  }
}

@media (min-width: 1025px) {
  html {
    font-size: 18px;
  }
  #main article {
    padding: 2.5rem;
  }
}
