body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 50%, #16213e 100%);
  margin: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
}

/* MEMEVERSE Background Text */
body::before {
  content: 'MEMEVERSE';
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: clamp(8rem, 15vw, 20rem);
  font-weight: 900;
  color: transparent;
  background: linear-gradient(45deg, #ffd700, #ffed4a, #ffd700);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  opacity: 0.08;
  z-index: 0;
  pointer-events: none;
  white-space: nowrap;
  letter-spacing: 0.2em;
  text-shadow: 
    0 0 50px rgba(255, 215, 0, 0.3),
    0 0 100px rgba(255, 215, 0, 0.2);
  animation: backgroundPulse 4s ease-in-out infinite alternate, gradientShift 6s ease infinite;
}

/* Secondary MEMEVERSE text for depth */
body::after {
  content: 'MEMEVERSE';
  position: fixed;
  top: 52%;
  left: 52%;
  transform: translate(-50%, -50%) rotate(-2deg);
  font-size: clamp(7rem, 14vw, 18rem);
  font-weight: 800;
  color: transparent;
  background: linear-gradient(135deg, #667eea, #764ba2);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  opacity: 0.05;
  z-index: 0;
  pointer-events: none;
  white-space: nowrap;
  letter-spacing: 0.2em;
  animation: backgroundPulse 5s ease-in-out infinite alternate-reverse, gradientShift 8s ease infinite reverse;
}

@keyframes backgroundPulse {
  from {
    opacity: 0.05;
    transform: translate(-50%, -50%) scale(0.95);
  }
  to {
    opacity: 0.12;
    transform: translate(-50%, -50%) scale(1.05);
  }
}

/* Animated background particles */
.background-particles {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    radial-gradient(2px 2px at 20px 30px, rgba(255, 255, 255, 0.1), transparent),
    radial-gradient(2px 2px at 40px 70px, rgba(255, 255, 255, 0.05), transparent),
    radial-gradient(1px 1px at 90px 40px, rgba(255, 255, 255, 0.08), transparent),
    radial-gradient(1px 1px at 130px 80px, rgba(255, 255, 255, 0.06), transparent);
  background-repeat: repeat;
  background-size: 150px 100px;
  animation: sparkle 20s linear infinite;
  pointer-events: none;
  z-index: 0;
}

@keyframes sparkle {
  from { transform: translateY(0px); }
  to { transform: translateY(-100px); }
}

.profile-container,
.signup-container {
  background: rgba(15, 20, 35, 0.85);
  backdrop-filter: blur(25px);
  border: 2px solid rgba(255, 255, 255, 0.15);
  padding: 45px;
  border-radius: 25px;
  box-shadow: 
    0 25px 70px rgba(0, 0, 0, 0.6),
    0 0 50px rgba(255, 215, 0, 0.15),
    inset 0 2px 0 rgba(255, 255, 255, 0.15);
  width: 400px;
  text-align: center;
  position: relative;
  z-index: 10;
  transition: all 0.4s ease;
}

.profile-container::before,
.signup-container::before {
  content: '';
  position: absolute;
  top: -3px;
  left: -3px;
  right: -3px;
  bottom: -3px;
  background: linear-gradient(45deg, #706ea5, #b1ff3d, #cf6bb6, #4d9de0, #8b6bff);
  border-radius: 28px;
  z-index: -1;
  opacity: 0;
  transition: opacity 0.4s ease;
  animation: borderGlow 4s linear infinite;
}

.profile-container:hover::before,
.signup-container:hover::before {
  opacity: 0.4;
}

.profile-container:hover,
.signup-container:hover {
  transform: translateY(-8px);
  box-shadow: 
    0 35px 90px rgba(0, 0, 0, 0.8),
    0 0 70px rgba(255, 215, 0, 0.25),
    inset 0 2px 0 rgba(255, 255, 255, 0.2);
}

@keyframes borderGlow {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

h1, h2 {
  color: #ffffff;
  margin-bottom: 35px;
  font-size: 2.5em;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 4px;
  text-shadow: 
    0 0 15px rgba(255, 215, 0, 0.9),
    0 0 25px rgba(255, 215, 0, 0.7),
    0 0 35px rgba(255, 215, 0, 0.5);
  background: linear-gradient(45deg, #ffd700, #ffed4a, #ffd700);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: titleGlow 3s ease-in-out infinite alternate, gradientShift 4s ease infinite;
  position: relative;
  z-index: 15;
}

@keyframes titleGlow {
  from {
    text-shadow: 
      0 0 15px rgba(255, 215, 0, 0.9),
      0 0 25px rgba(255, 215, 0, 0.7),
      0 0 35px rgba(255, 215, 0, 0.5);
  }
  to {
    text-shadow: 
      0 0 25px rgba(255, 215, 0, 1),
      0 0 35px rgba(255, 215, 0, 0.9),
      0 0 45px rgba(255, 215, 0, 0.7);
  }
}

@keyframes gradientShift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.profile-card {
  text-align: left;
  margin-bottom: 25px;
  background: rgba(255, 255, 255, 0.08);
  padding: 25px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(15px);
  transition: all 0.4s ease;
  position: relative;
  z-index: 12;
}

.profile-card:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 215, 0, 0.4);
  transform: translateX(8px);
}

.profile-card p {
  margin: 15px 0;
  font-size: 16px;
  color: #f0f0f0;
  font-weight: 400;
  line-height: 1.6;
  transition: color 0.3s ease;
}

.profile-card p strong {
  color: #ffd700;
  font-weight: 700;
  text-shadow: 0 0 12px rgba(255, 215, 0, 0.4);
}

/* Form Elements Styling */
label {
  font-weight: bold;
  margin-top: 18px;
  display: block;
  color: #ffd700;
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  text-shadow: 0 0 12px rgba(255, 215, 0, 0.4);
  position: relative;
  z-index: 12;
}

input, textarea {
  width: 100%;
  padding: 18px;
  margin-top: 10px;
  border: 2px solid rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(15px);
  color: #ffffff;
  font-size: 16px;
  transition: all 0.4s ease;
  box-sizing: border-box;
  position: relative;
  z-index: 12;
}

input:focus, textarea:focus {
  outline: none;
  border-color: rgba(255, 215, 0, 0.6);
  background: rgba(255, 255, 255, 0.12);
  box-shadow: 
    0 0 25px rgba(255, 215, 0, 0.3),
    inset 0 2px 0 rgba(255, 255, 255, 0.15);
  transform: translateY(-3px);
}

input::placeholder, textarea::placeholder {
  color: rgba(255, 255, 255, 0.6);
}

textarea {
  resize: none;
  height: 90px;
  font-family: inherit;
}

button {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 18px 35px;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  font-size: 17px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  transition: all 0.4s ease;
  box-shadow: 
    0 15px 30px rgba(102, 126, 234, 0.4),
    0 0 25px rgba(102, 126, 234, 0.3);
  position: relative;
  overflow: hidden;
  z-index: 12;
  margin-top: 20px;
}

button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  transition: left 0.6s ease;
}

button:hover::before {
  left: 100%;
}

button:hover {
  background: linear-gradient(135deg, #7c9aff 0%, #8a5cbf 100%);
  transform: translateY(-4px);
  box-shadow: 
    0 25px 50px rgba(102, 126, 234, 0.5),
    0 0 40px rgba(102, 126, 234, 0.4);
}

button:active {
  transform: translateY(-1px);
  box-shadow: 
    0 10px 20px rgba(102, 126, 234, 0.4),
    0 0 20px rgba(102, 126, 234, 0.3);
}

/* Links and Text */
p {
  text-align: center;
  margin-top: 25px;
  color: #f0f0f0;
  font-size: 15px;
  position: relative;
  z-index: 12;
}

a {
  color: #ffd700;
  text-decoration: none;
  font-weight: 700;
  transition: all 0.4s ease;
  text-shadow: 0 0 8px rgba(255, 215, 0, 0.4);
}

a:hover {
  color: #ffed4a;
  text-shadow: 0 0 20px rgba(255, 215, 0, 0.8);
  text-decoration: none;
}

/* Custom scrollbar for the page */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.1);
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(45deg, #667eea, #764ba2);
  border-radius: 15px;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(45deg, #7c9aff, #8a5cbf);
}

/* Responsive design */
@media (max-width: 768px) {
  body::before {
    font-size: clamp(6rem, 12vw, 15rem);
    opacity: 0.06;
  }
  
  body::after {
    font-size: clamp(5rem, 11vw, 13rem);
    opacity: 0.04;
  }
}

@media (max-width: 480px) {
  .profile-container,
  .signup-container {
    width: 90%;
    padding: 30px;
    margin: 20px;
  }
  
  h1, h2 {
    font-size: 2em;
    letter-spacing: 2px;
  }
  
  .profile-card p {
    font-size: 14px;
  }
  
  input, textarea {
    padding: 15px;
    font-size: 15px;
  }
  
  button {
    padding: 15px 30px;
    font-size: 15px;
  }
  
  body::before {
    font-size: clamp(4rem, 10vw, 12rem);
  }
  
  body::after {
    font-size: clamp(3.5rem, 9vw, 10rem);
  }
}