@import url('https://fonts.googleapis.com/css2?family=Special+Elite&family=Courier+Prime:ital,wght@0,400;0,700;1,400&display=swap');

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

body {
  min-height: 100vh;
  background-color: #f5f0e8;
  font-family: 'Courier Prime', 'Courier New', monospace;
  color: #1a1410;
  display: flex;
  align-items: center;
  justify-content: center;
}

.page {
  width: 100%;
  max-width: 900px;
  padding: 80px 60px;
  text-align: center;
}

.title {
  font-family: 'Special Elite', 'Courier New', monospace;
  font-size: clamp(48px, 8vw, 96px);
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: #1a1410;
  margin-bottom: 16px;
}

.name {
  font-family: 'Courier Prime', monospace;
  font-size: clamp(16px, 3.2vw, 20px);
  color: #7a6a50;
  letter-spacing: 0.14em;
  margin-bottom: 24px;
  font-style: normal;
}

.cursor {
  display: inline-block;
  width: 9px;
  height: 16px;
  background: #1a1410;
  vertical-align: middle;
  margin-left: 3px;
  animation: blink 1.1s step-end infinite;
}

@keyframes blink {
  50% { opacity: 0; }
}

.rule {
  border: none;
  border-top: 1px solid #a89880;
  margin: 0 auto 48px;
  max-width: 680px;
}

.section {
  margin-bottom: 36px;
}

.entry {
  display: flex;
  align-items: baseline;
  text-decoration: none;
  color: #1a1410;
  padding: 6px 0;
  max-width: 680px;
  margin: 0 auto;
  transition: color 0.15s;
}

.entry:hover {
  color: #8b4513;
}

.entry:hover .entry-title {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.entry.main .entry-title {
  font-weight: 700;
  font-size: clamp(18px, 2.4vw, 26px);
  letter-spacing: 0.06em;
}

.entry.sub {
  margin-left: auto;
  margin-right: auto;
  padding-left: 48px;
  max-width: 680px;
  color: #4a3a22;
}

.entry.sub .entry-title {
  font-size: clamp(14px, 1.6vw, 19px);
}

.entry.sub:hover {
  color: #8b4513;
}

.entry-title {
  flex-shrink: 0;
}

.dots {
  flex: 1;
  overflow: hidden;
  color: #a89880;
  font-size: clamp(13px, 1.4vw, 17px);
  margin: 0 10px;
  white-space: nowrap;
}

.dots::before {
  content: '. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .';
}

.entry.sub .dots {
  color: #c8bfa8;
}

.page-num {
  flex-shrink: 0;
  color: #5a4a32;
  font-size: clamp(14px, 1.6vw, 19px);
  min-width: 24px;
  text-align: right;
}

.footer {
  text-align: center;
  margin-top: 56px;
  font-size: clamp(12px, 1.2vw, 15px);
  color: #a89880;
  letter-spacing: 0.18em;
}