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

/* Galaxy Background Animation */
@keyframes galaxyMotion {
  0% { background-position: 0 0; }
  100% { background-position: 2000px 2000px; }
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: #0b002b url('https://www.transparenttextures.com/patterns/stardust.png') repeat;
  background-size: 600px 600px;
  animation: galaxyMotion 300s linear infinite;
  color: #e5dbff;
  line-height: 1.6;
  min-height: 100vh;
  transition: all 0.3s ease-in-out;
  position: relative;
  overflow-x: hidden;
}

/* Floating decorative stars */
body::before {
  content: "";
  position: absolute;
  top: 10%;
  left: 10%;
  width: 120px;
  height: 120px;
  background: radial-gradient(circle, #c744ff80 0%, transparent 70%);
  border-radius: 50%;
  filter: blur(30px);
  animation: float 6s ease-in-out infinite alternate;
  z-index: 0;
}

body::after {
  content: "";
  position: absolute;
  bottom: 10%;
  right: 10%;
  width: 180px;
  height: 180px;
  background: radial-gradient(circle, #ff66ff60 0%, transparent 70%);
  border-radius: 50%;
  filter: blur(40px);
  animation: float 8s ease-in-out infinite alternate;
  z-index: 0;
}

@keyframes float {
  from { transform: translateY(0px) rotate(0deg); }
  to { transform: translateY(-30px) rotate(15deg); }
}

/* Header */
header {
  background: rgba(25, 0, 65, 0.7);
  padding: 25px;
  text-align: center;
  border-bottom: 2px solid #c900ff;
  box-shadow: 0 12px 30px rgba(200, 0, 255, 0.3);
  backdrop-filter: blur(20px);
  z-index: 1;
  position: relative;
}

header h1 {
  font-size: 2.8em;
  color: #f0dbff;
  text-shadow: 0 0 20px #ff00ff80;
  position: relative;
}

header h1::after {
  content: "FleeTha";
  font-size: 0.4em;
  background: linear-gradient(to right, #ff33ff, #9900ff);
  padding: 3px 10px;
  margin-left: 15px;
  color: white;
  border-radius: 20px;
  font-weight: bold;
  box-shadow: 0 0 8px #ff99ff;
  vertical-align: super;
}

/* Navigation */
nav ul {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 22px;
  margin-top: 20px;
  flex-wrap: wrap;
}

nav a {
  color: #efe3ff;
  text-decoration: none;
  padding: 12px 28px;
  border-radius: 40px;
  background: linear-gradient(145deg, #290033, #3c0066);
  box-shadow: 0 6px 16px rgba(160, 0, 255, 0.3);
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(10px);
  font-weight: bold;
}

nav a::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(255, 255, 255, 0.12);
  transform: translate(-50%, -50%);
  border-radius: 50%;
  transition: width 0.5s, height 0.5s;
  z-index: 0;
}

nav a:hover::after {
  width: 130px;
  height: 100px;
}

nav a:hover,
nav a.active {
  background: linear-gradient(145deg, #7000cc, #d000ff);
  color: #fff;
  box-shadow: 0 0 18px #cc00ff, 0 0 8px #ff00cc;
  z-index: 1;
}

/* Main */
main {
  max-width: 950px;
  margin: 50px auto;
  padding: 35px;
  background: rgba(45, 0, 90, 0.45);
  border-radius: 22px;
  box-shadow: 0 0 40px rgba(200, 0, 255, 0.25);
  backdrop-filter: blur(16px);
  transition: 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

main h2 {
  font-size: 2.4em;
  color: #f3d6ff;
  border-bottom: 2px dashed #d100ff;
  padding-bottom: 12px;
  margin-bottom: 24px;
}

/* Form Elements */
form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

form label {
  font-weight: bold;
  color: #f1ddff;
}

form input,
form select,
form textarea {
  padding: 16px;
  border: 1px solid #cc55ff;
  border-radius: 14px;
  background: rgba(25, 0, 50, 0.85);
  color: #fbeeff;
  font-size: 1em;
  transition: all 0.3s;
  box-shadow: inset 0 0 8px #7700ff20;
}

form input:focus,
form select:focus,
form textarea:focus {
  outline: none;
  border-color: #ff55ff;
  box-shadow: 0 0 16px #ff66ff80;
  transform: scale(1.03);
}

form button {
  background: linear-gradient(120deg, #7b00ff, #e100ff);
  color: white;
  padding: 16px 28px;
  border: none;
  border-radius: 50px;
  font-size: 1.15em;
  font-weight: bold;
  cursor: pointer;
  box-shadow: 0 0 22px #d100ff;
  transition: 0.4s;
  position: relative;
  overflow: hidden;
}

form button:hover {
  background: linear-gradient(120deg, #9900ff, #ff00ff);
  box-shadow: 0 0 30px #ff33ff;
  transform: scale(1.04);
}

/* Response Message */
#responseMessage {
  font-weight: bold;
  font-size: 1.1em;
  color: #ffe777;
  text-align: center;
  padding: 12px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(6px);
}

/* Footer */
footer {
  text-align: center;
  padding: 25px;
  background: rgba(20, 0, 50, 0.85);
  border-top: 2px solid #7700cc;
  box-shadow: 0 -5px 22px rgba(160, 0, 255, 0.3);
  backdrop-filter: blur(10px);
  margin-top: 80px;
}

footer p {
  color: #d8ccff;
  margin-bottom: 14px;
}

.social-links {
  margin-top: 14px;
}

.social-links a img.social-icon {
  width: 38px;
  height: 38px;
  margin: 0 8px;
  filter: drop-shadow(0 0 10px #e000ff);
  transition: transform 0.35s ease, filter 0.3s ease;
}

.social-links a img.social-icon:hover {
  transform: scale(1.3);
  filter: drop-shadow(0 0 20px #ff99ff);
}