:root {
  --text: rgba(255,255,255,.94);
  --muted: rgba(255,255,255,.66);
  --faint: rgba(255,255,255,.18);
  --panel: rgba(13,16,22,.36);
  --panel-strong: rgba(10,12,18,.54);
  --stroke: rgba(255,255,255,.16);
  --transition-ms: 8800ms;
  --ease-cinema: cubic-bezier(.7, 0, .16, 1);
  --app-height: 100vh;
}

* { box-sizing: border-box; }
html, body {
  width: 100%;
  height: 100%;
  max-width: 100%;
  margin: 0;
  padding: 0;
}
html { scroll-behavior: auto; }
body {
  overflow: hidden;
  background: #090b0f;
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  will-change: transform;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.animate-gpu {
  transform: translateZ(0);
  backface-visibility: hidden;
  will-change: transform, opacity;
}

button {
  font: inherit;
}

.intro-overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: #06070a;
  opacity: 1;
  visibility: visible;
  transition: opacity 860ms ease, visibility 0s linear 0s;
}

.intro-overlay.is-leaving {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 860ms ease, visibility 0s linear 860ms;
}

.intro-bg-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(18px) saturate(1.08) brightness(.72);
  transform: scale(1.08);
}

.intro-atmosphere {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 50% 58%, rgba(255,255,255,.08), transparent 24%),
    radial-gradient(circle at 50% 48%, transparent 34%, rgba(0,0,0,.24) 72%, rgba(0,0,0,.74) 100%),
    linear-gradient(180deg, rgba(0,0,0,.28), rgba(0,0,0,.12) 42%, rgba(0,0,0,.62));
}

.intro-enter-btn {
  position: relative;
  width: 178px;
  height: 66px;
  margin-top: 30vh;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 0 24px;
  color: rgba(255,255,255,.92);
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 22px;
  background:
    linear-gradient(135deg, rgba(45,112,78,.54), rgba(13,47,36,.46) 48%, rgba(255,255,255,.055)),
    rgba(9,28,24,.42);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.18),
    inset 0 -18px 34px rgba(0,0,0,.06),
    0 24px 80px rgba(0,0,0,.24);
  backdrop-filter: blur(24px) saturate(1.18);
  cursor: pointer;
  transition: transform 260ms ease, border-color 260ms ease, box-shadow 260ms ease, background 260ms ease;
}

.intro-enter-btn::before {
  content: none;
}

.intro-enter-btn:hover {
  transform: scale(1.045);
  border-color: rgba(255,255,255,.24);
  background:
    linear-gradient(135deg, rgba(54,128,90,.62), rgba(15,55,42,.52) 48%, rgba(255,255,255,.075)),
    rgba(10,34,28,.5);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.22),
    inset 0 -18px 34px rgba(0,0,0,.05),
    0 0 26px rgba(102,210,148,.13),
    0 26px 82px rgba(0,0,0,.28);
}

.intro-enter-btn:active {
  transform: scale(.98);
}

.intro-enter-cn,
.intro-enter-en {
  position: relative;
  z-index: 1;
  display: block;
  line-height: 1;
  letter-spacing: 0;
  text-align: center;
  text-shadow: 0 1px 18px rgba(0,0,0,.32);
}

.intro-enter-cn {
  font-size: 18px;
  font-weight: 520;
}

.intro-enter-en {
  font-size: 11px;
  font-weight: 600;
}

.site-shell {
  position: relative;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  isolation: isolate;
}

.video-stage,
.bg-video,
.cinema-vignette,
.grain {
  position: fixed;
  inset: 0;
}

.video-stage {
  z-index: -3;
  overflow: hidden;
  background: #06070a;
}

.bg-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  z-index: 0;
  transform: scale(1.018);
  transition: opacity 680ms ease, transform 1600ms ease, visibility 0s linear 680ms;
  will-change: opacity, transform;
}

.bg-video.is-visible {
  opacity: 1;
  visibility: visible;
  z-index: 10;
  transform: scale(1);
  transition: opacity 680ms ease, transform 1600ms ease, visibility 0s linear 0s;
}

#transitionVideo {
  z-index: 20;
}

#transitionVideo.is-visible {
  z-index: 20;
}

#scene3LoopVideo.is-visible {
  z-index: 11;
}

.cinema-vignette {
  z-index: 2;
  pointer-events: none;
  background:
    radial-gradient(circle at 50% 48%, transparent 34%, rgba(0,0,0,.22) 72%, rgba(0,0,0,.72) 100%),
    linear-gradient(90deg, rgba(0,0,0,.68), transparent 24%, transparent 72%, rgba(0,0,0,.56)),
    linear-gradient(180deg, rgba(0,0,0,.42), transparent 30%, transparent 68%, rgba(0,0,0,.58));
}

.grain {
  z-index: 3;
  pointer-events: none;
  opacity: .12;
  mix-blend-mode: soft-light;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 240 240' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='240' height='240' filter='url(%23n)' opacity='.75'/%3E%3C/svg%3E");
}

.topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: clamp(20px, 3vw, 42px) clamp(22px, 5vw, 72px);
  pointer-events: none;
}

.brand,
.topbar nav {
  pointer-events: auto;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  text-decoration: none;
  font-size: 12px;
  letter-spacing: .2em;
  text-transform: uppercase;
}

.brand-mark {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--text);
  box-shadow: 0 0 24px rgba(255,255,255,.8);
}

.topbar nav {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 9px 12px;
  border: 1px solid var(--stroke);
  border-radius: 999px;
  background: rgba(0,0,0,.18);
  backdrop-filter: blur(18px);
}

.nav-dot {
  width: 9px;
  height: 9px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255,255,255,.38);
  cursor: pointer;
  transition: width .35s ease, background .35s ease;
}

.nav-dot.is-active {
  width: 28px;
  background: rgba(255,255,255,.92);
}

.mobile-scene-controls {
  display: none;
}

.content-track {
  position: relative;
  z-index: 5;
  display: flex;
  width: 500vw;
  height: 100vh;
  transform: translate3d(0,0,0);
  will-change: transform;
}

.content-track.is-moving {
  transition: transform var(--transition-ms) var(--ease-cinema);
}

body[data-phase="scene2"] .content-track,
body[data-phase="transition"] .content-track,
body[data-phase="scene2-intro"] .content-track,
body[data-phase="scene2-idle"] .content-track {
  transform: translate3d(-100vw,0,0);
}

body[data-phase="scene3-idle"] .content-track,
body[data-phase="transition-2-3"] .content-track,
body[data-phase="transition-4-3"] .content-track {
  transform: translate3d(-200vw,0,0);
}

body[data-phase="scene4"] .content-track,
body[data-phase="scene4-idle"] .content-track,
body[data-phase="transition-3-4"] .content-track,
body[data-phase="transition-5-4"] .content-track {
  transform: translate3d(-300vw,0,0);
}

body[data-phase="scene5"] .content-track,
body[data-phase="scene5-idle"] .content-track,
body[data-phase="transition-4-5"] .content-track {
  transform: translate3d(-400vw,0,0);
}

.page {
  position: relative;
  flex: 0 0 100vw;
  height: 100vh;
  padding: clamp(96px, 12vh, 150px) clamp(22px, 5vw, 72px) clamp(32px, 7vh, 72px);
}

.page-home {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  align-items: end;
  gap: clamp(28px, 5vw, 72px);
}

.hero-copy {
  max-width: 560px;
  padding-bottom: clamp(18px, 6vh, 64px);
}

.eyebrow,
.small-label {
  margin: 0 0 16px;
  color: rgba(255,255,255,.72);
  font-size: 12px;
  line-height: 1;
  letter-spacing: .22em;
  text-transform: uppercase;
}

h1, h2, h3, p { margin-top: 0; }
h1 {
  max-width: 560px;
  margin-bottom: 22px;
  font-size: clamp(30px, 4.5vw, 56px);
  line-height: .96;
  letter-spacing: -.075em;
  font-weight: 540;
}

.home-title-line {
  display: block;
}

#home-title {
  position: relative;
  top: calc(clamp(-160px, -21vh, -120px) + 42mm);
  margin-bottom: -4px;
}

.home-title-line-offset {
  margin-left: 0;
  margin-top: 16px;
}

h2 {
  margin-bottom: 16px;
  font-size: 28px;
  letter-spacing: -.04em;
  font-weight: 520;
}

h3 {
  margin-bottom: 12px;
  font-size: 20px;
  letter-spacing: -.03em;
  font-weight: 520;
}

.lead {
  max-width: 620px;
  color: var(--muted);
  font-size: clamp(16px, 1.5vw, 20px);
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 34px;
}

.primary-btn {
  min-width: 172px;
  height: 48px;
  padding: 0 22px;
  color: #101318;
  border: 0;
  border-radius: 999px;
  background: rgba(255,255,255,.9);
  cursor: pointer;
  box-shadow: 0 18px 48px rgba(0,0,0,.22);
  transition: transform .28s ease, background .28s ease;
}

.primary-btn:hover { transform: translateY(-2px); background: #fff; }

.hint {
  position: relative;
  color: rgba(255,255,255,.62);
  font-size: 12px;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.hint::after {
  content: "";
  display: inline-block;
  width: 42px;
  height: 1px;
  margin-left: 13px;
  vertical-align: middle;
  background: rgba(255,255,255,.42);
  animation: breathe 1.8s ease-in-out infinite;
}

@keyframes breathe {
  0%,100% { transform: scaleX(.55); opacity: .3; }
  50% { transform: scaleX(1); opacity: .9; }
}

.glass-panel {
  border: 1px solid var(--stroke);
  background: linear-gradient(135deg, var(--panel), rgba(255,255,255,.06));
  box-shadow: 0 24px 80px rgba(0,0,0,.22);
  backdrop-filter: blur(24px) saturate(1.18);
}

.profile-card {
  align-self: end;
  justify-self: end;
  width: min(100%, 360px);
  margin-bottom: clamp(16px, 5vh, 60px);
  padding: 28px;
  border-radius: 30px;
  transform: translateX(20px);
}

.profile-card p,
.tile p {
  color: rgba(255,255,255,.67);
  line-height: 1.38;
}

.profile-card dl {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin: 24px 0 0;
}

.profile-card dt {
  color: rgba(255,255,255,.46);
  font-size: 11px;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.profile-card dd {
  margin: 7px 0 0;
  color: rgba(255,255,255,.86);
  font-size: 14px;
}

.page-work {
  display: block;
}

.work-layout {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 60px 6vw;
}

/* ========== Section Header (左侧 1/3) ========== */
.section-header {
  width: 30%;
  max-width: 360px;
  z-index: 21;
}

.section-header .eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 16px;
}

.section-header h2 {
  font-size: clamp(36px, 5vw, 58px);
  font-weight: 600;
  line-height: 1.1;
  margin: 0 0 16px 0;
  color: var(--text);
}

.section-header .section-subtitle {
  font-size: 16px;
  line-height: 1.6;
  color: var(--muted);
  margin: 0;
}

/* ========== Project Cards Grid (右侧 2/3) ========== */
.project-cards-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(260px, 330px));
  gap: 26px;
  z-index: 20;
}

.project-card {
  position: relative;
  width: 100%;
  min-height: 286px;
  display: flex;
  flex-direction: column;
  border-radius: 22px;
  overflow: hidden;
  cursor: pointer;
  background:
    linear-gradient(135deg, rgba(255,255,255,.1), rgba(255,255,255,.03) 38%, rgba(7,12,18,.54)),
    rgba(8, 12, 18, .52);
  border: 1px solid rgba(255,255,255,.14);
  box-shadow: 0 20px 60px rgba(0,0,0,.32), inset 0 1px 0 rgba(255,255,255,.12);
  backdrop-filter: blur(18px) saturate(1.18);
  transition: transform 300ms ease, box-shadow 300ms ease, border-color 300ms ease, background 300ms ease;
  will-change: transform;
}

.project-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(135deg, rgba(255,255,255,.18), transparent 32%, rgba(98,238,221,.08));
  opacity: .42;
}

.project-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255,255,255,.28);
  box-shadow:
    0 28px 78px rgba(0,0,0,.46),
    0 0 0 1px rgba(255,255,255,.08),
    0 0 36px rgba(92,231,214,.08);
}

.project-image-wrap {
  position: relative;
  aspect-ratio: 4 / 3;
  margin: 12px 12px 0;
  border-radius: 17px;
  overflow: hidden;
  background: rgba(255,255,255,.06);
}

.project-image-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(0,0,0,.08), rgba(0,0,0,.22));
}

.project-card-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1);
  transition: transform 360ms ease, filter 360ms ease;
}

.project-card:hover .project-card-image {
  transform: scale(1.04);
  filter: saturate(1.08) brightness(1.04);
}

.project-card-info {
  position: relative;
  z-index: 3;
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 18px 20px 20px;
}

.project-card-title {
  font-size: clamp(19px, 1.55vw, 23px);
  font-weight: 600;
  line-height: 1.18;
  margin: 0 0 9px;
  color: var(--text);
}

.project-card-description {
  font-size: 14px;
  line-height: 1.52;
  color: rgba(255,255,255,.66);
  margin: 0 0 16px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
}

.project-tags span {
  padding: 6px 9px;
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 999px;
  color: rgba(255,255,255,.7);
  background: rgba(255,255,255,.065);
  font-size: 11px;
  line-height: 1;
}

/* ========== Project Modal ========== */
.project-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  padding: clamp(18px, 4vw, 46px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 280ms ease;
}

.project-modal-backdrop {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 52% 36%, rgba(70,210,196,.12), transparent 34%),
    rgba(0,0,0,.68);
  backdrop-filter: blur(16px) saturate(1.1);
}

.project-modal-card {
  position: relative;
  width: min(60vw, 800px);
  height: min(60vh, 520px);
  max-height: 60vh;
  overflow: hidden;
  overflow-x: hidden;
  display: grid;
  grid-template-columns: minmax(200px, .86fr) minmax(260px, 1.14fr);
  background:
    linear-gradient(135deg, rgba(255,255,255,.12), rgba(255,255,255,.04) 42%, rgba(8,14,18,.68)),
    rgba(8,14,18,.62);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 24px;
  box-shadow: 0 30px 80px rgba(0,0,0,.5), inset 0 1px 0 rgba(255,255,255,.16);
  backdrop-filter: blur(20px) saturate(1.1);
  opacity: 0;
  transform: scale(.96) translateY(10px);
  transition: opacity 250ms ease, transform 250ms var(--ease-cinema);
  will-change: transform, opacity;
  transform-style: preserve-3d;
}

.project-modal-overlay.is-open {
  opacity: 1;
  pointer-events: auto;
}

.project-modal-overlay.is-open .project-modal-card {
  opacity: 1;
  transform: scale(1) translateY(0);
}

.project-modal-overlay.is-closing {
  opacity: 0;
}

.project-modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 10;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  background: rgba(0,0,0,.6);
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 50%;
  color: rgba(255,255,255,.92);
  cursor: pointer;
  transition: background 200ms ease, border-color 200ms ease, transform 200ms ease;
  backdrop-filter: blur(12px);
}

.project-modal-close:hover {
  background: rgba(0,0,0,.8);
  border-color: rgba(255,255,255,.32);
  transform: scale(1.1);
}

.project-modal-close svg {
  width: 20px;
  height: 20px;
}

.project-modal-media {
  position: relative;
  min-height: 0;
  height: 100%;
  background:
    radial-gradient(circle at 28% 20%, rgba(117,220,255,.18), transparent 26%),
    linear-gradient(160deg, rgba(33,68,126,.34), rgba(12,17,24,.58));
  overflow: hidden;
}

.project-modal-media::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, transparent 54%, rgba(0,0,0,.3));
}

.project-modal-media img,
.project-modal-media video {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
  display: block;
}

.project-modal-video-container {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.8);
}

.project-modal-video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 12px;
}

.project-modal-gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  padding: 12px;
  height: 100%;
}

.project-gallery-item {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-gallery-item:hover {
  transform: scale(1.02);
  box-shadow: 0 8px 24px rgba(0,0,0,0.3);
}

.project-gallery-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.project-modal-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.project-modal-content {
  min-height: 0;
  display: flex;
  flex-direction: column;
  padding: clamp(24px, 3vw, 34px) clamp(26px, 3.2vw, 40px) clamp(22px, 2.6vw, 32px);
}

.project-modal-kicker {
  margin: 0 0 8px;
  color: rgba(255,255,255,.62);
  font-size: 11px;
  letter-spacing: .2em;
  text-transform: uppercase;
}

.project-modal-title {
  max-width: calc(100% - 58px);
  font-size: clamp(28px, 2.8vw, 40px);
  font-weight: 600;
  line-height: 1.02;
  margin: 0 0 9px;
  color: var(--text);
  white-space: nowrap;
}

.project-modal-summary {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  margin: 0 0 14px;
  color: rgba(255,255,255,.76);
  font-size: clamp(14px, 1.15vw, 17px);
  line-height: 1.42;
}

.project-modal-grid {
  flex: 1 1 auto;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: repeat(2, minmax(118px, 1fr));
  gap: 10px;
  min-height: 0;
}

.project-detail-section {
  min-height: 118px;
  padding: 12px 13px 13px;
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 16px;
  background: rgba(255,255,255,.055);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08);
}

.project-detail-section h4 {
  margin: 0 0 8px;
  color: rgba(255,255,255,.84);
  font-size: 10.5px;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.project-detail-section p,
.project-detail-section li {
  color: rgba(255,255,255,.68);
  font-size: 12.5px;
  line-height: 1.38;
}

.project-detail-section p,
.project-detail-section ul {
  margin: 0;
}

.project-detail-section p {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
}

.project-detail-section ul {
  padding-left: 15px;
}

.project-detail-section li {
  margin-bottom: 2px;
}

.project-tech-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.project-tech-list span {
  padding: 5px 8px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 999px;
  color: rgba(255,255,255,.72);
  background: rgba(255,255,255,.07);
  font-size: 10.5px;
}

.project-modal-footer {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: auto;
  padding-top: 12px;
}

.project-status {
  color: rgba(156,255,235,.84);
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.project-modal-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.project-modal-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0 16px;
  font-size: 13px;
  font-weight: 600;
  color: rgba(255,255,255,.96);
  background: linear-gradient(135deg, rgba(45,112,78,.64), rgba(13,47,36,.56));
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 12px;
  text-decoration: none;
  cursor: pointer;
  transition: transform 200ms ease, background 200ms ease, box-shadow 200ms ease;
  box-shadow: 0 4px 12px rgba(0,0,0,.3);
}

.project-modal-cta-secondary {
  background: rgba(255,255,255,.08);
}

.project-modal-cta:hover {
  transform: translateY(-2px);
  background: linear-gradient(135deg, rgba(54,128,90,.72), rgba(15,55,42,.64));
  box-shadow: 0 8px 24px rgba(45,112,78,.4);
}

.project-modal-cta.is-disabled,
.project-modal-cta.is-disabled:hover {
  opacity: .42;
  cursor: not-allowed;
  transform: none;
  background: rgba(255,255,255,.06);
  box-shadow: none;
  pointer-events: auto;
}

body.project-detail-open,
body.modal-open {
  overflow: hidden;
}
body.project-detail-open .content-track,
body.modal-open .content-track {
  width: 100vw !important;
}

/* ============================================
   Scene 4: Contact Page
   ============================================ */

.page-contact {
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.contact-scene-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(110deg, rgba(15,23,42,.4), rgba(30,41,59,.3) 46%, rgba(15,23,42,.4)),
    radial-gradient(circle at 72% 28%, rgba(96,238,217,.3), transparent 34%),
    radial-gradient(circle at 24% 76%, rgba(255,255,255,.15), transparent 32%),
    radial-gradient(circle at 50% 50%, rgba(79,195,247,.15), transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(139,92,246,.1), transparent 40%);
  opacity: 0;
  animation: contactFadeIn 1.5s ease forwards;
}

@keyframes contactFadeIn {
  from {
    opacity: 0;
    background: linear-gradient(110deg, rgba(15,23,42,.2), rgba(30,41,59,.15) 46%, rgba(15,23,42,.2));
  }
  to {
    opacity: .75;
    background:
      linear-gradient(110deg, rgba(15,23,42,.4), rgba(30,41,59,.3) 46%, rgba(15,23,42,.4)),
      radial-gradient(circle at 72% 28%, rgba(96,238,217,.3), transparent 34%),
      radial-gradient(circle at 24% 76%, rgba(255,255,255,.15), transparent 32%),
      radial-gradient(circle at 50% 50%, rgba(79,195,247,.15), transparent 50%),
      radial-gradient(circle at 80% 80%, rgba(139,92,246,.1), transparent 40%);
  }
}

.contact-layout {
  position: relative;
  z-index: 6;
  display: grid;
  grid-template-columns: minmax(320px, .92fr) minmax(360px, 1fr);
  gap: clamp(28px, 4.2vw, 72px);
  width: min(88vw, 1280px);
  margin: 0 auto;
  align-items: center;
}

.contact-intro h1 {
  margin: 14px 0 18px;
  font-size: clamp(42px, 5.8vw, 86px);
  line-height: .98;
  letter-spacing: 0;
}

.contact-title-line {
  display: block;
}

.contact-lead {
  max-width: 560px;
  margin: 0 0 clamp(24px, 4vh, 42px);
  color: rgba(255,255,255,.72);
  font-size: clamp(16px, 1.4vw, 20px);
  line-height: 1.72;
}

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

.contact-info-card,
.social-panel,
.feedback-panel {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
}

.contact-info-card {
  min-height: 136px;
  padding: 22px 24px;
  transition: transform 280ms ease, border-color 280ms ease, box-shadow 280ms ease;
}

.contact-info-card-email {
  grid-column: 1 / -1;
}

.contact-info-card::before,
.social-panel::before,
.feedback-panel::before,
.social-chip::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(135deg, rgba(255,255,255,.2), transparent 34%, rgba(92,231,214,.1));
  opacity: .55;
}

.contact-info-card:hover,
.social-panel:hover,
.feedback-panel:hover {
  transform: translateY(-4px);
  border-color: rgba(255,255,255,.34);
  box-shadow: 0 26px 80px rgba(55,231,214,.12), 0 18px 56px rgba(0,0,0,.3);
}

.contact-info-card strong {
  position: relative;
  display: block;
  margin: 12px 0 8px;
  font-size: clamp(22px, 2vw, 30px);
  font-weight: 600;
}

.contact-info-card-email strong {
  font-size: clamp(26px, 2.4vw, 34px);
  white-space: nowrap;
}

.contact-info-card p {
  position: relative;
  margin: 0;
  color: rgba(255,255,255,.62);
  line-height: 1.48;
}

.contact-side {
  display: grid;
  gap: 20px;
}

.social-panel,
.feedback-panel {
  padding: clamp(22px, 2.4vw, 32px);
}

.panel-heading {
  position: relative;
  margin-bottom: 20px;
}

.panel-heading h2 {
  margin: 6px 0 0;
  font-size: clamp(24px, 2vw, 34px);
  line-height: 1.15;
}

.social-link-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.social-chip {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 48px;
  padding: 0 14px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 999px;
  color: rgba(255,255,255,.86);
  text-decoration: none;
  background: rgba(255,255,255,.06);
  overflow: hidden;
  transition: transform 260ms ease, border-color 260ms ease, box-shadow 260ms ease, background 260ms ease;
}

.social-chip:hover {
  transform: translateY(-2px);
  border-color: rgba(255,255,255,.42);
  background: rgba(255,255,255,.12);
  box-shadow: 0 0 28px rgba(98,238,221,.16);
}

.feedback-panel {
  display: grid;
  gap: 14px;
}

.feedback-panel label {
  position: relative;
  display: grid;
  gap: 8px;
  color: rgba(255,255,255,.68);
}

.feedback-panel input,
.feedback-panel textarea {
  width: 100%;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 18px;
  padding: 14px 16px;
  color: rgba(255,255,255,.92);
  background: rgba(255,255,255,.07);
  outline: none;
  resize: vertical;
  transition: border-color 220ms ease, box-shadow 220ms ease, background 220ms ease;
}

.feedback-panel input:focus,
.feedback-panel textarea:focus {
  border-color: rgba(126,244,229,.55);
  background: rgba(255,255,255,.1);
  box-shadow: 0 0 0 4px rgba(126,244,229,.08);
}

.feedback-submit {
  justify-self: start;
  min-width: 158px;
  border: 1px solid rgba(255,255,255,.24);
  border-radius: 999px;
  padding: 13px 24px;
  color: rgba(255,255,255,.94);
  background: rgba(255,255,255,.1);
  box-shadow: 0 18px 48px rgba(0,0,0,.24);
  transition: transform 240ms ease, border-color 240ms ease, box-shadow 240ms ease, background 240ms ease;
}

.feedback-submit:hover {
  transform: translateY(-2px);
  border-color: rgba(255,255,255,.46);
  background: rgba(255,255,255,.16);
  box-shadow: 0 0 34px rgba(98,238,221,.16), 0 18px 48px rgba(0,0,0,.26);
}

.feedback-submit:disabled {
  cursor: wait;
  opacity: .68;
  transform: none;
  box-shadow: 0 14px 36px rgba(0,0,0,.2);
}

.feedback-toast {
  min-height: 22px;
  margin: 0;
  color: rgba(159,255,236,.86);
}

.contact-reveal {
  opacity: 0;
  transform: translateY(30px);
}

body[data-phase="scene4"] .contact-reveal {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 720ms ease var(--reveal-delay), transform 720ms ease var(--reveal-delay);
}

body[data-phase="scene4-idle"] .contact-reveal {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 720ms ease var(--reveal-delay), transform 720ms ease var(--reveal-delay);
}

@media (max-width: 1024px) {
  .contact-layout {
    grid-template-columns: 1fr;
    align-content: start;
    gap: 22px;
    max-height: calc(100vh - 124px);
    overflow-y: auto;
    padding: 10px 4px 24px;
  }

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

@media (max-width: 768px) {
  html,
  body,
  .site-shell {
    width: 100%;
    height: var(--app-height);
    overflow: hidden;
    overscroll-behavior: none;
  }

  html {
    position: fixed;
    inset: 0;
  }

  body {
    position: fixed;
    inset: 0;
    touch-action: none;
  }

  .site-shell {
    position: fixed;
    inset: 0;
    touch-action: none;
  }

  button,
  a,
  input,
  textarea,
  select,
  label,
  .project-card,
  .nav-dot,
  .audio-control-panel,
  .mobile-scene-controls,
  .project-modal-card {
    touch-action: manipulation;
  }

  .video-stage,
  .bg-video {
    position: fixed;
    inset: 0;
    width: 100%;
    height: var(--app-height);
  }

  .bg-video {
    object-fit: cover;
    object-position: center center;
  }

  .content-track {
    height: var(--app-height);
    overscroll-behavior: none;
    touch-action: none;
  }

  .page {
    height: var(--app-height);
    overflow: hidden;
    overscroll-behavior: none;
  }

  .mobile-scene-controls {
    position: fixed;
    right: 14px;
    bottom: calc(20px + env(safe-area-inset-bottom));
    z-index: 60;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 7px;
    border: 1px solid rgba(255,255,255,.14);
    border-radius: 999px;
    background: rgba(6,12,14,.34);
    backdrop-filter: blur(18px) saturate(1.12);
    box-shadow: 0 14px 42px rgba(0,0,0,.24), inset 0 1px 0 rgba(255,255,255,.12);
  }

  .mobile-scene-btn {
    min-width: 48px;
    height: 34px;
    padding: 0 12px;
    border: 1px solid rgba(255,255,255,.16);
    border-radius: 999px;
    color: rgba(255,255,255,.86);
    background: rgba(255,255,255,.08);
    font-size: 11px;
    font-weight: 650;
    letter-spacing: .08em;
    text-transform: uppercase;
  }

  .page-contact {
    display: block;
    align-items: flex-start;
    padding: 92px 18px 92px;
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .contact-layout {
    display: grid;
    width: min(100%, 520px);
    max-height: none;
    overflow: visible;
    gap: 18px;
    padding: 0 0 24px;
  }

  .contact-intro h1 {
    margin: 8px 0 12px;
    font-size: clamp(42px, 13vw, 62px);
    line-height: .96;
  }

  .contact-lead {
    margin-bottom: 20px;
    font-size: 15px;
    line-height: 1.62;
  }

  .contact-card-grid,
  .social-link-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .contact-info-card {
    min-height: 112px;
    padding: 20px 22px;
    border-radius: 24px;
  }

  .contact-info-card-email {
    grid-column: auto;
  }

  .contact-info-card strong,
  .contact-info-card-email strong {
    font-size: clamp(23px, 7vw, 29px);
  }

  .contact-info-card-email strong {
    white-space: normal;
    overflow-wrap: anywhere;
  }

  .feedback-panel {
    padding: 22px;
    border-radius: 24px;
  }

  .feedback-submit {
    width: 100%;
  }
}

.progress-ui {
  position: fixed;
  left: clamp(22px, 5vw, 72px);
  right: clamp(22px, 5vw, 72px);
  bottom: clamp(20px, 4vh, 44px);
  z-index: 30;
  display: flex;
  align-items: center;
  gap: 18px;
  color: rgba(255,255,255,.66);
  font-size: 11px;
  letter-spacing: .18em;
  text-transform: uppercase;
  pointer-events: none;
}

.progress-line {
  position: relative;
  flex: 1;
  height: 1px;
  overflow: hidden;
  background: rgba(255,255,255,.18);
}

.progress-line i {
  display: block;
  width: 0%;
  height: 100%;
  background: rgba(255,255,255,.86);
  transform-origin: left center;
  transition: width 120ms linear;
}

@media (max-width: 920px) {
  .page-home {
    grid-template-columns: 1fr;
    align-items: end;
  }
  .profile-card {
    max-width: 460px;
    margin-bottom: 0;
    justify-self: start;
    transform: none;
  }
  .section-copy,
  .content-grid {
    right: auto;
    left: 50%;
    width: min(88vw, 760px);
    transform: translateX(-50%);
  }
  .content-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
  }
  .tile,
  .tile-large {
    height: 150px;
    min-height: 150px;
  }
}

@media (max-width: 768px) {
  #home-title {
    top: clamp(-44px, -6vh, -32px);
  }

  .page-work {
    height: auto;
    min-height: 100vh;
  }

  .work-layout {
    position: relative;
    width: 100%;
    display: grid;
    grid-template-columns: minmax(78px, 24vw) minmax(0, 1fr);
    align-items: flex-start;
    gap: 14px;
    padding: 92px 16px 82px;
  }

  .section-header {
    width: auto;
    max-width: 96px;
    align-self: center;
  }

  .section-header .eyebrow {
    margin-bottom: 12px;
    font-size: 10px;
  }

  .section-header h2 {
    font-size: clamp(34px, 10vw, 48px);
    line-height: 1.04;
    margin-bottom: 14px;
  }

  .section-header .section-subtitle {
    font-size: 16px;
    line-height: 1.55;
  }

  .project-cards-grid {
    width: 100%;
    max-height: calc(100dvh - 174px);
    grid-template-columns: 1fr;
    gap: 14px;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 0 0 8px;
    -webkit-overflow-scrolling: touch;
  }

  .project-card {
    width: 100%;
    min-height: 0;
    border-radius: 18px;
  }

  .project-image-wrap {
    margin: 10px 10px 0;
    border-radius: 14px;
    aspect-ratio: 16 / 9;
  }

  .project-card-info {
    padding: 14px 15px 16px;
  }

  .project-card-title {
    font-size: 16px;
  }

  .project-card-description {
    font-size: 12px;
    line-height: 1.42;
    margin-bottom: 12px;
    -webkit-line-clamp: 2;
  }

  .project-tags {
    gap: 6px;
  }

  .project-tags span {
    padding: 5px 7px;
    font-size: 10px;
  }

  .project-modal-overlay {
    padding: 14px;
    align-items: center;
  }

  .project-modal-card {
    width: calc(100vw - 28px);
    height: auto;
    max-height: calc(100dvh - 88px);
    overflow-y: auto;
    grid-template-columns: 1fr;
    border-radius: 24px;
  }

  .project-modal-media {
    position: relative;
    height: auto;
    min-height: 220px;
  }

  .project-modal-media img,
  .project-modal-media video {
    min-height: 220px;
    height: 220px;
  }

  .project-modal-content {
    display: block;
    padding: 24px 20px 26px;
  }

  .project-modal-title {
    max-width: calc(100% - 44px);
    font-size: clamp(28px, 8vw, 40px);
    white-space: normal;
  }

  .project-modal-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

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

  .project-modal-actions {
    width: 100%;
    justify-content: flex-start;
  }

  .project-modal-cta {
    flex: 1 1 auto;
  }

  .section-copy,
  .content-grid {
    position: relative;
    top: auto;
    left: auto;
    right: auto;
    width: min(88vw, 420px);
    transform: none;
  }

  .section-copy {
    margin: 96px auto 16px;
  }

  .content-grid {
    grid-template-columns: 1fr;
    row-gap: 18px;
    margin: 0 auto;
  }

  .tile,
  .tile-large {
    height: auto;
    min-height: 132px;
  }
}

@media (max-width: 640px) {
  #home-title {
    top: clamp(-36px, -5vh, -24px);
  }
  .intro-enter-btn {
    width: 164px;
    height: 62px;
    margin-top: 28vh;
    border-radius: 20px;
  }
  .intro-enter-cn {
    font-size: 17px;
  }
  .intro-enter-en {
    font-size: 10px;
  }
  .topbar {
    padding: 20px;
  }
  .brand span:last-child {
    display: none;
  }
  .page {
    padding: 90px 20px 72px;
  }
  h1 {
    font-size: clamp(30px, 11vw, 52px);
  }
  .profile-card,
  .tile {
    padding: 16px 22px;
    border-radius: 24px;
  }
  .page-home {
    gap: 18px;
  }
  .progress-ui {
    left: 20px;
    right: 20px;
  }
}

/* 音频控制面板 */
.audio-control-panel {
  position: fixed;
  top: calc(clamp(20px, 3vw, 42px) - 14.5px);
  right: calc(clamp(22px, 5vw, 72px) + 113px);
  z-index: 40;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px;
  border: 1px solid var(--stroke);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.32);
  backdrop-filter: blur(18px) saturate(1.2);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.audio-control-panel:hover {
  transform: none;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}

.audio-play-btn {
  width: 36px;
  height: 36px;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.9);
  cursor: pointer;
  transition: background 0.25s ease, transform 0.2s ease;
}

.audio-play-btn:hover {
  background: rgba(255, 255, 255, 0.18);
  transform: scale(1.08);
}

.audio-play-btn:active {
  transform: scale(0.95);
}

.audio-control-panel.is-playing .audio-play-btn {
  background: rgba(100, 220, 220, 0.24);
  color: rgba(100, 220, 220, 1);
}

.audio-volume-container {
  display: flex;
  align-items: center;
  gap: 8px;
}

.audio-volume-icon {
  display: flex;
  align-items: center;
  color: rgba(255, 255, 255, 0.7);
}

.audio-volume-slider {
  width: 80px;
  height: 4px;
  -webkit-appearance: none;
  appearance: none;
  background: rgba(255, 255, 255, 0.18);
  border-radius: 2px;
  outline: none;
  cursor: pointer;
}

.audio-volume-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  transition: background 0.2s ease, transform 0.2s ease;
}

.audio-volume-slider::-webkit-slider-thumb:hover {
  background: #fff;
  transform: scale(1.15);
}

.audio-volume-slider::-moz-range-thumb {
  width: 14px;
  height: 14px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  transition: background 0.2s ease, transform 0.2s ease;
}

.audio-volume-slider::-moz-range-thumb:hover {
  background: #fff;
  transform: scale(1.15);
}

@media (max-width: 640px) {
  .audio-control-panel {
    top: calc(20px - 3.5px);
    right: 133px;
    padding: 8px 14px;
    gap: 10px;
  }

  .audio-play-btn {
    width: 32px;
    height: 32px;
  }

  .audio-volume-slider {
    width: 60px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .intro-overlay,
  .intro-enter-btn {
    transition: none !important;
  }
  .content-track.is-moving,
  .bg-video,
  .hint::after {
    transition: none !important;
    animation: none !important;
  }
  .audio-control-panel,
  .audio-play-btn {
    transition: none !important;
  }
}

/* ============================================
   Scene 3: Gallery Page
   ============================================ */

.page-gallery {
  position: relative;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
}

.gallery-3d-stage {
  position: absolute;
  inset: 0;
  display: flex;
  gap: 20px;
  justify-content: flex-end;
  align-items: center;
  padding-right: 5vw;
  overflow: hidden;
  perspective: 1000px;
}

.photo-column {
  position: relative;
  width: 320px;
  height: 80vh;
  overflow: hidden;
  transform-style: preserve-3d;
}

.photo-column-left {
  /* 左列特定样式（如需要） */
}

.photo-column-right {
  /* 右列特定样式（如需要） */
}

.photo-track-strip {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  transform-style: preserve-3d;
  will-change: transform;

  /* GPU 加速 */
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

.photo-card {
  position: relative;
  width: 300px;
  height: 220px;
  margin-bottom: 30px;

  transform-style: preserve-3d;
  will-change: transform;
  transition: transform 0.15s ease-out;

  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);

  cursor: pointer;

  /* GPU 加速 */
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  transform: translateZ(0);
}

.photo-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg,
    rgba(255, 255, 255, 0.3) 0%,
    rgba(255, 255, 255, 0) 50%);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 2;
}

.photo-card.is-hovered::before {
  opacity: 1;
}

.photo-card .shine-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
    rgba(255, 255, 255, 0.4) 0%,
    rgba(255, 255, 255, 0) 60%);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
  z-index: 3;
}

.photo-card.is-hovered .shine-overlay {
  opacity: 1;
}

.photo-card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  transition: transform 0.15s ease-out;

  /* GPU 加速和图片优化 */
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  transform: translateZ(0);
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
}

.photo-info-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1rem;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0) 100%);
  opacity: 0;
  transition: opacity 0.3s ease, transform 0.1s ease-out;
  pointer-events: none;
  z-index: 4;
}

.photo-card.is-hovered .photo-info-overlay {
  opacity: 1;
}

.photo-title {
  font-size: 0.875rem;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 0.25rem;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.photo-date {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.7);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.photo-detail-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;

  display: flex;
  align-items: center;
  justify-content: center;

  background: rgba(9, 11, 15, 0.95);
  backdrop-filter: blur(24px);

  opacity: 0;
  pointer-events: none;
  transition: opacity 0.8s cubic-bezier(0.7, 0, 0.16, 1);
}

.photo-detail-overlay.is-active {
  opacity: 1 !important;
  pointer-events: all;
}

.detail-content {
  position: relative;
  display: flex;
  gap: 3rem;
  max-width: 90vw;
  max-height: 90vh;
  margin: auto;

  transform: scale(0.95);
  transition: transform 0.4s cubic-bezier(0.7, 0, 0.16, 1);
}

.photo-detail-overlay.is-active .detail-content {
  transform: scale(1);
}

.detail-image {
  width: auto;
  max-width: 60vw;
  max-height: 80vh;
  height: auto;

  border-radius: 4px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8);
}

.detail-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1rem;
  max-width: 320px;

  padding: 2rem;
  background: var(--panel);
  border: 1px solid var(--stroke);
  border-radius: 8px;
  backdrop-filter: blur(12px);
}

.detail-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text);
  margin: 0;
}

.detail-description {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--muted);
  margin: 0;
}

.detail-date {
  font-size: 0.85rem;
  color: var(--faint);
  font-variant-numeric: tabular-nums;
}

.detail-close {
  position: absolute;
  top: 2rem;
  right: 2rem;

  width: 48px;
  height: 48px;

  display: flex;
  align-items: center;
  justify-content: center;

  background: var(--panel);
  border: 1px solid var(--stroke);
  border-radius: 50%;

  color: var(--muted);
  cursor: pointer;

  transition: all 0.2s ease;
}

.detail-close:hover {
  background: var(--panel-strong);
  color: var(--text);
  transform: scale(1.1);
}

/* ============================================
   Carousel Preview Styles
   ============================================ */

.carousel-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;

  display: flex;
  align-items: center;
  justify-content: center;

  background: rgba(0, 0, 0, 0.95);
  /* 移除 backdrop-filter 以提升性能 */

  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease-out;

  /* GPU 加速 */
  transform: translateZ(0);
  backface-visibility: hidden;
}

.carousel-overlay.is-active {
  opacity: 1;
  pointer-events: all;
}

.carousel-container {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4rem 2rem;

  /* GPU 加速 */
  transform: translateZ(0);
}

.carousel-slides {
  position: relative;
  width: 100%;
  height: 100%;
  max-width: 1400px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: grab;
  perspective: 2000px;

  /* GPU 加速 */
  transform: translateZ(0);
}

.carousel-slide {
  position: absolute;
  width: 75%;
  max-width: 900px;
  height: 85%;

  display: flex;
  align-items: center;
  justify-content: center;

  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1),
              opacity 0.4s ease-out;
  transform-style: preserve-3d;
  will-change: transform, opacity;

  /* GPU 加速 */
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

.carousel-slide.is-hidden {
  transition: none;
  pointer-events: none;
}

.carousel-slide-content {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;

  background: var(--panel);
  border: 1px solid var(--stroke);
  border-radius: 16px;
  /* 移除 backdrop-filter 以提升性能 */
  overflow: hidden;

  box-shadow:
    0 30px 80px rgba(0, 0, 0, 0.9),
    0 10px 30px rgba(0, 0, 0, 0.5);

  /* GPU 加速 */
  transform: translateZ(0);
  backface-visibility: hidden;
}

.carousel-slide.is-active .carousel-slide-content {
  box-shadow:
    0 40px 100px rgba(0, 0, 0, 1),
    0 20px 50px rgba(255, 255, 255, 0.05);
}

.carousel-image-wrapper {
  flex: 1;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 2rem 0 2rem;
  overflow: hidden;
}

.carousel-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 8px;
  user-select: none;
  pointer-events: none;

  /* GPU 加速和图片优化 */
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  transform: translateZ(0);
  image-rendering: -webkit-optimize-contrast;
}

.carousel-info {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 0 2rem 2rem 2rem;
  width: 100%;
  text-align: center;
}

.carousel-title {
  font-size: 1.75rem;
  font-weight: 600;
  color: var(--text);
  margin: 0;
  line-height: 1.3;
}

.carousel-description {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--muted);
  margin: 0;
}

.carousel-date {
  font-size: 0.9rem;
  color: var(--faint);
  font-variant-numeric: tabular-nums;
}

/* Navigation Buttons */
.carousel-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);

  width: 56px;
  height: 56px;

  display: flex;
  align-items: center;
  justify-content: center;

  background: var(--panel);
  border: 1px solid var(--stroke);
  border-radius: 50%;

  color: var(--muted);
  cursor: pointer;
  z-index: 100;

  transition: all 0.3s ease;
}

.carousel-nav:hover:not(:disabled) {
  background: var(--panel-strong);
  color: var(--text);
  transform: translateY(-50%) scale(1.1);
  border-color: var(--text);
}

.carousel-nav:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.carousel-nav-prev {
  left: 2rem;
}

.carousel-nav-next {
  right: 2rem;
}

/* Close Button */
.carousel-close {
  position: absolute;
  top: 2rem;
  right: 2rem;

  width: 48px;
  height: 48px;

  display: flex;
  align-items: center;
  justify-content: center;

  background: var(--panel);
  border: 1px solid var(--stroke);
  border-radius: 50%;

  color: var(--muted);
  cursor: pointer;
  z-index: 100;

  transition: all 0.2s ease;
}

.carousel-close:hover {
  background: var(--panel-strong);
  color: var(--text);
  transform: scale(1.1);
}

/* Counter */
.carousel-counter {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);

  padding: 0.75rem 1.5rem;
  background: var(--panel);
  border: 1px solid var(--stroke);
  border-radius: 24px;
  backdrop-filter: blur(12px);

  font-size: 0.95rem;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
  z-index: 100;
}

.carousel-current {
  color: var(--text);
  font-weight: 600;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .carousel-container {
    padding: 3rem 1rem;
  }

  .carousel-slide {
    width: 90%;
    height: 80%;
  }

  .carousel-slide-content {
    gap: 1rem;
    border-radius: 12px;
  }

  .carousel-image-wrapper {
    padding: 1.5rem 1.5rem 0 1.5rem;
  }

  .carousel-info {
    padding: 0 1.5rem 1.5rem 1.5rem;
  }

  .carousel-title {
    font-size: 1.25rem;
  }

  .carousel-description {
    font-size: 0.9rem;
  }

  .carousel-nav {
    width: 44px;
    height: 44px;
  }

  .carousel-nav-prev {
    left: 1rem;
  }

  .carousel-nav-next {
    right: 1rem;
  }

  .carousel-close {
    top: 1rem;
    right: 1rem;
    width: 40px;
    height: 40px;
  }

  .carousel-counter {
    bottom: 1rem;
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
  }
}

/* Mobile responsive */
@media (max-width: 768px) {
  .gallery-3d-stage {
    padding-right: 2vw;
    gap: 15px;
  }

  .photo-column {
    width: 240px;
    height: 70vh;
  }

  .photo-card {
    width: 220px;
    height: 160px;
    border-radius: 8px;
  }

  .detail-content {
    flex-direction: column;
    gap: 1.5rem;
    padding: 1rem;
  }

  .detail-image {
    max-width: 90vw;
    max-height: 50vh;
  }

  .detail-info {
    max-width: 100%;
  }

  .detail-close {
    top: 1rem;
    right: 1rem;
    width: 40px;
    height: 40px;
  }
}

@media (max-width: 480px) {
  .gallery-3d-stage {
    padding-right: 1vw;
    padding-left: 1vw;
    gap: 10px;
    justify-content: center;
  }

  .photo-column {
    width: 160px;
    height: 60vh;
  }

  .photo-card {
    width: 150px;
    height: 110px;
    border-radius: 6px;
    margin-bottom: 20px;
  }

  /* 禁用 3D 效果以提升性能 */
  .photo-card.is-hovered::before {
    opacity: 0.5;
  }

  .photo-card .shine-overlay {
    display: none;
  }

  .detail-title {
    font-size: 1.2rem;
  }

  .detail-description {
    font-size: 0.875rem;
  }

  .works-showcase {
    width: 100%;
    height: calc(100vh - 280px);
  }
  
  .work-tab {
    padding: 8px 14px;
    font-size: 12px;
  }
  
  .work-tab .tab-icon {
    font-size: 14px;
  }
}

.works-showcase {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;
    height: calc(100vh - 100px);
    align-items: center;
    overflow: hidden;
    padding: 0 30px;
    box-sizing: border-box;
    justify-content: flex-start;
    margin-top: -20px;
}

.work-tabs {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    z-index: 30;
}

.work-tab {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 12px;
    color: rgba(255,255,255,0.7);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.work-tab:hover {
    background: rgba(255,255,255,0.1);
    border-color: rgba(79,195,247,0.4);
    color: rgba(255,255,255,0.9);
    transform: translateY(-2px);
}

.work-tab.active {
    background: rgba(79,195,247,0.15);
    border-color: rgba(79,195,247,0.6);
    color: #4fc3f7;
    box-shadow: 0 0 20px rgba(79,195,247,0.2);
}

.work-tab .tab-icon {
    font-size: 18px;
}

.work-content {
    flex: 1;
    position: relative;
    overflow-y: auto;
    width: 100%;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    scrollbar-width: thin;
    scrollbar-color: rgba(79,195,247,0.3) transparent;
}

.work-content::-webkit-scrollbar {
    width: 4px;
}

.work-content::-webkit-scrollbar-track {
    background: transparent;
}

.work-content::-webkit-scrollbar-thumb {
    background: rgba(79,195,247,0.3);
    border-radius: 2px;
}

.work-card {
    display: none;
    width: 100%;
    max-width: 1000px;
    justify-content: center;
    padding: 20px;
    box-sizing: border-box;
}

.work-card.active {
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    animation: fadeInUp 0.5s ease forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.work-card-game {
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 20px;
    padding: 30px;
    position: relative;
    overflow: hidden;
    transition: all 0.4s;
    transform-style: preserve-3d;
    max-width: 800px;
}
.work-card-game::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; height: 3px;
    background: linear-gradient(90deg, transparent, #4fc3f7, transparent);
    opacity: 0.6;
}
.work-card-game::after {
    content: '';
    position: absolute;
    top: -50%; right: -50%;
    width: 100%; height: 100%;
    background: radial-gradient(circle, rgba(79,195,247,0.08) 0%, transparent 60%);
    pointer-events: none;
}

.game-card-wrapper {
    display: flex;
    gap: 60px;
    align-items: center;
}
@media (max-width: 768px) {
    .game-card-wrapper { flex-direction: column; text-align: center; gap: 40px; }
}

.game-cartridge-container { perspective: 1000px; position: relative; }

.cartridge-glow-ring {
    position: absolute;
    top: 50%; left: 50%;
    width: 180px; height: 220px;
    transform: translate(-50%, -50%);
    border: 2px solid rgba(79,195,247,0.6);
    border-radius: 16px;
    animation: glowPulse 2s ease-in-out infinite;
    pointer-events: none;
}
@keyframes glowPulse {
    0%, 100% { 
        box-shadow: 0 0 20px rgba(79,195,247,0.3), inset 0 0 20px rgba(79,195,247,0.1);
        opacity: 0.6;
    }
    50% { 
        box-shadow: 0 0 40px rgba(79,195,247,0.5), inset 0 0 30px rgba(79,195,247,0.2);
        opacity: 1;
    }
}

.cartridge-pulse {
    position: absolute;
    top: 50%; left: 50%;
    width: 160px; height: 200px;
    transform: translate(-50%, -50%);
    border-radius: 12px;
    background: transparent;
    animation: pulseExpand 2.5s ease-out infinite;
    pointer-events: none;
}
@keyframes pulseExpand {
    0% { box-shadow: 0 0 0 0 rgba(79,195,247,0.4); }
    100% { box-shadow: 0 0 0 30px rgba(79,195,247,0); }
}

.click-badge {
    position: absolute;
    top: -15px; right: -15px;
    background: linear-gradient(135deg, #4fc3f7, #0ea5e9);
    color: #0f172a;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 4px 15px rgba(79,195,247,0.4);
    animation: badgeBounce 1.5s ease-in-out infinite;
    z-index: 10;
    pointer-events: none;
}
@keyframes badgeBounce {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-5px) scale(1.05); }
}
.click-badge .badge-icon {
    font-size: 10px;
    animation: iconPulse 1s ease-in-out infinite;
}
@keyframes iconPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}
.click-badge .badge-text {
    letter-spacing: 1px;
}

.game-cartridge {
    width: 160px;
    height: 200px;
    background: linear-gradient(145deg, #e8e8e8, #d0d0d0);
    border-radius: 12px;
    position: relative;
    cursor: pointer;
    transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 15px 40px rgba(0,0,0,0.4);
    transform-style: preserve-3d;
    animation: cartridgeGlow 3s ease-in-out infinite;
}
@keyframes cartridgeGlow {
    0%, 100% { box-shadow: 0 15px 40px rgba(0,0,0,0.4), 0 0 30px rgba(79,195,247,0.1); }
    50% { box-shadow: 0 15px 40px rgba(0,0,0,0.4), 0 0 50px rgba(79,195,247,0.2); }
}
.game-cartridge:hover {
    transform: translateY(-12px) rotateX(8deg) rotateY(-5deg);
    box-shadow: 0 30px 60px rgba(79,195,247,0.35);
    animation: none;
}
.game-cartridge:hover .click-badge {
    animation: none;
    transform: scale(1.1);
    background: linear-gradient(135deg, #22d3ee, #4fc3f7);
}
.game-cartridge .label {
    position: absolute;
    top: 35px; left: 20px; right: 20px;
    height: 160px;
    background: linear-gradient(135deg, #0f172a, #030712);
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    border: 2px solid #4fc3f7;
    box-shadow: inset 0 0 30px rgba(79,195,247,0.1);
    overflow: hidden;
}
.game-cartridge .label::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(79,195,247,0.05) 0%, transparent 50%);
}
.game-cartridge .label .icon { font-size: 40px; animation: floatIcon 3s ease-in-out infinite; }
@keyframes floatIcon { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-3px); } }
.game-cartridge .label .title {
    color: #4fc3f7;
    font-size: 12px;
    font-weight: bold;
    letter-spacing: 2px;
    text-shadow: 0 0 15px rgba(79,195,247,0.5);
}
.game-cartridge .notch {
    position: absolute;
    bottom: 0; left: 50%;
    transform: translateX(-50%);
    width: 50px; height: 22px;
    background: #c0c0c0;
    border-radius: 10px 10px 0 0;
    border-top: 2px solid #a0a0a0;
}
.game-cartridge .pins {
    position: absolute;
    bottom: 6px; left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 4px;
}
.game-cartridge .pins span {
    width: 5px; height: 14px;
    background: linear-gradient(90deg, #ffd700, #ffb700);
    border-radius: 2px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.game-info h3 {
    font-size: 20px;
    color: rgba(255,255,255,.94);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.game-info h3::before {
    content: '';
    width: 3px; height: 20px;
    background: #4fc3f7;
    border-radius: 2px;
}
.game-info p {
    color: rgba(255,255,255,.66);
    font-size: 13px;
    line-height: 1.8;
}

.hologram-screen {
    background: radial-gradient(ellipse at center, rgba(79,195,247,0.12) 0%, rgba(5,15,30,0.98) 80%);
    border: 1px solid rgba(79,195,247,0.4);
    border-radius: 16px;
    padding: 25px;
    position: relative;
    overflow: hidden;
    box-shadow: inset 0 0 40px rgba(79,195,247,0.05);
    max-width: 700px;
}
.hologram-screen::before {
    content: '';
    position: absolute;
    top: -50%; left: -50%;
    width: 200%; height: 200%;
    background: repeating-linear-gradient(
        0deg, transparent, transparent 3px,
        rgba(79,195,247,0.04) 3px, rgba(79,195,247,0.04) 6px
    );
    pointer-events: none;
    animation: scanline 6s linear infinite;
}
@keyframes scanline { from { transform: translateY(0); } to { transform: translateY(50%); } }
.hologram-screen::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, #4fc3f7, transparent);
    animation: scanLineMove 3s linear infinite;
}
@keyframes scanLineMove {
    0% { top: 0; opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { top: 100%; opacity: 0; }
}

.game-video {
    width: 100%;
    aspect-ratio: 16/9;
    border-radius: 16px;
    margin-bottom: 30px;
    border: 2px solid rgba(79,195,247,0.2);
    background: rgba(0,0,0,0.8);
    box-shadow: 0 0 30px rgba(79,195,247,0.1);
    transition: all 0.3s ease;
}
.game-video:hover {
    border-color: rgba(79,195,247,0.4);
    box-shadow: 0 0 40px rgba(79,195,247,0.15);
}

.hologram-desc h4 {
    color: #4fc3f7;
    font-size: 20px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.hologram-desc h4::before { content: '▶'; animation: pulseArrow 1.5s ease-in-out infinite; }
@keyframes pulseArrow { 0%, 100% { opacity: 0.5; } 50% { opacity: 1; } }
.hologram-desc p {
    color: rgba(255,255,255,.85);
    font-size: 15px;
    line-height: 2;
}
.hologram-desc .tags {
    display: flex;
    gap: 12px;
    margin-top: 20px;
    flex-wrap: wrap;
}
.hologram-desc .tag {
    padding: 8px 18px;
    background: rgba(79,195,247,0.12);
    border: 1px solid rgba(79,195,247,0.3);
    border-radius: 20px;
    color: #4fc3f7;
    font-size: 13px;
    transition: all 0.3s;
}
.hologram-desc .tag:hover {
    background: rgba(79,195,247,0.2);
    transform: translateY(-2px);
}

.work-card-ip {
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 20px;
    padding: 30px;
    position: relative;
    overflow: hidden;
    max-width: 800px;
}
.work-card-ip::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; height: 3px;
    background: linear-gradient(90deg, transparent, #8b5cf6, transparent);
    opacity: 0.6;
}

.ip-preview { display: flex; gap: 30px; align-items: center; }
@media (max-width: 768px) {
    .ip-preview { flex-direction: column; text-align: center; gap: 25px; }
}

.ip-text { flex: 1; }
.ip-text h3 {
    font-size: 20px;
    color: rgba(255,255,255,.94);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.ip-text h3::before {
    content: '';
    width: 3px; height: 20px;
    background: #8b5cf6;
    border-radius: 2px;
}
.ip-text p {
    color: rgba(255,255,255,.66);
    font-size: 13px;
    line-height: 1.8;
}

.ip-avatar-container { position: relative; }

.avatar-glow-ring {
    position: absolute;
    top: 50%; left: 50%;
    width: 160px; height: 200px;
    transform: translate(-50%, -50%);
    border: 2px solid rgba(139,92,246,0.6);
    border-radius: 16px;
    animation: avatarGlowPulse 2s ease-in-out infinite;
    pointer-events: none;
}
@keyframes avatarGlowPulse {
    0%, 100% { 
        box-shadow: 0 0 15px rgba(139,92,246,0.3), inset 0 0 15px rgba(139,92,246,0.1);
        opacity: 0.6;
    }
    50% { 
        box-shadow: 0 0 30px rgba(139,92,246,0.5), inset 0 0 20px rgba(139,92,246,0.2);
        opacity: 1;
    }
}

.avatar-pulse {
    position: absolute;
    top: 50%; left: 50%;
    width: 140px; height: 180px;
    transform: translate(-50%, -50%);
    border-radius: 14px;
    background: transparent;
    animation: avatarPulseExpand 2.5s ease-out infinite;
    pointer-events: none;
}
@keyframes avatarPulseExpand {
    0% { box-shadow: 0 0 0 0 rgba(139,92,246,0.4); }
    100% { box-shadow: 0 0 0 20px rgba(139,92,246,0); }
}

.click-badge.purple {
    background: linear-gradient(135deg, #8b5cf6, #7c3aed);
    color: white;
    box-shadow: 0 4px 15px rgba(139,92,246,0.4);
}
.click-badge.purple:hover {
    background: linear-gradient(135deg, #a78bfa, #8b5cf6);
}

.ip-avatar {
    width: 140px; height: 180px;
    background: linear-gradient(135deg, rgba(139,92,246,0.1), rgba(99,102,241,0.05));
    border: 1px solid rgba(139,92,246,0.2);
    border-radius: 14px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
    position: relative;
    flex-shrink: 0;
    transition: all 0.4s;
    cursor: pointer;
    animation: avatarGlow 3s ease-in-out infinite;
}
@keyframes avatarGlow {
    0%, 100% { box-shadow: 0 0 30px rgba(139,92,246,0.1); }
    50% { box-shadow: 0 0 50px rgba(139,92,246,0.2); }
}
.ip-avatar:hover {
    box-shadow: 0 0 60px rgba(139,92,246,0.35);
    border-color: rgba(139,92,246,0.5);
    animation: none;
}
.ip-avatar:hover .click-badge.purple {
    animation: none;
    transform: scale(1.1);
    background: linear-gradient(135deg, #a78bfa, #8b5cf6);
}
.ip-avatar .avatar-img {
    width: 180px;
    height: 220px;
    object-fit: cover;
    border-radius: 12px;
    filter: grayscale(0.3);
    transition: all 0.4s;
    animation: floatIcon 3s ease-in-out infinite;
}
.ip-avatar:hover .avatar-img {
    filter: grayscale(0);
    transform: scale(1.05);
}
.ip-avatar .ip-name {
    color: rgba(255,255,255,.66);
    font-size: 14px;
    letter-spacing: 2px;
}
.ip-avatar .lock-overlay {
    position: absolute;
    inset: 0;
    background: rgba(5,15,30,0.7);
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.4s;
    backdrop-filter: blur(5px);
}
.ip-avatar .lock-overlay:hover { background: rgba(5,15,30,0.5); }
.ip-avatar .lock-icon {
    font-size: 50px;
    margin-bottom: 15px;
    transition: all 0.3s;
    animation: pulseLock 2s ease-in-out infinite;
}
@keyframes pulseLock {
    0%, 100% { transform: scale(1); opacity: 0.8; }
    50% { transform: scale(1.1); opacity: 1; }
}
.ip-avatar .lock-overlay:hover .lock-icon { transform: scale(1.15) rotate(5deg); }
.ip-avatar .lock-text {
    color: #8b5cf6;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 2px;
}

.hologram-archive {
    position: relative;
    padding: 25px;
}
.archive-glow {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 450px; height: 450px;
    background: radial-gradient(circle, rgba(139,92,246,0.2) 0%, transparent 70%);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
    animation: glowPulse 3s ease-in-out infinite;
}
@keyframes glowPulse {
    0%, 100% { transform: translate(-50%, -50%) scale(1); }
    50% { transform: translate(-50%, -50%) scale(1.1); }
}
.hologram-archive.unlocked .archive-glow { opacity: 1; }

.archive-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
    position: relative;
    z-index: 1;
}
@media (max-width: 768px) { .archive-content { grid-template-columns: 1fr; } }

.archive-item {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(139,92,246,0.2);
    border-radius: 18px;
    padding: 30px;
    opacity: 1;
    transform: translateY(0) scale(1);
    transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    overflow: hidden;
}
.archive-item::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; height: 2px;
    background: linear-gradient(90deg, transparent, #8b5cf6, transparent);
    opacity: 0;
    transition: opacity 0.3s;
}
.archive-item:hover {
    border-color: rgba(139,92,246,0.5);
    transform: translateY(-5px);
}
.archive-item:hover::before { opacity: 1; }

.archive-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding: 0 10px;
}
.archive-header h4 { margin: 0; }
.archive-header .unlock-btn {
    margin: 0;
    padding: 12px 30px;
    font-size: 14px;
}
@media (max-width: 600px) {
    .archive-header {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
}

.archive-item h4 {
    color: #8b5cf6;
    font-size: 17px;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.archive-item .placeholder {
    width: 100%;
    aspect-ratio: 4/3;
    background: rgba(0,0,0,0.3);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,.66);
    font-size: 13px;
    margin-bottom: 15px;
    border: 1px dashed rgba(139,92,246,0.2);
    transition: all 0.3s;
}
.archive-item:hover .placeholder {
    border-color: rgba(139,92,246,0.4);
    box-shadow: 0 0 20px rgba(139,92,246,0.1);
}
.archive-item p { color: rgba(255,255,255,.85); font-size: 14px; line-height: 1.8; }
.archive-item .archive-image {
    width: 100%;
    border-radius: 12px;
    margin-bottom: 15px;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}
.archive-item:hover .archive-image {
    transform: scale(1.02);
    box-shadow: 0 8px 25px rgba(139,92,246,0.2);
}

.unlock-btn {
    display: block;
    margin: 35px auto 0;
    padding: 15px 50px;
    background: linear-gradient(135deg, rgba(139,92,246,0.2), rgba(99,102,241,0.15));
    border: 1px solid rgba(139,92,246,0.4);
    border-radius: 35px;
    color: #8b5cf6;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.4s;
    letter-spacing: 2px;
}
.unlock-btn:hover {
    box-shadow: 0 0 40px rgba(139,92,246,0.3);
    transform: scale(1.08);
    background: linear-gradient(135deg, rgba(139,92,246,0.25), rgba(99,102,241,0.2));
}
.unlock-btn.unlocked {
    background: rgba(139,92,246,0.1);
    color: rgba(255,255,255,.66);
    cursor: default;
    border-color: rgba(139,92,246,0.1);
}
.unlock-btn.unlocked:hover { transform: none; box-shadow: none; }

.work-card-gallery {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 18px;
    padding: 25px;
    position: relative;
    overflow: hidden;
    max-width: 600px;
}
.work-card-gallery::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; height: 3px;
    background: linear-gradient(90deg, transparent, #ec4899, transparent);
    opacity: 0.6;
}

.gallery-header { margin-bottom: 25px; text-align: center; }
.gallery-header h3 {
    font-size: 22px;
    color: rgba(255,255,255,.94);
    margin-bottom: 10px;
}
.gallery-header p { color: rgba(255,255,255,.66); font-size: 13px; line-height: 1.6; max-width: 500px; margin: 0 auto; }

.cover-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    max-width: 600px;
    margin: 0 auto;
}
.cover-item {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 14px;
    padding: 15px;
    transition: all 0.4s ease;
    cursor: pointer;
}
.cover-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(236,72,153,0.15);
    border-color: rgba(236,72,153,0.3);
}
.cover-item .cover-img-wrapper {
    width: 100%;
    aspect-ratio: 9/16;
    border-radius: 10px;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(236,72,153,0.1) 0%, rgba(139,92,246,0.1) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}
.cover-item img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.4s ease;
}
.cover-item:hover img {
    transform: scale(1.05);
}
.cover-item .cover-title {
    text-align: center;
    margin-top: 12px;
    font-size: 14px;
    color: rgba(255,255,255,.94);
    font-weight: 500;
}
.cover-item .cover-desc {
    text-align: center;
    margin-top: 5px;
    font-size: 12px;
    color: rgba(255,255,255,.66);
}

.work-card-orbit {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 20px;
    padding: 30px;
    position: relative;
    overflow: hidden;
    max-width: 800px;
}
.work-card-orbit::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; height: 3px;
    background: linear-gradient(90deg, transparent, #06b6d4, transparent);
    opacity: 0.6;
}
.orbit-header {
    text-align: center;
    margin-bottom: 25px;
}
.orbit-header h3 {
    font-size: 20px;
    color: rgba(255,255,255,.94);
    margin-bottom: 10px;
}
.orbit-header p {
    color: rgba(255,255,255,.66);
    font-size: 13px;
    line-height: 1.6;
    max-width: 500px;
    margin: 0 auto;
}
.orbit-container {
    perspective: 800px;
    perspective-origin: center center;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}
.orbit-ring {
    width: 100%;
    height: 100%;
    position: absolute;
    border: 1px solid rgba(6,182,212,0.15);
    border-radius: 50%;
    animation: orbitPulse 4s ease-in-out infinite;
}
.orbit-ring:nth-child(2) {
    width: 70%;
    height: 70%;
    animation-delay: 0.5s;
}
.orbit-ring:nth-child(3) {
    width: 50%;
    height: 50%;
    animation-delay: 1s;
}
@keyframes orbitPulse {
    0%, 100% { opacity: 0.3; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(1.05); }
}
.orbit-wrapper {
    width: 100%;
    height: 100%;
    position: relative;
    transform-style: preserve-3d;
    animation: orbitSpin 20s linear infinite;
    cursor: pointer;
}
.orbit-wrapper.paused {
    animation-play-state: paused;
}
@keyframes orbitSpin {
    from { transform: rotateY(0deg); }
    to { transform: rotateY(360deg); }
}
.orbit-item {
    position: absolute;
    width: 140px;
    height: 180px;
    left: 50%;
    top: 50%;
    margin-left: -70px;
    margin-top: -90px;
    transform-style: preserve-3d;
}
.orbit-item:nth-child(1) { transform: rotateY(0deg) translateZ(150px); }
.orbit-item:nth-child(2) { transform: rotateY(120deg) translateZ(150px); }
.orbit-item:nth-child(3) { transform: rotateY(240deg) translateZ(150px); }
.orbit-card {
    width: 100%;
    height: 100%;
    background: rgba(255,255,255,0.08);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 14px;
    padding: 10px;
    box-sizing: border-box;
    transition: all 0.4s ease;
    transform: rotateY(0deg);
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
}
.orbit-card:hover {
    background: rgba(255,255,255,0.15);
    border-color: rgba(6,182,212,0.4);
    box-shadow: 0 15px 30px rgba(6,182,212,0.2);
    transform: scale(1.08) rotateY(0deg);
}
.orbit-img-wrapper {
    width: 100%;
    height: 130px;
    background: linear-gradient(135deg, rgba(6,182,212,0.1) 0%, rgba(139,92,246,0.1) 100%);
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}
.orbit-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.4s ease;
}
.orbit-card:hover .orbit-img-wrapper img {
    transform: scale(1.1);
}
.orbit-card .orbit-title {
    margin-top: 12px;
    font-size: 14px;
    color: rgba(255,255,255,.94);
    font-weight: 500;
}
.orbit-card .orbit-desc {
    margin-top: 4px;
    font-size: 12px;
    color: rgba(255,255,255,.66);
}
.orbit-hint {
    text-align: center;
    margin-top: 20px;
    color: rgba(255,255,255,.66);
    font-size: 13px;
}

.image-modal .modal-content {
    max-width: 800px;
    padding: 40px;
}
.image-preview {
    width: 100%;
    aspect-ratio: 16/10;
    background: rgba(0,0,0,0.4);
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 25px;
    border: 2px dashed rgba(236,72,153,0.3);
    position: relative;
    overflow: hidden;
}
.image-preview::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(236,72,153,0.05), rgba(139,92,246,0.05));
}
.image-preview img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    position: relative;
    z-index: 1;
    border-radius: 8px;
}
.image-preview span {
    color: rgba(255,255,255,.66);
    font-size: 15px;
    position: relative;
    z-index: 1;
}
.image-modal h4 {
    color: #ec4899;
    font-size: 20px;
    margin-bottom: 12px;
}
.image-modal p {
    color: rgba(255,255,255,.85);
    font-size: 15px;
    line-height: 1.8;
}

.modal-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(135deg, 
        rgba(3,7,18,0.98) 0%, 
        rgba(15,23,42,0.96) 30%, 
        rgba(30,41,59,0.95) 70%, 
        rgba(3,7,18,0.98) 100%);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.4,0,0.2,1);
    backdrop-filter: blur(10px);
}
.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}
.modal-bg-decoration {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}
.modal-stars {
    position: absolute;
    inset: 0;
}
.modal-star {
    position: absolute;
    width: 3px; height: 3px;
    background: rgba(255,255,255,0.8);
    border-radius: 50%;
    animation: starTwinkle 2s ease-in-out infinite;
}
@keyframes starTwinkle {
    0%, 100% { opacity: 0.3; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.2); }
}
.modal-star:nth-child(1) { top: 10%; left: 15%; animation-delay: 0s; }
.modal-star:nth-child(2) { top: 20%; left: 80%; animation-delay: 0.2s; }
.modal-star:nth-child(3) { top: 35%; left: 25%; animation-delay: 0.4s; }
.modal-star:nth-child(4) { top: 15%; left: 60%; animation-delay: 0.6s; }
.modal-star:nth-child(5) { top: 60%; left: 10%; animation-delay: 0.8s; }
.modal-star:nth-child(6) { top: 75%; left: 70%; animation-delay: 1s; }
.modal-star:nth-child(7) { top: 85%; left: 30%; animation-delay: 1.2s; }
.modal-star:nth-child(8) { top: 45%; left: 85%; animation-delay: 1.4s; }
.modal-star:nth-child(9) { top: 55%; left: 50%; animation-delay: 1.6s; }
.modal-star:nth-child(10) { top: 90%; left: 60%; animation-delay: 1.8s; }
.modal-star:nth-child(11) { top: 25%; left: 40%; animation-delay: 0.1s; }
.modal-star:nth-child(12) { top: 40%; left: 75%; animation-delay: 0.3s; }
.modal-star:nth-child(13) { top: 65%; left: 20%; animation-delay: 0.5s; }
.modal-star:nth-child(14) { top: 70%; left: 90%; animation-delay: 0.7s; }
.modal-star:nth-child(15) { top: 30%; left: 5%; animation-delay: 0.9s; }
.modal-star:nth-child(16) { top: 50%; left: 95%; animation-delay: 1.1s; }
.modal-star:nth-child(17) { top: 80%; left: 45%; animation-delay: 1.3s; }
.modal-star:nth-child(18) { top: 5%; left: 55%; animation-delay: 1.5s; }
.modal-star:nth-child(19) { top: 95%; left: 25%; animation-delay: 1.7s; }
.modal-star:nth-child(20) { top: 18%; left: 35%; animation-delay: 1.9s; }

.modal-nebula {
    position: absolute;
    width: 400px; height: 400px;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.4;
}
.modal-nebula.nebula-1 {
    top: -10%; left: -10%;
    background: radial-gradient(ellipse at center, 
        rgba(139,92,246,0.4) 0%, 
        rgba(79,195,247,0.3) 30%, 
        rgba(34,211,238,0.2) 50%, 
        transparent 70%);
    animation: nebulaFloat 8s ease-in-out infinite;
}
.modal-nebula.nebula-2 {
    bottom: -10%; right: -10%;
    background: radial-gradient(ellipse at center, 
        rgba(236,72,153,0.35) 0%, 
        rgba(139,92,246,0.3) 40%, 
        transparent 70%);
    animation: nebulaFloat 10s ease-in-out infinite reverse;
}
.modal-nebula.nebula-3 {
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    background: radial-gradient(ellipse at center, 
        rgba(79,195,247,0.3) 0%, 
        rgba(34,211,238,0.25) 40%, 
        transparent 70%);
    animation: nebulaFloat 12s ease-in-out infinite;
}
@keyframes nebulaFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(30px, 30px) scale(1.1); }
}

.modal-meteor {
    position: absolute;
    width: 100px; height: 3px;
    background: linear-gradient(90deg, rgba(255,255,255,0.9), rgba(79,195,247,0.7), transparent);
    opacity: 0;
    animation: meteorShoot 4s ease-in-out infinite;
}
@keyframes meteorShoot {
    0% { 
        opacity: 0; 
        transform: translateX(-100px) translateY(-50px) rotate(-35deg);
    }
    10% { opacity: 1; }
    40% { opacity: 0; }
    100% { 
        opacity: 0; 
        transform: translateX(100vw) translateY(50vh) rotate(-35deg);
    }
}
.modal-meteor:nth-child(1) { top: 15%; animation-delay: 0s; }
.modal-meteor:nth-child(2) { top: 35%; animation-delay: 1.2s; }
.modal-meteor:nth-child(3) { top: 55%; animation-delay: 2.4s; }
.modal-meteor:nth-child(4) { top: 75%; animation-delay: 0.8s; }
.modal-meteor:nth-child(5) { top: 90%; animation-delay: 1.8s; }
.modal-meteor::before {
    content: '';
    position: absolute;
    top: 50%; left: 0;
    transform: translateY(-50%);
    width: 8px; height: 8px;
    background: radial-gradient(circle, rgba(255,255,255,1), rgba(79,195,247,0.6));
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(79,195,247,0.8), 0 0 20px rgba(255,255,255,0.5);
}

.modal-stardust {
    position: absolute;
    inset: 0;
}
.modal-dust {
    position: absolute;
    width: 2px; height: 2px;
    background: rgba(255,255,255,0.6);
    border-radius: 50%;
    animation: dustFloat 6s ease-in-out infinite;
}
@keyframes dustFloat {
    0%, 100% { transform: translateY(0) translateX(0); opacity: 0.3; }
    50% { transform: translateY(-20px) translateX(10px); opacity: 0.8; }
}
.modal-dust:nth-child(1) { top: 20%; left: 20%; animation-delay: 0s; }
.modal-dust:nth-child(2) { top: 40%; left: 60%; animation-delay: 0.5s; }
.modal-dust:nth-child(3) { top: 60%; left: 30%; animation-delay: 1s; }
.modal-dust:nth-child(4) { top: 80%; left: 70%; animation-delay: 1.5s; }
.modal-dust:nth-child(5) { top: 30%; left: 80%; animation-delay: 2s; }
.modal-dust:nth-child(6) { top: 50%; left: 10%; animation-delay: 2.5s; }
.modal-dust:nth-child(7) { top: 70%; left: 90%; animation-delay: 3s; }
.modal-dust:nth-child(8) { top: 90%; left: 40%; animation-delay: 3.5s; }
.modal-dust:nth-child(9) { top: 15%; left: 50%; animation-delay: 4s; }
.modal-dust:nth-child(10) { top: 45%; left: 25%; animation-delay: 4.5s; }
.modal-dust:nth-child(11) { top: 65%; left: 75%; animation-delay: 5s; }
.modal-dust:nth-child(12) { top: 85%; left: 15%; animation-delay: 5.5s; }
.modal-dust:nth-child(13) { top: 25%; left: 45%; animation-delay: 0.3s; }
.modal-dust:nth-child(14) { top: 55%; left: 55%; animation-delay: 0.8s; }
.modal-dust:nth-child(15) { top: 75%; left: 35%; animation-delay: 1.3s; }
.modal-dust:nth-child(16) { top: 10%; left: 70%; animation-delay: 1.8s; }
.modal-dust:nth-child(17) { top: 35%; left: 15%; animation-delay: 2.3s; }
.modal-dust:nth-child(18) { top: 55%; left: 85%; animation-delay: 2.8s; }
.modal-dust:nth-child(19) { top: 75%; left: 5%; animation-delay: 3.3s; }
.modal-dust:nth-child(20) { top: 95%; left: 50%; animation-delay: 3.8s; }

.modal-pulse-ring {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    border: 2px solid rgba(79,195,247,0.3);
    border-radius: 50%;
    opacity: 0;
    animation: pulseRing 3s ease-out infinite;
}
.modal-pulse-ring:nth-child(1) { width: 300px; height: 300px; animation-delay: 0s; }
.modal-pulse-ring:nth-child(2) { width: 400px; height: 400px; animation-delay: 1s; }
.modal-pulse-ring:nth-child(3) { width: 500px; height: 500px; animation-delay: 2s; }
@keyframes pulseRing {
    0% { opacity: 0.5; transform: translate(-50%, -50%) scale(0.8); }
    100% { opacity: 0; transform: translate(-50%, -50%) scale(1.5); }
}

.modal-content {
    background: radial-gradient(ellipse at center, rgba(15,23,42,0.98) 0%, rgba(3,7,18,0.98) 100%);
    border: 1px solid rgba(79,195,247,0.3);
    border-radius: 18px;
    padding: 25px;
    max-width: 680px;
    width: 80%;
    max-height: 70vh;
    overflow-y: auto;
    position: relative;
    z-index: 1;
    box-shadow: 0 15px 40px rgba(0,0,0,0.4), 0 0 30px rgba(79,195,247,0.06), inset 0 1px 0 rgba(255,255,255,0.05);
    transform: scale(0.95);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    will-change: transform;
}
.modal-overlay.active .modal-content {
    transform: scale(1);
}
.modal-close {
    position: absolute;
    top: 20px; right: 20px;
    width: 48px; height: 48px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 50%;
    color: rgba(255,255,255,0.7);
    font-size: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
}
.modal-close:hover {
    background: rgba(255,255,255,0.15);
    color: #fff;
    border-color: rgba(79,195,247,0.4);
    transform: scale(1.1);
}

.ip-modal-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
}
.ip-modal-header .ip-modal-icon {
    font-size: 48px;
    animation: floatIcon 3s ease-in-out infinite;
}
.ip-modal-header h4 {
    color: #8b5cf6;
    font-size: 22px;
    margin: 0;
}
.ip-modal-content p {
    color: rgba(255,255,255,.85);
    font-size: 15px;
    line-height: 2;
    margin-bottom: 25px;
}
.ip-modal-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-bottom: 25px;
}
.ip-feature {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px 20px;
    background: rgba(139,92,246,0.1);
    border-radius: 12px;
}
.ip-feature .feature-icon {
    color: #8b5cf6;
    font-size: 18px;
}
.ip-feature .feature-text {
    color: rgba(255,255,255,.85);
    font-size: 14px;
}

.archive-concept {
    background: linear-gradient(135deg, rgba(139,92,246,0.15), rgba(79,195,247,0.15));
    border: 1px solid rgba(139,92,246,0.4);
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 30px;
    position: relative;
    overflow: hidden;
}

.training-card {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    background: rgba(15,23,42,0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(79,195,247,0.2);
    border-radius: 24px;
    overflow: hidden;
}

.training-header {
    padding: 30px;
    background: linear-gradient(135deg, rgba(79,195,247,0.15) 0%, rgba(139,92,246,0.15) 100%);
    border-bottom: 1px solid rgba(255,255,255,0.1);
    text-align: center;
}

.training-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: white;
    padding: 8px 20px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 15px;
    animation: badgePulse 2s ease-in-out infinite;
}

@keyframes badgePulse {
    0%, 100% { transform: scale(1); box-shadow: 0 0 20px rgba(245,158,11,0.4); }
    50% { transform: scale(1.05); box-shadow: 0 0 40px rgba(245,158,11,0.6); }
}

.training-header h3 {
    font-size: 28px;
    color: rgba(255,255,255,.94);
    margin: 0 0 12px 0;
}

.training-header p {
    color: rgba(255,255,255,.66);
    font-size: 15px;
    line-height: 1.8;
    margin: 0;
}

.training-content {
    padding: 30px;
}

.training-video-section {
    margin-bottom: 30px;
}

.video-container {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    background: rgba(0,0,0,0.5);
    border: 1px solid rgba(79,195,247,0.2);
}

.training-video {
    width: 100%;
    height: auto;
    max-height: 400px;
    display: block;
}

.video-info {
    margin-top: 15px;
    text-align: center;
}

.video-info h4 {
    font-size: 18px;
    color: rgba(255,255,255,.9);
    margin: 0 0 8px 0;
}

.video-info p {
    font-size: 14px;
    color: rgba(255,255,255,.6);
    margin: 0;
}

.training-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-bottom: 30px;
}

.feature-card {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 16px;
    padding: 20px;
    transition: all 0.3s ease;
}

.feature-card:hover {
    background: rgba(255,255,255,0.08);
    border-color: rgba(79,195,247,0.3);
    transform: translateY(-3px);
}

.feature-icon {
    font-size: 32px;
    margin-bottom: 12px;
}

.feature-title {
    font-size: 16px;
    font-weight: 700;
    color: rgba(255,255,255,.9);
    margin-bottom: 8px;
}

.feature-desc {
    font-size: 13px;
    color: rgba(255,255,255,.6);
    line-height: 1.6;
}

.training-results {
    display: flex;
    justify-content: center;
    gap: 40px;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.result-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.result-value {
    font-size: 48px;
    animation: bounceIn 1s ease;
}

@keyframes bounceIn {
    0% { transform: scale(0); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

.result-label {
    font-size: 14px;
    color: rgba(255,255,255,.8);
    font-weight: 600;
}

@media (max-width: 600px) {
    .training-features { grid-template-columns: 1fr; }
    .training-results { gap: 20px; }
    .result-value { font-size: 32px; }
}

.page-experience {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 60px 20px;
}

.experience-container {
    width: 100%;
    max-width: 1200px;
}

.experience-header {
    text-align: center;
    margin-bottom: 60px;
}

.experience-header .eyebrow {
    font-size: 14px;
    font-weight: 600;
    color: rgba(79,195,247,0.8);
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 12px;
}

.experience-header h2 {
    font-size: 42px;
    color: rgba(255,255,255,.94);
    margin: 0 0 12px 0;
}

.experience-header .section-subtitle {
    font-size: 16px;
    color: rgba(255,255,255,.6);
    margin: 0;
}

.timeline-wrapper {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
}

.timeline-line {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, rgba(79,195,247,0.6) 0%, rgba(139,92,246,0.6) 100%);
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    margin-bottom: 50px;
    display: flex;
    align-items: center;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-left {
    flex-direction: row;
}

.timeline-right {
    flex-direction: row-reverse;
}

.timeline-dot {
    position: absolute;
    left: 50%;
    width: 16px;
    height: 16px;
    background: linear-gradient(135deg, #4fc3f7, #8b5cf6);
    border: 3px solid rgba(15,23,42,0.9);
    border-radius: 50%;
    transform: translateX(-50%);
    z-index: 1;
    box-shadow: 0 0 20px rgba(79,195,247,0.5);
}

.timeline-card {
    width: 45%;
    background: rgba(15,23,42,0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 20px;
    padding: 25px;
    transition: all 0.4s ease;
}

.timeline-card:hover {
    border-color: rgba(79,195,247,0.4);
    box-shadow: 0 20px 40px rgba(79,195,247,0.15);
    transform: translateY(-5px);
}

.card-icon-box {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, rgba(79,195,247,0.2), rgba(79,195,247,0.1));
    border: 1px solid rgba(79,195,247,0.3);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    color: #4fc3f7;
    font-size: 20px;
}

.card-icon-box.purple {
    background: linear-gradient(135deg, rgba(139,92,246,0.2), rgba(139,92,246,0.1));
    border-color: rgba(139,92,246,0.3);
    color: #8b5cf6;
}

.card-icon-box.blue {
    background: linear-gradient(135deg, rgba(34,211,238,0.2), rgba(34,211,238,0.1));
    border-color: rgba(34,211,238,0.3);
    color: #22d3ee;
}

.card-icon-box svg {
    width: 24px;
    height: 24px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
}

.card-content h3 {
    font-size: 20px;
    color: rgba(255,255,255,.94);
    margin: 0 0 8px 0;
}

.card-tag {
    font-size: 12px;
    color: rgba(79,195,247,0.8);
    background: rgba(79,195,247,0.1);
    padding: 4px 12px;
    border-radius: 15px;
    margin-bottom: 15px;
    display: inline-block;
}

.card-content p {
    font-size: 14px;
    color: rgba(255,255,255,.66);
    line-height: 1.8;
    margin: 0 0 15px 0;
}

.card-highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.highlight {
    font-size: 12px;
    color: rgba(255,255,255,.8);
    background: rgba(255,255,255,0.1);
    padding: 5px 12px;
    border-radius: 8px;
}

@media (max-width: 768px) {
    .timeline-line { left: 30px; }
    .timeline-dot { left: 30px; }
    .timeline-item { flex-direction: column !important; align-items: flex-start; }
    .timeline-card { width: calc(100% - 60px); margin-left: 60px; }
    .experience-header h2 { font-size: 32px; }
}

.work-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-bottom: 30px;
}

.work-tab {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 30px;
    color: rgba(255,255,255,.7);
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.work-tab:hover {
    background: rgba(255,255,255,0.1);
    border-color: rgba(79,195,247,0.3);
    color: rgba(255,255,255,.9);
}

.work-tab.active {
    background: linear-gradient(135deg, rgba(79,195,247,0.25), rgba(139,92,246,0.25));
    border-color: rgba(79,195,247,0.4);
    color: rgba(255,255,255,.94);
    box-shadow: 0 0 20px rgba(79,195,247,0.2);
}

.tab-icon {
    font-size: 16px;
}

.tab-label {
    font-weight: 500;
}

@media (max-width: 600px) {
    .work-tab { padding: 10px 14px; font-size: 12px; }
    .tab-icon { font-size: 14px; }
}

.training-cube-wrapper {
    text-align: center;
    padding: 20px;
}

.cube-title {
    font-size: 28px;
    color: rgba(255,255,255,.94);
    margin-bottom: 8px;
    opacity: 0;
    animation: fadeInUp 0.6s ease-out forwards;
}

.cube-subtitle {
    font-size: 14px;
    color: rgba(255,255,255,.5);
    margin-bottom: 40px;
    opacity: 0;
    animation: fadeInUp 0.6s ease-out 0.2s forwards;
}

.glass-cube-container {
    perspective: 1200px;
    perspective-origin: center center;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 450px;
    opacity: 0;
    animation: fadeInUp 0.6s ease-out 0.4s forwards;
}

.glass-cube {
    width: 280px;
    height: 280px;
    position: relative;
    transform-style: preserve-3d;
    transform: translateZ(0) rotateX(-20deg) rotateY(-30deg);
    animation: glassAutoRotate 20s linear infinite;
    cursor: grab;
    will-change: transform;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

.glass-cube.grabbing { 
    cursor: grabbing; 
    animation-play-state: paused; 
}

.glass-cube.locked { 
    animation-play-state: paused; 
}

@keyframes glassAutoRotate {
    from { transform: translateZ(0) rotateX(-20deg) rotateY(0deg); }
    to { transform: translateZ(0) rotateX(-20deg) rotateY(360deg); }
}

.glass-face {
    position: absolute;
    width: 280px;
    height: 280px;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 14px;
    box-sizing: border-box;
    background: rgba(30, 41, 59, 0.85);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 14px;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.3), 0 2px 6px rgba(0, 0, 0, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    transform: translateZ(1px);
    will-change: transform;
}

.face-label {
    font-size: 12px;
    font-weight: 600;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 10px;
    padding: 5px 14px;
    background: rgba(148, 163, 184, 0.15);
    border-radius: 20px;
}

.glass-front { transform: translateZ(160px); }
.glass-back { transform: rotateY(180deg) translateZ(160px); }
.glass-right { transform: rotateY(90deg) translateZ(160px); }
.glass-left { transform: rotateY(-90deg) translateZ(160px); }
.glass-top { transform: rotateX(90deg) translateZ(160px); }
.glass-bottom { transform: rotateX(-90deg) translateZ(160px); }

.video-wrapper {
    width: 100%;
    height: calc(100% - 40px);
    border-radius: 14px;
    overflow: hidden;
    background: #0f172a;
    position: relative;
}

.cube-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.script-editor {
    width: 100%;
    height: calc(100% - 40px);
    background: #1e293b;
    border-radius: 14px;
    padding: 14px;
    overflow: hidden;
    position: relative;
}

.script-scroll {
    display: flex;
    flex-direction: column;
    gap: 10px;
    animation: scriptScroll 15s linear infinite;
}

@keyframes scriptScroll {
    0% { transform: translateY(0); }
    100% { transform: translateY(-50%); }
}

.script-section {
    background: #0f172a;
    border-radius: 10px;
    padding: 10px;
    border-left: 4px solid #475569;
    flex-shrink: 0;
}

.script-tag {
    font-size: 9px;
    font-weight: 700;
    color: white;
    padding: 2px 6px;
    border-radius: 4px;
    margin-right: 6px;
    text-transform: uppercase;
}

.script-tag.hook { background: #ef4444; }
.script-tag.intro { background: #3b82f6; }
.script-tag.advantage { background: #22c55e; }
.script-tag.trust { background: #f59e0b; }
.script-tag.cta { background: #8b5cf6; }

.script-section p {
    margin: 6px 0 0 0;
    font-size: 12px;
    color: #94a3b8;
    line-height: 1.5;
}

.tools {
    width: 100%;
    height: calc(100% - 40px);
    display: flex;
    flex-direction: column;
    gap: 10px;
    overflow: hidden;
    position: relative;
}

.tools-scroll {
    display: flex;
    flex-direction: column;
    gap: 10px;
    animation: toolsScroll 12s linear infinite;
}

@keyframes toolsScroll {
    0% { transform: translateY(0); }
    100% { transform: translateY(-50%); }
}

.tool-item {
    background: rgba(148, 163, 184, 0.1);
    border-radius: 10px;
    padding: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.tool-icon { 
    font-size: 20px; 
    width: 36px; 
    height: 36px; 
    display: flex; 
    justify-content: center; 
    align-items: center; 
    background: #1e293b; 
    border-radius: 8px; 
    box-shadow: 0 2px 6px rgba(0,0,0,0.2); 
}

.tool-name { font-size: 12px; font-weight: 600; color: #94a3b8; flex: 1; }
.tool-desc { font-size: 10px; color: #64748b; }

.team {
    width: 100%;
    height: calc(100% - 40px);
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.team-member {
    background: rgba(148, 163, 184, 0.1);
    border-radius: 10px;
    padding: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.member-avatar { 
    font-size: 28px; 
    width: 44px; 
    height: 44px; 
    display: flex; 
    justify-content: center; 
    align-items: center; 
    background: linear-gradient(135deg, #60a5fa 0%, #3b82f6 100%); 
    border-radius: 10px; 
    color: white; 
}

.member-name { font-size: 13px; font-weight: 600; color: #94a3b8; flex: 1; }
.member-role { font-size: 10px; color: #64748b; background: rgba(148, 163, 184, 0.15); padding: 3px 8px; border-radius: 10px; }

.reflection {
    width: 100%;
    height: calc(100% - 40px);
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.reflection-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 10px;
    background: rgba(148, 163, 184, 0.1);
    border-radius: 8px;
}

.reflection-icon { font-size: 18px; }
.reflection-text { font-size: 11px; color: #94a3b8; font-weight: 500; }

.cube-hint {
    color: rgba(255,255,255,.5);
    font-size: 13px;
    margin-top: 20px;
    opacity: 0;
    animation: fadeInUp 0.6s ease-out 0.6s forwards;
}

.training-results-bar {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.result-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(245,158,11,0.15);
    border: 1px solid rgba(245,158,11,0.3);
    padding: 10px 20px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
    color: rgba(255,255,255,.8);
    animation: badgePulse 2s ease-in-out infinite;
}

@keyframes badgePulse {
    0%, 100% { transform: scale(1); box-shadow: 0 0 20px rgba(245,158,11,0.2); }
    50% { transform: scale(1.03); box-shadow: 0 0 30px rgba(245,158,11,0.4); }
}

@media (max-width: 600px) {
    .glass-cube { width: 240px; height: 240px; }
    .glass-face { width: 240px; height: 240px; padding: 12px; }
    .glass-front { transform: translateZ(120px); }
    .glass-back { transform: rotateY(180deg) translateZ(120px); }
    .glass-right { transform: rotateY(90deg) translateZ(120px); }
    .glass-left { transform: rotateY(-90deg) translateZ(120px); }
    .glass-top { transform: rotateX(90deg) translateZ(120px); }
    .glass-bottom { transform: rotateX(-90deg) translateZ(120px); }
    .glass-cube-container { height: 400px; }
    .cube-title { font-size: 22px; }
    .training-results-bar { gap: 15px; }
    .result-badge { padding: 8px 14px; font-size: 12px; }
}

.page-experience {
    position: relative;
    overflow: hidden;
}

.experience-section {
    position: relative;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 60px 20px 100px;
}

.experience-header {
    text-align: center;
    margin-bottom: 80px;
    position: relative;
}

.experience-header .num {
    font-size: 72px;
    font-weight: 200;
    color: rgba(22, 93, 255, 0.1);
    line-height: 1;
    display: block;
    margin-bottom: -10px;
}

.experience-header h2 {
    font-size: 38px;
    font-weight: 700;
    color: rgba(255,255,255,.94);
    margin-bottom: 12px;
    letter-spacing: 4px;
}

.experience-header .en {
    font-size: 14px;
    color: rgba(255,255,255,.4);
    letter-spacing: 8px;
    text-transform: uppercase;
}

.timeline-container {
    position: relative;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
}

.timeline-line {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, 
        rgba(22, 93, 255, 0.8) 0%, 
        rgba(22, 93, 255, 0.3) 30%,
        rgba(22, 93, 255, 0.1) 70%,
        transparent 100%);
    transform: translateX(-50%);
    opacity: 0;
    animation: lineFadeIn 1.5s ease 0.5s forwards;
}

@keyframes lineFadeIn {
    to { opacity: 1; }
}

.timeline-left-column,
.timeline-right-column {
    flex: 1;
    max-width: calc(50% - 20px);
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.timeline-item {
    display: flex;
    align-items: center;
    gap: 20px;
    position: relative;
    opacity: 0;
    transform: translateY(60px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.timeline-item.visible {
    opacity: 1;
    transform: translateY(0);
}

.timeline-item.left-item {
    flex-direction: row;
    justify-content: flex-end;
}

.timeline-item.right-item {
    flex-direction: row;
    justify-content: flex-start;
    align-self: stretch;
}

.timeline-node {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: rgba(22, 93, 255, 0.8);
    border: 3px solid rgba(0,0,0,.8);
    box-shadow: 0 0 20px rgba(22, 93, 255, 0.5), 0 0 40px rgba(22, 93, 255, 0.2);
    position: relative;
    z-index: 10;
    flex-shrink: 0;
    animation: nodePulse 2s ease-in-out infinite;
}

@keyframes nodePulse {
    0%, 100% { box-shadow: 0 0 20px rgba(22, 93, 255, 0.5), 0 0 40px rgba(22, 93, 255, 0.2); }
    50% { box-shadow: 0 0 30px rgba(22, 93, 255, 0.6), 0 0 60px rgba(22, 93, 255, 0.3); }
}

.exp-card-wrapper {
    flex: 1;
    max-width: 580px;
}

.timeline-right-column .exp-card-wrapper {
    width: 100%;
}

.exp-card {
    background: rgba(30, 41, 59, 0.8);
    backdrop-filter: blur(25px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 40px;
    position: relative;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.exp-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.04), transparent);
    transition: left 1s ease;
}

.exp-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, rgba(22, 93, 255, 0.8), rgba(251, 191, 36, 0.6), rgba(22, 93, 255, 0.8));
    background-size: 200% 100%;
    animation: gradientFlow 3s linear infinite;
    opacity: 0;
    transition: opacity 0.5s;
}

@keyframes gradientFlow {
    0% { background-position: 0% 50%; }
    100% { background-position: 200% 50%; }
}

.exp-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 30px 80px rgba(0,0,0,0.3), 0 0 50px rgba(22, 93, 255, 0.2);
    border-color: rgba(22, 93, 255, 0.3);
    background: rgba(30, 41, 59, 0.9);
}

.exp-card:hover::before {
    left: 200%;
}

.exp-card:hover::after {
    opacity: 1;
}

.card-top-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(22, 93, 255, 0.2) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.5s;
    pointer-events: none;
}

.exp-card:hover .card-top-glow {
    opacity: 0.15;
}

.exp-card-header {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 20px;
    position: relative;
    z-index: 2;
}

.exp-icon-box {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(22, 93, 255, 0.15), rgba(22, 93, 255, 0.05));
    border: 2px solid rgba(22, 93, 255, 0.2);
    position: relative;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    flex-shrink: 0;
}

.exp-card:hover .exp-icon-box {
    transform: scale(1.1) rotate(5deg);
    border-color: rgba(22, 93, 255, 0.4);
    box-shadow: 0 0 25px rgba(22, 93, 255, 0.3);
}

.exp-icon-box svg {
    width: 30px;
    height: 30px;
    stroke: rgba(22, 93, 255, 0.8);
    stroke-width: 1.5;
    fill: none;
    transition: all 0.5s;
}

.exp-card:hover .exp-icon-box svg {
    filter: drop-shadow(0 0 10px rgba(22, 93, 255, 0.6));
    animation: iconBounce 0.6s ease;
}

@keyframes iconBounce {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); }
}

.exp-number {
    font-size: 48px;
    font-weight: 200;
    color: rgba(22, 93, 255, 0.08);
    line-height: 1;
    margin-left: auto;
    transition: all 0.5s;
    position: relative;
}

.exp-card:hover .exp-number {
    color: rgba(22, 93, 255, 0.2);
    transform: scale(1.1);
}

.exp-title-group {
    flex: 1;
}

.exp-title {
    font-size: 22px;
    font-weight: 700;
    color: rgba(255,255,255,.94);
    margin-bottom: 8px;
    letter-spacing: 1px;
    position: relative;
    display: inline-block;
}

.exp-title::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: rgba(22, 93, 255, 0.8);
    transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 1px;
}

.exp-card:hover .exp-title::after {
    width: 100%;
}

.exp-subtitle {
    font-size: 13px;
    color: rgba(22, 93, 255, 0.8);
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 600;
}

.exp-summary {
    font-size: 15px;
    line-height: 1.9;
    color: rgba(255,255,255,.6);
    margin-bottom: 20px;
    position: relative;
    z-index: 2;
}

.exp-honor-tags {
    display: flex;
    gap: 12px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.exp-honor-tag {
    padding: 8px 18px;
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.15), rgba(245, 158, 11, 0.05));
    border: 1px solid rgba(251, 191, 36, 0.3);
    border-radius: 20px;
    color: #fbbf24;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1px;
    opacity: 0;
    transform: translateY(10px);
    animation: tagPop 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

.timeline-item.visible .exp-honor-tag:nth-child(1) { animation-delay: 0.8s; }
.timeline-item.visible .exp-honor-tag:nth-child(2) { animation-delay: 0.95s; }

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

.exp-detail-panel {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.exp-detail-panel.expanded {
    max-height: 500px;
}

.exp-detail-inner {
    padding: 20px;
    background: rgba(22, 93, 255, 0.03);
    border: 1px solid rgba(22, 93, 255, 0.1);
    border-radius: 16px;
    margin-top: 20px;
}

.exp-detail-item {
    display: flex;
    gap: 16px;
    padding: 14px 0;
    border-bottom: 1px solid rgba(22, 93, 255, 0.06);
    opacity: 0;
    transform: translateX(-20px);
    transition: all 0.5s ease;
}

.exp-detail-item:last-child {
    border-bottom: none;
}

.exp-detail-panel.expanded .exp-detail-item {
    opacity: 1;
    transform: translateX(0);
}

.exp-detail-panel.expanded .exp-detail-item:nth-child(1) { transition-delay: 0.1s; }
.exp-detail-panel.expanded .exp-detail-item:nth-child(2) { transition-delay: 0.25s; }
.exp-detail-panel.expanded .exp-detail-item:nth-child(3) { transition-delay: 0.4s; }
.exp-detail-panel.expanded .exp-detail-item:nth-child(4) { transition-delay: 0.55s; }

.exp-detail-check {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    border: 2px solid rgba(22, 93, 255, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 2px;
    transition: all 0.4s;
}

.exp-detail-panel.expanded .exp-detail-check {
    background: rgba(22, 93, 255, 0.8);
    border-color: rgba(22, 93, 255, 0.8);
    box-shadow: 0 0 15px rgba(22, 93, 255, 0.4);
}

.exp-detail-check svg {
    width: 12px;
    height: 12px;
    stroke: #fff;
    stroke-width: 3;
    fill: none;
    opacity: 0;
    transition: opacity 0.3s;
}

.exp-detail-panel.expanded .exp-detail-check svg {
    opacity: 1;
}

.exp-detail-text {
    font-size: 14px;
    line-height: 1.8;
    color: rgba(255,255,255,.6);
}

.exp-detail-text strong {
    color: rgba(255,255,255,.94);
    font-weight: 600;
}

.exp-expand-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    background: linear-gradient(135deg, rgba(22, 93, 255, 0.1), rgba(22, 93, 255, 0.05));
    border: 1px solid rgba(22, 93, 255, 0.2);
    border-radius: 25px;
    color: rgba(22, 93, 255, 0.9);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    margin-top: 20px;
    position: relative;
    z-index: 2;
}

.exp-expand-btn:hover {
    background: linear-gradient(135deg, rgba(22, 93, 255, 0.18), rgba(22, 93, 255, 0.1));
    border-color: rgba(22, 93, 255, 0.4);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(22, 93, 255, 0.2);
}

.exp-expand-btn .btn-arrow {
    display: inline-block;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.exp-expand-btn.expanded .btn-arrow {
    transform: rotate(180deg);
}

.exp-card.large-card {
    min-height: 100%;
}

@media (max-width: 1100px) {
    .timeline-line {
        left: 30px;
    }

    .timeline-container {
        flex-direction: column;
    }

    .timeline-left-column,
    .timeline-right-column {
        max-width: 100%;
    }

    .timeline-item,
    .timeline-item.left-item,
    .timeline-item.right-item {
        flex-direction: row;
        align-items: flex-start;
        padding-left: 0;
    }

    .timeline-node {
        position: relative;
        left: auto;
        top: auto;
    }

    .exp-card-wrapper {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .exp-card {
        padding: 30px;
    }

    .exp-title {
        font-size: 18px;
    }

    .exp-icon-box {
        width: 50px;
        height: 50px;
    }

    .exp-number {
        font-size: 36px;
    }

    .experience-header h2 {
        font-size: 28px;
    }

    .experience-section {
        padding: 40px 15px 80px;
    }
}
