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

body,
html {
  width: 100%;
  min-height: 100%;
  background-color: #f7f9fc;
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  color: #1c1e24;
  scroll-behavior: smooth;
}

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

.gradient-bg-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  background-color: #f7f9fc;
  z-index: 1;
}

.blur-wrapper {
  width: 100%;
  height: 100%;
  filter: blur(140px);
  opacity: 1;
}

.blob {
  position: absolute;
  border-radius: 50%;
  mix-blend-mode: multiply;
}

.blob-blue {
  top: -10%;
  left: 10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(0, 150, 255, 0.75) 0%, rgba(0, 150, 255, 0) 70%);
  animation: float-blue 28s infinite alternate ease-in-out;
}

.blob-orange {
  right: 15%;
  bottom: -5%;
  width: 550px;
  height: 550px;
  background: radial-gradient(circle, rgba(255, 133, 27, 0.7) 0%, rgba(255, 133, 27, 0) 70%);
  animation: float-orange 24s infinite alternate ease-in-out;
}

.blob-purple {
  top: 30%;
  right: 20%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(176, 38, 255, 0.75) 0%, rgba(176, 38, 255, 0) 70%);
  animation: float-purple 32s infinite alternate ease-in-out;
}

.blob-red {
  bottom: 20%;
  left: -5%;
  width: 550px;
  height: 550px;
  background: radial-gradient(circle, rgba(255, 65, 54, 0.7) 0%, rgba(255, 65, 54, 0) 70%);
  animation: float-red 26s infinite alternate ease-in-out;
}

@keyframes float-blue {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(150px, 100px) scale(1.1); }
  100% { transform: translate(-50px, 50px) scale(0.9); }
}

@keyframes float-orange {
  0% { transform: translate(0, 0) scale(1); }
  60% { transform: translate(-180px, -120px) scale(0.85); }
  100% { transform: translate(50px, -30px) scale(1.05); }
}

@keyframes float-purple {
  0% { transform: translate(0, 0) scale(1); }
  40% { transform: translate(-120px, 150px) scale(1.15); }
  80% { transform: translate(80px, -60px) scale(0.9); }
  100% { transform: translate(0, 0) scale(1); }
}

@keyframes float-red {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(160px, -150px) scale(1.1); }
  100% { transform: translate(0, 0) scale(1); }
}

.logo-container {
  position: absolute;
  top: 50%;
  left: -132px;
  transform: translateY(-50%);
  width: 66px;
  height: 66px;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  color: #1c1e24;
}

.logo-whale-svg {
  width: 64px;
  height: 64px;
  transition: transform 0.3s ease;
  overflow: visible;
}

.whale-bubble {
  opacity: 0;
  transform-origin: center bottom;
}

.logo-container:hover .logo-whale-svg {
  transform: scale(1.03);
}

.logo-container:hover .bubble-1 {
  animation: bubble-rise-1 1.7s infinite linear;
}

.logo-container:hover .bubble-2 {
  animation: bubble-rise-2 1.7s infinite linear 0.4s;
}

.logo-container:hover .bubble-3 {
  animation: bubble-rise-3 1.7s infinite linear 0.8s;
}

@keyframes bubble-rise-1 {
  0% { transform: translate(0, -4px) scale(0.6); opacity: 0; }
  20% { opacity: 0.9; }
  80% { opacity: 0.8; }
  100% { transform: translate(-6px, -30px) scale(1); opacity: 0; }
}

@keyframes bubble-rise-2 {
  0% { transform: translate(3px, -4px) scale(0.5); opacity: 0; }
  20% { opacity: 0.9; }
  80% { opacity: 0.8; }
  100% { transform: translate(8px, -36px) scale(1.1); opacity: 0; }
}

@keyframes bubble-rise-3 {
  0% { transform: translate(-2px, -4px) scale(0.7); opacity: 0; }
  20% { opacity: 0.9; }
  80% { opacity: 0.7; }
  100% { transform: translate(-2px, -30px) scale(1); opacity: 0; }
}

.content-layer {
  position: relative;
  z-index: 2;
  width: 100%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.navbar {
  position: sticky;
  top: 0;
  z-index: 20;
  width: calc(100% - 40px);
  max-width: 1200px;
  margin: 20px auto 0;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.nav-left {
  display: flex;
  align-items: center;
  flex: 1;
  position: relative;
  min-height: 66px;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  list-style: none;
  width: max-content;
  padding: 8px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.34);
  box-shadow: 0 14px 34px rgba(80, 88, 110, 0.07);
  backdrop-filter: blur(16px) saturate(1.12);
  -webkit-backdrop-filter: blur(16px) saturate(1.12);
}

.nav-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 54px;
  min-height: 30px;
  padding: 0 12px;
  border-radius: 18px;
  color: #5c6475;
  font-size: 0.82rem;
  font-weight: 650;
  transition: color 0.25s ease, background 0.25s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: #1c1e24;
  background: rgba(255, 255, 255, 0.56);
}

.nav-right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex: 1;
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.22);
  color: #1c1e24;
  padding: 8px 14px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  box-shadow: 0 10px 24px rgba(80, 88, 110, 0.04);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: background 0.25s ease;
}

.lang-switch:hover {
  background: rgba(255, 255, 255, 0.38);
}

.lang-option {
  border: 0;
  background: transparent;
  color: #9aa3b2;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  padding: 0;
}

.lang-option.active {
  color: #1c1e24;
}

.lang-divider {
  color: #9aa3b2;
  font-weight: 500;
}

.main-hero {
  flex: 1;
  max-width: 1200px;
  width: 100%;
  min-height: calc(100vh - 90px);
  margin: 0 auto;
  padding: 0 20px 50px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
  scroll-margin-top: 96px;
}

.hero-left-image {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.profile-image {
  width: 450px;
  height: 450px;
  border-radius: 50%;
  object-fit: cover;
  background: rgba(255, 255, 255, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(10px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.05);
  display: block;
}

.hero-right-text {
  flex: 1.2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}

.tag-line {
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.8);
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 0.85rem;
  color: #7b8497;
  font-weight: 500;
  margin-bottom: 24px;
}

.contact-links {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 10px;
  min-height: 24px;
  margin-top: 20px;
  overflow: visible;
}

.contact-links a,
.email-trigger {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 24px;
  color: #5c6475;
  border: 0;
  background: transparent;
  font-size: 0.82rem;
  font-weight: 650;
  font-family: inherit;
  line-height: 1;
  white-space: nowrap;
  transition: color 0.2s ease;
}

.email-trigger { cursor: pointer; }

.contact-links a:hover,
.email-trigger:hover,
.email-contact.is-open .email-trigger {
  color: #252b38;
}

.contact-links svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}

.email-contact {
  position: relative;
  display: flex;
  align-items: center;
  height: 24px;
  flex: 0 0 auto;
  overflow: visible;
}

.email-contact:hover,
.email-contact:focus-within,
.email-contact.is-open { z-index: 30; }

.email-popover {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  z-index: 30;
  display: grid;
  gap: 10px;
  min-width: 230px;
  padding: 13px;
  border: 1px solid rgba(255, 255, 255, 0.82);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 16px 34px rgba(45, 56, 83, 0.15);
  color: #485166;
  font-size: 0.78rem;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-4px);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
}

.email-popover::before {
  position: absolute;
  right: 0;
  bottom: 100%;
  left: 0;
  height: 8px;
  content: "";
}

.email-contact:hover .email-popover,
.email-contact.is-open .email-popover,
.email-contact:focus-within .email-popover {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.email-address {
  color: #3f4960;
  font-weight: 650;
  white-space: nowrap;
}

.copy-email {
  width: 100%;
  padding: 7px 9px;
  border: 0;
  border-radius: 7px;
  background: #5f75bb;
  color: #fff;
  cursor: pointer;
  font: inherit;
  font-weight: 700;
}

.copy-email:hover { background: #5068b0; }

.hero-right-text h1 {
  font-size: 4rem;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: 0;
  margin-bottom: 24px;
  white-space: pre-line;
  background: linear-gradient(135deg, #1c1e24 0%, #434956 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-right-text p {
  font-size: 1.2rem;
  color: #5c6475;
  line-height: 1.6;
  max-width: 520px;
}

.section {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 58px 20px 78px;
  scroll-margin-top: 86px;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 24px;
}

.eyebrow {
  margin-bottom: 8px;
  color: #7b8497;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h2 {
  font-size: clamp(1.55rem, 3vw, 2.25rem);
  line-height: 1.2;
}

h3 {
  margin-bottom: 8px;
  font-size: 1.05rem;
}

.timeline,
.grid {
  display: grid;
  gap: 14px;
}

.education-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.education-card {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.48);
  backdrop-filter: blur(12px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.05);
}

.school-image {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.education-card-content {
  padding: 22px;
}

.education-card-content h3 {
  margin-bottom: 18px;
  font-size: 1.22rem;
}

.education-details {
  display: grid;
  gap: 13px;
}

.education-details div {
  display: block;
}

.education-details dt {
  display: inline;
  color: #7b8497;
  font-size: 0.92rem;
  font-weight: 700;
}

.education-details dt::after {
  content: "：";
}

.education-details dd {
  display: inline;
  margin: 0;
  color: #5c6475;
  font-size: 0.92rem;
  line-height: 1.65;
}

.education-card .time {
  font-size: 0.92rem;
}

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

.grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.timeline-item,
.card {
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.48);
  backdrop-filter: blur(12px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.05);
}

.timeline-item p,
.card p,
.about-layout p {
  color: #5c6475;
  font-size: 0.92rem;
  line-height: 1.65;
}

.degree-line {
  margin-bottom: 10px;
  color: #1c1e24;
  font-weight: 700;
}

.school-link {
  color: #1c1e24;
  border-bottom: 1px solid rgba(28, 30, 36, 0.28);
  transition: color 0.2s ease, border-color 0.2s ease;
}

.school-link:hover {
  color: #5c6475;
  border-color: rgba(92, 100, 117, 0.45);
}

.time,
.tag {
  display: block;
  margin-bottom: 7px;
  color: #7b8497;
  font-size: 0.76rem;
  font-weight: 700;
}

.experience-timeline {
  position: relative;
  display: grid;
  gap: 22px;
  width: 100%;
}

.experience-item {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 150px minmax(0, 1fr);
  align-items: start;
}

.experience-item::before,
.experience-item::after {
  position: absolute;
  left: 50%;
  z-index: 0;
  width: 1px;
  content: "";
  background: rgba(92, 100, 117, 0.28);
}

.experience-item::before {
  top: -22px;
  height: 22px;
}

.experience-item::after {
  top: 25px;
  bottom: -22px;
}

.experience-item:first-child::before { display: none; }

.timeline-center {
  grid-column: 2;
  grid-row: 1;
  display: grid;
  justify-items: center;
  z-index: 1;
  gap: 12px;
  padding-top: 0;
}

.timeline-date {
  display: block;
  margin: 0;
  color: #7b8497;
  font-size: 1rem;
  font-weight: 700;
  white-space: nowrap;
}

.experience-item-left .experience-content { grid-column: 1; grid-row: 1; }
.experience-item-right .experience-content { grid-column: 3; grid-row: 1; }

.experience-content { padding-top: 64px; }

.timeline-marker {
  width: 11px;
  height: 11px;
  border: 2px solid #fff;
  border-radius: 50%;
  background: #6c87d9;
  box-shadow: 0 0 0 4px rgba(108, 135, 217, 0.16);
}

.experience-card {
  padding: 22px 24px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.48);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.05);
  backdrop-filter: blur(12px);
}

.role {
  margin-bottom: 14px;
  color: #69748a;
  font-size: 0.9rem;
  font-weight: 700;
}

.experience-card ul {
  display: grid;
  gap: 8px;
  padding-left: 18px;
  color: #5c6475;
  font-size: 0.92rem;
  line-height: 1.65;
}

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

.project-card {
  display: flex;
  min-height: 260px;
  flex-direction: column;
  padding: 24px;
  border-radius: 14px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.project-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 26px 56px rgba(49, 61, 94, 0.12);
}

.project-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 17px;
}

.project-card .tag { margin: 0; }

.project-date {
  color: #7b8497;
  font-size: 0.75rem;
  font-weight: 700;
  white-space: nowrap;
}

.project-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: auto;
  padding-top: 18px;
}

.project-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: auto;
}

.project-links a {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #596986;
  font-size: 0.78rem;
  font-weight: 700;
  transition: color 0.2s ease;
}

.project-links a:hover { color: #28344d; }

.project-links svg {
  width: 15px;
  height: 15px;
}

.project-links + .project-stack {
  margin-top: 8px;
  padding-top: 0;
}

.project-stack span {
  padding: 5px 8px;
  border-radius: 6px;
  background: rgba(101, 124, 184, 0.1);
  color: #53617c;
  font-size: 0.74rem;
  font-weight: 700;
}

.skills-section { overflow: hidden; }

.skills-cloud {
  position: relative;
  display: flex;
  min-height: 360px;
  align-items: center;
  justify-content: center;
}

.skill-card {
  position: absolute;
  z-index: 1;
  padding: 10px 15px;
  border: 1px solid rgba(255, 255, 255, 0.75);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.55);
  box-shadow: 0 10px 24px rgba(67, 76, 101, 0.1);
  color: #596477;
  cursor: pointer;
  font: inherit;
  font-size: 0.88rem;
  font-weight: 700;
  transition: transform 0.25s ease, color 0.25s ease, background 0.25s ease;
  animation: skill-float 5s ease-in-out infinite alternate;
}

.skill-card:hover,
.skill-card:focus-visible {
  outline: none;
  background: rgba(255, 255, 255, 0.86);
  color: #26304a;
  transform: translateY(-5px) scale(1.04);
}

.skill-card-1 { top: 20%; left: 18%; animation-delay: -1.2s; }
.skill-card-2 { top: 23%; right: 18%; animation-delay: -3.3s; }
.skill-card-3 { top: 43%; left: 8%; animation-delay: -2s; }
.skill-card-4 { top: 48%; right: 9%; animation-delay: -4.1s; }
.skill-card-5 { bottom: 17%; left: 22%; animation-delay: -3.7s; }
.skill-card-6 { top: 50%; left: 39%; animation-delay: -0.5s; }
.skill-card-7 { bottom: 23%; right: 24%; animation-delay: -2.5s; }
.skill-card-8 { top: 36%; right: 35%; animation-delay: -1.8s; }

@keyframes skill-float {
  from { margin-top: -4px; }
  to { margin-top: 5px; }
}

.skill-modal {
  position: fixed;
  inset: 0;
  width: min(440px, calc(100% - 40px));
  height: max-content;
  margin: auto;
  padding: 30px;
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 18px;
  background: rgba(250, 251, 255, 0.96);
  box-shadow: 0 26px 80px rgba(33, 42, 66, 0.25);
  color: #1c1e24;
}

.skill-modal::backdrop { background: rgba(31, 36, 51, 0.28); backdrop-filter: blur(5px); }

.skill-modal-close {
  position: absolute;
  top: 13px;
  right: 15px;
  border: 0;
  background: transparent;
  color: #727c90;
  cursor: pointer;
  font-size: 1.55rem;
  line-height: 1;
}

.skill-modal-eyebrow { margin-bottom: 8px; color: #73809a; font-size: 0.78rem; font-weight: 700; }
.skill-modal h3 { margin-bottom: 14px; font-size: 1.3rem; }
.skill-modal p:last-child { color: #596477; font-size: 0.95rem; line-height: 1.75; }

.tag {
  width: max-content;
  padding: 6px 10px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.6);
}

.about-layout {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: 28px;
  align-items: start;
}

.interest-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.interest-list span {
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.55);
  font-size: 0.9rem;
  font-weight: 700;
}

.about-subtitle { margin-top: 8px; color: #707b90; font-size: 1rem; }

.about-profile-card,
.sport-card,
.superpower-card {
  border: 1px solid rgba(255, 255, 255, 0.72);
  background: rgba(255, 255, 255, 0.42);
  box-shadow: 0 20px 50px rgba(31, 42, 72, 0.05);
  backdrop-filter: blur(12px);
}

.about-profile-card { margin-bottom: 48px; padding: 26px; border-radius: 16px; }
.identity-badges { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 23px; }
.identity-badge { position: relative; padding: 11px 14px; border: 1px solid rgba(82, 101, 145, 0.16); border-radius: 999px; background: rgba(255, 255, 255, 0.45); color: #45536f; cursor: default; font-size: 0.84rem; letter-spacing: 0.05em; }
.identity-badge:focus-visible { outline: 2px solid #8398d2; outline-offset: 3px; }
.identity-tip { position: absolute; bottom: calc(100% + 9px); left: 0; z-index: 3; width: max-content; max-width: 260px; padding: 9px 11px; border-radius: 9px; background: #38445d; color: #fff; font-size: 0.76rem; font-weight: 600; letter-spacing: 0; line-height: 1.45; opacity: 0; pointer-events: none; transform: translateY(4px); transition: opacity 0.2s ease, transform 0.2s ease; }
.identity-badge:hover .identity-tip, .identity-badge:focus .identity-tip { opacity: 1; transform: translateY(0); }
.about-profile-card p { max-width: 620px; color: #394156; font-size: clamp(1.15rem, 2.2vw, 1.55rem); font-weight: 650; line-height: 1.5; }

.about-block-heading { display: flex; align-items: baseline; gap: 12px; margin-bottom: 18px; }
.about-block-heading > span { color: #273048; font-size: clamp(1.2rem, 2vw, 1.5rem); font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; }
.about-block-heading p { color: #778298; font-size: 0.88rem; }

.sports-grid { display: grid; grid-template-columns: 1.35fr repeat(3, minmax(0, 1fr)); gap: 16px; margin-bottom: 58px; }
.sport-card { position: relative; min-height: 205px; overflow: hidden; padding: 20px; border-radius: 14px; transition: transform 0.28s ease, background 0.28s ease; }
.sport-card:hover { background: rgba(255, 255, 255, 0.7); }
.sport-index { display: block; margin-bottom: 24px; color: #8d97aa; font-size: 0.72rem; font-weight: 800; }
.sport-card h3 { margin-bottom: 8px; color: #2d354a; font-size: 0.84rem; letter-spacing: 0.08em; }
.sport-card strong { display: block; margin-bottom: 8px; color: #425173; font-size: 1.05rem; }
.sport-card p { position: relative; z-index: 1; color: #6a758a; font-size: 0.84rem; font-style: italic; line-height: 1.55; }
.sport-card-swimming { background: linear-gradient(135deg, rgba(232, 244, 255, 0.75), rgba(255, 255, 255, 0.4)); }
.sport-card-swimming strong { font-size: clamp(2rem, 3.5vw, 3.1rem); letter-spacing: -0.06em; }
.water-wave { position: absolute; right: -15%; bottom: -34px; width: 145%; height: 82px; border-radius: 45% 55% 0 0; background: rgba(105, 165, 218, 0.24); transform: rotate(-3deg); transition: transform 0.7s ease; }
.sport-card-swimming:hover .water-wave { transform: translateX(-8%) rotate(3deg); }
.sport-card-badminton .shuttle-dot { position: absolute; right: 20px; bottom: 24px; width: 12px; height: 12px; border: 3px solid rgba(110, 130, 181, 0.55); border-radius: 50%; transition: transform 0.45s ease; }
.sport-card-badminton:hover .shuttle-dot { transform: translate(-12px, -15px); }
.sport-card-skate:hover { transform: rotate(-2deg) translateY(-4px); }

.travel-heading { margin-bottom: 16px; }
.travel-layout { display: grid; grid-template-columns: 0.8fr 1.5fr; gap: 26px; align-items: stretch; margin-bottom: 48px; }
.travel-copy { display: flex; flex-direction: column; justify-content: center; padding: 24px; border-radius: 14px; background: rgba(255, 255, 255, 0.3); }
.travel-copy strong { color: #344263; font-size: clamp(3rem, 6vw, 4.8rem); line-height: 0.9; letter-spacing: -0.07em; }
.travel-copy > span { margin: 8px 0 26px; color: #5f6d87; font-size: 0.92rem; font-weight: 700; }
.travel-copy > p { color: #556177; font-size: 0.94rem; line-height: 1.6; }
.travel-milestone { display: grid; gap: 5px; margin-top: 27px; padding-top: 18px; border-top: 1px solid rgba(89, 104, 136, 0.16); }
.travel-milestone span { color: #8590a4; font-size: 0.73rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; }
.travel-milestone b { color: #405172; font-size: 0.86rem; line-height: 1.4; }

.travel-map { height: 350px; min-height: 300px; overflow: hidden; border: 1px solid rgba(255, 255, 255, 0.72); border-radius: 14px; background: rgba(255, 255, 255, 0.38); }
.travel-map .leaflet-tile { mix-blend-mode: normal; }
.travel-map .leaflet-control-zoom a { color: #52617c; }
.travel-map .leaflet-popup-content-wrapper, .travel-map .leaflet-popup-tip { background: rgba(255, 255, 255, 0.95); color: #3e4a62; }
.travel-map .leaflet-popup-content { margin: 10px 13px; font-family: inherit; font-size: 0.82rem; font-weight: 700; }
.travel-map .leaflet-tooltip { border: 0; border-radius: 6px; background: rgba(50, 63, 91, 0.86); color: #fff; box-shadow: none; font-family: inherit; font-size: 0.72rem; font-weight: 700; }
.travel-map .leaflet-tooltip-top::before { border-top-color: rgba(50, 63, 91, 0.86); }
.map-land { fill: rgba(153, 171, 203, 0.2); stroke: rgba(90, 110, 148, 0.25); stroke-width: 1.5; }
.map-route { fill: none; stroke: rgba(91, 117, 179, 0.45); stroke-width: 1.6; stroke-dasharray: 5 6; }
.map-stop circle { fill: #657fca; stroke: #fff; stroke-width: 3; }
.map-stop text { fill: #59677f; font-size: 12px; font-weight: 700; }
.map-stop-secondary circle { fill: #b078b6; }

.travel-gallery { display: grid; grid-auto-columns: minmax(210px, 28%); grid-auto-flow: column; gap: 14px; margin: -24px 0 52px; padding: 3px 2px 10px; overflow-x: auto; scrollbar-color: rgba(99, 118, 162, 0.55) transparent; scrollbar-width: thin; scroll-snap-type: x mandatory; }
.travel-gallery figure { position: relative; height: 185px; margin: 0; overflow: hidden; border-radius: 13px; scroll-snap-align: start; }
.travel-gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.45s ease, filter 0.45s ease; }
.travel-gallery figcaption { position: absolute; right: 0; bottom: 0; left: 0; padding: 28px 13px 12px; background: linear-gradient(transparent, rgba(17, 25, 43, 0.72)); color: #fff; font-size: 0.78rem; font-weight: 700; opacity: 0; transform: translateY(8px); transition: opacity 0.25s ease, transform 0.25s ease; }
.travel-gallery figure:hover img { transform: scale(1.06); filter: saturate(1.08); }
.travel-gallery figure:hover figcaption { opacity: 1; transform: translateY(0); }

.superpower-card { padding: 28px; border-radius: 16px; }
.superpower-label { display: block; margin-bottom: 18px; color: #7f8ba1; font-size: 0.75rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; }
.superpower-card p { max-width: 720px; margin-bottom: 16px; color: #30394f; font-size: clamp(1.25rem, 2.6vw, 1.9rem); font-weight: 700; line-height: 1.35; }
.superpower-keywords { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.superpower-keywords span { padding: 6px 9px; border-radius: 7px; background: rgba(103, 124, 181, 0.1); color: #52617e; font-size: 0.76rem; font-weight: 750; }
.superpower-card small { display: block; max-width: 760px; color: #68758d; font-size: 0.9rem; line-height: 1.7; }

@media (max-width: 968px) {
  .navbar {
    gap: 18px;
    align-items: center;
    width: calc(100% - 24px);
    margin-top: 12px;
    padding: 0 12px;
  }

  .nav-left {
    flex: 0 0 auto;
  }

  .nav-links {
    flex-wrap: wrap;
    gap: 4px;
    padding: 6px;
  }

  .nav-links a {
    min-width: 46px;
    min-height: 28px;
    padding: 0 9px;
    font-size: 0.78rem;
  }

  .main-hero {
    flex-direction: column-reverse;
    text-align: center;
    padding-top: 40px;
  }

  .hero-right-text {
    align-items: center;
  }

  .contact-links { justify-content: center; }

  .email-popover {
    right: 0;
    left: auto;
    transform: translateY(-4px);
  }

  .email-contact:hover .email-popover,
  .email-contact.is-open .email-popover,
  .email-contact:focus-within .email-popover { transform: translateY(0); }

  .profile-image {
    width: 320px;
    height: 320px;
  }

  .education-grid,
  .grid.two,
  .grid.three,
  .project-grid,
  .about-layout {
    grid-template-columns: 1fr;
  }

  .sports-grid,
  .travel-layout { grid-template-columns: 1fr; }

  .travel-map { min-height: 280px; }
  .travel-map { height: 300px; }
  .travel-gallery { grid-auto-columns: minmax(230px, 76%); }

  .skills-cloud { min-height: 480px; }
  .skill-card-1 { top: 11%; left: 9%; }
  .skill-card-2 { top: 25%; right: 8%; }
  .skill-card-3 { top: 39%; left: 7%; }
  .skill-card-4 { top: 54%; right: 8%; }
  .skill-card-5 { bottom: 10%; left: 14%; }
  .skill-card-6 { top: 31%; left: 36%; }
  .skill-card-7 { bottom: 25%; right: 19%; }
  .skill-card-8 { top: 68%; left: 24%; }

  .experience-timeline { padding-left: 30px; }

  .experience-timeline::before {
    display: none;
  }

  .experience-item {
    display: block;
    padding-top: 34px;
  }

  .experience-item::before,
  .experience-item::after { left: 8px; }

  .experience-item::before { top: -22px; height: 22px; }

  .experience-item::after { top: 58px; bottom: -22px; }

  .timeline-center {
    position: absolute;
    top: 0;
    left: -30px;
    display: block;
    width: 100%;
    text-align: left;
  }

  .timeline-date { margin-left: 24px; }

  .timeline-marker {
    position: absolute;
    top: 30px;
    left: 3px;
  }
}

@media (max-width: 640px) {
  .navbar {
    padding: 0;
    flex-direction: column;
  }

  .nav-left {
    width: 100%;
    justify-content: center;
  }

  .logo-container {
    position: relative;
    top: auto;
    left: auto;
    transform: none;
  }

  .nav-links {
    width: 100%;
    max-width: 360px;
  }

  .main-hero {
    min-height: auto;
  }

  .hero-right-text h1 {
    font-size: 3rem;
  }

}
