:root {
  color-scheme: light;
  --background: #fff8f4;
  --surface: #fffdfb;
  --surface-raised: #f7efff;
  --text: #4b4056;
  --muted: #82788b;
  --line: rgba(136, 112, 155, 0.18);
  --accent: #f5a9bd;
  --accent-dark: #f1d5e9;
  --violet: #c8b7f4;
  --shadow: 0 20px 55px rgba(139, 112, 155, 0.14);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 86px;
}

body {
  min-width: 320px;
  background:
    radial-gradient(ellipse at 86% 12%, rgba(156, 140, 255, 0.11), transparent 28%),
    radial-gradient(ellipse at 5% 48%, rgba(201, 251, 99, 0.055), transparent 26%),
    var(--background);
  color: var(--text);
  font-family: "Nunito", sans-serif;
  line-height: 1.65;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: 1;
  background-image: radial-gradient(rgba(255, 255, 255, 0.12) 0.65px, transparent 0.65px);
  background-size: 18px 18px;
  content: "";
  opacity: 0.16;
  pointer-events: none;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
}

.container {
  width: min(1160px, calc(100% - 3rem));
  margin-inline: auto;
}

.header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid var(--line);
  background: rgba(10, 11, 14, 0.9);
  backdrop-filter: blur(18px);
}

.navbar {
  display: flex;
  min-height: 76px;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 50%;
  background: var(--accent);
  color: #14180d;
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0.05em;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 1.8rem;
}

.nav-menu a {
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 600;
  transition: color 180ms ease;
}

.nav-menu a:hover {
  color: var(--accent);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--surface);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 19px;
  height: 2px;
  margin: 5px auto;
  border-radius: 99px;
  background: var(--text);
}

.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(4rem, 9vw, 7.5rem) 0 1.5rem;
}

.hero::before {
  position: absolute;
  top: -13rem;
  right: -15rem;
  width: 48rem;
  height: 48rem;
  border: 1px solid rgba(156, 140, 255, 0.12);
  border-radius: 50%;
  box-shadow: 0 0 0 60px rgba(156, 140, 255, 0.025), 0 0 0 120px rgba(156, 140, 255, 0.018);
  content: "";
  pointer-events: none;
}

.hero-content {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.72fr);
  align-items: center;
  gap: clamp(2.5rem, 8vw, 7.5rem);
}

.hero-text {
  position: relative;
  z-index: 1;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 1.2rem;
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 25px;
  height: 1px;
  background: currentColor;
  content: "";
}

.hero-text h1 {
  max-width: 820px;
  margin-bottom: 1.4rem;
  font-size: clamp(3.2rem, 7.2vw, 6.8rem);
  font-weight: 700;
  letter-spacing: -0.085em;
  line-height: 0.98;
}

.hero-text h1 span {
  color: var(--accent);
}

.lead {
  max-width: 570px;
  margin-bottom: 1.8rem;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.85;
}

.cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.8rem;
}

.btn {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.2rem;
  border: 1px solid transparent;
  border-radius: 99px;
  font-size: 0.87rem;
  font-weight: 700;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--accent);
  color: #11150b;
}

.btn-primary:hover {
  background: #d9ff93;
}

.btn-secondary {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.025);
  color: var(--text);
}

.btn-secondary:hover {
  border-color: rgba(201, 251, 99, 0.5);
  background: rgba(201, 251, 99, 0.07);
}

.quick-info {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  list-style: none;
}

.quick-info li {
  padding: 0.45rem 0.7rem;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.025);
  color: var(--muted);
  font-size: 0.72rem;
}

.quick-info strong {
  color: var(--text);
}

.profile-card {
  position: relative;
  padding: 0.85rem;
  border: 1px solid rgba(243, 241, 233, 0.15);
  border-radius: 18px;
  background: linear-gradient(145deg, #1a1d22, #111318);
  box-shadow: var(--shadow);
  transform: rotate(2deg);
  transition: transform 220ms ease, border-color 220ms ease;
}

.profile-card:hover {
  border-color: rgba(201, 251, 99, 0.45);
  transform: rotate(0) translateY(-5px);
}

.profile-label {
  display: flex;
  justify-content: space-between;
  padding: 0.15rem 0.2rem 0.75rem;
  color: var(--muted);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.13em;
}

.profile-label span:first-child {
  color: var(--accent);
}

.profile-image {
  position: relative;
  display: grid;
  min-height: 310px;
  place-items: center;
  overflow: hidden;
  border-radius: 12px;
  background:
    radial-gradient(ellipse at 50% 40%, rgba(201, 251, 99, 0.19), transparent 25%),
    linear-gradient(150deg, #384130 0%, #202721 42%, #26243b 100%);
}

.profile-image::before,
.profile-image::after {
  position: absolute;
  border: 1px solid rgba(243, 241, 233, 0.12);
  border-radius: 50%;
  content: "";
}

.profile-image::before {
  width: 255px;
  height: 255px;
}

.profile-image::after {
  width: 330px;
  height: 330px;
}

.cat-portrait {
  position: relative;
  z-index: 1;
  display: grid;
  width: 210px;
  height: 210px;
  place-items: center;
  filter: drop-shadow(0 18px 22px rgba(0, 0, 0, 0.25));
  animation: cat-float 2.8s ease-in-out infinite;
}

.cat-illustration {
  width: 100%;
  overflow: visible;
}

.cat-tail {
  transform-box: fill-box;
  transform-origin: 12% 55%;
  animation: tail-swish 1.15s ease-in-out infinite alternate;
}

.cat-ear {
  transform-box: fill-box;
  transform-origin: 50% 100%;
}

.cat-ear-right {
  animation: ear-twitch 3.6s 1.2s ease-in-out infinite;
}

.cat-eye {
  transform-box: fill-box;
  transform-origin: center;
  animation: cat-blink 4.8s 1.5s infinite;
}

.greeting-bubble {
  position: absolute;
  top: 0.9rem;
  left: 50%;
  z-index: 2;
  padding: 0.6rem 1rem;
  border: 1px solid rgba(208, 174, 231, 0.8);
  border-radius: 18px 18px 18px 6px;
  background: linear-gradient(135deg, #fff4c9, #ffe2ee 58%, #eee4ff);
  box-shadow: 0 8px 22px rgba(137, 105, 156, 0.2), inset 0 1px rgba(255, 255, 255, 0.9);
  color: #795b82;
  font-size: 0.82rem;
  font-weight: 700;
  white-space: nowrap;
  transform: translateX(-50%);
  animation: greeting-pop 700ms 350ms both, bubble-bob 2.5s 1.2s ease-in-out infinite;
}

.greeting-bubble::after {
  position: absolute;
  left: calc(50% - 6px);
  bottom: -7px;
  width: 13px;
  height: 13px;
  border-right: 1px solid rgba(208, 174, 231, 0.8);
  border-bottom: 1px solid rgba(208, 174, 231, 0.8);
  background: #ffe2ee;
  content: "";
  transform: rotate(45deg);
}

.wave-hand {
  display: inline-block;
  margin-left: 0.12rem;
  transform-origin: 70% 80%;
  animation: wave 1.2s 1.1s ease-in-out infinite;
}

.portrait-caption {
  position: absolute;
  right: 0.9rem;
  bottom: 0.85rem;
  left: 0.9rem;
  z-index: 1;
  color: rgba(243, 241, 233, 0.72);
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-align: center;
}

@keyframes cat-float {
  0%, 100% {
    transform: translateY(2px) rotate(-2deg);
  }

  45% {
    transform: translateY(-10px) rotate(2deg);
  }

  55% {
    transform: translateY(-10px) rotate(2deg);
  }
}

@keyframes tail-swish {
  from {
    transform: rotate(-12deg);
  }

  to {
    transform: rotate(14deg);
  }
}

@keyframes ear-twitch {
  0%, 84%, 100% {
    transform: rotate(0);
  }

  88% {
    transform: rotate(-12deg);
  }

  93% {
    transform: rotate(8deg);
  }
}

@keyframes cat-blink {
  0%, 45%, 48%, 74%, 77%, 100% {
    transform: scaleY(1);
  }

  46.5%, 75.5% {
    transform: scaleY(0.12);
  }
}

@keyframes bubble-bob {
  0%, 100% {
    translate: 0 0;
  }

  50% {
    translate: 0 -4px;
  }
}

@keyframes greeting-pop {
  from {
    opacity: 0;
    transform: translate(-50%, 8px) scale(0.92);
  }

  to {
    opacity: 1;
    transform: translate(-50%, 0) scale(1);
  }
}

@keyframes wave {
  0%, 55%, 100% {
    transform: rotate(0);
  }

  10%, 30% {
    transform: rotate(18deg);
  }

  20%, 40% {
    transform: rotate(-10deg);
  }
}

.profile-body {
  padding: 1.2rem 0.45rem 0.35rem;
  text-align: center;
}

.profile-body h2 {
  margin-bottom: 0.15rem;
  font-size: 1.35rem;
  letter-spacing: -0.04em;
}

.profile-body p {
  margin-bottom: 0.75rem;
  color: var(--muted);
  font-size: 0.87rem;
}

.meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.4rem;
}

.meta span {
  padding: 0.28rem 0.62rem;
  border: 1px solid var(--line);
  border-radius: 99px;
  color: var(--muted);
  font-size: 0.72rem;
}

.hero-footer {
  display: flex;
  justify-content: space-between;
  margin-top: clamp(3.5rem, 8vw, 6.5rem);
  padding-block: 1.1rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-footer a {
  color: var(--accent);
  letter-spacing: 0.04em;
}

.hero-footer a span {
  margin-left: 0.35rem;
  font-size: 1rem;
}

.section {
  position: relative;
  padding: 6rem 0;
}

.alt-bg {
  border-block: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.018);
}

.section-heading {
  display: flex;
  max-width: 900px;
  align-items: end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.section-heading h2,
.contact-wrap h2 {
  max-width: 720px;
  font-size: clamp(2.15rem, 4.8vw, 4rem);
  font-weight: 700;
  letter-spacing: -0.075em;
  line-height: 1.03;
}

.section-heading .eyebrow {
  flex: 0 0 auto;
}

#about .section-heading {
  align-items: flex-start;
  flex-direction: column;
  gap: 0.8rem;
}

#about .section-heading h2 {
  line-height: 1.15;
}

.about-grid,
.skills-grid,
.projects-grid {
  display: grid;
  gap: 1rem;
}

.about-grid {
  grid-template-columns: 1.15fr 0.85fr;
  align-items: stretch;
}

.about-card,
.skill-card,
.project-card,
.contact-card {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: linear-gradient(145deg, rgba(24, 27, 31, 0.96), rgba(17, 19, 23, 0.98));
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.16);
  transition: transform 200ms ease, border-color 200ms ease, background 200ms ease;
}

.about-card:hover,
.skill-card:hover,
.project-card:hover,
.contact-card:hover {
  transform: translateY(-4px);
  border-color: rgba(201, 251, 99, 0.36);
  background: linear-gradient(145deg, rgba(29, 34, 31, 0.98), rgba(18, 21, 22, 0.98));
}

.about-card {
  min-height: 260px;
  padding: 1.7rem;
  overflow: hidden;
}

.about-intro::after {
  position: absolute;
  right: -0.5rem;
  bottom: -5.8rem;
  color: rgba(201, 251, 99, 0.045);
  content: "G";
  font-size: 19rem;
  font-weight: 800;
  letter-spacing: -0.12em;
  line-height: 1;
  pointer-events: none;
}

.card-index {
  display: block;
  margin-bottom: 1.8rem;
  color: var(--accent);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.15em;
}

.about-card h3,
.skill-card h3,
.project-card h3 {
  position: relative;
  z-index: 1;
  margin-bottom: 0.6rem;
  color: var(--text);
  font-size: 1.2rem;
  letter-spacing: -0.035em;
}

.about-card p,
.skill-card p,
.project-card p,
.contact-text {
  position: relative;
  z-index: 1;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.8;
}

.about-intro p {
  max-width: 530px;
}

.detail-list {
  display: grid;
  gap: 0.65rem;
  list-style: none;
}

.detail-list li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 0.55rem;
  border-bottom: 1px solid var(--line);
  font-size: 0.82rem;
}

.detail-list li span {
  flex: 0 0 auto;
  color: var(--muted);
}

.detail-list li strong {
  text-align: right;
}

.skills-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
}

.skill-card {
  min-height: 225px;
  padding: 1.3rem;
  overflow: hidden;
}

.skill-card::before {
  position: absolute;
  top: 0;
  left: 1.3rem;
  width: 34px;
  height: 2px;
  background: var(--accent);
  content: "";
  transition: width 180ms ease;
}

.skill-card:hover::before {
  width: calc(100% - 2.6rem);
}

.icon {
  display: grid;
  width: 50px;
  height: 50px;
  place-items: center;
  margin: 0.35rem 0 1.1rem;
  border: 1px solid rgba(201, 251, 99, 0.18);
  border-radius: 14px;
  background: rgba(201, 251, 99, 0.07);
  font-size: 1.45rem;
}

.skills-grid .skill-card:nth-child(even) .icon {
  border-color: rgba(156, 140, 255, 0.2);
  background: rgba(156, 140, 255, 0.08);
}

.projects-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
}

.project-card {
  min-height: 355px;
  padding: 0.75rem;
  overflow: hidden;
}

.project-art {
  position: relative;
  display: grid;
  height: 175px;
  place-items: center;
  overflow: hidden;
  border-radius: 9px;
  background:
    radial-gradient(circle at 50% 50%, rgba(201, 251, 99, 0.17), transparent 32%),
    linear-gradient(145deg, #29332b, #171b18);
}

.project-art span {
  position: relative;
  z-index: 1;
  color: rgba(242, 245, 233, 0.9);
  font-size: 3.8rem;
  font-weight: 800;
  letter-spacing: -0.1em;
}

.project-art::before,
.project-art::after {
  position: absolute;
  width: 150px;
  height: 150px;
  border: 1px solid rgba(201, 251, 99, 0.24);
  border-radius: 50%;
  content: "";
  transform: rotate(-30deg) scaleX(1.7);
}

.project-art::after {
  width: 190px;
  height: 190px;
  border-color: rgba(242, 245, 233, 0.12);
  transform: rotate(35deg) scaleX(1.5);
}

.art-app {
  background:
    radial-gradient(circle at 70% 30%, rgba(156, 140, 255, 0.35), transparent 32%),
    linear-gradient(145deg, #292442, #171622);
}

.art-app::before {
  border-color: rgba(190, 177, 255, 0.42);
  transform: rotate(25deg) scaleX(0.65);
}

.art-app::after {
  border-color: rgba(190, 177, 255, 0.18);
  transform: rotate(-25deg) scaleX(0.65);
}

.art-ui {
  background:
    radial-gradient(circle at 25% 80%, rgba(255, 153, 111, 0.26), transparent 34%),
    linear-gradient(145deg, #45302b, #1b1718);
}

.art-ui::before {
  border-color: rgba(255, 177, 138, 0.38);
  transform: rotate(-20deg) scaleX(1.1);
}

.art-ui::after {
  border-color: rgba(255, 177, 138, 0.16);
  transform: rotate(24deg) scaleX(1.3);
}

.project-copy {
  padding: 1.1rem 0.7rem 0.8rem;
}

.project-badge {
  display: inline-flex;
  margin-bottom: 0.75rem;
  padding: 0.24rem 0.6rem;
  border: 1px solid rgba(201, 251, 99, 0.2);
  border-radius: 99px;
  background: rgba(201, 251, 99, 0.07);
  color: var(--accent);
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact-section {
  padding: 6.5rem 0 7rem;
}

.contact-wrap {
  display: grid;
  grid-template-columns: 1fr 0.85fr;
  align-items: center;
  gap: clamp(2rem, 8vw, 7rem);
}

.contact-wrap h2 {
  max-width: 650px;
  margin-bottom: 1rem;
}

.contact-text {
  max-width: 550px;
}

.contact-card {
  padding: 0.2rem 1.5rem;
  border-radius: 14px;
}

.contact-method {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  padding: 1.15rem 0;
  border-bottom: 1px solid var(--line);
}

.contact-method:last-child {
  border-bottom: 0;
}

.contact-method p {
  grid-column: 1;
  margin-bottom: 0.25rem;
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.contact-method a {
  grid-column: 1;
  color: var(--text);
  font-size: 0.94rem;
  font-weight: 600;
  overflow-wrap: anywhere;
  transition: color 180ms ease;
}

.contact-method a:hover {
  color: var(--accent);
}

.contact-method > span {
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  color: var(--accent);
  font-size: 1.2rem;
}

.footer {
  border-top: 1px solid var(--line);
  background: rgba(7, 8, 10, 0.85);
}

.footer-wrap {
  display: flex;
  min-height: 72px;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  color: var(--muted);
  font-size: 0.78rem;
}

.footer-wrap p:last-child {
  color: #777a76;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}

@media (max-width: 900px) {
  .hero-content {
    grid-template-columns: minmax(0, 1fr) minmax(240px, 0.78fr);
    gap: 2rem;
  }

  .skills-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .projects-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .project-card:last-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 700px) {
  .hero {
    padding-top: 4.5rem;
  }

  .hero-content,
  .about-grid,
  .contact-wrap {
    grid-template-columns: 1fr;
  }

  .profile-card {
    width: min(100%, 410px);
    margin-inline: auto;
    transform: none;
  }

  .profile-card:hover {
    transform: translateY(-3px);
  }

  .section {
    padding: 4.5rem 0;
  }

  .section-heading {
    display: block;
  }

  .contact-section {
    padding-bottom: 4.5rem;
  }
}

@media (max-width: 560px) {
  .container {
    width: min(100% - 1.5rem, 1160px);
  }

  .navbar {
    min-height: 68px;
  }

  .nav-toggle {
    display: block;
  }

  .nav-menu {
    position: absolute;
    top: calc(100% + 0.5rem);
    right: 0.75rem;
    left: 0.75rem;
    display: none;
    align-items: stretch;
    gap: 0.2rem;
    padding: 0.6rem;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #14171a;
    box-shadow: var(--shadow);
  }

  .nav-menu.open {
    display: flex;
    flex-direction: column;
  }

  .nav-menu a {
    padding: 0.65rem 0.75rem;
    border-radius: 9px;
  }

  .nav-menu a:hover {
    background: rgba(201, 251, 99, 0.07);
  }

  .hero-text h1 {
    font-size: clamp(2.8rem, 14vw, 4.4rem);
  }

  .profile-image {
    min-height: 270px;
  }

  .cat-portrait {
    width: 185px;
    height: 185px;
  }

  .quick-info {
    display: grid;
  }

  .skills-grid,
  .projects-grid {
    grid-template-columns: 1fr;
  }

  .project-card:last-child {
    grid-column: auto;
  }

  .detail-list li {
    flex-direction: column;
    gap: 0.12rem;
  }

  .detail-list li strong {
    text-align: left;
  }

  .hero-footer {
    gap: 1rem;
    font-size: 0.57rem;
  }

  .footer-wrap {
    min-height: auto;
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    padding-block: 1rem;
  }
}

@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;
  }

  .cat-portrait,
  .cat-tail,
  .cat-ear,
  .cat-eye,
  .greeting-bubble,
  .wave-hand {
    animation: none;
  }
}

:root:not([data-theme="dark"]) {
  --background: #f0eeec;
  --surface: #f7f5f3;
  --surface-raised: #ebe6ef;
  --text: #514a57;
  --muted: #716b76;
  --line: rgba(99, 83, 108, 0.2);
  --accent: #d98da8;
  --accent-dark: #e6d6e7;
  --violet: #aa99d0;
  --shadow: 0 18px 42px rgba(74, 61, 81, 0.1);
}

:root:not([data-theme="dark"]) body {
  background:
    radial-gradient(ellipse at 12% 13%, rgba(226, 173, 187, 0.26), transparent 31%),
    radial-gradient(ellipse at 87% 20%, rgba(168, 193, 218, 0.3), transparent 31%),
    radial-gradient(ellipse at 72% 83%, rgba(190, 174, 218, 0.27), transparent 34%),
    radial-gradient(ellipse at 12% 88%, rgba(163, 205, 184, 0.24), transparent 27%),
    var(--background);
}

:root:not([data-theme="dark"]) body::before {
  background-image: radial-gradient(rgba(82, 68, 91, 0.1) 0.65px, transparent 0.65px);
  opacity: 0.18;
}

:root:not([data-theme="dark"]) .header {
  border-color: rgba(99, 83, 108, 0.16);
  background: rgba(240, 238, 236, 0.94);
}

:root:not([data-theme="dark"]) .brand {
  background: linear-gradient(145deg, #eab5c5, #c3b4df);
  color: #514658;
  box-shadow: 0 6px 16px rgba(130, 102, 143, 0.16);
}

:root:not([data-theme="dark"]) .nav-menu a {
  color: #68616e;
}

:root:not([data-theme="dark"]) .nav-menu a:hover {
  color: #985d78;
}

:root:not([data-theme="dark"]) .nav-toggle {
  border-color: var(--line);
  background: rgba(247, 245, 243, 0.94);
}

:root:not([data-theme="dark"]) .nav-toggle span {
  background: #5b5361;
}

:root:not([data-theme="dark"]) .hero::before {
  border-color: rgba(153, 131, 175, 0.17);
  box-shadow: 0 0 0 60px rgba(192, 165, 203, 0.055), 0 0 0 120px rgba(164, 190, 214, 0.05);
}

:root:not([data-theme="dark"]) .eyebrow {
  color: #936982;
}

:root:not([data-theme="dark"]) .eyebrow::before {
  color: #c8849d;
}

:root:not([data-theme="dark"]) .hero-text h1 span {
  color: #a86e91;
}

:root:not([data-theme="dark"]) .lead,
:root:not([data-theme="dark"]) .about-card p,
:root:not([data-theme="dark"]) .skill-card p,
:root:not([data-theme="dark"]) .project-card p,
:root:not([data-theme="dark"]) .contact-text {
  color: #716b76;
}

:root:not([data-theme="dark"]) .btn-primary {
  background: linear-gradient(120deg, #e9b0c1, #c5b5df);
  color: #514658;
  box-shadow: 0 7px 18px rgba(151, 117, 155, 0.16);
}

:root:not([data-theme="dark"]) .btn-primary:hover {
  background: linear-gradient(120deg, #f0c2cf, #d2c5e7);
}

:root:not([data-theme="dark"]) .btn-secondary {
  border-color: rgba(99, 83, 108, 0.21);
  background: rgba(247, 245, 243, 0.7);
  color: #5f5665;
}

:root:not([data-theme="dark"]) .btn-secondary:hover {
  border-color: rgba(171, 119, 152, 0.45);
  background: #eee8ef;
}

:root:not([data-theme="dark"]) .quick-info li {
  border-color: rgba(99, 83, 108, 0.16);
  background: rgba(247, 245, 243, 0.72);
  color: #716b76;
}

:root:not([data-theme="dark"]) .quick-info strong {
  color: #514a57;
}

:root:not([data-theme="dark"]) .profile-card {
  border-color: rgba(141, 116, 153, 0.24);
  background: rgba(247, 245, 243, 0.9);
  box-shadow: 0 20px 46px rgba(74, 61, 81, 0.14);
}

:root:not([data-theme="dark"]) .profile-card:hover {
  border-color: rgba(183, 124, 156, 0.46);
}

:root:not([data-theme="dark"]) .profile-label,
:root:not([data-theme="dark"]) .profile-body p,
:root:not([data-theme="dark"]) .meta span,
:root:not([data-theme="dark"]) .detail-list li span {
  color: #77707c;
}

:root:not([data-theme="dark"]) .profile-label span:first-child {
  color: #a86e91;
}

:root:not([data-theme="dark"]) .profile-image {
  background:
    radial-gradient(ellipse at 24% 25%, rgba(255, 255, 255, 0.45), transparent 26%),
    radial-gradient(ellipse at 83% 75%, rgba(166, 192, 215, 0.52), transparent 35%),
    linear-gradient(145deg, #e5c4d2, #c9c0dc 52%, #bfd8cb);
}

:root:not([data-theme="dark"]) .profile-image::before,
:root:not([data-theme="dark"]) .profile-image::after {
  border-color: rgba(255, 255, 255, 0.4);
}

:root:not([data-theme="dark"]) .greeting-bubble {
  border-color: rgba(184, 139, 179, 0.58);
  background: linear-gradient(135deg, #f7edcf, #f2dce5 58%, #e4dcef);
  color: #68566e;
  box-shadow: 0 7px 18px rgba(91, 72, 103, 0.13), inset 0 1px rgba(255, 255, 255, 0.76);
}

:root:not([data-theme="dark"]) .greeting-bubble::after {
  border-color: rgba(184, 139, 179, 0.58);
  background: #f2dce5;
}

:root:not([data-theme="dark"]) .portrait-caption {
  color: #fffafc;
  text-shadow: 0 1px 5px rgba(63, 53, 69, 0.7);
}

:root:not([data-theme="dark"]) .profile-body h2,
:root:not([data-theme="dark"]) .about-card h3,
:root:not([data-theme="dark"]) .skill-card h3,
:root:not([data-theme="dark"]) .project-card h3 {
  color: #514658;
}

:root:not([data-theme="dark"]) .meta span {
  border-color: rgba(99, 83, 108, 0.15);
  background: rgba(235, 230, 239, 0.72);
}

:root:not([data-theme="dark"]) .hero-footer {
  border-color: rgba(99, 83, 108, 0.18);
  color: #77707c;
}

:root:not([data-theme="dark"]) .hero-footer a {
  color: #a76e90;
}

:root:not([data-theme="dark"]) .alt-bg {
  border-color: rgba(99, 83, 108, 0.15);
  background: rgba(226, 222, 226, 0.42);
}

:root:not([data-theme="dark"]) .section-heading h2,
:root:not([data-theme="dark"]) .contact-wrap h2 {
  color: #514658;
}

:root:not([data-theme="dark"]) .about-card,
:root:not([data-theme="dark"]) .skill-card,
:root:not([data-theme="dark"]) .project-card,
:root:not([data-theme="dark"]) .contact-card {
  border-color: rgba(99, 83, 108, 0.17);
  background: rgba(247, 245, 243, 0.82);
  box-shadow: 0 12px 30px rgba(74, 61, 81, 0.08), inset 0 1px rgba(255, 255, 255, 0.65);
}

:root:not([data-theme="dark"]) .about-card:hover,
:root:not([data-theme="dark"]) .skill-card:hover,
:root:not([data-theme="dark"]) .project-card:hover,
:root:not([data-theme="dark"]) .contact-card:hover {
  border-color: rgba(171, 119, 152, 0.38);
  background: rgba(244, 240, 241, 0.96);
  box-shadow: 0 16px 34px rgba(74, 61, 81, 0.12);
}

:root:not([data-theme="dark"]) .about-intro::after {
  color: rgba(169, 123, 158, 0.055);
}

:root:not([data-theme="dark"]) .card-index {
  color: #956b8d;
}

:root:not([data-theme="dark"]) .detail-list li {
  border-color: rgba(99, 83, 108, 0.15);
}

:root:not([data-theme="dark"]) .icon {
  border-color: rgba(190, 139, 164, 0.24);
  background: linear-gradient(145deg, #f0d9df, #e3dced);
}

:root:not([data-theme="dark"]) .skills-grid .skill-card:nth-child(even) .icon {
  border-color: rgba(139, 157, 181, 0.28);
  background: linear-gradient(145deg, #dce5ed, #e4ddeb);
}

:root:not([data-theme="dark"]) .skill-card::before {
  background: linear-gradient(90deg, #d89eb1, #b6a5d3, #a9cdb9);
}

:root:not([data-theme="dark"]) .project-art {
  background:
    radial-gradient(ellipse at 22% 25%, rgba(255, 255, 255, 0.5), transparent 23%),
    radial-gradient(ellipse at 76% 74%, rgba(222, 183, 198, 0.55), transparent 38%),
    linear-gradient(145deg, #cfc2e2, #b9d1c5);
}

:root:not([data-theme="dark"]) .project-art span {
  color: rgba(91, 73, 101, 0.84);
}

:root:not([data-theme="dark"]) .project-art::before,
:root:not([data-theme="dark"]) .project-art::after {
  border-color: rgba(255, 255, 255, 0.5);
}

:root:not([data-theme="dark"]) .art-app {
  background:
    radial-gradient(ellipse at 74% 25%, rgba(255, 255, 255, 0.48), transparent 25%),
    linear-gradient(145deg, #b9c9dd, #d2c5df 55%, #e5cbd2);
}

:root:not([data-theme="dark"]) .art-ui {
  background:
    radial-gradient(ellipse at 25% 80%, rgba(255, 255, 255, 0.48), transparent 34%),
    linear-gradient(145deg, #e2c5cb, #e6d5bd 52%, #bfd5c8);
}

:root:not([data-theme="dark"]) .art-app::before,
:root:not([data-theme="dark"]) .art-app::after,
:root:not([data-theme="dark"]) .art-ui::before,
:root:not([data-theme="dark"]) .art-ui::after {
  border-color: rgba(255, 255, 255, 0.52);
}

:root:not([data-theme="dark"]) .project-badge {
  border-color: rgba(171, 119, 152, 0.2);
  background: #eee4eb;
  color: #8d617e;
}

:root:not([data-theme="dark"]) .contact-card {
  background: linear-gradient(145deg, rgba(247, 245, 243, 0.92), rgba(235, 230, 239, 0.86));
}

:root:not([data-theme="dark"]) .contact-method {
  border-color: rgba(99, 83, 108, 0.16);
}

:root:not([data-theme="dark"]) .contact-method p {
  color: #77707c;
}

:root:not([data-theme="dark"]) .contact-method a {
  color: #66536f;
}

:root:not([data-theme="dark"]) .contact-method a:hover,
:root:not([data-theme="dark"]) .contact-method > span {
  color: #a86e91;
}

:root:not([data-theme="dark"]) .footer {
  border-color: rgba(99, 83, 108, 0.17);
  background: rgba(236, 233, 232, 0.96);
}

:root:not([data-theme="dark"]) .footer-wrap,
:root:not([data-theme="dark"]) .footer-wrap p:last-child {
  color: #716b76;
}

:root:not([data-theme="dark"]) :focus-visible {
  outline-color: #a86e91;
}

:root:not([data-theme="dark"]) .theme-toggle {
  border-color: rgba(99, 83, 108, 0.2);
  background: rgba(247, 245, 243, 0.78);
  color: #5f5665;
}

:root:not([data-theme="dark"]) .theme-toggle:hover {
  border-color: rgba(171, 119, 152, 0.42);
  background: #eee8ef;
}

@media (max-width: 560px) {
  :root:not([data-theme="dark"]) .nav-menu {
    border-color: rgba(99, 83, 108, 0.2);
    background: rgba(240, 238, 236, 0.98);
  }

  :root:not([data-theme="dark"]) .nav-menu a:hover {
    background: #e9e3eb;
  }
}

body::after {
  position: fixed;
  inset: 0;
  z-index: 5;
  background-image:
    radial-gradient(circle at 8% 17%, rgba(201, 145, 177, 0.72) 0 1px, transparent 1.8px),
    radial-gradient(circle at 19% 73%, rgba(159, 147, 195, 0.62) 0 1.2px, transparent 2px),
    radial-gradient(circle at 34% 31%, rgba(219, 174, 145, 0.7) 0 1px, transparent 1.8px),
    radial-gradient(circle at 48% 84%, rgba(155, 179, 167, 0.7) 0 1.2px, transparent 2px),
    radial-gradient(circle at 63% 14%, rgba(201, 145, 177, 0.68) 0 1px, transparent 1.8px),
    radial-gradient(circle at 77% 55%, rgba(159, 147, 195, 0.68) 0 1.2px, transparent 2px),
    radial-gradient(circle at 92% 28%, rgba(219, 174, 145, 0.68) 0 1px, transparent 1.8px),
    radial-gradient(circle at 88% 88%, rgba(155, 179, 167, 0.7) 0 1.1px, transparent 1.9px),
    radial-gradient(ellipse 1px 7px at 27% 44%, rgba(255, 255, 255, 0.85) 0 35%, transparent 100%),
    radial-gradient(ellipse 7px 1px at 27% 44%, rgba(255, 255, 255, 0.85) 0 35%, transparent 100%),
    radial-gradient(ellipse 1px 6px at 72% 24%, rgba(255, 255, 255, 0.8) 0 35%, transparent 100%),
    radial-gradient(ellipse 6px 1px at 72% 24%, rgba(255, 255, 255, 0.8) 0 35%, transparent 100%),
    radial-gradient(ellipse 1px 7px at 58% 67%, rgba(255, 255, 255, 0.82) 0 35%, transparent 100%),
    radial-gradient(ellipse 7px 1px at 58% 67%, rgba(255, 255, 255, 0.82) 0 35%, transparent 100%),
    radial-gradient(ellipse 1px 6px at 12% 89%, rgba(255, 255, 255, 0.78) 0 35%, transparent 100%),
    radial-gradient(ellipse 6px 1px at 12% 89%, rgba(255, 255, 255, 0.78) 0 35%, transparent 100%);
  content: "";
  opacity: 0.42;
  pointer-events: none;
  animation: page-sparkle 5.5s ease-in-out infinite alternate;
}

:root[data-theme="dark"] body::after {
  opacity: 0.58;
}

@keyframes page-sparkle {
  0% {
    opacity: 0.22;
    transform: translate3d(0, 0, 0);
  }

  45% {
    opacity: 0.56;
  }

  100% {
    opacity: 0.34;
    transform: translate3d(0, -3px, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  body::after {
    animation: none;
  }
}

body {
  background:
    radial-gradient(ellipse at 12% 13%, rgba(255, 195, 209, 0.48), transparent 31%),
    radial-gradient(ellipse at 87% 20%, rgba(193, 224, 255, 0.56), transparent 31%),
    radial-gradient(ellipse at 72% 83%, rgba(220, 202, 255, 0.5), transparent 34%),
    radial-gradient(ellipse at 12% 88%, rgba(198, 239, 220, 0.45), transparent 27%),
    var(--background);
  color: var(--text);
  font-family: "Nunito", sans-serif;
}

body::before {
  background-image: radial-gradient(rgba(120, 94, 135, 0.12) 0.65px, transparent 0.65px);
  opacity: 0.25;
}

h1,
h2,
h3,
.brand,
.eyebrow,
.btn,
.project-badge,
.profile-label,
.portrait-caption,
.card-index {
  font-family: "Fredoka", "Nunito", sans-serif;
}

.header {
  border-color: rgba(164, 135, 178, 0.16);
  background: rgba(255, 250, 248, 0.76);
}

.brand {
  border: 0;
  background: linear-gradient(145deg, #f8b8c8, #d2bef7);
  color: #5a4666;
  box-shadow: 0 8px 20px rgba(207, 165, 219, 0.28);
}

.nav-menu a {
  color: #786c83;
}

.nav-menu a:hover {
  color: #b16d91;
}

.nav-toggle {
  border-color: rgba(164, 135, 178, 0.2);
  background: rgba(255, 253, 251, 0.85);
}

.nav-toggle span {
  background: #665971;
}

.hero::before {
  border-color: rgba(197, 170, 224, 0.19);
  box-shadow: 0 0 0 60px rgba(230, 194, 225, 0.08), 0 0 0 120px rgba(193, 224, 255, 0.07);
}

.eyebrow {
  color: #a873a2;
}

.eyebrow::before {
  color: #ee9eb6;
  background: currentColor;
}

.hero-text h1 span {
  color: #ba81ad;
}

.lead,
.about-card p,
.skill-card p,
.project-card p,
.contact-text {
  color: #81768a;
}

.btn-primary {
  background: linear-gradient(120deg, #f7b7c8, #d5c1f5);
  color: #5c4767;
  box-shadow: 0 9px 22px rgba(209, 164, 207, 0.22);
}

.btn-primary:hover {
  background: linear-gradient(120deg, #ffd1d8, #e5d7ff);
}

.btn-secondary {
  border-color: rgba(164, 135, 178, 0.24);
  background: rgba(255, 253, 251, 0.48);
  color: #665971;
}

.btn-secondary:hover {
  border-color: #d3b3df;
  background: rgba(248, 232, 247, 0.82);
}

.quick-info li {
  border-color: rgba(164, 135, 178, 0.17);
  background: rgba(255, 253, 251, 0.55);
  color: #82788b;
}

.quick-info strong {
  color: #5b5065;
}

.profile-card {
  border-color: rgba(186, 157, 199, 0.28);
  background: rgba(255, 253, 251, 0.75);
  box-shadow: 0 22px 55px rgba(146, 115, 160, 0.2);
}

.profile-card:hover {
  border-color: rgba(204, 148, 185, 0.55);
}

.profile-label {
  color: #8d8193;
}

.profile-label span:first-child,
.portrait-caption {
  color: #fff9fd;
}

.profile-image {
  background:
    radial-gradient(ellipse at 24% 25%, rgba(255, 255, 255, 0.72), transparent 26%),
    radial-gradient(ellipse at 83% 75%, rgba(194, 225, 255, 0.75), transparent 35%),
    linear-gradient(145deg, #f5c5d6, #d9cef7 52%, #c8eadb);
}

.profile-image::before,
.profile-image::after {
  border-color: rgba(255, 255, 255, 0.52);
}

.cat-portrait {
  filter: drop-shadow(0 18px 22px rgba(126, 91, 126, 0.18));
}

.greeting-bubble {
  border-color: rgba(208, 174, 231, 0.8);
  background: linear-gradient(135deg, #fff4c9, #ffe2ee 58%, #eee4ff);
  color: #795b82;
  box-shadow: 0 8px 22px rgba(137, 105, 156, 0.2), inset 0 1px rgba(255, 255, 255, 0.9);
  font-family: "Fredoka", "Nunito", sans-serif;
}

.greeting-bubble::after {
  border-color: rgba(208, 174, 231, 0.8);
  background: #ffe2ee;
}

.portrait-caption {
  text-shadow: 0 1px 5px rgba(76, 62, 93, 0.52);
}

.profile-body h2,
.about-card h3,
.skill-card h3,
.project-card h3 {
  color: #5b4c66;
}

.profile-body p,
.meta span,
.detail-list li span {
  color: #8a7d91;
}

.meta span {
  border-color: rgba(164, 135, 178, 0.15);
  background: rgba(247, 239, 255, 0.68);
}

.hero-footer {
  border-color: rgba(164, 135, 178, 0.2);
  color: #8a7e90;
}

.hero-footer a {
  color: #b476a3;
}

.alt-bg {
  border-color: rgba(164, 135, 178, 0.15);
  background: rgba(255, 255, 255, 0.24);
}

.section-heading h2,
.contact-wrap h2 {
  color: #50445c;
}

.about-card,
.skill-card,
.project-card,
.contact-card {
  border-color: rgba(167, 142, 180, 0.19);
  background: rgba(255, 253, 251, 0.66);
  box-shadow: 0 14px 36px rgba(133, 108, 146, 0.1), inset 0 1px rgba(255, 255, 255, 0.9);
}

.about-card:hover,
.skill-card:hover,
.project-card:hover,
.contact-card:hover {
  border-color: rgba(202, 148, 190, 0.5);
  background: rgba(255, 253, 252, 0.9);
  box-shadow: 0 20px 42px rgba(133, 108, 146, 0.16);
}

.card-index {
  color: #ad78a6;
}

.detail-list li {
  border-color: rgba(164, 135, 178, 0.16);
}

.icon {
  border-color: rgba(220, 165, 200, 0.25);
  background: linear-gradient(145deg, #ffe2e9, #eee4ff);
}

.skills-grid .skill-card:nth-child(even) .icon {
  border-color: rgba(168, 193, 222, 0.35);
  background: linear-gradient(145deg, #deefff, #e8e1ff);
}

.skill-card::before {
  background: linear-gradient(90deg, #f0abc2, #c6b5ef, #c3e8d5);
}

.project-art {
  background:
    radial-gradient(ellipse at 22% 25%, rgba(255, 255, 255, 0.82), transparent 23%),
    radial-gradient(ellipse at 76% 74%, rgba(255, 214, 225, 0.9), transparent 38%),
    linear-gradient(145deg, #d8c8fa, #c8e8dc);
}

.project-art span {
  color: rgba(111, 84, 125, 0.83);
}

.project-art::before,
.project-art::after {
  border-color: rgba(255, 255, 255, 0.64);
}

.art-app {
  background:
    radial-gradient(ellipse at 74% 25%, rgba(255, 255, 255, 0.8), transparent 25%),
    linear-gradient(145deg, #c7dafa, #e7d8f6 55%, #f8dce2);
}

.art-app::before,
.art-app::after {
  border-color: rgba(255, 255, 255, 0.72);
}

.art-ui {
  background:
    radial-gradient(ellipse at 25% 80%, rgba(255, 255, 255, 0.75), transparent 34%),
    linear-gradient(145deg, #f6d2d7, #f7e3c9 52%, #d2e8d7);
}

.art-ui::before,
.art-ui::after {
  border-color: rgba(255, 255, 255, 0.75);
}

.project-badge {
  border-color: rgba(203, 160, 195, 0.22);
  background: #f8e9f4;
  color: #a46d9a;
}

.contact-card {
  background: linear-gradient(145deg, rgba(255, 253, 251, 0.88), rgba(247, 239, 255, 0.74));
}

.contact-method {
  border-color: rgba(164, 135, 178, 0.17);
}

.contact-method p {
  color: #92869a;
}

.contact-method a {
  color: #745a80;
}

.contact-method a:hover,
.contact-method > span {
  color: #bb78a4;
}

.footer {
  border-color: rgba(164, 135, 178, 0.18);
  background: rgba(255, 250, 248, 0.75);
}

.footer-wrap,
.footer-wrap p:last-child {
  color: #857b8c;
}

:focus-visible {
  outline-color: #bd8ab4;
}

@media (max-width: 560px) {
  .nav-menu {
    border-color: rgba(164, 135, 178, 0.2);
    background: rgba(255, 250, 250, 0.96);
  }

  .nav-menu a:hover {
    background: #f8e9f4;
  }
}

.theme-toggle {
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.45rem 0.75rem;
  border: 1px solid rgba(164, 135, 178, 0.25);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.55);
  color: #665971;
  cursor: pointer;
  font: 700 0.78rem "Nunito", sans-serif;
  transition: background 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.theme-toggle:hover {
  transform: translateY(-1px);
  border-color: #d3b3df;
  background: #f8e9f4;
}

.theme-icon {
  line-height: 1;
}

body,
.header,
.brand,
.nav-menu a,
.nav-toggle,
.quick-info li,
.profile-card,
.profile-image,
.profile-body h2,
.profile-body p,
.meta span,
.hero-footer,
.hero-footer a,
.alt-bg,
.section-heading h2,
.contact-wrap h2,
.about-card,
.skill-card,
.project-card,
.contact-card,
.about-card h3,
.skill-card h3,
.project-card h3,
.about-card p,
.skill-card p,
.project-card p,
.contact-text,
.detail-list li,
.detail-list li span,
.icon,
.project-art,
.project-art span,
.project-badge,
.contact-method,
.contact-method p,
.contact-method a,
.contact-method > span,
.footer,
.footer-wrap,
.footer-wrap p:last-child,
.theme-toggle,
.nav-menu {
  transition:
    background-color 220ms ease,
    background 220ms ease,
    border-color 220ms ease,
    color 220ms ease,
    box-shadow 220ms ease;
}

:root[data-theme="dark"] {
  color-scheme: dark;
  --background: #171322;
  --surface: #211b2d;
  --surface-raised: #2c233a;
  --text: #f8eff8;
  --muted: #c5b7ca;
  --line: rgba(244, 222, 255, 0.17);
  --accent: #f1b6d2;
  --accent-dark: #4a354e;
  --violet: #c9b8ff;
  --shadow: 0 20px 55px rgba(5, 3, 12, 0.38);
}

:root[data-theme="dark"] body {
  background:
    radial-gradient(ellipse at 12% 13%, rgba(181, 100, 145, 0.23), transparent 31%),
    radial-gradient(ellipse at 87% 20%, rgba(100, 125, 190, 0.24), transparent 31%),
    radial-gradient(ellipse at 72% 83%, rgba(127, 93, 171, 0.25), transparent 34%),
    radial-gradient(ellipse at 12% 88%, rgba(79, 143, 125, 0.15), transparent 27%),
    var(--background);
}

:root[data-theme="dark"] body::before {
  background-image: radial-gradient(rgba(244, 222, 255, 0.16) 0.65px, transparent 0.65px);
}

:root[data-theme="dark"] .header {
  border-color: var(--line);
  background: rgba(23, 19, 34, 0.86);
}

:root[data-theme="dark"] .brand {
  background: linear-gradient(145deg, #f1b6d2, #c9b8ff);
  color: #392941;
  box-shadow: 0 8px 20px rgba(201, 184, 255, 0.2);
}

:root[data-theme="dark"] .nav-menu a {
  color: #d0c4d5;
}

:root[data-theme="dark"] .nav-menu a:hover {
  color: #ffd3e6;
}

:root[data-theme="dark"] .nav-toggle {
  border-color: var(--line);
  background: #292236;
}

:root[data-theme="dark"] .nav-toggle span {
  background: var(--text);
}

:root[data-theme="dark"] .hero::before {
  border-color: rgba(215, 187, 255, 0.2);
  box-shadow: 0 0 0 60px rgba(230, 194, 225, 0.06), 0 0 0 120px rgba(137, 167, 224, 0.05);
}

:root[data-theme="dark"] .eyebrow {
  color: #f0afd0;
}

:root[data-theme="dark"] .eyebrow::before {
  color: #bfb0fa;
}

:root[data-theme="dark"] .hero-text h1 span {
  color: #ffc1dc;
}

:root[data-theme="dark"] .lead,
:root[data-theme="dark"] .about-card p,
:root[data-theme="dark"] .skill-card p,
:root[data-theme="dark"] .project-card p,
:root[data-theme="dark"] .contact-text {
  color: #c5b7ca;
}

:root[data-theme="dark"] .btn-primary {
  background: linear-gradient(120deg, #f1b6d2, #c9b8ff);
  color: #392941;
  box-shadow: 0 9px 22px rgba(201, 184, 255, 0.2);
}

:root[data-theme="dark"] .btn-primary:hover {
  background: linear-gradient(120deg, #ffd1e1, #ddd2ff);
}

:root[data-theme="dark"] .btn-secondary {
  border-color: var(--line);
  background: rgba(39, 31, 51, 0.75);
  color: var(--text);
}

:root[data-theme="dark"] .btn-secondary:hover {
  border-color: rgba(241, 182, 210, 0.55);
  background: rgba(241, 182, 210, 0.12);
}

:root[data-theme="dark"] .quick-info li {
  border-color: var(--line);
  background: rgba(38, 31, 49, 0.75);
  color: #c5b7ca;
}

:root[data-theme="dark"] .quick-info strong {
  color: var(--text);
}

:root[data-theme="dark"] .profile-card {
  border-color: rgba(222, 199, 236, 0.25);
  background: rgba(34, 27, 44, 0.88);
  box-shadow: 0 22px 55px rgba(5, 3, 12, 0.38);
}

:root[data-theme="dark"] .profile-card:hover {
  border-color: rgba(241, 182, 210, 0.58);
}

:root[data-theme="dark"] .profile-label {
  color: #c5b7ca;
}

:root[data-theme="dark"] .profile-label span:first-child,
:root[data-theme="dark"] .portrait-caption {
  color: #fff8ff;
}

:root[data-theme="dark"] .profile-image {
  background:
    radial-gradient(ellipse at 24% 25%, rgba(255, 255, 255, 0.2), transparent 26%),
    radial-gradient(ellipse at 83% 75%, rgba(150, 164, 235, 0.28), transparent 35%),
    linear-gradient(145deg, #553c62, #34314f 52%, #31534f);
}

:root[data-theme="dark"] .profile-image::before,
:root[data-theme="dark"] .profile-image::after {
  border-color: rgba(255, 255, 255, 0.3);
}

:root[data-theme="dark"] .profile-body h2,
:root[data-theme="dark"] .about-card h3,
:root[data-theme="dark"] .skill-card h3,
:root[data-theme="dark"] .project-card h3 {
  color: #fff2fb;
}

:root[data-theme="dark"] .profile-body p,
:root[data-theme="dark"] .meta span,
:root[data-theme="dark"] .detail-list li span {
  color: #c8bacd;
}

:root[data-theme="dark"] .meta span {
  border-color: var(--line);
  background: rgba(49, 39, 61, 0.8);
}

:root[data-theme="dark"] .hero-footer {
  border-color: var(--line);
  color: #c5b7ca;
}

:root[data-theme="dark"] .hero-footer a {
  color: #f2b5d1;
}

:root[data-theme="dark"] .alt-bg {
  border-color: var(--line);
  background: rgba(26, 21, 38, 0.48);
}

:root[data-theme="dark"] .section-heading h2,
:root[data-theme="dark"] .contact-wrap h2 {
  color: #fff4fc;
}

:root[data-theme="dark"] .about-card,
:root[data-theme="dark"] .skill-card,
:root[data-theme="dark"] .project-card,
:root[data-theme="dark"] .contact-card {
  border-color: var(--line);
  background: rgba(34, 28, 44, 0.82);
  box-shadow: 0 14px 36px rgba(5, 3, 12, 0.24), inset 0 1px rgba(255, 255, 255, 0.04);
}

:root[data-theme="dark"] .about-card:hover,
:root[data-theme="dark"] .skill-card:hover,
:root[data-theme="dark"] .project-card:hover,
:root[data-theme="dark"] .contact-card:hover {
  border-color: rgba(241, 182, 210, 0.48);
  background: rgba(43, 34, 55, 0.94);
  box-shadow: 0 20px 42px rgba(5, 3, 12, 0.3);
}

:root[data-theme="dark"] .about-intro::after {
  color: rgba(241, 182, 210, 0.055);
}

:root[data-theme="dark"] .card-index {
  color: #f0afd0;
}

:root[data-theme="dark"] .detail-list li {
  border-color: var(--line);
}

:root[data-theme="dark"] .icon {
  border-color: rgba(241, 182, 210, 0.28);
  background: linear-gradient(145deg, rgba(241, 182, 210, 0.16), rgba(201, 184, 255, 0.12));
}

:root[data-theme="dark"] .skills-grid .skill-card:nth-child(even) .icon {
  border-color: rgba(168, 193, 222, 0.3);
  background: linear-gradient(145deg, rgba(168, 193, 222, 0.16), rgba(201, 184, 255, 0.14));
}

:root[data-theme="dark"] .skill-card::before {
  background: linear-gradient(90deg, #f0abc2, #c6b5ef, #c3e8d5);
}

:root[data-theme="dark"] .project-art {
  background:
    radial-gradient(ellipse at 22% 25%, rgba(255, 255, 255, 0.18), transparent 23%),
    radial-gradient(ellipse at 76% 74%, rgba(211, 166, 207, 0.23), transparent 38%),
    linear-gradient(145deg, #514267, #294c4a);
}

:root[data-theme="dark"] .project-art span {
  color: rgba(255, 247, 255, 0.88);
}

:root[data-theme="dark"] .project-art::before,
:root[data-theme="dark"] .project-art::after {
  border-color: rgba(255, 255, 255, 0.3);
}

:root[data-theme="dark"] .art-app {
  background:
    radial-gradient(ellipse at 74% 25%, rgba(255, 255, 255, 0.18), transparent 25%),
    linear-gradient(145deg, #465274, #59446c 55%, #654252);
}

:root[data-theme="dark"] .art-ui {
  background:
    radial-gradient(ellipse at 25% 80%, rgba(255, 255, 255, 0.2), transparent 34%),
    linear-gradient(145deg, #744858, #705b45 52%, #456452);
}

:root[data-theme="dark"] .art-app::before,
:root[data-theme="dark"] .art-app::after,
:root[data-theme="dark"] .art-ui::before,
:root[data-theme="dark"] .art-ui::after {
  border-color: rgba(255, 255, 255, 0.34);
}

:root[data-theme="dark"] .project-badge {
  border-color: rgba(241, 182, 210, 0.25);
  background: rgba(241, 182, 210, 0.12);
  color: #ffd3e6;
}

:root[data-theme="dark"] .contact-card {
  background: linear-gradient(145deg, rgba(47, 36, 57, 0.9), rgba(34, 28, 44, 0.92));
}

:root[data-theme="dark"] .contact-method {
  border-color: var(--line);
}

:root[data-theme="dark"] .contact-method p {
  color: #c5b7ca;
}

:root[data-theme="dark"] .contact-method a {
  color: #f5d6e8;
}

:root[data-theme="dark"] .contact-method a:hover,
:root[data-theme="dark"] .contact-method > span {
  color: #c9b8ff;
}

:root[data-theme="dark"] .footer {
  border-color: var(--line);
  background: rgba(20, 16, 29, 0.9);
}

:root[data-theme="dark"] .footer-wrap,
:root[data-theme="dark"] .footer-wrap p:last-child {
  color: #c5b7ca;
}

:root[data-theme="dark"] :focus-visible {
  outline-color: #f1b6d2;
}

:root[data-theme="dark"] .theme-toggle {
  border-color: rgba(241, 182, 210, 0.3);
  background: rgba(241, 182, 210, 0.12);
  color: #f7eaf6;
}

:root[data-theme="dark"] .theme-toggle:hover {
  border-color: rgba(201, 184, 255, 0.55);
  background: rgba(201, 184, 255, 0.16);
}

@media (max-width: 560px) {
  .nav-menu .theme-toggle {
    width: 100%;
    justify-content: flex-start;
    margin-top: 0.35rem;
    padding: 0.7rem 0.75rem;
  }

  :root[data-theme="dark"] .nav-menu {
    border-color: var(--line);
    background: rgba(32, 25, 43, 0.98);
  }

  :root[data-theme="dark"] .nav-menu a:hover {
    background: rgba(241, 182, 210, 0.12);
  }
}

.hero-title {
  animation: title-arrive 850ms cubic-bezier(0.2, 0.75, 0.25, 1) both;
}

.about-title {
  position: relative;
  animation: title-arrive 850ms 180ms cubic-bezier(0.2, 0.75, 0.25, 1) both;
}

.about-title::after {
  display: inline-block;
  margin-left: 0.18em;
  color: #eaa8c2;
  content: "✿";
  font-size: 0.42em;
  vertical-align: top;
  animation: sparkle-pop 2s 900ms ease-in-out infinite;
}

.about-title::before {
  display: block;
  width: min(170px, 42%);
  height: 4px;
  margin-top: 0.8rem;
  border-radius: 999px;
  background: linear-gradient(90deg, #f3b4c9, #d7c5f8, transparent);
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  animation: underline-pop 700ms 750ms ease-out forwards;
}

.hero-title .title-name {
  display: inline;
  text-shadow: 0 5px 18px rgba(186, 129, 173, 0.2);
  animation: name-glow 3.2s 900ms ease-in-out infinite;
}

.hero-title .title-name::after {
  display: inline-block;
  margin-left: 0.12em;
  color: #efb6ce;
  content: "✦";
  font-size: 0.36em;
  vertical-align: top;
  animation: sparkle-pop 1.8s 1.1s ease-in-out infinite;
}

@keyframes title-arrive {
  from {
    opacity: 0;
    transform: translateY(22px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes name-glow {
  0%, 100% {
    text-shadow: 0 5px 18px rgba(186, 129, 173, 0.18);
  }

  50% {
    text-shadow: 0 5px 24px rgba(213, 162, 224, 0.52);
  }
}

@keyframes sparkle-pop {
  0%, 100% {
    opacity: 0.65;
    transform: scale(0.8) rotate(-12deg);
  }

  50% {
    opacity: 1;
    transform: scale(1.25) rotate(12deg);
  }
}

@keyframes underline-pop {
  to {
    transform: scaleX(1);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-title,
  .about-title,
  .hero-title .title-name,
  .hero-title .title-name::after,
  .about-title::after,
  .about-title::before {
    animation: none;
  }

  .hero-title,
  .about-title {
    opacity: 1;
    transform: none;
  }

  .about-title::before {
    transform: none;
  }
}

.cursor-cat {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 100;
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid rgba(202, 160, 194, 0.38);
  border-radius: 50%;
  background: rgba(255, 249, 246, 0.88);
  box-shadow: 0 5px 16px rgba(104, 79, 112, 0.2);
  font-size: 1.15rem;
  opacity: 0;
  pointer-events: none;
  transform: translate3d(var(--cursor-x, -60px), var(--cursor-y, -60px), 0) rotate(-12deg) scale(0.7);
  transition: opacity 160ms ease, transform 110ms ease-out;
  will-change: transform;
}

.cursor-cat::after {
  position: absolute;
  top: -4px;
  right: -3px;
  color: #d997b5;
  content: "✦";
  font-size: 0.65rem;
  animation: cursor-twinkle 1.8s ease-in-out infinite;
}

.cursor-cat.is-visible {
  opacity: 1;
  transform: translate3d(var(--cursor-x), var(--cursor-y), 0) rotate(8deg) scale(1);
}

:root[data-theme="dark"] .cursor-cat {
  border-color: rgba(241, 182, 210, 0.45);
  background: rgba(46, 36, 57, 0.94);
  box-shadow: 0 5px 18px rgba(5, 3, 12, 0.35);
}

:root[data-theme="dark"] .cursor-cat::after {
  color: #d1c1ff;
}

@keyframes cursor-twinkle {
  0%, 100% {
    opacity: 0.55;
    transform: scale(0.8) rotate(-10deg);
  }

  50% {
    opacity: 1;
    transform: scale(1.2) rotate(12deg);
  }
}

@media (hover: none), (pointer: coarse), (prefers-reduced-motion: reduce) {
  .cursor-cat {
    display: none;
  }
}

.section-kitty {
  position: absolute;
  z-index: 1;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(202, 160, 194, 0.3);
  border-radius: 15px 15px 15px 5px;
  background: rgba(255, 249, 246, 0.76);
  box-shadow: 0 8px 20px rgba(104, 79, 112, 0.1);
  font-size: 1.35rem;
  pointer-events: none;
  animation: kitty-float 4s ease-in-out infinite;
}

.kitty-about {
  top: 3.2rem;
  right: 7%;
  transform: rotate(9deg);
}

.kitty-skills {
  right: 6%;
  bottom: 1.8rem;
  animation-delay: -1s;
}

.kitty-projects {
  top: 2rem;
  left: 6%;
  animation-delay: -2s;
}

.kitty-contact {
  right: 8%;
  bottom: 2rem;
  animation-delay: -0.5s;
}

:root[data-theme="dark"] .section-kitty {
  border-color: rgba(241, 182, 210, 0.32);
  background: rgba(46, 36, 57, 0.82);
  box-shadow: 0 8px 20px rgba(5, 3, 12, 0.24);
}

@keyframes kitty-float {
  0%, 100% {
    translate: 0 0;
    rotate: -5deg;
  }

  50% {
    translate: 0 -7px;
    rotate: 5deg;
  }
}

@media (max-width: 700px) {
  .section-kitty {
    width: 36px;
    height: 36px;
    font-size: 1.15rem;
  }

  .kitty-about {
    top: 2rem;
    right: 1.2rem;
  }

  .kitty-skills {
    right: 1.2rem;
    bottom: 0.8rem;
  }

  .kitty-projects {
    top: 1.5rem;
    left: auto;
    right: 1.2rem;
  }

  .kitty-contact {
    right: 1.2rem;
    bottom: 1rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .section-kitty {
    animation: none;
  }
}

/* Finishing details */
.header {
  box-shadow: 0 8px 26px rgba(87, 67, 102, 0.06);
}

.navbar {
  min-height: 82px;
}

.brand {
  position: relative;
  width: 46px;
  height: 46px;
  box-shadow: 0 8px 18px rgba(207, 165, 219, 0.24), inset 0 1px rgba(255, 255, 255, 0.55);
}

.brand::after {
  position: absolute;
  top: -3px;
  right: -3px;
  width: 11px;
  height: 11px;
  border: 2px solid var(--background);
  border-radius: 50%;
  background: #c5d9bb;
  content: "";
}

.nav-menu a {
  position: relative;
}

.nav-menu a::after {
  position: absolute;
  right: 0.65rem;
  bottom: 0.2rem;
  left: 0.65rem;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, #e8a9c1, #c2b1e4);
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.nav-menu a:hover::after {
  transform: scaleX(1);
}

.hero {
  padding-top: clamp(4.5rem, 9vw, 8rem);
}

.hero-content {
  gap: clamp(3rem, 8vw, 8rem);
}

.hero-text {
  padding-left: clamp(0rem, 2vw, 1.4rem);
}

.hero-note {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin: -0.55rem 0 1.15rem;
  color: #84778d;
  font-size: 0.82rem;
  font-weight: 700;
}

.hero-note span {
  color: #d99ab6;
  animation: note-sparkle 2s ease-in-out infinite;
}

.hero-text h1 {
  max-width: 760px;
  font-size: clamp(3.2rem, 7vw, 6.4rem);
  line-height: 0.99;
  text-wrap: balance;
}

.hero-text h1 span {
  background: linear-gradient(105deg, #b57899, #a788b6 55%, #8d9fbd);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

.lead {
  max-width: 540px;
  font-size: 1.02rem;
}

.btn {
  min-height: 50px;
  box-shadow: 0 6px 16px rgba(96, 74, 108, 0.06);
}

.btn-primary {
  box-shadow: 0 8px 20px rgba(184, 132, 165, 0.2), inset 0 1px rgba(255,255,255,0.5);
}

.profile-card {
  border-radius: 25px;
  transform: rotate(1.3deg);
}

.profile-card::after {
  position: absolute;
  top: 30%;
  right: -2.1rem;
  z-index: -1;
  width: 75px;
  height: 75px;
  border: 1px solid rgba(202, 160, 194, 0.5);
  border-radius: 22px;
  background: linear-gradient(145deg, rgba(255,255,255,0.45), rgba(233,220,245,0.2));
  content: "✿";
  color: #c28aa9;
  display: grid;
  place-items: center;
  font-size: 1.6rem;
  pointer-events: none;
  transform: rotate(12deg);
}

.profile-image {
  min-height: 330px;
  border-radius: 17px;
}

.cat-portrait {
  width: 220px;
  height: 220px;
}

.hero-footer {
  margin-top: clamp(3rem, 7vw, 5.5rem);
}

.section {
  padding-block: clamp(4.5rem, 8vw, 7rem);
}

.section-heading {
  margin-bottom: 2.8rem;
}

.section-heading h2,
.contact-wrap h2 {
  text-wrap: balance;
}

#about .section-heading {
  max-width: 760px;
}

#about .section-heading .eyebrow {
  order: 1;
  margin: 0;
  padding: 0.4rem 0.75rem;
  border: 1px solid rgba(202, 160, 194, 0.26);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.35);
}

.about-title::after {
  margin-left: 0.25em;
  color: #d99ab6;
}

.about-title::before {
  width: min(230px, 55%);
  height: 5px;
  margin-top: 1rem;
  background: linear-gradient(90deg, #e7afc2, #c8b7e5 65%, transparent);
}

.about-grid {
  gap: 1.2rem;
}

.about-card,
.skill-card,
.project-card,
.contact-card {
  border-radius: 20px;
  box-shadow: 0 16px 38px rgba(91, 70, 105, 0.09), inset 0 1px rgba(255, 255, 255, 0.62);
}

.about-card,
.skill-card,
.project-card {
  transition: transform 260ms cubic-bezier(0.2, 0.75, 0.25, 1), box-shadow 260ms ease, border-color 220ms ease;
}

.about-card:hover,
.skill-card:hover,
.project-card:hover {
  transform: translateY(-7px);
}

.about-intro {
  background:
    radial-gradient(ellipse at 100% 0, rgba(242, 208, 220, 0.36), transparent 45%),
    rgba(247, 245, 243, 0.82);
}

.about-details {
  background:
    radial-gradient(ellipse at 100% 0, rgba(210, 202, 233, 0.34), transparent 45%),
    rgba(247, 245, 243, 0.82);
}

.about-card h3,
.skill-card h3,
.project-card h3 {
  font-size: 1.28rem;
}

.detail-list li {
  padding: 0.5rem 0;
  transition: padding 180ms ease, color 180ms ease;
}

.detail-list li:hover {
  padding-inline: 0.4rem;
}

.skills-grid {
  gap: 1rem;
}

.skill-card {
  min-height: 235px;
  border-radius: 20px 20px 20px 7px;
  padding: 1.5rem;
}

.skill-card:nth-child(1) {
  background: linear-gradient(150deg, rgba(247, 245, 243, 0.92), rgba(235, 226, 238, 0.78));
}

.skill-card:nth-child(2) {
  background: linear-gradient(150deg, rgba(247, 245, 243, 0.92), rgba(225, 233, 241, 0.78));
}

.skill-card:nth-child(3) {
  background: linear-gradient(150deg, rgba(247, 245, 243, 0.92), rgba(245, 227, 231, 0.78));
}

.skill-card:nth-child(4) {
  background: linear-gradient(150deg, rgba(247, 245, 243, 0.92), rgba(224, 237, 228, 0.8));
}

.skill-card::after {
  position: absolute;
  top: 1rem;
  right: 1.2rem;
  color: rgba(147, 105, 145, 0.44);
  content: "0" counter(skill-card);
  font-family: "Fredoka", sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.skills-grid {
  counter-reset: skill-card;
}

.skill-card {
  counter-increment: skill-card;
}

.icon {
  width: 56px;
  height: 56px;
  border-radius: 18px 18px 18px 6px;
  box-shadow: 0 7px 16px rgba(119, 90, 132, 0.08);
  transition: transform 220ms ease;
}

.skill-card:hover .icon {
  transform: rotate(-7deg) scale(1.08);
}

.projects-grid {
  gap: 1.2rem;
}

.project-card {
  min-height: 375px;
  border-radius: 20px;
}

.project-art {
  height: 195px;
  border-radius: 14px;
  transition: background-size 350ms ease, filter 350ms ease;
}

.project-card:hover .project-art {
  filter: saturate(1.08);
}

.project-art span {
  font-family: "Fredoka", sans-serif;
  font-size: 4.2rem;
  text-shadow: 0 4px 18px rgba(111, 84, 125, 0.12);
  transition: transform 280ms ease;
}

.project-card:hover .project-art span {
  transform: scale(1.12) rotate(-5deg);
}

.project-copy {
  padding: 1.2rem 0.85rem 0.9rem;
}

.project-badge {
  padding-inline: 0.75rem;
}

.contact-section {
  position: relative;
  overflow: hidden;
}

.contact-section::before {
  position: absolute;
  top: 50%;
  left: -9rem;
  width: 23rem;
  height: 23rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(230, 194, 225, 0.19), transparent 70%);
  content: "";
  pointer-events: none;
  transform: translateY(-50%);
}

.contact-wrap {
  position: relative;
}

.contact-card {
  padding-inline: 1.7rem;
}

.contact-method {
  padding-block: 1.35rem;
}

.contact-method a {
  font-size: 1rem;
}

.footer {
  position: relative;
}

.footer-wrap {
  min-height: 82px;
}

:root[data-theme="dark"] .hero-text h1 span {
  background: linear-gradient(105deg, #ffd1e1, #d8c8ff 58%, #b1e7d4);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

:root[data-theme="dark"] .hero-note {
  color: #d0c4d5;
}

:root[data-theme="dark"] .hero-note span {
  color: #f1b6d2;
}

:root[data-theme="dark"] .profile-card::after {
  border-color: rgba(241, 182, 210, 0.36);
  background: linear-gradient(145deg, rgba(70, 52, 80, 0.9), rgba(46, 36, 57, 0.82));
  color: #f1b6d2;
}

:root[data-theme="dark"] #about .section-heading .eyebrow {
  border-color: var(--line);
  background: rgba(241, 182, 210, 0.08);
  color: #f0afd0;
}

:root[data-theme="dark"] .about-intro {
  background:
    radial-gradient(ellipse at 100% 0, rgba(172, 105, 147, 0.2), transparent 45%),
    rgba(34, 28, 44, 0.88);
}

:root[data-theme="dark"] .about-details {
  background:
    radial-gradient(ellipse at 100% 0, rgba(129, 113, 181, 0.2), transparent 45%),
    rgba(34, 28, 44, 0.88);
}

:root[data-theme="dark"] .skill-card:nth-child(1) {
  background: linear-gradient(150deg, rgba(48, 37, 57, 0.94), rgba(39, 32, 49, 0.9));
}

:root[data-theme="dark"] .skill-card:nth-child(2) {
  background: linear-gradient(150deg, rgba(43, 42, 63, 0.94), rgba(35, 34, 52, 0.9));
}

:root[data-theme="dark"] .skill-card:nth-child(3) {
  background: linear-gradient(150deg, rgba(58, 38, 53, 0.94), rgba(43, 32, 45, 0.9));
}

:root[data-theme="dark"] .skill-card:nth-child(4) {
  background: linear-gradient(150deg, rgba(37, 53, 49, 0.94), rgba(31, 42, 41, 0.9));
}

:root[data-theme="dark"] .skill-card::after {
  color: rgba(241, 182, 210, 0.55);
}

:root[data-theme="dark"] .contact-section::before {
  background: radial-gradient(circle, rgba(156, 140, 255, 0.18), transparent 70%);
}

@media (max-width: 900px) {
  .profile-card::after {
    right: -1.5rem;
  }
}

@media (max-width: 700px) {
  .hero-text {
    padding-left: 0;
  }

  .hero-content {
    gap: 2.5rem;
  }

  .profile-card::after {
    right: -0.9rem;
    width: 58px;
    height: 58px;
    font-size: 1.25rem;
  }

  .skills-grid {
    gap: 0.85rem;
  }

  .skill-card {
    min-height: 0;
  }
}

@media (max-width: 560px) {
  .navbar {
    min-height: 70px;
  }

  .nav-menu a::after {
    display: none;
  }

  .hero-note {
    font-size: 0.76rem;
  }

  .hero-text h1 {
    font-size: clamp(2.75rem, 13vw, 4.15rem);
  }

  .hero-footer {
    align-items: center;
  }
}

@keyframes note-sparkle {
  0%, 100% {
    opacity: 0.65;
    transform: scale(0.9) rotate(0);
  }

  50% {
    opacity: 1;
    transform: scale(1.18) rotate(18deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-note span {
    animation: none;
  }

  .project-card:hover .project-art span,
  .skill-card:hover .icon {
    transform: none;
  }
}

.about-hobby {
  display: flex;
  min-height: 0;
  align-items: center;
  gap: 1.25rem;
  margin-top: 1.2rem;
  padding: 1.4rem 1.7rem;
  border-color: rgba(202, 160, 194, 0.26);
  background:
    radial-gradient(ellipse at 100% 0, rgba(220, 202, 255, 0.38), transparent 42%),
    linear-gradient(110deg, rgba(247, 245, 243, 0.95), rgba(245, 227, 231, 0.78));
}

.hobby-icon {
  display: grid;
  width: 3.6rem;
  height: 3.6rem;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid rgba(202, 160, 194, 0.25);
  border-radius: 1.2rem;
  background: rgba(255, 255, 255, 0.58);
  font-size: 1.8rem;
}

.about-hobby .card-index {
  margin-bottom: 0.35rem;
}

.about-hobby h3 {
  margin-bottom: 0.2rem;
}

.hobby-sparkle {
  margin-left: auto;
  color: #c793bf;
  font-size: 1.5rem;
  animation: note-sparkle 2s ease-in-out infinite;
}

:root[data-theme="dark"] .about-hobby {
  border-color: rgba(241, 182, 210, 0.2);
  background:
    radial-gradient(ellipse at 100% 0, rgba(129, 113, 181, 0.22), transparent 42%),
    linear-gradient(110deg, rgba(34, 28, 44, 0.92), rgba(48, 37, 57, 0.88));
}

:root[data-theme="dark"] .hobby-icon {
  border-color: rgba(241, 182, 210, 0.2);
  background: rgba(255, 255, 255, 0.06);
}

:root[data-theme="dark"] .hobby-sparkle {
  color: #f0afd0;
}

@media (max-width: 560px) {
  .about-hobby {
    gap: 0.9rem;
    padding: 1.2rem;
  }

  .hobby-icon {
    width: 3rem;
    height: 3rem;
    border-radius: 1rem;
    font-size: 1.5rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hobby-sparkle {
    animation: none;
  }
}
