:root {
  --black: #020202;
  --red: #ff2b2b;
  --purple: #7c4dff;
  --blue: #33d6ff;
  --white: #ffffff;
  --text: #eeeeee;
  --muted: #b8b8b8;
  --muted-2: #7c7c7c;
  --border: rgba(255, 255, 255, 0.1);
  --border-red: rgba(255, 43, 43, 0.32);
  --red-glow: rgba(255, 43, 43, 0.34);
  --radius-xl: 38px;
  --radius-lg: 26px;
  --container: 1280px;
  --shadow-dark: 0 28px 90px rgba(0, 0, 0, 0.68);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 124px;
}

body {
  min-height: 100vh;
  color: var(--text);
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 43, 43, 0.11), transparent 28%),
    radial-gradient(circle at 100% 32%, rgba(255, 43, 43, 0.07), transparent 24%),
    radial-gradient(circle at 0% 75%, rgba(255, 43, 43, 0.08), transparent 28%),
    var(--black);
  overflow-x: hidden;
}

body.no-scroll {
  overflow: hidden;
}

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

button {
  font: inherit;
  border: 0;
  background: transparent;
  cursor: pointer;
}

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

.container {
  width: min(var(--container), calc(100% - 44px));
  margin-inline: auto;
}

span {
  color: var(--red);
}

::selection {
  color: var(--white);
  background: var(--red);
}

.loader {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: grid;
  place-items: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 22% 20%, rgba(124, 77, 255, 0.22), transparent 34%),
    radial-gradient(circle at 78% 18%, rgba(255, 43, 43, 0.18), transparent 30%),
    radial-gradient(circle at 50% 80%, rgba(51, 214, 255, 0.12), transparent 34%),
    linear-gradient(135deg, #020202, #100316 45%, #030208);
  transition:
    transform 0.9s cubic-bezier(0.76, 0, 0.24, 1),
    opacity 0.8s ease,
    visibility 0.8s ease;
  will-change: transform, opacity;
}

.loader.unlock {
  transform: translateY(-110%);
  opacity: 0;
  visibility: hidden;
}

.loader.dragging {
  transition: none;
}

.loader-bg {
  position: absolute;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.55;
  animation: bgFloat 6s ease-in-out infinite alternate;
}

.loader-bg-one {
  left: 8%;
  top: 12%;
  background: rgba(124, 77, 255, 0.38);
}

.loader-bg-two {
  right: 5%;
  bottom: 8%;
  background: rgba(255, 43, 43, 0.32);
  animation-delay: -2s;
}

.loader-grid {
  position: absolute;
  inset: 0;
  opacity: 0.12;
  background:
    linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: radial-gradient(circle at center, black, transparent 72%);
}

.unlock-screen {
  position: relative;
  z-index: 2;
  width: min(760px, calc(100% - 36px));
  display: grid;
  justify-items: center;
  text-align: center;
  padding: 30px;
  will-change: transform, opacity;
  transition:
    transform 0.35s ease,
    opacity 0.35s ease;
}

.loader.dragging .unlock-screen {
  transform: scale(0.98);
}

.intro-icons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-bottom: 34px;
}

.intro-icon {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 50%;
  background:
    radial-gradient(circle at top, rgba(255, 255, 255, 0.11), transparent 50%),
    rgba(255, 255, 255, 0.035);
  box-shadow:
    0 0 35px rgba(124, 77, 255, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  animation: iconPulse 2.6s ease-in-out infinite alternate;
}

.intro-icon:nth-child(2) {
  animation-delay: 0.25s;
}

.intro-icon:nth-child(3) {
  animation-delay: 0.5s;
}

.intro-icon svg {
  width: 26px;
  height: 26px;
  fill: var(--white);
}

.intro-title p {
  margin-bottom: 12px;
  color: var(--white);
  font-size: clamp(1.25rem, 2.3vw, 2rem);
  font-weight: 950;
  letter-spacing: 0.08em;
}

.intro-title h1 {
  max-width: 820px;
  color: var(--white);
  font-size: clamp(3.2rem, 8vw, 7.2rem);
  font-weight: 950;
  line-height: 0.95;
  letter-spacing: -0.06em;
  text-shadow: 0 0 45px rgba(124, 77, 255, 0.34);
}

.intro-title h1::after {
  content: ".";
  color: var(--red);
}

.intro-meta {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-top: 34px;
  padding: 13px 18px;
  border: 1px solid rgba(124, 77, 255, 0.28);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.035);
  box-shadow: 0 0 40px rgba(124, 77, 255, 0.16);
}

.intro-meta span {
  color: var(--blue);
  font-weight: 900;
}

.intro-meta strong {
  color: var(--muted);
  font-size: 0.86rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.unlock-hint {
  margin-top: 70px;
  display: grid;
  justify-items: center;
  gap: 12px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.unlock-arrow {
  width: 30px;
  height: 46px;
  border: 2px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  position: relative;
}

.unlock-arrow::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 9px;
  width: 6px;
  height: 6px;
  border-left: 2px solid var(--white);
  border-top: 2px solid var(--white);
  transform: translateX(-50%) rotate(45deg);
  animation: arrowUp 1.4s ease-in-out infinite;
}

@keyframes bgFloat {
  from {
    transform: translate3d(-20px, 10px, 0) scale(0.95);
  }

  to {
    transform: translate3d(22px, -18px, 0) scale(1.14);
  }
}

@keyframes iconPulse {
  from {
    transform: translateY(0);
    box-shadow:
      0 0 28px rgba(124, 77, 255, 0.22),
      inset 0 1px 0 rgba(255, 255, 255, 0.08);
  }

  to {
    transform: translateY(-10px);
    box-shadow:
      0 0 48px rgba(255, 43, 43, 0.24),
      inset 0 1px 0 rgba(255, 255, 255, 0.08);
  }
}

@keyframes arrowUp {
  0% {
    opacity: 0;
    transform: translate(-50%, 10px) rotate(45deg);
  }

  50% {
    opacity: 1;
  }

  100% {
    opacity: 0;
    transform: translate(-50%, -12px) rotate(45deg);
  }
}

.site {
  opacity: 0;
  transition: opacity 0.8s ease;
}

.site.show {
  opacity: 1;
}

.header {
  position: fixed;
  top: 18px;
  left: 0;
  right: 0;
  z-index: 9000;
  pointer-events: none;
  opacity: 0;
  transform: translateY(-16px);
  transition:
    opacity 0.55s ease,
    transform 0.55s ease;
}

body.entered .header {
  opacity: 1;
  transform: translateY(0);
}

.nav-shell {
  min-height: 104px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 34px;
  padding: 0 68px;
  border: 1px solid var(--border);
  border-radius: 0 0 46px 46px;
  background: rgba(12, 12, 12, 0.88);
  box-shadow:
    0 22px 70px rgba(0, 0, 0, 0.58),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  pointer-events: auto;
}

.brand {
  color: var(--white);
  font-size: clamp(2.15rem, 2.9vw, 3.1rem);
  font-weight: 950;
  line-height: 1;
  letter-spacing: -0.08em;
  text-shadow: 0 0 28px rgba(255, 43, 43, 0.45);
}

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

.nav-menu {
  display: flex;
  align-items: center;
  gap: clamp(34px, 4.4vw, 64px);
}

.nav-menu a {
  position: relative;
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  padding: 0 4px;
  color: #d7d7d7;
  font-size: clamp(1.05rem, 1.12vw, 1.18rem);
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition:
    color 0.25s ease,
    text-shadow 0.25s ease,
    transform 0.25s ease;
}

.nav-menu a::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 2px;
  width: 0;
  height: 3px;
  border-radius: 999px;
  background: var(--red);
  box-shadow: 0 0 18px var(--red-glow);
  transform: translateX(-50%);
  transition: width 0.25s ease;
}

.nav-menu a:hover,
.nav-menu a.active {
  color: var(--white);
  text-shadow: 0 0 18px rgba(255, 43, 43, 0.45);
}

.nav-menu a:hover::before,
.nav-menu a.active::before {
  width: 100%;
}

.menu-btn {
  display: none;
  width: 58px;
  height: 58px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02)),
    rgba(255, 255, 255, 0.04);
}

.menu-btn span {
  display: block;
  width: 27px;
  height: 3px;
  margin: 6px auto;
  border-radius: 999px;
  background: var(--white);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.menu-btn.active span:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}

.menu-btn.active span:nth-child(2) {
  opacity: 0;
}

.menu-btn.active span:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

.section {
  position: relative;
  padding: clamp(58px, 5.4vw, 84px) 0;
}

.eyebrow {
  margin-bottom: 16px;
  color: var(--muted);
  font-size: clamp(0.78rem, 0.95vw, 0.98rem);
  font-weight: 950;
  letter-spacing: 0.32em;
  text-transform: uppercase;
}

.section-title {
  max-width: 660px;
}

.section-title.center {
  max-width: 820px;
  margin-inline: auto;
  text-align: center;
}

.section-title h2,
.contact-info h2,
.contact-form h3 {
  color: var(--white);
  font-size: clamp(2.35rem, 4.4vw, 4.8rem);
  font-weight: 950;
  line-height: 1.02;
  letter-spacing: -0.055em;
}

.section-title > p:last-child,
.contact-info > p {
  margin-top: 18px;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.95;
  letter-spacing: 0.01em;
}

.hero {
  min-height: 760px;
  display: flex;
  align-items: center;
  padding-top: 150px;
  padding-bottom: 62px;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.95), rgba(0, 0, 0, 0.55) 46%, rgba(0, 0, 0, 0.94)),
    radial-gradient(circle at 70% 42%, rgba(255, 43, 43, 0.21), transparent 30%),
    radial-gradient(circle at 18% 20%, rgba(255, 43, 43, 0.12), transparent 22%);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.16;
  background:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: linear-gradient(180deg, transparent, black 14%, black 82%, transparent);
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.85fr);
  align-items: center;
  gap: clamp(36px, 5vw, 78px);
}

.hero-copy {
  max-width: 760px;
}

.hero-eyebrow {
  color: var(--white);
  font-size: clamp(1rem, 1.25vw, 1.28rem);
  letter-spacing: 0.02em;
  text-transform: none;
}

.hero-copy h1 {
  color: var(--white);
  font-size: clamp(3.35rem, 5.9vw, 6.8rem);
  font-weight: 950;
  line-height: 1;
  letter-spacing: -0.06em;
}

.hero-copy h1 span {
  color: var(--red);
  text-shadow: 0 0 30px rgba(255, 43, 43, 0.42);
}

.hero-desc {
  max-width: 680px;
  margin-top: 24px;
  color: var(--muted);
  font-size: clamp(0.98rem, 1.12vw, 1.16rem);
  line-height: 1.9;
  letter-spacing: 0.01em;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  max-width: 590px;
  margin-top: 30px;
}

.stat-card {
  min-height: 108px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 20px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.065), rgba(255, 255, 255, 0.022)),
    rgba(255, 255, 255, 0.025);
  box-shadow: 0 16px 45px rgba(0, 0, 0, 0.3);
}

.stat-card strong {
  color: var(--red);
  font-size: clamp(1.75rem, 2.55vw, 2.7rem);
  line-height: 1;
  letter-spacing: -0.04em;
  text-shadow: 0 0 24px rgba(255, 43, 43, 0.45);
}

.stat-card p {
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.btn {
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  padding: 0 28px;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 950;
  letter-spacing: 0.01em;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    background 0.25s ease,
    border-color 0.25s ease;
}

.btn:hover {
  transform: translateY(-4px);
}

.btn-primary {
  color: var(--black);
  background: var(--red);
  box-shadow:
    0 0 32px rgba(255, 43, 43, 0.45),
    0 18px 48px rgba(255, 43, 43, 0.23);
}

.btn-primary span {
  color: var(--black);
  font-size: 1.35rem;
}

.btn-outline {
  color: var(--white);
  border: 2px solid var(--border-red);
  background: rgba(255, 255, 255, 0.02);
}

.social-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 32px;
}

.social-row a {
  position: relative;
  overflow: hidden;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid var(--border);
  border-radius: 14px;
  color: var(--white);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.018)),
    rgba(255, 255, 255, 0.025);
  transition:
    border-color 0.25s ease,
    box-shadow 0.25s ease,
    transform 0.25s ease;
}

.social-row a svg {
  width: 20px;
  height: 20px;
  fill: var(--white);
  transition:
    transform 0.25s ease,
    fill 0.25s ease;
}

.social-row a:hover {
  transform: translateY(-4px);
  border-color: var(--border-red);
  box-shadow: 0 0 26px rgba(255, 43, 43, 0.22);
}

.social-row a:hover svg {
  fill: var(--red);
  transform: translateY(-2px) scale(1.08);
}

.hero-media {
  position: relative;
  min-height: 460px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.media-glow {
  position: absolute;
  width: min(520px, 82vw);
  height: min(520px, 82vw);
  border-radius: 50%;
  background: rgba(255, 43, 43, 0.18);
  filter: blur(90px);
  animation: mediaGlow 4s ease-in-out infinite alternate;
}

.profile-frame {
  position: relative;
  width: min(380px, 100%);
  aspect-ratio: 0.72 / 1;
  overflow: hidden;
  border: 1px solid var(--border-red);
  border-radius: 30px;
  background: #090909;
  box-shadow:
    0 0 0 10px rgba(255, 43, 43, 0.025),
    0 0 58px rgba(255, 43, 43, 0.18),
    0 30px 96px rgba(0, 0, 0, 0.72);
  cursor: pointer;
  touch-action: manipulation;
}

.profile-frame::before {
  content: "";
  position: absolute;
  inset: 14px;
  z-index: 4;
  pointer-events: none;
  border: 1px solid rgba(255, 43, 43, 0.14);
  border-radius: 22px;
}

.profile-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.035);
}

.video-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.04), transparent 34%, rgba(0, 0, 0, 0.18)),
    radial-gradient(circle at 50% 12%, rgba(255, 43, 43, 0.12), transparent 34%);
  pointer-events: none;
}

.profile-frame.profile-touch {
  animation: profileTouch 0.52s ease;
}

.profile-frame.profile-happy {
  box-shadow:
    0 0 0 10px rgba(255, 43, 43, 0.04),
    0 0 84px rgba(255, 43, 43, 0.34),
    0 30px 96px rgba(0, 0, 0, 0.72);
}

.profile-ripple {
  position: absolute;
  z-index: 8;
  left: var(--x);
  top: var(--y);
  width: 18px;
  height: 18px;
  pointer-events: none;
  border: 2px solid rgba(255, 255, 255, 0.78);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  animation: profileRipple 0.72s ease forwards;
}

.profile-spark {
  position: absolute;
  z-index: 9;
  left: var(--x);
  top: var(--y);
  width: var(--s);
  height: var(--s);
  pointer-events: none;
  border-radius: 50%;
  background: var(--c);
  box-shadow: 0 0 20px var(--c);
  animation: profileSpark 0.85s ease forwards;
}

@keyframes mediaGlow {
  from {
    transform: scale(0.9);
    opacity: 0.58;
  }

  to {
    transform: scale(1.06);
    opacity: 1;
  }
}

@keyframes profileTouch {
  0% {
    transform: scale(1);
  }

  45% {
    transform: scale(1.025);
  }

  100% {
    transform: scale(1);
  }
}

@keyframes profileRipple {
  0% {
    width: 16px;
    height: 16px;
    opacity: 1;
  }

  100% {
    width: 170px;
    height: 170px;
    opacity: 0;
  }
}

@keyframes profileSpark {
  0% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }

  100% {
    opacity: 0;
    transform:
      translate(
        calc(-50% + var(--dx)),
        calc(-50% + var(--dy))
      )
      scale(0.25);
  }
}

.anime-stage {
  --rx: 0deg;
  --ry: 0deg;
  --move-x: 0px;
  --move-y: 0px;
  position: relative;
  max-width: 920px;
  margin: 44px auto 0;
  padding: clamp(18px, 3vw, 26px);
  border: 1px solid rgba(255, 43, 43, 0.24);
  border-radius: 38px;
  background:
    radial-gradient(circle at top right, rgba(255, 43, 43, 0.15), transparent 38%),
    radial-gradient(circle at left, rgba(124, 77, 255, 0.12), transparent 38%),
    rgba(255, 255, 255, 0.03);
  box-shadow:
    0 30px 100px rgba(0, 0, 0, 0.62),
    0 0 70px rgba(255, 43, 43, 0.12);
  overflow: hidden;
  transform:
    perspective(1100px)
    rotateX(var(--rx))
    rotateY(var(--ry));
  transition:
    transform 0.18s ease,
    border-color 0.25s ease,
    box-shadow 0.25s ease;
  touch-action: manipulation;
  user-select: none;
}

.anime-stage.is-happy {
  border-color: rgba(255, 118, 145, 0.9);
  box-shadow:
    0 30px 100px rgba(0, 0, 0, 0.62),
    0 0 85px rgba(255, 70, 120, 0.28);
}

.anime-stage.is-angry {
  border-color: rgba(255, 43, 43, 0.95);
  box-shadow:
    0 30px 100px rgba(0, 0, 0, 0.62),
    0 0 90px rgba(255, 43, 43, 0.36);
  animation: angryShake 0.36s ease;
}

.anime-glow {
  position: absolute;
  inset: auto -20% -30% -20%;
  height: 280px;
  background: radial-gradient(circle, rgba(255, 43, 43, 0.28), transparent 68%);
  filter: blur(50px);
}

.anime-topbar {
  position: relative;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.anime-topbar div {
  display: grid;
  gap: 8px;
}

.anime-topbar span {
  width: fit-content;
  padding: 8px 12px;
  border: 1px solid rgba(255, 43, 43, 0.32);
  border-radius: 999px;
  color: var(--red);
  background: rgba(255, 43, 43, 0.08);
  font-size: 0.74rem;
  font-weight: 950;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.anime-topbar strong {
  color: var(--white);
  font-size: clamp(1.15rem, 2vw, 1.7rem);
  letter-spacing: -0.04em;
}

.anime-topbar p {
  max-width: 280px;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.7;
  text-align: right;
}

.anime-canvas {
  position: relative;
  z-index: 4;
  height: 620px;
  overflow: hidden;
  border: 1px solid rgba(255, 43, 43, 0.18);
  border-radius: 30px;
  background: #060606;
  cursor: grab;
  box-shadow:
    inset 0 0 80px rgba(255, 43, 43, 0.08),
    0 24px 70px rgba(0, 0, 0, 0.46);
}

.anime-canvas:active {
  cursor: grabbing;
}

.anime-video,
.anime-face-layer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  object-fit: cover;
  transform:
    translate3d(var(--move-x), var(--move-y), 0)
    scale(1.09);
  transition:
    opacity 0.25s ease,
    transform 0.22s ease,
    filter 0.25s ease;
}

.anime-video.active {
  opacity: 1;
}

.anime-face-layer {
  opacity: 0;
  z-index: 2;
  mix-blend-mode: screen;
  pointer-events: none;
  filter: saturate(1.15) contrast(1.08);
}

.anime-stage.is-following .anime-face-layer {
  opacity: 0.2;
}

.anime-stage.is-happy .anime-video.active {
  filter: brightness(1.08) saturate(1.28);
}

.anime-stage.is-angry .anime-video.active {
  filter: brightness(0.78) saturate(1.65) contrast(1.18) hue-rotate(-8deg);
}

.anime-vignette {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  background:
    radial-gradient(circle at center, transparent 34%, rgba(0, 0, 0, 0.42)),
    linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.28));
}

.anime-scan {
  position: absolute;
  inset: 0;
  z-index: 4;
  pointer-events: none;
  opacity: 0.14;
  background:
    linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 43, 43, 0.12) 1px, transparent 1px);
  background-size: 100% 8px, 28px 100%;
  mix-blend-mode: screen;
}

.anime-particles {
  position: absolute;
  inset: 0;
  z-index: 6;
  pointer-events: none;
  overflow: hidden;
}

.anime-particles i {
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: var(--s);
  height: var(--s);
  border-radius: 50%;
  background: var(--c);
  box-shadow: 0 0 18px var(--c);
  animation: particleUp 0.9s ease forwards;
}

.anime-controls {
  position: relative;
  z-index: 5;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.anime-controls span {
  padding: 9px 12px;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.035);
  font-size: 0.78rem;
  font-weight: 850;
}

.about-note {
  max-width: 920px;
  margin: 28px auto 0;
  padding: clamp(26px, 4vw, 44px);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at top right, rgba(255, 43, 43, 0.14), transparent 38%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.052), rgba(255, 255, 255, 0.022));
  box-shadow: var(--shadow-dark);
}

.about-note p {
  color: var(--muted);
  font-size: 1.04rem;
  line-height: 2;
  letter-spacing: 0.01em;
}

.about-note p + p {
  margin-top: 18px;
}

@keyframes angryShake {
  0%,
  100% {
    translate: 0 0;
  }

  25% {
    translate: -6px 0;
  }

  50% {
    translate: 6px 0;
  }

  75% {
    translate: -4px 0;
  }
}

@keyframes particleUp {
  from {
    opacity: 1;
    transform: translateY(0) scale(1);
  }

  to {
    opacity: 0;
    transform: translateY(-80px) scale(0.35);
  }
}

.service-grid,
.project-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 42px;
}

.service-card,
.project-card {
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at top right, rgba(255, 43, 43, 0.12), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.02));
  transition:
    transform 0.28s ease,
    border-color 0.28s ease,
    box-shadow 0.28s ease;
}

.service-card {
  min-height: 280px;
  padding: 30px;
}

.service-card:hover,
.project-card:hover {
  transform: translateY(-10px);
  border-color: var(--border-red);
  box-shadow: 0 26px 80px rgba(0, 0, 0, 0.5);
}

.service-icon {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  margin-bottom: 28px;
  border: 1px solid var(--border-red);
  border-radius: 18px;
  color: var(--red);
  background: rgba(255, 43, 43, 0.08);
  font-size: 1.15rem;
  font-weight: 950;
}

.service-card h3,
.project-body h3 {
  color: var(--white);
  font-size: 1.25rem;
  letter-spacing: -0.02em;
  line-height: 1.35;
}

.service-card p,
.project-body p {
  margin-top: 14px;
  color: var(--muted);
  line-height: 1.9;
  letter-spacing: 0.01em;
}

.project-preview {
  position: relative;
  height: 260px;
  overflow: hidden;
  background: #090909;
}

.project-preview::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  opacity: 0.34;
  background:
    linear-gradient(180deg, transparent 40%, rgba(0, 0, 0, 0.72)),
    radial-gradient(circle at top right, rgba(255, 43, 43, 0.28), transparent 36%);
}

.project-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition:
    transform 0.35s ease,
    filter 0.35s ease;
}

.project-card:hover .project-preview img {
  transform: scale(1.06);
  filter: brightness(1.08);
}

.project-tag {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 14px;
  padding: 7px 11px;
  border: 1px solid rgba(255, 43, 43, 0.3);
  border-radius: 999px;
  color: var(--red);
  background: rgba(255, 43, 43, 0.08);
  font-size: 0.72rem;
  font-weight: 950;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.project-body {
  padding: 24px;
}

.project-body a {
  display: inline-flex;
  margin-top: 22px;
  color: var(--red);
  font-weight: 950;
}

.skill-layout {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(36px, 5vw, 76px);
  align-items: start;
}

.skill-board {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.skill-card {
  min-height: 180px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: 24px;
  background:
    radial-gradient(circle at top right, rgba(255, 43, 43, 0.13), transparent 35%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.025));
  transition:
    transform 0.25s ease,
    border-color 0.25s ease,
    box-shadow 0.25s ease;
}

.skill-card:hover {
  transform: translateY(-8px);
  border-color: var(--border-red);
  box-shadow: 0 22px 64px rgba(0, 0, 0, 0.42);
}

.skill-card strong {
  color: var(--red);
  font-size: clamp(2.4rem, 4vw, 4rem);
  font-weight: 950;
  letter-spacing: -0.06em;
  line-height: 1;
}

.skill-card span {
  color: var(--white);
  font-size: 1.08rem;
  font-weight: 950;
  line-height: 1.45;
}

.skill-card p {
  color: var(--muted);
  line-height: 1.75;
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: clamp(36px, 5vw, 76px);
  align-items: start;
}

.contact-info {
  padding-top: 12px;
}

.contact-info > p {
  max-width: 620px;
}

.contact-list {
  display: grid;
  gap: 16px;
  margin-top: 30px;
}

.contact-list a {
  display: grid;
  gap: 8px;
  padding: 22px;
  border: 1px solid var(--border-red);
  border-radius: 20px;
  background:
    radial-gradient(circle at top right, rgba(255, 43, 43, 0.14), transparent 40%),
    rgba(255, 43, 43, 0.08);
  transition:
    transform 0.25s ease,
    border-color 0.25s ease,
    box-shadow 0.25s ease;
}

.contact-list a:hover {
  transform: translateY(-5px);
  border-color: var(--red);
  box-shadow: 0 20px 60px rgba(255, 43, 43, 0.14);
}

.contact-list strong {
  color: var(--white);
  font-size: 1.1rem;
}

.contact-list span {
  color: var(--muted);
  line-height: 1.6;
}

.contact-form {
  padding: clamp(28px, 3.6vw, 44px);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at top right, rgba(255, 43, 43, 0.14), transparent 38%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.022));
  box-shadow: var(--shadow-dark);
}

.contact-form h3 {
  margin-bottom: 28px;
  font-size: clamp(2.2rem, 4vw, 4rem);
}

.contact-form label {
  display: grid;
  gap: 10px;
  margin-bottom: 18px;
  color: var(--white);
  font-size: 0.95rem;
  font-weight: 850;
  letter-spacing: 0.01em;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--border);
  outline: none;
  border-radius: 18px;
  color: var(--white);
  background: rgba(0, 0, 0, 0.26);
  font: inherit;
  font-size: 0.98rem;
  line-height: 1.7;
  padding: 16px 18px;
  transition:
    border-color 0.25s ease,
    box-shadow 0.25s ease,
    background 0.25s ease;
}

.contact-form textarea {
  min-height: 150px;
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--red);
  background: rgba(0, 0, 0, 0.36);
  box-shadow: 0 0 0 4px rgba(255, 43, 43, 0.08);
}

.contact-form .btn {
  width: 100%;
  margin-top: 8px;
}

.form-status {
  min-height: 24px;
  margin-top: 16px;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.6;
  text-align: center;
}

.form-status.success {
  color: #7cff9b;
}

.form-status.error {
  color: #ff8a8a;
}

.footer {
  padding: 30px 0;
  border-top: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.58);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.7;
}

.footer-inner span {
  color: var(--red);
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
}

.reveal.show {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 980px) {
  html {
    scroll-padding-top: 108px;
  }

  .header {
    top: 12px;
  }

  .nav-shell {
    min-height: 82px;
    border-radius: 0 0 30px 30px;
    padding-inline: 34px;
  }

  .brand {
    font-size: 2rem;
  }

  .nav-menu {
    gap: 26px;
  }

  .nav-menu a {
    min-height: 48px;
    font-size: 0.95rem;
  }

  .hero {
    min-height: auto;
    padding-top: 122px;
    padding-bottom: 70px;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(290px, 0.78fr);
    gap: 34px;
  }

  .hero-media {
    min-height: 420px;
    justify-content: center;
  }

  .profile-frame {
    width: min(330px, 100%);
  }

  .hero-copy h1 {
    font-size: clamp(3rem, 6.8vw, 5.2rem);
  }

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

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

  .anime-canvas {
    height: 560px;
  }
}

@media (max-width: 760px) {
  html {
    scroll-padding-top: 88px;
  }

  .container {
    width: min(100% - 30px, var(--container));
  }

  .header {
    top: 0;
  }

  .nav-shell {
    min-height: 86px;
    padding: 0 22px;
    border-radius: 0;
    background: rgba(8, 8, 8, 0.92);
  }

  .brand {
    font-size: 2rem;
  }

  .menu-btn {
    display: block;
  }

  .nav-menu {
    position: fixed;
    top: 96px;
    left: 18px;
    right: 18px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    padding: 18px;
    border: 1px solid var(--border);
    border-radius: 24px;
    background: rgba(10, 10, 10, 0.96);
    box-shadow: var(--shadow-dark);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
  }

  .nav-menu.active {
    display: flex;
    animation: mobileMenu 0.25s ease forwards;
  }

  .nav-menu a {
    padding: 16px;
    border-radius: 16px;
    font-size: 1rem;
  }

  .nav-menu a::before {
    display: none;
  }

  .nav-menu a:hover,
  .nav-menu a.active {
    background: rgba(255, 43, 43, 0.12);
  }

  .section {
    padding: 62px 0;
  }

  .intro-icons {
    gap: 12px;
    margin-bottom: 28px;
  }

  .intro-icon {
    width: 50px;
    height: 50px;
  }

  .intro-title h1 {
    font-size: clamp(3rem, 13vw, 4.8rem);
  }

  .unlock-hint {
    margin-top: 58px;
  }

  .hero {
    padding: 122px 0 66px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .hero-eyebrow {
    color: var(--red);
    font-size: 0.94rem;
    letter-spacing: 0.28em;
    text-transform: uppercase;
  }

  .hero-copy h1 {
    font-size: clamp(3.2rem, 14.5vw, 5rem);
    line-height: 1;
  }

  .hero-desc {
    margin-top: 22px;
    font-size: 1rem;
    line-height: 1.9;
  }

  .hero-stats {
    grid-template-columns: 1fr;
    gap: 12px;
    margin-top: 26px;
  }

  .stat-card {
    min-height: 92px;
    padding: 19px;
  }

  .hero-actions {
    flex-direction: column;
    margin-top: 30px;
  }

  .btn {
    width: 100%;
    min-height: 60px;
  }

  .hero-media {
    width: 100%;
    justify-content: flex-start;
  }

  .profile-frame {
    width: 100%;
    aspect-ratio: 0.78 / 1;
    border-radius: 26px;
  }

  .section-title h2,
  .contact-info h2,
  .contact-form h3 {
    font-size: clamp(2.55rem, 11vw, 4.2rem);
  }

  .anime-stage {
    padding: 14px;
    border-radius: 28px;
  }

  .anime-topbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .anime-topbar p {
    max-width: none;
    text-align: left;
  }

  .anime-canvas {
    height: 500px;
    border-radius: 22px;
  }

  .about-note {
    padding: 24px;
  }

  .about-note p {
    font-size: 1rem;
    line-height: 1.95;
  }

  .service-grid,
  .project-grid,
  .skill-board {
    grid-template-columns: 1fr;
    margin-top: 34px;
  }

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

  .project-preview {
    height: 230px;
  }

  .skill-card {
    min-height: 150px;
    padding: 24px;
  }

  .contact-form {
    padding: 28px 22px;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  @keyframes mobileMenu {
    from {
      opacity: 0;
      transform: translateY(-12px);
    }

    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
}

@media (max-width: 420px) {
  .container {
    width: min(100% - 28px, var(--container));
  }

  .brand {
    font-size: 1.7rem;
  }

  .menu-btn {
    width: 54px;
    height: 54px;
  }

  .hero-copy h1 {
    font-size: clamp(3rem, 15.5vw, 4.4rem);
  }

  .anime-canvas {
    height: 430px;
  }

  .project-preview {
    height: 198px;
  }
}

@media (min-width: 1440px) {
  :root {
    --container: 1380px;
  }

  .nav-shell {
    min-height: 110px;
    padding-inline: 76px;
  }

  .hero {
    min-height: 820px;
  }

  .profile-frame {
    width: 430px;
  }

  .anime-canvas {
    height: 680px;
  }
}