#header {
  position: relative;
  width: 70%;
  max-width: 920px;
  height: 357px;
  margin: 100px auto 40px auto;
  border-radius: 60px;
  background: url('premade/head.jpg') no-repeat center center;
  background-size: cover;
  box-shadow: 0 12px 60px rgba(0, 0, 0, 0.1);
  border: none;
  overflow: hidden;
  filter: brightness(0.95) contrast(1.05) saturate(1.1);
  transition: border-radius 0.7s ease, box-shadow 0.7s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

html, body {
  height: 100%;
  margin: 0;
  font-family: 'Cormorant Garamond', serif;
  background: linear-gradient(
      to bottom,
      #0b0a0d 0%,
      #150a1c 30%,
      #1b0f28 60%,
      #0a0810 100%
    ),
    radial-gradient(circle at top right, rgba(100, 40, 120, 0.25), transparent 60%),
    radial-gradient(circle at bottom left, rgba(80, 30, 100, 0.2), transparent 80%);
  background-attachment: fixed;
  background-blend-mode: soft-light, screen, lighten;
  color: #d8c8f0;
  line-height: 1.8;
}

#navigation {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 18px 0;
  background: rgba(20, 10, 35, 0.75);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(180, 100, 255, 0.15);
  display: flex;
  justify-content: center;
  gap: 40px;
  z-index: 1000;
  box-shadow: 0 6px 30px rgba(0,0,0,0.4);
}

#navigation a {
  position: relative;
  font-family: 'Cinzel Decorative', serif;
  font-size: 18px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #caa8ff;
  padding: 10px 16px;
  transition: color 0.3s ease;
  overflow: hidden;
}

#navigation a::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(170,100,255,0.25), rgba(100,40,160,0.25));
  border-radius: 6px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
  z-index: -1;
}

#navigation a::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 50%;
  width: 0;
  height: 2px;
  background: linear-gradient(to right, #b37bff, #6d33cc);
  transform: translateX(-50%);
  transition: width 0.4s ease;
  border-radius: 2px;
}

#navigation a:hover {
  color: #fff;
  text-shadow: 0 0 6px rgba(190, 120, 255, 0.7);
}

#navigation a:hover::before {
  transform: scaleX(1);
}

#navigation a:hover::after {
  width: 70%;
}


h1 {
  font-family: 'Great Vibes', cursive;
  font-size: 56px;
  color: #b37bff;
  text-align: center;
  letter-spacing: 2px;
  margin: 120px 0 30px 0;
  position: relative;
  text-shadow:
    0 1px 3px rgba(0,0,0,0.6),
    0 0 20px rgba(150, 90, 255, 0.3);
}

h1::before {
  content: '✧';
  position: absolute;
  top: -30px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 24px;
  color: #9b6de0;
  opacity: 0.6;
  text-shadow: 0 0 8px rgba(150, 100, 230, 0.3);
}

h1::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 4px;
  background: linear-gradient(to right, #9b6de0, #6d33cc);
  border-radius: 5px;
  opacity: 0.7;
}

blockquote {
  background: linear-gradient(135deg, rgba(40, 20, 60, 0.6), rgba(30, 10, 50, 0.4));
  border-radius: 40px;
  padding: 40px 60px;
  font-style: italic;
  font-size: 20px;
  color: #c6a8ff;
  position: relative;
  box-shadow: 0 8px 40px rgba(0,0,0,0.3), inset 0 0 20px rgba(120, 60, 180, 0.25);
  text-align: center;
  transition: all 0.4s ease-in-out;
}

blockquote::before,
blockquote::after {
  content: '❝';
  font-family: 'Cinzel', serif;
  font-size: 64px;
  color: #8e5ad9;
  position: absolute;
  opacity: 0.3;
  z-index: 0;
}

blockquote::before {
  top: -20px;
  left: 30px;
  transform: rotate(-10deg);
}

blockquote::after {
  bottom: -20px;
  right: 30px;
  transform: rotate(180deg);
}

blockquote > * {
  position: relative;
  z-index: 1;
}

a {
  color: #a86dff;
}

a::after {
  background: #6d33cc;
}

a:hover {
  color: #d4b3ff;
}

a:hover::after {
  background: #d4b3ff;
}

.contentx input,
textarea,
select {
  background-color: rgba(20, 10, 30, 0.6);
  border: 1px solid #7a4ccf;
  color: #d4c4ff;
  box-shadow: inset 0 0 8px rgba(80, 40, 120, 0.3);
}

.contentx input:focus,
textarea:focus,
select:focus {
  border-color: #b37bff;
  background-color: rgba(30, 20, 60, 0.8);
  box-shadow: 0 0 12px rgba(180, 120, 255, 0.4);
}

#content {
  position: relative;
  width: 912px;
  max-width: 920px;
  margin: 0 auto;
  padding-top: 10px; 
  padding-bottom: 80px;
  z-index: 1;
}

.contentx {
  position: relative;
  background: linear-gradient(
      145deg,
      rgba(25, 15, 40, 0.9),
      rgba(15, 10, 30, 0.85),
      rgba(10, 5, 20, 0.8)
    ),
    radial-gradient(circle at top left, rgba(80, 40, 120, 0.15), transparent 80%);
  padding: 50px 60px;
  border-radius: 48px;
  font-size: 19px;
  font-family: 'Lora', serif;
  color: #e2d6ff;
  text-align: justify;
  box-shadow:
    0 10px 60px rgba(0, 0, 0, 0.4),
    inset 0 0 25px rgba(80, 40, 120, 0.1),
    0 0 0 2px rgba(100, 40, 160, 0.08);
  backdrop-filter: blur(14px);
  margin-bottom: 60px;
  transition: all 0.5s ease-in-out;
  overflow: hidden;
  border: 1px solid rgba(120, 60, 180, 0.12);
}

.contentx::before {
  content: '';
  position: absolute;
  top: -30%;
  left: -30%;
  width: 160%;
  height: 160%;
  background: radial-gradient(circle, rgba(180, 100, 255, 0.1), transparent 70%);
  opacity: 0.15;
  pointer-events: none;
  z-index: 0;
}

.contentx::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  height: 5px;
  width: 100%;
  background: linear-gradient(to right, #a86dff, #6d33cc, #a86dff);
  background-size: 200% auto;
  animation: shimmer 6s ease-in-out infinite;
  opacity: 0.2;
  border-radius: 0 0 48px 48px;
  z-index: 0;
}

@keyframes shimmer {
  0% {
    background-position: 0% center;
  }
  50% {
    background-position: 100% center;
  }
  100% {
    background-position: 0% center;
  }
}

.contentx > * {
  position: relative;
  z-index: 1;
}

b, i {
  background: linear-gradient(
    135deg,
    #b37bff,
    #8e5ad9,
    #6d33cc
  );
  text-shadow: none;
  color: #fff;
}

b:hover, i:hover {
  color: #e1ccff;
  text-shadow: 0 0 8px rgba(170, 120, 255, 0.6);
}
