:root {
  --bg: #0c0c0c;
  --bg-alt: #111111;
  --bg-card: #161616;
  --bg-card-hover: #1c1c1c;
  --text: #f0efe9;
  --text-dim: #8a8a8a;
  --text-muted: #555555;
  --accent: #c8ff00;
  --accent-dim: rgba(200, 255, 0, 0.12);
  --border: rgba(255, 255, 255, 0.07);
  --font: 'Noto Sans SC', -apple-system, BlinkMacSystemFont, sans-serif;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out: cubic-bezier(0.33, 1, 0.68, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  scrollbar-width: thin;
  scrollbar-color: var(--text-muted) var(--bg);
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  cursor: none;
}

a { color: inherit; text-decoration: none; cursor: none; }
button { cursor: none; }
img, video { max-width: 100%; display: block; }

::selection {
  background: var(--accent);
  color: var(--bg);
}

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--text-muted); border-radius: 3px; }

/* ========== Custom Cursor ========== */
.cursor {
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 9999;
  mix-blend-mode: difference;
  transition: transform 0.15s var(--ease);
}

.cursor-follower {
  width: 36px;
  height: 36px;
  border: 1px solid var(--accent);
  border-radius: 50%;
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 9998;
  transition: transform 0.4s var(--ease), width 0.3s var(--ease), height 0.3s var(--ease), border-color 0.3s;
}

body.cursor-hover .cursor { transform: scale(3); }
body.cursor-hover .cursor-follower { width: 60px; height: 60px; border-color: transparent; }

@media (pointer: coarse) {
  .cursor, .cursor-follower { display: none; }
  body { cursor: auto; }
  a, button { cursor: pointer; }
}

/* ========== Preloader ========== */
.preloader {
  position: fixed;
  inset: 0;
  background: var(--bg);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.6s var(--ease), visibility 0.6s;
}

.preloader.done {
  opacity: 0;
  visibility: hidden;
}

.preloader-text {
  font-size: clamp(2rem, 6vw, 4rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  color: var(--text);
  position: relative;
  overflow: hidden;
}

.preloader-text::after {
  content: attr(data-text);
  position: absolute;
  left: 0;
  top: 0;
  color: var(--accent);
  clip-path: inset(0 100% 0 0);
  animation: preloaderReveal 1.5s var(--ease) forwards;
}

@keyframes preloaderReveal {
  to { clip-path: inset(0 0 0 0); }
}

/* ========== Navigation ========== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 24px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  mix-blend-mode: difference;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav.nav-hidden {
  transform: translateY(-100%);
}

.nav-logo {
  font-size: 1.4rem;
  font-weight: 900;
  color: #fff;
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-logo-img {
  height: 36px;
  width: auto;
  object-fit: contain;
}

.dot { color: var(--accent); }

.nav-links {
  display: flex;
  gap: 36px;
}

.nav-link {
  font-size: 0.82rem;
  font-weight: 500;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  position: relative;
  transition: opacity 0.3s;
}

.nav-link::before {
  content: attr(data-index) ' / ';
  color: var(--accent);
  font-size: 0.7rem;
  margin-right: 4px;
}

.nav-link:hover { opacity: 0.7; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  padding: 8px;
}

.nav-toggle span {
  width: 28px;
  height: 2px;
  background: #fff;
  transition: 0.3s var(--ease);
  transform-origin: center;
}

.nav-toggle.active span:first-child { transform: translateY(8px) rotate(45deg); }
.nav-toggle.active span:last-child { transform: translateY(-8px) rotate(-45deg); }

/* ========== Menu Overlay ========== */
.menu-overlay {
  position: fixed;
  inset: 0;
  background: var(--bg);
  z-index: 99;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s var(--ease), visibility 0.5s;
}

.menu-overlay.open {
  opacity: 1;
  visibility: visible;
}

.menu-inner {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.menu-link {
  font-size: clamp(2.5rem, 8vw, 5rem);
  font-weight: 900;
  color: var(--text);
  letter-spacing: -0.03em;
  line-height: 1.1;
  transition: color 0.3s;
  overflow: hidden;
}

.menu-link::before {
  content: attr(data-index) ' ';
  color: var(--accent);
  font-size: 0.4em;
  vertical-align: super;
}

.menu-link:hover { color: var(--accent); }

.menu-link span {
  display: inline-block;
  transition: transform 0.5s var(--ease);
}

.menu-link:hover span { transform: translateX(20px); }

/* ========== Sections ========== */
.section {
  padding: 120px 40px;
  max-width: 1400px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
  background: var(--bg);
}

.section-header {
  display: flex;
  align-items: baseline;
  gap: 16px;
  margin-bottom: 60px;
}

.section-num {
  font-size: 0.75rem;
  color: var(--accent);
  font-weight: 700;
  letter-spacing: 0.1em;
}

.section-title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 900;
  letter-spacing: -0.03em;
}

/* ========== Reveal Animation ========== */
.reveal-text {
  opacity: 0;
  transform: translateY(100%);
  display: inline-block;
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

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

/* ========== Hero ========== */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 40px;
  max-width: 1400px;
  margin: 0 auto;
  position: relative;
}

.hero-bg {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 55vw;
  pointer-events: none;
  z-index: 0;
  transition: opacity 0.6s var(--ease);
}

.hero-bg.hero-bg-hide {
  opacity: 0;
}

.hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.35;
  filter: saturate(0.8);
}

.hero-bg-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    var(--bg) 0%,
    rgba(12, 12, 12, 0.85) 25%,
    rgba(12, 12, 12, 0.4) 50%,
    rgba(12, 12, 12, 0.1) 75%,
    transparent 100%
  );
}

.hero-bg-gradient::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    transparent 0%,
    transparent 70%,
    var(--bg) 100%
  );
}

.hero-inner {
  padding-top: 100px;
  position: relative;
  z-index: 1;
}

.hero-tag {
  font-size: 0.85rem;
  color: var(--accent);
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.hero-title {
  font-size: clamp(3.5rem, 10vw, 8rem);
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: -0.04em;
  margin-bottom: 32px;
}

.line-wrap {
  display: block;
  overflow: hidden;
}

.line {
  display: inline-block;
}

.hero-desc {
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  color: var(--text-dim);
  font-weight: 300;
  line-height: 1.8;
  max-width: 500px;
  margin-bottom: 60px;
}

.hero-scroll {
  display: flex;
  align-items: center;
  gap: 16px;
}

.scroll-text {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.15em;
}

.scroll-line {
  width: 60px;
  height: 1px;
  background: var(--text-muted);
  position: relative;
  overflow: hidden;
}

.scroll-line::after {
  content: '';
  position: absolute;
  left: -100%;
  top: 0;
  width: 100%;
  height: 100%;
  background: var(--accent);
  animation: scrollLine 2s var(--ease) infinite;
}

@keyframes scrollLine {
  0% { left: -100%; }
  50% { left: 0; }
  100% { left: 100%; }
}

.hero-marquee {
  position: absolute;
  bottom: 40px;
  left: 0;
  right: 0;
  overflow: hidden;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 14px 0;
  z-index: 1;
}

.marquee-track {
  display: flex;
  gap: 24px;
  white-space: nowrap;
  animation: marquee 15s linear infinite;
  font-size: 0.85rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 500;
  width: max-content;
}

.marquee-content {
  display: flex;
  gap: 24px;
  flex-shrink: 0;
}

.marquee-content span:nth-child(even) {
  color: var(--accent);
}

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ========== Works ========== */
.works {
  padding-top: 80px;
}

.works-filter {
  display: flex;
  gap: 8px;
  margin-bottom: 48px;
}

.filter-btn {
  padding: 8px 20px;
  border-radius: 100px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text-dim);
  font-size: 0.82rem;
  font-family: var(--font);
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: 0.3s var(--ease);
}

.filter-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.filter-btn.active {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--bg);
}

.works-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.work-card {
  transition: transform 0.5s var(--ease), opacity 0.5s;
}

.work-card.hidden {
  display: none;
}

.work-thumb {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 8px;
  background: var(--bg-card);
}

.work-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}

.work-card:hover .work-video {
  transform: scale(1.05);
}

.work-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  opacity: 1;
  transition: opacity 0.4s var(--ease);
}

.work-card:hover .work-overlay {
  opacity: 0;
}

.work-play {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--bg);
  transition: transform 0.3s var(--ease);
}

.work-play:hover { transform: scale(1.1); }

.work-expand {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  transition: background 0.3s;
}

.work-expand:hover { background: rgba(255, 255, 255, 0.2); }

.work-meta {
  padding: 14px 4px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.work-title {
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.work-tag {
  font-size: 0.7rem;
  color: var(--accent);
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* ========== Gallery (Other Works) ========== */
.gallery-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  grid-template-rows: auto auto;
  gap: 16px;
}

.gallery-card {
  transition: transform 0.5s var(--ease);
}

.gallery-card:first-child {
  grid-row: 1 / 3;
}

.gallery-thumb {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  background: var(--bg-card);
  cursor: pointer;
  height: 100%;
}

.gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}

.gallery-card:hover .gallery-thumb img {
  transform: scale(1.05);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  opacity: 0;
  transition: opacity 0.4s var(--ease);
}

.gallery-card:hover .gallery-overlay {
  opacity: 1;
}

/* ========== Experience ========== */
.experience {
  background: var(--bg-alt);
  max-width: 100%;
  padding-left: 0;
  padding-right: 0;
}

.experience .section-header,
.experience .exp-list,
.experience .projects-section {
  max-width: 1400px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 40px;
  padding-right: 40px;
}

.exp-list {
  margin-bottom: 80px;
}

.exp-item {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 40px;
  padding: 40px 0;
  border-bottom: 1px solid var(--border);
  transition: background 0.3s;
}

.exp-item:first-child { border-top: 1px solid var(--border); }

.exp-year {
  font-size: 0.85rem;
  color: var(--accent);
  font-weight: 700;
  letter-spacing: 0.05em;
  padding-top: 4px;
}

.exp-role h3 {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 4px;
}

.exp-company {
  font-size: 0.88rem;
  color: var(--text-dim);
}

.exp-desc {
  font-size: 0.92rem;
  color: var(--text-dim);
  line-height: 1.7;
  margin-top: 12px;
  max-width: 600px;
}

.exp-period {
  margin-top: 12px;
  font-size: 0.78rem;
  color: var(--text-muted);
  letter-spacing: 0.05em;
}

.projects-heading {
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 32px;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.proj-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 28px;
  transition: border-color 0.3s, transform 0.4s var(--ease);
}

.proj-card:hover {
  border-color: rgba(200, 255, 0, 0.2);
  transform: translateY(-4px);
}

.proj-num {
  font-size: 0.75rem;
  color: var(--accent);
  font-weight: 700;
  margin-bottom: 12px;
}

.proj-card h4 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}

.proj-card p {
  font-size: 0.85rem;
  color: var(--text-dim);
  line-height: 1.7;
  margin-bottom: 16px;
}

.proj-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.proj-tags span {
  padding: 4px 12px;
  border-radius: 100px;
  font-size: 0.72rem;
  background: var(--accent-dim);
  color: var(--accent);
  font-weight: 500;
}

/* ========== Skills ========== */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.skill-group {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 28px;
  transition: border-color 0.3s;
}

.skill-group:hover { border-color: rgba(200, 255, 0, 0.15); }

.skill-group-title {
  font-size: 0.75rem;
  color: var(--accent);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}

.skill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.skill-item {
  padding: 6px 14px;
  border-radius: 6px;
  font-size: 0.82rem;
  background: var(--bg-alt);
  color: var(--text-dim);
  font-weight: 500;
  transition: background 0.3s, color 0.3s;
}

.skill-item:hover {
  background: var(--accent-dim);
  color: var(--accent);
}

/* ========== Footer ========== */
.footer {
  padding: 100px 40px 30px;
  max-width: 1400px;
  margin: 0 auto;
  border-top: 1px solid var(--border);
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 60px;
}

.footer-logo {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  margin-bottom: 8px;
}

.footer-tagline {
  font-size: 0.88rem;
  color: var(--text-dim);
  font-weight: 400;
}

.footer-nav {
  display: flex;
  gap: 32px;
  padding-top: 12px;
}

.footer-link {
  font-size: 0.85rem;
  color: var(--text-dim);
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: color 0.3s;
}

.footer-link:hover {
  color: var(--accent);
}

.footer-divider {
  width: 100%;
  height: 1px;
  background: var(--border);
  margin-bottom: 60px;
}

.footer-middle {
  margin-bottom: 60px;
}

.footer-contact {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.footer-contact-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 28px;
  transition: border-color 0.3s, transform 0.4s var(--ease);
  position: relative;
}

.footer-contact-item:hover {
  border-color: rgba(200, 255, 0, 0.2);
  transform: translateY(-4px);
}

.footer-contact-label {
  display: block;
  font-size: 0.72rem;
  color: var(--accent);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 12px;
}

.footer-contact-value {
  display: block;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text);
  letter-spacing: -0.01em;
  word-break: break-all;
  cursor: pointer;
  transition: color 0.3s;
}

.footer-contact-value:hover {
  color: var(--accent);
}

.footer-copy-hint {
  position: absolute;
  top: 12px;
  right: 12px;
  font-size: 0.68rem;
  color: var(--text-muted);
  background: var(--bg-alt);
  padding: 4px 10px;
  border-radius: 100px;
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
}

.footer-contact-item:hover .footer-copy-hint {
  opacity: 1;
}

.footer-copy-toast {
  position: fixed;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: var(--accent);
  color: var(--bg);
  padding: 12px 28px;
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 600;
  z-index: 10001;
  opacity: 0;
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
  pointer-events: none;
}

.footer-copy-toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.footer-bottom {
  padding-top: 20px;
  border-top: 1px solid var(--border);
}

.footer-beian {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  flex-wrap: wrap;
}

.beian-logo {
  height: 18px;
  width: auto;
  flex-shrink: 0;
}

.beian-link {
  font-size: 0.75rem;
  color: var(--text-muted);
  transition: color 0.3s;
  white-space: nowrap;
}

.beian-link:hover {
  color: var(--accent);
}

.beian-divider {
  font-size: 0.7rem;
  color: var(--border);
  user-select: none;
}

.footer-bottom > span {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* ========== Lightbox ========== */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.95);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s var(--ease), visibility 0.4s;
}

.lightbox.open {
  opacity: 1;
  visibility: visible;
}

.lightbox-close {
  position: absolute;
  top: 24px;
  right: 24px;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  transition: background 0.3s;
  z-index: 10;
}

.lightbox-close:hover { background: rgba(255, 255, 255, 0.2); }

.lightbox-video {
  width: 90vw;
  max-height: 90vh;
  border-radius: 8px;
  outline: none;
}

.lightbox-image {
  max-width: 90vw;
  max-height: 90vh;
  border-radius: 8px;
  object-fit: contain;
  display: none;
}

.lightbox.image-mode .lightbox-video { display: none; }
.lightbox.image-mode .lightbox-image { display: block; }

/* ========== Fade In ========== */
.fade-up {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ========== Responsive ========== */
@media (max-width: 1024px) {
  .works-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: 1.2fr 1fr; }
  .projects-grid { grid-template-columns: repeat(2, 1fr); }
  .skills-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-contact { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .section { padding: 80px 20px; }
  .nav { padding: 16px 20px; }
  .nav-logo { font-size: 1.1rem; gap: 8px; }
  .nav-logo-img { height: 28px; }
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .hero { padding: 0 20px; }
  .hero-inner { padding-top: 80px; }
  .hero-bg { width: 100vw; }
  .hero-bg-img { opacity: 0.2; }
  .hero-bg-gradient {
    background: linear-gradient(
      to right,
      var(--bg) 0%,
      rgba(12, 12, 12, 0.9) 30%,
      rgba(12, 12, 12, 0.6) 60%,
      rgba(12, 12, 12, 0.3) 100%
    );
  }
  .hero-title { font-size: clamp(2.5rem, 12vw, 4rem); }
  .hero-tag { font-size: 0.72rem; }
  .hero-desc { font-size: 0.92rem; margin-bottom: 40px; }
  .hero-marquee { bottom: 20px; }
  .marquee-track { font-size: 0.72rem; gap: 16px; }
  .marquee-content { gap: 16px; }
  .works-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-card:first-child { grid-row: auto; }
  .projects-grid { grid-template-columns: 1fr; }
  .skills-grid { grid-template-columns: 1fr; }
  .exp-item { grid-template-columns: 1fr; gap: 12px; }
  .exp-role h3 { font-size: 1.2rem; }
  .section-header { margin-bottom: 40px; }
  .section-title { font-size: clamp(1.6rem, 6vw, 2.5rem); }
  .footer { padding: 60px 20px 20px; }
  .footer-top { flex-direction: column; gap: 24px; }
  .footer-nav { flex-wrap: wrap; gap: 20px; }
  .footer-contact { grid-template-columns: 1fr; }
  .footer-contact-value { font-size: 0.95rem; }
  .footer-beian { justify-content: center; }
  .beian-logo { height: 16px; }
  .beian-link { font-size: 0.7rem; }
  .preloader-text { font-size: clamp(1.5rem, 8vw, 2.5rem); }
  .lightbox-video { width: 95vw; }
  .lightbox-image { max-width: 95vw; }
  .experience .section-header,
  .experience .exp-list,
  .experience .projects-section {
    padding-left: 20px;
    padding-right: 20px;
  }
}
