:root {
  --bg: #0f1014;
  --bg-soft: #15171d;
  --surface: rgba(255, 255, 255, 0.075);
  --surface-strong: rgba(255, 255, 255, 0.12);
  --line: rgba(255, 255, 255, 0.16);
  --text: #f4f1ea;
  --muted: #b8b4aa;
  --dim: #7e7a72;
  --teal: #6ee7d8;
  --coral: #ff7a68;
  --amber: #f5c46b;
  --green: #9bd67f;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.36);
  --radius: 8px;
  --max: 1180px;
  --header-h: 72px;
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 18px);
}

body {
  margin: 0;
  min-width: 320px;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 15% 10%, rgba(110, 231, 216, 0.12), transparent 28rem),
    radial-gradient(circle at 88% 20%, rgba(255, 122, 104, 0.1), transparent 22rem),
    var(--bg);
  line-height: 1.6;
}

body.menu-open {
  overflow: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.75), transparent 80%);
}

a {
  color: inherit;
  text-decoration: none;
}

img,
video {
  display: block;
  max-width: 100%;
}

button,
input,
textarea {
  font: inherit;
}

::selection {
  background: rgba(110, 231, 216, 0.35);
}

.skip-link {
  position: fixed;
  left: 16px;
  top: 14px;
  z-index: 100;
  transform: translateY(-140%);
  padding: 10px 14px;
  border-radius: var(--radius);
  background: var(--text);
  color: var(--bg);
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(18px, 4vw, 48px);
  transition: background 220ms ease, border-color 220ms ease, backdrop-filter 220ms ease;
}

.site-header.scrolled,
.site-header.menu-active {
  border-bottom: 1px solid var(--line);
  background: rgba(15, 16, 20, 0.82);
  backdrop-filter: blur(20px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 720;
  letter-spacing: 0;
}

.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(110, 231, 216, 0.18), rgba(255, 122, 104, 0.18));
  color: var(--text);
  font-size: 13px;
}

.site-nav {
  display: flex;
  align-items: center;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 5px auto;
  background: currentColor;
  transition: transform 180ms ease;
}

.nav-toggle[aria-expanded="true"] span:first-child {
  transform: translateY(3.5px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:last-child {
  transform: translateY(-3.5px) rotate(-45deg);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-links a {
  padding: 8px 12px;
  border-radius: var(--radius);
  color: var(--muted);
  font-size: 14px;
  font-weight: 620;
  transition: color 180ms ease, background 180ms ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text);
  background: rgba(255, 255, 255, 0.1);
}

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: end;
  padding: calc(var(--header-h) + 70px) clamp(18px, 5vw, 72px) 58px;
  overflow: hidden;
}

.hero-video,
.hero-scrim {
  position: absolute;
  inset: 0;
}

.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.85) contrast(1.08);
  opacity: 0.72;
}

.hero-scrim {
  background:
    linear-gradient(90deg, rgba(15, 16, 20, 0.98) 0%, rgba(15, 16, 20, 0.78) 48%, rgba(15, 16, 20, 0.48) 100%),
    linear-gradient(0deg, var(--bg) 0%, transparent 34%),
    radial-gradient(circle at 72% 28%, rgba(110, 231, 216, 0.18), transparent 24rem);
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: min(780px, 100%);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--teal);
  font-size: 13px;
  font-weight: 760;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 760px;
  margin-bottom: 22px;
  font-size: clamp(52px, 9vw, 110px);
  line-height: 0.95;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 690px;
  margin-bottom: 32px;
  color: var(--muted);
  font-size: clamp(17px, 2vw, 21px);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 42px;
}

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  padding: 11px 18px;
  border: 1px solid var(--line);
  font-weight: 720;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  border-color: transparent;
  background: var(--text);
  color: var(--bg);
}

.button-secondary {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
}

.button-secondary:hover {
  border-color: rgba(110, 231, 216, 0.55);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  width: min(720px, 100%);
  margin: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(15, 16, 20, 0.42);
  backdrop-filter: blur(16px);
  overflow: hidden;
}

.hero-stats div {
  padding: 17px 18px;
  border-right: 1px solid var(--line);
}

.hero-stats div:last-child {
  border-right: 0;
}

.hero-stats dt {
  color: var(--dim);
  font-size: 12px;
  font-weight: 720;
  text-transform: uppercase;
}

.hero-stats dd {
  margin: 4px 0 0;
  font-size: clamp(20px, 2.7vw, 28px);
  font-weight: 800;
}

.section {
  position: relative;
  padding: clamp(74px, 10vw, 126px) clamp(18px, 5vw, 72px);
}

.section-grid,
.project-grid,
.skills-layout,
.contact-layout {
  width: min(var(--max), 100%);
  margin-inline: auto;
}

.section-grid {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr) 330px;
  gap: clamp(28px, 5vw, 56px);
  align-items: start;
}

.section-kicker {
  display: flex;
  gap: 12px;
  align-items: center;
  color: var(--dim);
  font-size: 13px;
  font-weight: 760;
  text-transform: uppercase;
}

.section-kicker span {
  color: var(--teal);
}

.about-copy h2,
.section-heading h2 {
  margin-bottom: 18px;
  font-size: clamp(32px, 5vw, 62px);
  line-height: 1.02;
  letter-spacing: 0;
}

.about-copy p,
.section-heading p {
  max-width: 760px;
  color: var(--muted);
  font-size: 17px;
}

.profile-panel {
  position: sticky;
  top: calc(var(--header-h) + 26px);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.profile-panel img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.profile-note {
  padding: 18px;
}

.profile-note span {
  display: block;
  color: var(--dim);
  font-size: 12px;
  font-weight: 760;
  text-transform: uppercase;
}

.profile-note strong {
  display: block;
  margin-top: 4px;
  font-size: 20px;
}

.section-projects {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.025), rgba(255, 255, 255, 0));
}

.section-heading {
  width: min(var(--max), 100%);
  margin: 0 auto 34px;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.project-card,
.skill-card,
.contact-links a {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, var(--surface-strong), rgba(255, 255, 255, 0.045));
  box-shadow: 0 18px 55px rgba(0, 0, 0, 0.18);
}

.project-card {
  min-height: 310px;
  display: flex;
  flex-direction: column;
  padding: 22px;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.project-card:hover {
  transform: translateY(-4px);
  border-color: rgba(110, 231, 216, 0.45);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.13), rgba(255, 255, 255, 0.06));
}

.project-topline {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
  color: var(--dim);
  font-size: 12px;
  font-weight: 760;
  text-transform: uppercase;
}

.project-topline a {
  color: var(--teal);
}

.project-card h3 {
  margin-bottom: 10px;
  font-size: 25px;
  line-height: 1.1;
}

.project-card p {
  color: var(--muted);
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: auto 0 0;
  padding: 0;
  list-style: none;
}

.tag-list li {
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: var(--radius);
  padding: 5px 8px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.045);
  font-size: 12px;
}

.section-skills {
  overflow: hidden;
  background: var(--bg-soft);
}

.section-video,
.section-scrim {
  position: absolute;
  inset: 0;
}

.section-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.24;
  filter: saturate(0.8) contrast(1.1);
}

.section-scrim {
  background:
    linear-gradient(90deg, rgba(15, 16, 20, 0.92), rgba(15, 16, 20, 0.74)),
    radial-gradient(circle at 82% 12%, rgba(245, 196, 107, 0.11), transparent 24rem);
}

.skills-layout {
  position: relative;
  z-index: 1;
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.skill-card {
  min-height: 210px;
  padding: 22px;
}

.skill-card span {
  display: inline-flex;
  margin-bottom: 38px;
  color: var(--amber);
  font-size: 13px;
  font-weight: 820;
}

.skill-card h3 {
  margin-bottom: 9px;
  font-size: 22px;
}

.skill-card p {
  margin-bottom: 0;
  color: var(--muted);
}

.section-contact {
  background:
    radial-gradient(circle at 10% 50%, rgba(110, 231, 216, 0.1), transparent 24rem),
    radial-gradient(circle at 88% 75%, rgba(155, 214, 127, 0.1), transparent 22rem);
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 0.75fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: start;
}

.contact-links {
  display: grid;
  gap: 12px;
}

.contact-links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 20px;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.contact-links a:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 122, 104, 0.55);
  background: rgba(255, 255, 255, 0.12);
}

.contact-links span {
  color: var(--dim);
  font-size: 12px;
  font-weight: 760;
  text-transform: uppercase;
}

.contact-links strong {
  text-align: right;
  overflow-wrap: anywhere;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 28px clamp(18px, 5vw, 72px);
  border-top: 1px solid var(--line);
  color: var(--dim);
  font-size: 14px;
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  color: var(--text);
  font-weight: 720;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 520ms ease, transform 520ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 980px) {
  .section-grid {
    grid-template-columns: 1fr;
  }

  .section-kicker {
    margin-bottom: -10px;
  }

  .profile-panel {
    position: relative;
    top: auto;
    width: min(390px, 100%);
  }

  .project-grid,
  .skills-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .contact-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  :root {
    --header-h: 66px;
  }

  .brand span:last-child {
    display: none;
  }

  .nav-toggle {
    display: block;
  }

  .nav-links {
    position: fixed;
    inset: var(--header-h) 12px auto 12px;
    display: grid;
    gap: 6px;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(15, 16, 20, 0.95);
    box-shadow: var(--shadow);
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
  }

  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .nav-links a {
    padding: 13px 12px;
  }

  .hero {
    align-items: center;
    padding-bottom: 34px;
  }

  .hero-scrim {
    background:
      linear-gradient(180deg, rgba(15, 16, 20, 0.78), rgba(15, 16, 20, 0.95)),
      linear-gradient(0deg, var(--bg) 0%, transparent 38%);
  }

  .hero-stats {
    grid-template-columns: 1fr;
  }

  .hero-stats div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .hero-stats div:last-child {
    border-bottom: 0;
  }

  .project-grid,
  .skills-grid {
    grid-template-columns: 1fr;
  }

  .project-card {
    min-height: auto;
  }

  .contact-links a {
    display: block;
  }

  .contact-links strong {
    display: block;
    margin-top: 4px;
    text-align: left;
  }

  .site-footer {
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  video {
    display: none;
  }
}
/* Sakura arena theme layer */
:root {
  --sakura: #ff9db7;
  --sakura-soft: rgba(255, 157, 183, 0.18);
  --indigo-ink: #1b1830;
  --font-display: "Yu Mincho", "Hiragino Mincho ProN", "MS Mincho", Georgia, serif;
  --font-ui: "Yu Gothic", "Hiragino Kaku Gothic ProN", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body {
  font-family: var(--font-ui);
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -3;
  pointer-events: none;
  background: url("img4.jpg") center / cover no-repeat;
  opacity: 0.1;
  filter: saturate(1.05) contrast(1.02);
}

body.sound-ready .arena-gate {
  display: grid;
}

body.arena-entered .arena-gate,
.arena-gate.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.arena-gate {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: none;
  place-items: center;
  padding: 24px;
  background:
    linear-gradient(rgba(10, 10, 16, 0.58), rgba(10, 10, 16, 0.78)),
    url("img4.jpg") center / cover no-repeat;
  transition: opacity 360ms ease, visibility 360ms ease;
}

.arena-card {
  position: relative;
  width: min(520px, 100%);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: var(--radius);
  padding: clamp(26px, 6vw, 44px);
  background:
    linear-gradient(145deg, rgba(18, 16, 28, 0.88), rgba(35, 28, 44, 0.76)),
    url("img4.jpg") center / cover no-repeat;
  box-shadow: 0 26px 90px rgba(0, 0, 0, 0.48);
  backdrop-filter: blur(18px);
}

.arena-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, transparent, rgba(255, 157, 183, 0.18), transparent),
    radial-gradient(circle at 92% 8%, rgba(110, 231, 216, 0.18), transparent 11rem);
}

.arena-card > * {
  position: relative;
  z-index: 1;
}

.arena-kanji {
  display: block;
  margin-bottom: 10px;
  color: var(--sakura);
  font-family: var(--font-display);
  font-size: clamp(54px, 13vw, 92px);
  line-height: 0.9;
  text-shadow: 0 0 32px rgba(255, 157, 183, 0.62);
}

.arena-card h2 {
  max-width: 390px;
  margin-bottom: 26px;
  font-family: var(--font-display);
  font-size: clamp(34px, 7vw, 58px);
  line-height: 1.02;
}

.arena-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.button-quiet {
  color: var(--text);
  background: rgba(255, 255, 255, 0.08);
}

.sound-toggle {
  display: grid;
  width: 42px;
  height: 42px;
  margin-left: 10px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--muted);
  background: rgba(255, 255, 255, 0.08);
  cursor: pointer;
  font-family: var(--font-display);
  font-size: 18px;
  transition: color 180ms ease, border-color 180ms ease, background 180ms ease, transform 180ms ease;
}

.sound-toggle:hover,
.sound-toggle[aria-pressed="true"] {
  color: var(--text);
  border-color: rgba(255, 157, 183, 0.62);
  background: rgba(255, 157, 183, 0.16);
}

.sound-toggle[aria-pressed="true"] {
  box-shadow: 0 0 28px rgba(255, 157, 183, 0.18);
}

.brand,
h1,
h2,
h3,
.profile-note strong,
.hero-stats dd {
  font-family: var(--font-display);
}

.brand-mark {
  border-color: rgba(255, 157, 183, 0.35);
  background: linear-gradient(135deg, rgba(255, 157, 183, 0.22), rgba(110, 231, 216, 0.16));
}

.hero {
  background: url("img4.jpg") center / cover no-repeat;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  z-index: 1;
  height: 42%;
  pointer-events: none;
  background: linear-gradient(0deg, var(--bg), transparent);
}

.hero-video {
  opacity: 0.5;
  mix-blend-mode: screen;
}

.hero-scrim {
  background:
    linear-gradient(90deg, rgba(15, 16, 20, 0.96) 0%, rgba(24, 20, 34, 0.74) 48%, rgba(24, 20, 34, 0.35) 100%),
    radial-gradient(circle at 80% 12%, rgba(255, 157, 183, 0.2), transparent 22rem),
    linear-gradient(0deg, var(--bg) 0%, transparent 34%);
}

.hero-inner {
  z-index: 2;
}

.hero-kanji {
  position: absolute;
  right: clamp(18px, 5vw, 70px);
  top: 18%;
  z-index: 1;
  display: grid;
  gap: 16px;
  color: rgba(255, 255, 255, 0.13);
  font-family: var(--font-display);
  font-size: clamp(58px, 10vw, 136px);
  line-height: 0.9;
  writing-mode: vertical-rl;
  pointer-events: none;
  text-shadow: 0 0 26px rgba(255, 157, 183, 0.22);
}

.eyebrow,
.project-topline a,
.section-kicker span {
  color: var(--sakura);
}

h1 {
  text-shadow: 0 16px 50px rgba(0, 0, 0, 0.45);
}

.button-primary {
  color: #140f18;
  background: linear-gradient(135deg, #ffe3ec, var(--sakura) 52%, #f5c46b);
}

.button-secondary:hover,
.button-quiet:hover,
.nav-links a:hover,
.nav-links a.active {
  border-color: rgba(255, 157, 183, 0.42);
  background: rgba(255, 157, 183, 0.13);
}

.project-card,
.skill-card,
.contact-links a,
.profile-panel,
.hero-stats {
  border-color: rgba(255, 255, 255, 0.18);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.115), rgba(255, 255, 255, 0.045)),
    linear-gradient(135deg, rgba(255, 157, 183, 0.055), transparent 42%);
}

.project-card:hover,
.contact-links a:hover {
  border-color: rgba(255, 157, 183, 0.55);
}

.section-about {
  background:
    linear-gradient(90deg, rgba(15, 16, 20, 0.98), rgba(15, 16, 20, 0.86)),
    url("img4.jpg") center / cover fixed;
}

@media (max-width: 720px) {
  .site-nav {
    gap: 8px;
  }

  .sound-toggle {
    width: 40px;
    height: 40px;
    margin-left: 0;
  }

  .hero-kanji {
    top: 12%;
    right: 10px;
    opacity: 0.65;
  }

  .arena-actions .button {
    width: 100%;
  }
}
.hero-kanji {
  min-width: 1.35em;
  padding-inline: 0.12em;
}

.hero-kanji span {
  display: block;
  min-width: 1.25em;
  text-align: center;
}
/* Remote anime portfolio theme pass */
:root {
  --bg: #0a0010;
  --bg-soft: #13001f;
  --surface: rgba(255, 255, 255, 0.06);
  --surface-strong: rgba(255, 255, 255, 0.1);
  --line: rgba(199, 125, 255, 0.24);
  --text: #f7edff;
  --muted: #cdbde2;
  --dim: #8c789f;
  --teal: #4cc9f0;
  --sakura: #ffb7c5;
  --coral: #f72585;
  --amber: #ffd166;
  --font-display: "Cinzel Decorative", "Yu Mincho", "Hiragino Mincho ProN", "MS Mincho", Georgia, serif;
  --font-ui: "Nunito", "Yu Gothic", "Hiragino Kaku Gothic ProN", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-tech: "Orbitron", Consolas, monospace;
  --shadow-glow: 0 0 34px rgba(199, 125, 255, 0.42);
}

body {
  cursor: auto;
  background:
    radial-gradient(circle at 12% 10%, rgba(247, 37, 133, 0.18), transparent 26rem),
    radial-gradient(circle at 86% 16%, rgba(76, 201, 240, 0.15), transparent 24rem),
    linear-gradient(135deg, #0a0010, #14001f 48%, #0a0010);
}

body::before {
  background-image:
    linear-gradient(rgba(199, 125, 255, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(199, 125, 255, 0.055) 1px, transparent 1px);
  background-size: 58px 58px;
}

body::after {
  opacity: 0.14;
  mix-blend-mode: screen;
}

.sakura-container {
  position: fixed;
  inset: 0;
  z-index: 4;
  pointer-events: none;
  overflow: hidden;
}

.sakura-petal {
  position: absolute;
  top: -32px;
  color: var(--sakura);
  font-size: 16px;
  opacity: 0.78;
  filter: drop-shadow(0 0 12px rgba(255, 183, 197, 0.45));
  animation: petalFall linear forwards;
}

@keyframes petalFall {
  0% {
    transform: translate3d(0, -20px, 0) rotate(0deg);
    opacity: 0;
  }
  12% {
    opacity: 0.78;
  }
  100% {
    transform: translate3d(var(--drift, 40px), calc(100vh + 60px), 0) rotate(360deg);
    opacity: 0;
  }
}

.cursor-glow {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 110;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  pointer-events: none;
  opacity: 0;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(255, 183, 197, 0.78), rgba(199, 125, 255, 0.28) 46%, transparent 72%);
  mix-blend-mode: screen;
  transition: width 160ms ease, height 160ms ease, opacity 180ms ease;
}

.cursor-glow.is-active {
  opacity: 1;
}

.cursor-glow.is-strong {
  width: 46px;
  height: 46px;
}

.site-header.scrolled,
.site-header.menu-active {
  background: rgba(10, 0, 16, 0.82);
  border-bottom-color: rgba(199, 125, 255, 0.24);
  box-shadow: 0 8px 34px rgba(0, 0, 0, 0.34);
}

.brand-mark,
.sound-toggle,
.nav-toggle {
  box-shadow: 0 0 22px rgba(199, 125, 255, 0.14);
}

.nav-links a {
  border: 1px solid transparent;
}

.nav-links a:hover,
.nav-links a.active {
  border-color: rgba(255, 183, 197, 0.32);
  background: linear-gradient(135deg, rgba(155, 93, 229, 0.28), rgba(247, 37, 133, 0.22));
}

.arena-card,
.hero-stats,
.project-card,
.skill-card,
.profile-panel,
.contact-links a {
  backdrop-filter: blur(18px);
  box-shadow: 0 18px 52px rgba(0, 0, 0, 0.42), 0 0 38px rgba(199, 125, 255, 0.11);
}

.hero {
  background:
    linear-gradient(135deg, rgba(10, 0, 16, 0.24), rgba(19, 0, 31, 0.48)),
    url("anime_hero_bg.png") center / cover no-repeat;
}

.hero-video {
  opacity: 0.34;
  filter: saturate(1.18) contrast(1.1) hue-rotate(8deg);
}

.hero-scrim {
  background:
    linear-gradient(135deg, rgba(10, 0, 16, 0.94) 0%, rgba(19, 0, 31, 0.72) 52%, rgba(10, 0, 16, 0.42) 100%),
    radial-gradient(circle at 78% 18%, rgba(255, 183, 197, 0.24), transparent 22rem),
    radial-gradient(circle at 20% 88%, rgba(76, 201, 240, 0.14), transparent 20rem),
    linear-gradient(0deg, var(--bg) 0%, transparent 36%);
}

.hero-kanji {
  color: rgba(255, 183, 197, 0.18);
  text-shadow: 0 0 34px rgba(247, 37, 133, 0.38);
}

.eyebrow {
  color: var(--sakura);
  text-shadow: 0 0 20px rgba(255, 183, 197, 0.22);
}

h1,
.about-copy h2,
.section-heading h2 {
  background: linear-gradient(135deg, #ffffff 20%, #ffb7c5 52%, #c77dff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: none;
}

.hero-copy,
.about-copy p,
.section-heading p,
.project-card p,
.skill-card p {
  color: #cdbde2;
}

.button-primary {
  color: #ffffff;
  background: linear-gradient(135deg, #9b5de5, #f72585 58%, #4cc9f0);
  box-shadow: 0 8px 28px rgba(247, 37, 133, 0.34), 0 0 26px rgba(199, 125, 255, 0.22);
}

.button-secondary,
.button-quiet {
  border-color: rgba(199, 125, 255, 0.25);
  background: rgba(255, 255, 255, 0.065);
}

.project-card,
.skill-card,
.contact-links a,
.profile-panel,
.hero-stats {
  border-color: rgba(199, 125, 255, 0.22);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.105), rgba(255, 255, 255, 0.04)),
    radial-gradient(circle at 0% 0%, rgba(199, 125, 255, 0.12), transparent 18rem),
    radial-gradient(circle at 100% 100%, rgba(247, 37, 133, 0.08), transparent 14rem);
}

.project-card:hover,
.skill-card:hover,
.contact-links a:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 183, 197, 0.62);
  box-shadow: 0 24px 58px rgba(0, 0, 0, 0.44), 0 0 36px rgba(247, 37, 133, 0.18);
}

.project-card-featured {
  border-color: rgba(255, 209, 102, 0.36);
  background:
    linear-gradient(180deg, rgba(255, 209, 102, 0.13), rgba(255, 255, 255, 0.045)),
    radial-gradient(circle at 18% 0%, rgba(255, 183, 197, 0.18), transparent 16rem),
    radial-gradient(circle at 100% 100%, rgba(76, 201, 240, 0.12), transparent 14rem);
}

.project-card-featured h3::after {
  content: "  ✦";
  color: var(--amber);
  font-family: var(--font-display);
}

.section-projects {
  background:
    linear-gradient(180deg, rgba(10, 0, 16, 0.92), rgba(19, 0, 31, 0.86)),
    url("anime_hero_bg.png") center / cover fixed;
}

.section-skills {
  background: #0a0010;
}

.section-video {
  opacity: 0.18;
  filter: saturate(1.2) contrast(1.1);
}

.section-scrim {
  background:
    linear-gradient(180deg, rgba(10, 0, 16, 0.9), rgba(19, 0, 31, 0.78), rgba(10, 0, 16, 0.94)),
    radial-gradient(circle at 82% 12%, rgba(199, 125, 255, 0.16), transparent 24rem);
}

.tag-list li {
  border-color: rgba(199, 125, 255, 0.2);
  color: #e7d9f6;
  background: rgba(255, 255, 255, 0.065);
}

.hero-stats dd,
.skill-card span,
.contact-links strong {
  font-family: var(--font-tech);
}

@media (max-width: 720px) {
  .cursor-glow {
    display: none;
  }

  .sakura-petal {
    font-size: 13px;
  }

  .hero {
    background-position: center top;
  }
}
@media (max-width: 520px) {
  .hero-kanji {
    display: none;
  }
}
/* Hero intro media card */
.hero {
  grid-template-columns: minmax(0, 760px) minmax(280px, 420px);
  align-items: center;
  gap: clamp(28px, 6vw, 72px);
}

.hero-inner {
  width: min(760px, 100%);
}

.intro-video-card {
  position: relative;
  z-index: 2;
  justify-self: end;
  width: min(420px, 100%);
}

.intro-video-frame {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 183, 197, 0.36);
  border-radius: var(--radius);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.04)),
    radial-gradient(circle at 20% 0%, rgba(255, 183, 197, 0.18), transparent 16rem);
  box-shadow: 0 28px 72px rgba(0, 0, 0, 0.48), 0 0 42px rgba(247, 37, 133, 0.2);
  backdrop-filter: blur(18px);
}

.intro-video-frame::before {
  content: "";
  position: absolute;
  inset: 10px;
  z-index: 2;
  pointer-events: none;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: calc(var(--radius) - 2px);
}

.intro-video-frame video {
  width: 100%;
  aspect-ratio: 9 / 13;
  object-fit: cover;
  filter: saturate(1.14) contrast(1.06);
}

.intro-video-overlay {
  position: absolute;
  inset: auto 14px 14px 14px;
  z-index: 3;
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  background: rgba(10, 0, 16, 0.62);
  backdrop-filter: blur(16px);
}

.intro-video-overlay span {
  display: block;
  color: var(--sakura);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.intro-video-overlay strong {
  display: block;
  margin-top: 2px;
  color: var(--text);
  font-family: var(--font-display);
  font-size: 22px;
  line-height: 1.1;
}

@media (max-width: 980px) {
  .hero {
    grid-template-columns: 1fr;
    align-items: center;
  }

  .intro-video-card {
    justify-self: center;
    width: min(360px, 100%);
  }

  .intro-video-frame video {
    aspect-ratio: 4 / 5;
  }
}

@media (max-width: 520px) {
  .intro-video-card {
    width: min(300px, 100%);
  }
}