:root {
  --bg: #0a0f1a;
  --text: #e5e7eb;
  --accent: #fef3c7; /* warm cream glow */
  --max-width: 720px;
}

body {
  margin: 0;
  padding: 0;
  background-color: var(--bg);
  color: var(--text);
  font-family: 'Georgia', serif;
  font-size: 1.2rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  scroll-behavior: smooth;
}

h1, h2 {
  font-family: 'Georgia', serif;
  color: var(--accent);
  font-weight: 400;
  line-height: 1.3;
}

h2 {
  font-size: 1.6rem;
  margin-bottom: 0.5em;
}

a {
  color: var(--accent);
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}

.hero {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  text-align: center;
  font-size: 1.8rem;
  background: var(--bg);
}

.typewriter {
  font-size: 3.5rem;
  color: var(--accent);
  text-align: center;
  line-height: 1.5;
  max-width: 90vw;
  word-break: break-word;
  margin: 0 auto;
  display: inline-block;
}
.word {
  white-space: normal;
}
.cursor {
  white-space: nowrap;
}
.cursor {
  display: inline-block;
  margin-left: 2px;
  color: var(--accent);
  animation: blink-caret 0.8s step-end infinite;
}
.char {
  opacity: 0;
  transition: opacity 0.3s ease;
}

@keyframes blink-caret {
  0%, 100% { opacity: 1 }
  50% { opacity: 0 }
}
@keyframes typing {
  from { width: 0ch; }
  to { width: 38ch; }
}
@keyframes blink {
  50% { border-color: transparent }
}

.content {
  max-width: var(--max-width);
  margin: 4rem auto;
  padding: 0 1.5rem;
}

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 1.4s ease, transform 1.4s ease;
  margin-bottom: 4rem;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

ul {
  padding-left: 1.5rem;
}
ul li {
  margin-bottom: 0.6rem;
}

.footer {
  text-align: center;
  padding: 2rem;
  font-size: 0.9rem;
  color: #777;
}
.cursor {
  display: inline-block;
  margin-left: 2px;
  color: var(--accent);
  animation: blink-caret 0.8s step-end infinite;
}

@keyframes blink-caret {
  0%, 100% { opacity: 1 }
  50% { opacity: 0 }
}
#cursor-glow {
  position: fixed;
  top: 0;
  left: 0;
  width: 60px;
  height: 60px;
  background: var(--accent);
  border-radius: 50%;
  pointer-events: none;
  mix-blend-mode: screen;
  filter: blur(30px);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 10000;
}

#scroll-indicator {
  position: fixed;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  opacity: 0;
  transition: opacity 0.6s ease;
  pointer-events: none;
  z-index: 999;
}

#scroll-indicator.visible {
  opacity: 0.8;
}

.arrow {
  font-size: 1.75rem;
  color: var(--accent);
  animation: pulseArrow 2s infinite ease-in-out;
}

@keyframes pulseArrow {
  0%, 100% { transform: translateY(0); opacity: 0.6; }
  50% { transform: translateY(6px); opacity: 1; }
}
#scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 4px;
  width: 0;
  background: var(--accent);
  z-index: 10001;
  transition: width 0.2s ease-out;
}