html, body {
  height: 100%;
  margin: 0;
  font-family: 'Cormorant Garamond', serif;
  line-height: 1.9;
  background: #0a0a0a;
  color: #ffb84d;
}

#main-container {
  display: flex;
  min-height: 100vh;
  position: relative;
}

#left-panel {
  width: 700px;
  background-color: #000000;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 40px;
  position: relative;
  z-index: 1;
}

#right-panel {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
  color: #3a1f4d;
  background: 
    linear-gradient(135deg, rgba(255, 250, 240, 0.7), rgba(255, 210, 120, 0.7) 60%), 
    url('images/1.png');
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
}

#left-panel::after {
  content: "";
  position: absolute;
  top: 0;
  right: -40px;
  width: 80px;
  height: 100%;
  background-color: #000000;
  border-radius: 0 50% 50% 0 / 0 50% 50% 0;
  z-index: 2;
}

#header {
  width: 100%;
  max-width: 700px;
  height: 933px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  padding-top: 20px;
  background-image: url('images/head.jpg');
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  position: relative;
}

h1 {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 3rem;
  color: #f9f4e6;
  -webkit-text-stroke: 2px #bfae8f;
  background: linear-gradient(135deg, #cc5500, #ff8c42);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

i, b {
  font-weight: 600;
  font-style: italic;
  background: linear-gradient(90deg, #ff6600, #ffb84d);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 0 4px #ff6600, 0 0 8px #ffb84d;
}

a {
  position: relative;
  color: #ffb84d;
  font-weight: 500;
  text-decoration: none;
  background: linear-gradient(90deg, #ff6600, #ffb84d);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  transition: all 0.3s ease;
}

a::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, #ff6600, #ffb84d, #ff6600);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s ease;
  opacity: 0.8;
}

a:hover {
  color: #ffb84d;
  text-shadow: 0 0 6px #ff6600, 0 0 12px #ffb84d;
}

a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

#nav-orb {
  position: absolute;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
}

#nav-toggle {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 50%, #ff9f00 0%, #ff6700 70%, #cc4400 100%);
  border: 3px solid #ff8c00;
  color: #1b0d26;
  font-size: 24px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.4s ease;
  box-shadow: 0 0 15px rgba(255, 184, 77, 0.7), inset -5px -5px 15px rgba(0,0,0,0.2);
  user-select: none;
  position: relative;
}

#nav-toggle::before {
  content: '';
  position: absolute;
  top: -25px;
  left: 50%;
  transform: translateX(-50%) rotate(-15deg);
  width: 20px;
  height: 30px;
  background: linear-gradient(to top, #4b2e0f, #8b5a2b);
  border-radius: 5px 5px 0 0;
}

#nav-toggle::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: repeating-linear-gradient(
    to right,
    rgba(0,0,0,0),
    rgba(0,0,0,0) 2px,
    rgba(0,0,0,0.05) 4px
  );
  pointer-events: none;
}

#navigation {
  position: absolute;
  top: 70px;
  left: 50%;
  transform: translateX(-50%) scale(0.8);
  background: linear-gradient(
    135deg, 
    rgba(0, 0, 0, 0.9), 
    rgba(204, 85, 0, 0.6)
  );
  border-radius: 44px;
  padding: 20px 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  opacity: 0;
  pointer-events: none;
  transition: all 0.4s ease;
}

#nav-orb.active #navigation {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) scale(1);
}

#navigation a {
  font-family: 'Cinzel Decorative', serif;
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 8px 12px;
  border-radius: 12px;
  transition: all 0.3s ease;
  position: relative;
  background: linear-gradient(90deg, #ff6600, #ffb84d);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

#navigation a:hover {
  background: linear-gradient(90deg, #ffb84d, #ff6600);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

#content {
  width: 100%;
  max-width: 900px;
}

.contentx {
  position: relative;
  background-color: #756451;
  padding: 40px 50px;
  border-radius: 36px;
  font-size: 18px;
  font-family: 'Lora', serif;
  color: #000000;
  text-align: justify;
  margin-bottom: 40px;
  opacity: 0.65;
  overflow: hidden;
  box-shadow: inset 0 0 20px rgba(255, 184, 77, 0.1);
}

.contentx::before {
  content: "";
  position: absolute;
  inset: 0;
  padding: 4px;
  border-radius: 36px;
  background: linear-gradient(135deg, #ff6600, #ffb84d, #ff6600, #ffb84d);
  background-size: 400% 400%;
  animation: borderGlow 6s ease infinite;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  z-index: 1;
}

@keyframes borderGlow {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

blockquote {
  background: linear-gradient(145deg, rgba(255, 244, 220, 0.7), rgba(255, 184, 77, 0.5));
  border-radius: 36px;
  padding: 32px 44px;
  font-style: italic;
  font-size: 19px;
  color: #1b0d26;
  text-align: center;
  border: 1px solid rgba(255, 184, 77, 0.4);
  margin: 40px 0;
  box-shadow: 0 4px 16px rgba(255, 184, 77, 0.2);
  animation: lightBlockquoteGlow 6s ease-in-out infinite;
}

@keyframes lightBlockquoteGlow {
  0% { box-shadow: 0 0 8px rgba(255, 184, 77, 0.15); }
  50% { box-shadow: 0 0 16px rgba(255, 184, 77, 0.25); }
  100% { box-shadow: 0 0 8px rgba(255, 184, 77, 0.15); }
}
