/* ── Personal page: denser, more intentional aesthetic ── */

.personal-page {
  --surface: #0f2a3d;
  --surface-2: #14344c;
  --line: rgba(180, 220, 245, 0.14);
  --line-strong: rgba(200, 230, 250, 0.28);
  justify-content: flex-start;
  padding: 0 0 120px;
  overflow-x: hidden;
  overflow-y: auto;
  min-height: 100vh;
}

.personal-glow {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 70% 45% at 50% 0%, rgba(232, 163, 61, 0.08), transparent 55%),
    radial-gradient(ellipse 50% 40% at 80% 60%, rgba(80, 160, 220, 0.06), transparent 50%),
    radial-gradient(ellipse 40% 35% at 15% 70%, rgba(232, 163, 61, 0.04), transparent 45%);
}

/* top bar */
.personal-top {
  position: relative;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1080px;
  margin: 0 auto;
  padding: 22px 28px 0;
}

.brand {
  font-family: "Space Grotesk", sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: -0.02em;
}

.brand span {
  color: var(--amber);
}

.nav-back-link {
  font-family: "Space Grotesk", sans-serif;
  font-size: 24px;
  font-weight: 500;
  color: var(--ink-dim);
  text-decoration: none;
  transition: color 0.2s ease;
}

.nav-back-link:hover {
  color: var(--amber-soft);
}

/* hero */
.hero {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 100px 24px 80px;
  max-width: 900px;
  margin: 0 auto;
}

.hero-hello {
  margin: 0 0 18px;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(34px, 5.5vw, 50px);
  font-weight: 500;
  color: rgba(168, 196, 216, 0.45);
  letter-spacing: -0.02em;
}

.hero-line {
  margin: 0 0 28px;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(34px, 6vw, 56px);
  font-weight: 500;
  color: var(--ink);
  line-height: 1.35;
  letter-spacing: -0.03em;
}

.nick {
  position: relative;
  display: inline-block;
  margin-left: 10px;
  padding: 6px 22px 10px;
  font-weight: 700;
  color: var(--ink);
  background: rgba(18, 50, 74, 0.85);
  border: 1px solid var(--line-strong);
  border-radius: 4px;
  vertical-align: baseline;
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.2),
    0 20px 50px -20px rgba(0, 0, 0, 0.5);
}

.nick-dot {
  position: absolute;
  width: 5px;
  height: 5px;
  border-radius: 1px;
  background: var(--amber);
  opacity: 0.85;
}

.nick-dot.tl { top: -2px; left: -2px; }
.nick-dot.tr { top: -2px; right: -2px; }
.nick-dot.bl { bottom: -2px; left: -2px; }
.nick-dot.br { bottom: -2px; right: -2px; }

.hero-sub {
  margin: 0 auto;
  max-width: 620px;
  font-family: "Space Grotesk", sans-serif;
  font-size: 20px;
  font-weight: 400;
  color: var(--ink-dim);
  line-height: 1.7;
}

.hero-love {
  display: inline-block;
  margin-top: 8px;
  color: rgba(168, 196, 216, 0.55);
  font-size: 14px;
}

/* sections */
.section {
  position: relative;
  z-index: 2;
  max-width: 1000px;
  margin: 0 auto 88px;
  padding: 0 28px;
}

.section-head {
  text-align: center;
  margin-bottom: 36px;
}

.section-head h2 {
  margin: 0 0 12px;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(32px, 4.5vw, 42px);
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.03em;
}

.section-head p {
  margin: 0 auto;
  max-width: 420px;
  font-family: "Space Grotesk", sans-serif;
  font-size: 17px;
  font-weight: 400;
  color: var(--ink-dim);
  line-height: 1.6;
}

.section-head a {
  color: var(--amber-soft);
  text-decoration: none;
  border-bottom: 1px solid rgba(240, 185, 103, 0.3);
}

.section-head a:hover {
  color: var(--amber);
}

/* bento hobbies */
.hobby-bento {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.bento {
  display: flex;
  flex-direction: column;
  background: linear-gradient(165deg, rgba(26, 69, 96, 0.7), rgba(15, 42, 61, 0.95));
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  min-height: 280px;
  transition: border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.bento:hover {
  border-color: rgba(232, 163, 61, 0.35);
  transform: translateY(-3px);
  box-shadow: 0 24px 48px -24px rgba(0, 0, 0, 0.55);
}

.bento-wide {
  grid-column: 1 / -1;
  flex-direction: row;
  min-height: 240px;
}

.bento-accent {
  border-color: rgba(232, 163, 61, 0.28);
  background: linear-gradient(165deg, rgba(40, 70, 50, 0.25), rgba(15, 42, 61, 0.95)),
    linear-gradient(165deg, rgba(26, 69, 96, 0.7), rgba(15, 42, 61, 0.95));
}

.bento-copy {
  padding: 28px 26px 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.bento-copy h3 {
  margin: 0 0 12px;
  font-family: "Space Grotesk", sans-serif;
  font-size: 26px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.02em;
}

.bento-copy h3 em {
  font-style: normal;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--amber);
  margin-left: 10px;
  vertical-align: middle;
}

.bento-copy p {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  font-size: 17px;
  font-weight: 400;
  line-height: 1.65;
  color: var(--ink-dim);
  max-width: 420px;
}

.bento-visual {
  position: relative;
  flex: 1;
  min-height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.bento-wide .bento-visual {
  max-width: 44%;
  min-height: 100%;
}

/* books visual */
.books-visual {
  background: radial-gradient(ellipse at 60% 50%, rgba(232, 163, 61, 0.12), transparent 60%),
    linear-gradient(135deg, #0d2435, #14344c);
}

.book-stack {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  transform: perspective(600px) rotateY(-8deg);
}

.book {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  border-radius: 3px 6px 6px 3px;
  font-family: "Space Grotesk", sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.04em;
  writing-mode: vertical-rl;
  text-orientation: mixed;
  color: rgba(238, 246, 251, 0.9);
  box-shadow: 3px 4px 12px rgba(0, 0, 0, 0.35);
}

.book.b1 { height: 110px; background: linear-gradient(180deg, #c45c2a, #8b3a18); }
.book.b2 { height: 130px; background: linear-gradient(180deg, #2a6a8a, #1a4458); }
.book.b3 { height: 100px; background: linear-gradient(180deg, #e8a33d, #b97a24); color: #1a2f40; }
.book.b4 { height: 118px; background: linear-gradient(180deg, #4a6b5a, #2d4538); }

/* poem visual */
.poem-visual {
  background: linear-gradient(160deg, #0d2435, #1a3a52);
  padding: 20px;
}

.poem-snippet {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.8;
  color: rgba(238, 246, 251, 0.7);
  text-align: left;
  border-left: 2px solid var(--amber);
  padding-left: 14px;
  white-space: pre-line;
}

/* anime visual */
.anime-visual {
  background: linear-gradient(145deg, #1a2040, #0d2435);
  flex-direction: column;
  gap: 14px;
}

.anime-frames {
  display: flex;
  gap: 8px;
}

.anime-frames span {
  width: 48px;
  height: 64px;
  border-radius: 6px;
  border: 1px solid var(--line);
  background:
    linear-gradient(160deg, rgba(232, 163, 61, 0.15), transparent 50%),
    linear-gradient(180deg, #243550, #152838);
  box-shadow: 0 8px 16px -8px rgba(0, 0, 0, 0.5);
}

.anime-frames span:nth-child(2) {
  transform: translateY(-6px);
  border-color: rgba(232, 163, 61, 0.4);
  background:
    linear-gradient(160deg, rgba(232, 163, 61, 0.25), transparent 50%),
    linear-gradient(180deg, #2a4060, #1a3048);
}

.anime-label {
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  color: var(--amber-soft);
  letter-spacing: 0.06em;
}

/* chess visual */
.chess-visual {
  background: radial-gradient(circle at 50% 50%, rgba(232, 163, 61, 0.1), transparent 55%),
    linear-gradient(160deg, #0d2435, #14344c);
  flex-direction: column;
  gap: 14px;
}

.chessboard {
  display: grid;
  grid-template-columns: repeat(4, 22px);
  grid-template-rows: repeat(4, 22px);
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  box-shadow: 0 12px 28px -10px rgba(0, 0, 0, 0.5);
}

.chessboard .sq {
  background: #d4c4a8;
}

.chessboard .sq.dark {
  background: #5a4a38;
}

.chess-badge {
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  color: var(--amber-soft);
  letter-spacing: 0.04em;
  padding: 4px 10px;
  border: 1px solid rgba(232, 163, 61, 0.3);
  border-radius: 999px;
  background: rgba(232, 163, 61, 0.08);
}

/* life row */
.life-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.life-card {
  padding: 28px 20px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background:
    linear-gradient(160deg, rgba(26, 69, 96, 0.5), rgba(15, 42, 61, 0.9));
  transition: border-color 0.25s ease, transform 0.25s ease;
}

.life-card:hover {
  border-color: rgba(232, 163, 61, 0.35);
  transform: translateY(-2px);
}

.life-kicker {
  display: block;
  font-family: "Space Grotesk", sans-serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-dim);
  margin-bottom: 10px;
}

.life-card strong {
  font-family: "Space Grotesk", sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.02em;
  line-height: 1.3;
}

.section-player-note {
  margin-bottom: 40px;
}

.personal-foot {
  position: relative;
  z-index: 2;
  text-align: center;
  font-size: 12px;
  color: var(--ink-dim);
  opacity: 0.65;
  margin-top: 20px;
}


/* cover images in bento */
.cover-img {
  width: auto;
  height: 88%;
  max-height: 220px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 16px 40px -12px rgba(0, 0, 0, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.cover-img--anime {
  max-height: 200px;
  width: 70%;
  object-fit: cover;
}

.books-visual {
  padding: 20px;
}

.anime-visual {
  padding: 16px;
  background: linear-gradient(145deg, #1a2040, #0d2435);
}

.fav-note {
  margin: 14px 0 0 !important;
  padding: 12px 14px;
  border-left: 2px solid var(--amber);
  background: rgba(232, 163, 61, 0.08);
  border-radius: 0 8px 8px 0;
  font-size: 16px !important;
  line-height: 1.55 !important;
  color: var(--ink) !important;
}

.fav-note strong {
  color: var(--amber-soft);
  font-weight: 600;
}

.chess-link {
  display: inline-flex;
  margin-top: 16px;
  padding: 10px 16px;
  font-family: "Space Grotesk", sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: #1a2f40;
  text-decoration: none;
  background: linear-gradient(135deg, var(--amber-dim), var(--amber));
  border-radius: 999px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 8px 20px -8px rgba(232, 163, 61, 0.5);
  align-self: flex-start;
}

.chess-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px -8px rgba(232, 163, 61, 0.6);
}

/* orbit / bits of the day — standout */
.section-orbit .section-head h2 {
  color: var(--amber);
}

.orbit-grid {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  gap: 14px;
  width: 100%;
  overflow-x: auto;
  padding-bottom: 4px;
}

.orbit-grid > .orbit-card {
  flex: 1 1 0;
  min-width: 140px;
}

.orbit-card {
  position: relative;
  padding: 28px 22px 24px;
  border-radius: 16px;
  border: 1px solid rgba(232, 163, 61, 0.22);
  background:
    linear-gradient(165deg, rgba(40, 80, 100, 0.55), rgba(15, 42, 61, 0.95));
  overflow: hidden;
  transition: transform 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease;
  min-height: 180px;
  display: flex;
  flex-direction: column;
}

.orbit-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 20% 0%, rgba(232, 163, 61, 0.18), transparent 55%);
  pointer-events: none;
}

.orbit-card:hover {
  transform: translateY(-5px);
  border-color: rgba(232, 163, 61, 0.5);
  box-shadow: 0 22px 44px -18px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(232, 163, 61, 0.15);
}

.orbit-icon {
  font-size: 28px;
  margin-bottom: 14px;
  line-height: 1;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
}

.orbit-kicker {
  font-family: "Space Grotesk", sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--amber-soft);
  margin-bottom: 8px;
}

.orbit-card strong {
  font-family: "Space Grotesk", sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.02em;
  line-height: 1.3;
  margin-bottom: 10px;
}

.orbit-card p {
  margin: 0;
  margin-top: auto;
  font-family: "Space Grotesk", sans-serif;
  font-size: 15px;
  font-weight: 400;
  color: var(--ink-dim);
  line-height: 1.45;
}

.orbit-card p a {
  color: var(--amber-soft);
  text-decoration: none;
  border-bottom: 1px solid rgba(240, 185, 103, 0.35);
}

.orbit-card p a:hover {
  color: var(--amber);
}

.orbit-books { border-color: rgba(232, 163, 61, 0.3); }
.orbit-words { border-color: rgba(120, 180, 220, 0.28); }
.orbit-anime { border-color: rgba(220, 100, 80, 0.3); }
.orbit-chess { border-color: rgba(180, 160, 100, 0.35); }

@media (max-width: 700px) {
  .orbit-grid {
    flex-wrap: wrap;
  }
  .orbit-grid > .orbit-card {
    flex: 1 1 calc(50% - 14px);
    min-width: 140px;
  }
}

/* ── I create melody deck ── */
.bento-melody .bento-copy {
  flex: 1.2;
}

.melody-deck {
  display: flex;
  gap: 16px;
  align-items: center;
  margin-top: 18px;
  padding: 14px;
  background: rgba(10, 30, 45, 0.55);
  border: 1px solid rgba(232, 163, 61, 0.22);
  border-radius: 12px;
}

.melody-cover {
  width: 88px;
  height: 88px;
  border-radius: 10px;
  object-fit: cover;
  flex-shrink: 0;
  border: 1px solid rgba(232, 163, 61, 0.3);
  box-shadow: 0 10px 24px -10px rgba(0, 0, 0, 0.5);
}

.melody-meta {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.melody-title {
  font-family: "Space Grotesk", sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
}

.melody-artist {
  font-family: "Space Grotesk", sans-serif;
  font-size: 12px;
  color: var(--ink-dim);
  margin-bottom: 6px;
}

.melody-progress-wrap input {
  width: 100%;
  height: 5px;
  -webkit-appearance: none;
  appearance: none;
  background: var(--plate);
  border-radius: 3px;
  border: 1px solid var(--plate-line);
  outline: none;
  cursor: pointer;
}

.melody-progress-wrap input::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--amber);
  border: none;
  cursor: pointer;
}

.melody-times {
  display: flex;
  justify-content: space-between;
  margin-top: 4px;
  font-family: "IBM Plex Mono", monospace;
  font-size: 10px;
  color: var(--ink-dim);
}

.melody-controls {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
}

.mel-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--plate-line);
  background: var(--plate);
  color: var(--ink);
  font-size: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.15s ease;
}

.mel-btn:hover {
  border-color: var(--amber-dim);
  background: #163a52;
}

.mel-btn-play {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--amber-dim), var(--amber));
  border-color: transparent;
  color: #1a2f40;
  font-weight: 700;
  font-size: 14px;
}

.mel-btn-play:hover {
  transform: scale(1.06);
  background: linear-gradient(135deg, var(--amber), var(--amber-soft));
}

.melody-visual {
  background: radial-gradient(ellipse at 50% 40%, rgba(232, 163, 61, 0.15), transparent 60%),
    linear-gradient(160deg, #0d2435, #14344c);
  flex-direction: column;
  gap: 16px;
}

.melody-eq {
  display: flex;
  align-items: flex-end;
  gap: 5px;
  height: 56px;
}

.melody-eq i {
  display: block;
  width: 6px;
  border-radius: 3px;
  background: linear-gradient(180deg, var(--amber), var(--amber-dim));
  height: 20%;
  animation: eqPulse 1.1s ease-in-out infinite;
  opacity: 0.35;
}

.melody-eq i:nth-child(1) { animation-delay: 0.0s; }
.melody-eq i:nth-child(2) { animation-delay: 0.1s; height: 45%; }
.melody-eq i:nth-child(3) { animation-delay: 0.2s; height: 70%; }
.melody-eq i:nth-child(4) { animation-delay: 0.15s; height: 90%; }
.melody-eq i:nth-child(5) { animation-delay: 0.25s; height: 55%; }
.melody-eq i:nth-child(6) { animation-delay: 0.05s; height: 35%; }
.melody-eq i:nth-child(7) { animation-delay: 0.3s; height: 60%; }

.bento-melody.is-playing .melody-eq i {
  opacity: 1;
  animation-name: eqPulseActive;
}

@keyframes eqPulse {
  0%, 100% { transform: scaleY(0.7); }
  50% { transform: scaleY(1); }
}

@keyframes eqPulseActive {
  0%, 100% { transform: scaleY(0.45); }
  50% { transform: scaleY(1); }
}

.melody-badge {
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--amber-soft);
  padding: 4px 10px;
  border: 1px solid rgba(232, 163, 61, 0.3);
  border-radius: 999px;
  background: rgba(232, 163, 61, 0.08);
}

.bento-copy a {
  color: var(--amber-soft);
  text-decoration: none;
  border-bottom: 1px solid rgba(240, 185, 103, 0.3);
}

@media (max-width: 800px) {
  .melody-deck {
    flex-direction: column;
    align-items: stretch;
  }
  .melody-cover {
    width: 100%;
    height: 160px;
  }
  .melody-controls {
    justify-content: center;
  }
}





/* Minecraft / video games visual */
.game-visual {
  background: linear-gradient(160deg, #1a3a28, #0d2435 60%, #14344c);
  flex-direction: column;
  gap: 14px;
}

.mc-block {
  position: relative;
  width: 56px;
  height: 56px;
  transform: rotateX(20deg) rotateZ(-20deg);
  transform-style: preserve-3d;
}

.mc-top,
.mc-side,
.mc-front {
  position: absolute;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(0, 0, 0, 0.25);
}

.mc-top {
  background: #7cbd3a;
  transform: translateY(-18px) rotateX(90deg);
  box-shadow: inset 0 0 0 2px rgba(90, 150, 40, 0.5);
}

.mc-side {
  background: #8b5a2b;
  transform: translateX(18px) rotateY(90deg);
}

.mc-front {
  background: linear-gradient(180deg, #7cbd3a 0 12px, #8b5a2b 12px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.35);
}

.game-label {
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  color: #a8e06c;
  letter-spacing: 0.04em;
}

.orbit-games {
  border-color: rgba(124, 189, 58, 0.35);
}


