@import url('https://fonts.loli.net/css2?family=Noto+Serif+SC:wght@300;400;500;600&family=Inter:wght@300;400;500;600&display=swap');

:root {
  /* iOS-style Light Theme */
  --color-bg: #f2f2f7;
  --color-bg-rgb: 242, 242, 247;
  --color-bg-secondary: #ffffff;
  --color-bg-secondary-rgb: 255, 255, 255;
  --color-bg-tertiary: #e5e5ea;
  --color-text: #000000;
  --color-text-secondary: #6c6c70;
  --color-text-tertiary: #8e8e93;
  --color-accent: #007aff;
  --color-accent-secondary: #5856d6;
  --color-border: #c6c6c8;
  --color-card: #ffffff;
  --color-success: #34c759;
  --color-warning: #ff9500;
  --color-danger: #ff3b30;
  
  --font-serif: 'Noto Serif SC', serif;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  
  /* iOS-style transitions */
  --transition-slow: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-medium: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-fast: 0.15s ease;
  
  /* iOS-style shadows */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.12);
  
  /* iOS-style border radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;
  --radius-full: 9999px;
  
  /* Safe area insets */
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --safe-left: env(safe-area-inset-left, 0px);
  --safe-right: env(safe-area-inset-right, 0px);
  
  /* Tab bar height */
  --tab-bar-height: 64px;
  --status-bar-height: 20px;
}

[data-theme="dark"] {
  --color-bg: #000000;
  --color-bg-rgb: 0, 0, 0;
  --color-bg-secondary: #1c1c1e;
  --color-bg-secondary-rgb: 28, 28, 30;
  --color-bg-tertiary: #2c2c2e;
  --color-text: #ffffff;
  --color-text-secondary: #8e8e93;
  --color-text-tertiary: #636366;
  --color-accent: #0a84ff;
  --color-accent-secondary: #5e5ce6;
  --color-border: #38383a;
  --color-card: #1c1c1e;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.5);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

html {
  scroll-behavior: smooth;
  height: 100%;
}

body {
  font-family: var(--font-sans);
  background-color: var(--color-bg);
  color: var(--color-text);
  line-height: 1.5;
  overflow-x: hidden;
  height: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

#root {
  height: 100%;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
  font-weight: 500;
  letter-spacing: -0.02em;
}

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

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

button {
  font-family: inherit;
  border: none;
  background: none;
  cursor: pointer;
}

/* Hide scrollbar but keep functionality */

::-webkit-scrollbar {
  display: none;
}

html {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

/* Selection */

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

/* iOS-style page container */

.page-container {
  min-height: 100vh;
  min-height: 100dvh;
  padding-top: var(--status-bar-height);
  padding-bottom: calc(var(--tab-bar-height) + var(--safe-bottom));
  background: var(--color-bg);
}

/* iOS-style card */

.ios-card {
  background: var(--color-card);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

/* iOS-style list */

.ios-list {
  background: var(--color-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.ios-list-item {
  padding: 16px;
  border-bottom: 0.5px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.ios-list-item:last-child {
  border-bottom: none;
}

/* iOS-style button */

.ios-button {
  padding: 12px 24px;
  background: var(--color-accent);
  color: white;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 15px;
  transition: all var(--transition-fast);
}

.ios-button:active {
  transform: scale(0.96);
  opacity: 0.9;
}

.ios-button-secondary {
  background: var(--color-bg-tertiary);
  color: var(--color-accent);
}

/* iOS-style navigation bar */

.ios-nav-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: calc(var(--status-bar-height) + 44px);
  padding-top: var(--status-bar-height);
  background: rgba(var(--color-bg-secondary), 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 0.5px solid var(--color-border);
}

.ios-nav-title {
  font-size: 17px;
  font-weight: 600;
  color: var(--color-text);
}

.ios-nav-left,
.ios-nav-right {
  position: absolute;
  top: var(--status-bar-height);
  height: 44px;
  display: flex;
  align-items: center;
  padding: 0 16px;
}

.ios-nav-left {
  left: 0;
}

.ios-nav-right {
  right: 0;
}

/* iOS-style tab bar */

.ios-tab-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: calc(var(--tab-bar-height) + var(--safe-bottom));
  padding-bottom: var(--safe-bottom);
  background: rgba(var(--color-bg-secondary), 0.9);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 0.5px solid var(--color-border);
  display: flex;
  justify-content: space-around;
  align-items: center;
  z-index: 100;
}

.ios-tab-item {
  flex: 1;
  height: var(--tab-bar-height);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  color: var(--color-text-tertiary);
  transition: color var(--transition-fast);
}

.ios-tab-item.active {
  color: var(--color-accent);
}

.ios-tab-icon {
  width: 24px;
  height: 24px;
}

.ios-tab-label {
  font-size: 10px;
  font-weight: 500;
}

/* Content padding */

.content-padding {
  padding: 16px;
}

/* Section title */

.section-title {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 16px;
  padding: 0 16px;
}

.section-subtitle {
  font-size: 15px;
  color: var(--color-text-secondary);
  margin-bottom: 24px;
  padding: 0 16px;
}

/* Utility classes */

.text-secondary {
  color: var(--color-text-secondary);
}

.text-tertiary {
  color: var(--color-text-tertiary);
}

/* Animation classes */

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

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.animate-slide-up {
  animation: slideUp 0.4s ease-out;
}

.animate-fade-in {
  animation: fadeIn 0.3s ease-out;
}

/* Touch feedback */

.touchable {
  cursor: pointer;
  transition: opacity var(--transition-fast);
}

.touchable:active {
  opacity: 0.6;
}

/* Safe area utilities */

.pb-safe {
  padding-bottom: var(--safe-bottom);
}

.mb-safe {
  margin-bottom: var(--safe-bottom);
}
/* Navigation Bar */
.ios-nav-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: calc(var(--status-bar-height) + 44px);
  padding-top: var(--status-bar-height);
  background: rgba(var(--color-bg-secondary-rgb), 0.85);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 0.5px solid var(--color-border);
}

.ios-nav-title {
  font-size: 17px;
  font-weight: 600;
  color: var(--color-text);
  font-family: var(--font-sans);
}

.ios-nav-left,
.ios-nav-right {
  position: absolute;
  top: var(--status-bar-height);
  height: 44px;
  display: flex;
  align-items: center;
  padding: 0 16px;
  color: var(--color-accent);
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-sans);
}

.ios-nav-left {
  left: 0;
}

.ios-nav-right {
  right: 0;
}

/* Tab Bar */
.ios-tab-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: calc(var(--tab-bar-height) + var(--safe-bottom));
  padding-bottom: var(--safe-bottom);
  background: rgba(var(--color-bg-secondary-rgb), 0.9);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  border-top: 0.5px solid var(--color-border);
  display: flex;
  justify-content: space-around;
  align-items: center;
  z-index: 1000;
}

.ios-tab-item {
  flex: 1;
  height: var(--tab-bar-height);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  color: var(--color-text-tertiary);
  transition: color var(--transition-fast);
  text-decoration: none;
}

.ios-tab-item.active {
  color: var(--color-accent);
}

.ios-tab-icon {
  width: 24px;
  height: 24px;
}

.ios-tab-label {
  font-size: 10px;
  font-weight: 500;
  font-family: var(--font-sans);
}

/* Touch feedback */
.touchable {
  cursor: pointer;
  transition: opacity var(--transition-fast);
}

.touchable:active {
  opacity: 0.6;
}

/* Hide on larger screens - optional */
@media (min-width: 1024px) {
  .ios-tab-bar {
    display: none;
  }
  
  .ios-nav-bar {
    display: none;
  }
}
.hero-ios {
  padding: 16px;
  padding-bottom: 32px;
}

/* Profile Header */
.hero-profile {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}

.hero-avatar {
  width: 80px;
  height: 80px;
  border-radius: var(--radius-xl);
  background: var(--color-bg-tertiary);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.avatar-placeholder {
  width: 40px;
  height: 40px;
  color: var(--color-text-tertiary);
}

.avatar-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-info {
  flex: 1;
}

.hero-name {
  font-size: 28px;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 4px;
  font-family: var(--font-serif);
}

.hero-role {
  font-size: 15px;
  color: var(--color-text-secondary);
}

/* Stats Card */
.hero-stats {
  display: flex;
  align-items: center;
  justify-content: space-around;
  padding: 20px;
  margin-bottom: 20px;
}

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

.stat-number {
  font-size: 24px;
  font-weight: 700;
  color: var(--color-text);
}

.stat-label {
  font-size: 13px;
  color: var(--color-text-secondary);
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: var(--color-border);
}

/* Bio */
.hero-bio {
  margin-bottom: 24px;
}

.bio-text {
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-text-secondary);
}

/* Categories */
.hero-categories-ios {
  margin-bottom: 24px;
}

.section-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--color-text-tertiary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 12px;
  padding-left: 4px;
}

.categories-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.category-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px;
  cursor: pointer;
}

.category-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.category-name {
  font-size: 16px;
  font-weight: 500;
  color: var(--color-text);
}

.category-count {
  font-size: 13px;
  color: var(--color-text-tertiary);
}

.category-arrow {
  width: 20px;
  height: 20px;
  color: var(--color-text-tertiary);
}

/* CTA */
.hero-cta-ios {
  display: flex;
  justify-content: center;
  padding: 8px 0;
}

.hero-cta-ios .ios-button {
  width: 100%;
  text-align: center;
  text-decoration: none;
}
.featured-works-ios {
  padding: 0 16px 32px;
}

.section-header-ios {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.section-header-ios .section-label {
  margin-bottom: 0;
  padding-left: 0;
}

.section-link {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 15px;
  color: var(--color-accent);
  text-decoration: none;
}

.works-list-ios {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.work-card-ios {
  overflow: hidden;
}

.work-card-link-ios {
  display: block;
  text-decoration: none;
  color: inherit;
}

.work-card-image-ios {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.work-card-image-ios img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-medium);
}

.work-card-ios:active .work-card-image-ios img {
  transform: scale(1.02);
}

.work-card-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 6px 12px;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: var(--radius-full);
  font-size: 11px;
  font-weight: 600;
  color: white;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.work-card-content-ios {
  padding: 16px;
}

.work-title-ios {
  font-size: 18px;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 4px;
  font-family: var(--font-serif);
}

.work-subtitle-ios {
  font-size: 14px;
  color: var(--color-text-secondary);
  margin-bottom: 8px;
}

.work-description-ios {
  font-size: 13px;
  color: var(--color-text-tertiary);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.works-page-ios {
  padding: 16px;
  padding-bottom: 32px;
}

/* Category Filter */
.category-filter-ios {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 8px;
  margin-bottom: 16px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.category-filter-ios::-webkit-scrollbar {
  display: none;
}

.filter-chip {
  flex-shrink: 0;
  padding: 8px 16px;
  background: var(--color-bg-tertiary);
  border: none;
  border-radius: var(--radius-full);
  font-size: 14px;
  font-weight: 500;
  color: var(--color-text-secondary);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.filter-chip.active {
  background: var(--color-accent);
  color: white;
}

/* Works Count */
.works-count-ios {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 16px;
  padding: 0 4px;
}

.count-number {
  font-size: 28px;
  font-weight: 700;
  color: var(--color-text);
}

.count-label {
  font-size: 15px;
  color: var(--color-text-secondary);
}

/* Works Grid */
.works-grid-ios {
  min-height: 200px;
}

.works-list-ios {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

/* Tablet: 3 columns */
@media (min-width: 640px) {
  .works-list-ios {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Desktop: 5 columns */
@media (min-width: 1024px) {
  .works-list-ios {
    grid-template-columns: repeat(5, 1fr);
  }
}

/* Work Item Card */
.work-item-ios {
  overflow: hidden;
}

.work-item-link-ios {
  display: block;
  text-decoration: none;
  color: inherit;
}

.work-item-image-ios {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
}

.work-item-image-ios img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-medium);
}

.work-item-ios:active .work-item-image-ios img {
  transform: scale(1.05);
}

.work-item-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 12px;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.6));
}

.work-item-count {
  font-size: 11px;
  font-weight: 600;
  color: white;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 4px 8px;
  border-radius: var(--radius-full);
}

.work-item-info-ios {
  padding: 12px;
}

.work-item-meta-ios {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
}

.work-item-category {
  font-size: 11px;
  font-weight: 600;
  color: var(--color-accent);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.work-item-year {
  font-size: 11px;
  color: var(--color-text-tertiary);
}

.work-item-title-ios {
  font-size: 15px;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 4px;
  font-family: var(--font-serif);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.work-item-subtitle-ios {
  font-size: 12px;
  color: var(--color-text-secondary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
/**
 * Swiper 12.1.3
 * Most modern mobile touch slider and framework with hardware accelerated transitions
 * https://swiperjs.com
 *
 * Copyright 2014-2026 Vladimir Kharlampidi
 *
 * Released under the MIT License
 *
 * Released on: March 24, 2026
 */

:root {
  --swiper-theme-color: #007aff;
  /*
  --swiper-preloader-color: var(--swiper-theme-color);
  --swiper-wrapper-transition-timing-function: initial;
  */
}
:host {
  position: relative;
  display: block;
  margin-left: auto;
  margin-right: auto;
  z-index: 1;
}
.swiper {
  margin-left: auto;
  margin-right: auto;
  position: relative;
  overflow: hidden;
  list-style: none;
  padding: 0;
  /* Fix of Webkit flickering */
  z-index: 1;
  display: block;
}
.swiper-vertical > .swiper-wrapper {
  flex-direction: column;
}
.swiper-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  z-index: 1;
  display: flex;
  transition-property: transform;
  transition-timing-function: var(--swiper-wrapper-transition-timing-function, initial);
  box-sizing: content-box;
}
.swiper-android .swiper-slide,
.swiper-ios .swiper-slide,
.swiper-wrapper {
  transform: translate3d(0px, 0, 0);
}
.swiper-horizontal {
  touch-action: pan-y;
}
.swiper-vertical {
  touch-action: pan-x;
}
.swiper-slide {
  flex-shrink: 0;
  width: 100%;
  height: 100%;
  position: relative;
  transition-property: transform;
  display: block;
}
.swiper-slide-invisible-blank {
  visibility: hidden;
}
/* Auto Height */
.swiper-autoheight,
.swiper-autoheight .swiper-slide {
  height: auto;
}
.swiper-autoheight .swiper-wrapper {
  align-items: flex-start;
  transition-property: transform, height;
}
.swiper-backface-hidden .swiper-slide {
  transform: translateZ(0);
  backface-visibility: hidden;
}
/* 3D Effects */
.swiper-3d.swiper-css-mode .swiper-wrapper {
  perspective: 1200px;
}
.swiper-3d .swiper-wrapper {
  transform-style: preserve-3d;
}
.swiper-3d {
  perspective: 1200px;
  .swiper-slide,
  .swiper-cube-shadow {
    transform-style: preserve-3d;
  }
}

/* CSS Mode */
.swiper-css-mode {
  > .swiper-wrapper {
    overflow: auto;
    scrollbar-width: none; /* For Firefox */
    -ms-overflow-style: none; /* For Internet Explorer and Edge */
    &::-webkit-scrollbar {
      display: none;
    }
  }
  > .swiper-wrapper > .swiper-slide {
    scroll-snap-align: start start;
  }
  &.swiper-horizontal {
    > .swiper-wrapper {
      scroll-snap-type: x mandatory;
    }
    > .swiper-wrapper > .swiper-slide:first-child {
      margin-inline-start: var(--swiper-slides-offset-before);
      scroll-margin-inline-start: var(--swiper-slides-offset-before);
    }
    > .swiper-wrapper > .swiper-slide:last-child {
      margin-inline-end: var(--swiper-slides-offset-after);
    }
  }
  &.swiper-vertical {
    > .swiper-wrapper {
      scroll-snap-type: y mandatory;
    }
    > .swiper-wrapper > .swiper-slide:first-child {
      margin-block-start: var(--swiper-slides-offset-before);
      scroll-margin-block-start: var(--swiper-slides-offset-before);
    }
    > .swiper-wrapper > .swiper-slide:last-child {
      margin-block-end: var(--swiper-slides-offset-after);
    }
  }
  &.swiper-free-mode {
    > .swiper-wrapper {
      scroll-snap-type: none;
    }
    > .swiper-wrapper > .swiper-slide {
      scroll-snap-align: none;
    }
  }
  &.swiper-centered {
    > .swiper-wrapper::before {
      content: '';
      flex-shrink: 0;
      order: 9999;
    }
    > .swiper-wrapper > .swiper-slide {
      scroll-snap-align: center center;
      scroll-snap-stop: always;
    }
  }
  &.swiper-centered.swiper-horizontal {
    > .swiper-wrapper > .swiper-slide:first-child {
      margin-inline-start: var(--swiper-centered-offset-before);
    }
    > .swiper-wrapper::before {
      height: 100%;
      min-height: 1px;
      width: var(--swiper-centered-offset-after);
    }
  }
  &.swiper-centered.swiper-vertical {
    > .swiper-wrapper > .swiper-slide:first-child {
      margin-block-start: var(--swiper-centered-offset-before);
    }
    > .swiper-wrapper::before {
      width: 100%;
      min-width: 1px;
      height: var(--swiper-centered-offset-after);
    }
  }
}

/* Slide styles start */
/* 3D Shadows */
.swiper-3d {
  .swiper-slide-shadow,
  .swiper-slide-shadow-left,
  .swiper-slide-shadow-right,
  .swiper-slide-shadow-top,
  .swiper-slide-shadow-bottom,
  .swiper-slide-shadow,
  .swiper-slide-shadow-left,
  .swiper-slide-shadow-right,
  .swiper-slide-shadow-top,
  .swiper-slide-shadow-bottom {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 10;
  }
  .swiper-slide-shadow {
    background: rgba(0, 0, 0, 0.15);
  }
  .swiper-slide-shadow-left {
    background-image: linear-gradient(to left, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0));
  }
  .swiper-slide-shadow-right {
    background-image: linear-gradient(to right, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0));
  }
  .swiper-slide-shadow-top {
    background-image: linear-gradient(to top, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0));
  }
  .swiper-slide-shadow-bottom {
    background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0));
  }
}
.swiper-lazy-preloader {
  width: 42px;
  height: 42px;
  position: absolute;
  left: 50%;
  top: 50%;
  margin-left: -21px;
  margin-top: -21px;
  z-index: 10;
  transform-origin: 50%;
  box-sizing: border-box;
  border: 4px solid var(--swiper-preloader-color, var(--swiper-theme-color));
  border-radius: 50%;
  border-top-color: transparent;
}
.swiper:not(.swiper-watch-progress),
.swiper-watch-progress .swiper-slide-visible {
  .swiper-lazy-preloader {
    animation: swiper-preloader-spin 1s infinite linear;
  }
}
.swiper-lazy-preloader-white {
  --swiper-preloader-color: #fff;
}
.swiper-lazy-preloader-black {
  --swiper-preloader-color: #000;
}
@keyframes swiper-preloader-spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
/* Slide styles end */
:root {
  /*
  --swiper-pagination-color: var(--swiper-theme-color);
  --swiper-pagination-left: auto;
  --swiper-pagination-right: 8px;
  --swiper-pagination-bottom: 8px;
  --swiper-pagination-top: auto;
  --swiper-pagination-fraction-color: inherit;
  --swiper-pagination-progressbar-bg-color: rgba(0,0,0,0.25);
  --swiper-pagination-progressbar-size: 4px;
  --swiper-pagination-bullet-size: 8px;
  --swiper-pagination-bullet-width: 8px;
  --swiper-pagination-bullet-height: 8px;
  --swiper-pagination-bullet-border-radius: 50%;
  --swiper-pagination-bullet-inactive-color: #000;
  --swiper-pagination-bullet-inactive-opacity: 0.2;
  --swiper-pagination-bullet-opacity: 1;
  --swiper-pagination-bullet-horizontal-gap: 4px;
  --swiper-pagination-bullet-vertical-gap: 6px;
  */
}
.swiper-pagination {
  position: absolute;
  text-align: center;
  transition: 300ms opacity;
  transform: translate3d(0, 0, 0);
  z-index: 10;
  &.swiper-pagination-hidden {
    opacity: 0;
  }
  .swiper-pagination-disabled > &,
  &.swiper-pagination-disabled {
    display: none !important;
  }
}
/* Common Styles */
.swiper-pagination-fraction,
.swiper-pagination-custom,
.swiper-horizontal > .swiper-pagination-bullets,
.swiper-pagination-bullets.swiper-pagination-horizontal {
  bottom: var(--swiper-pagination-bottom, 8px);
  top: var(--swiper-pagination-top, auto);
  left: 0;
  width: 100%;
}
/* Bullets */
.swiper-pagination-bullets-dynamic {
  overflow: hidden;
  font-size: 0;
  .swiper-pagination-bullet {
    transform: scale(0.33);
    position: relative;
  }
  .swiper-pagination-bullet-active {
    transform: scale(1);
  }
  .swiper-pagination-bullet-active-main {
    transform: scale(1);
  }
  .swiper-pagination-bullet-active-prev {
    transform: scale(0.66);
  }
  .swiper-pagination-bullet-active-prev-prev {
    transform: scale(0.33);
  }
  .swiper-pagination-bullet-active-next {
    transform: scale(0.66);
  }
  .swiper-pagination-bullet-active-next-next {
    transform: scale(0.33);
  }
}
.swiper-pagination-bullet {
  width: var(--swiper-pagination-bullet-width, var(--swiper-pagination-bullet-size, 8px));
  height: var(--swiper-pagination-bullet-height, var(--swiper-pagination-bullet-size, 8px));
  display: inline-block;
  border-radius: var(--swiper-pagination-bullet-border-radius, 50%);
  background: var(--swiper-pagination-bullet-inactive-color, #000);
  opacity: var(--swiper-pagination-bullet-inactive-opacity, 0.2);
  button& {
    border: none;
    margin: 0;
    padding: 0;
    box-shadow: none;
    appearance: none;
  }
  .swiper-pagination-clickable & {
    cursor: pointer;
  }

  &:only-child {
    display: none !important;
  }
}
.swiper-pagination-bullet-active {
  opacity: var(--swiper-pagination-bullet-opacity, 1);
  background: var(--swiper-pagination-color, var(--swiper-theme-color));
}

.swiper-vertical > .swiper-pagination-bullets,
.swiper-pagination-vertical.swiper-pagination-bullets {
  right: var(--swiper-pagination-right, 8px);
  left: var(--swiper-pagination-left, auto);
  top: 50%;
  transform: translate3d(0px, -50%, 0);
  .swiper-pagination-bullet {
    margin: var(--swiper-pagination-bullet-vertical-gap, 6px) 0;
    display: block;
  }
  &.swiper-pagination-bullets-dynamic {
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    .swiper-pagination-bullet {
      display: inline-block;
      transition:
        200ms transform,
        200ms top;
    }
  }
}
.swiper-horizontal > .swiper-pagination-bullets,
.swiper-pagination-horizontal.swiper-pagination-bullets {
  .swiper-pagination-bullet {
    margin: 0 var(--swiper-pagination-bullet-horizontal-gap, 4px);
  }
  &.swiper-pagination-bullets-dynamic {
    left: 50%;
    transform: translateX(-50%);
    white-space: nowrap;
    .swiper-pagination-bullet {
      transition:
        200ms transform,
        200ms left;
    }
  }
}
.swiper-horizontal.swiper-rtl > .swiper-pagination-bullets-dynamic .swiper-pagination-bullet {
  transition:
    200ms transform,
    200ms right;
}
/* Fraction */
.swiper-pagination-fraction {
  color: var(--swiper-pagination-fraction-color, inherit);
}
/* Progress */
.swiper-pagination-progressbar {
  background: var(--swiper-pagination-progressbar-bg-color, rgba(0, 0, 0, 0.25));
  position: absolute;
  .swiper-pagination-progressbar-fill {
    background: var(--swiper-pagination-color, var(--swiper-theme-color));
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    transform: scale(0);
    transform-origin: left top;
  }
  .swiper-rtl & .swiper-pagination-progressbar-fill {
    transform-origin: right top;
  }
  .swiper-horizontal > &,
  &.swiper-pagination-horizontal,
  .swiper-vertical > &.swiper-pagination-progressbar-opposite,
  &.swiper-pagination-vertical.swiper-pagination-progressbar-opposite {
    width: 100%;
    height: var(--swiper-pagination-progressbar-size, 4px);
    left: 0;
    top: 0;
  }
  .swiper-vertical > &,
  &.swiper-pagination-vertical,
  .swiper-horizontal > &.swiper-pagination-progressbar-opposite,
  &.swiper-pagination-horizontal.swiper-pagination-progressbar-opposite {
    width: var(--swiper-pagination-progressbar-size, 4px);
    height: 100%;
    left: 0;
    top: 0;
  }
}
.swiper-pagination-lock {
  display: none;
}
/* Zoom container styles start */
.swiper-zoom-container {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;

  > img,
  > svg,
  > canvas {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
  }
}
/* Zoom container styles end */

.swiper-slide-zoomed {
  cursor: move;
  touch-action: none;
}
.work-detail-ios {
  padding: 0 16px 32px;
}

/* Hero Image with Swiper - 延伸到导航栏下方 */
.work-hero-image-ios {
  position: relative;
  margin: calc(-1 * (var(--status-bar-height) + 44px)) -16px 16px -16px;
  padding-top: calc(var(--status-bar-height) + 44px);
  height: calc(100vh - var(--tab-bar-height) - var(--safe-bottom));
  min-height: 500px;
  background: var(--color-bg-tertiary);
}

.work-swiper {
  width: 100%;
  height: 100%;
}

.work-swiper .swiper-slide {
  display: flex;
  align-items: center;
  justify-content: center;
}

.work-swiper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Swiper Pagination - Dots */
.work-swiper .swiper-pagination {
  bottom: 12px;
  display: flex;
  justify-content: center;
  gap: 1px;
}

.work-swiper .swiper-pagination-bullet {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  opacity: 1;
  transition: all var(--transition-fast);
  margin: 0;
}

.work-swiper .swiper-pagination-bullet-active {
  background: white;
  transform: scale(1.2);
}

/* Image Counter */
.work-image-counter {
  position: absolute;
  top: calc(var(--status-bar-height) + 44px + 16px);
  right: 16px;
  padding: 6px 12px;
  background: rgba(0, 0, 0, 0.5);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 600;
  color: white;
  z-index: 10;
}

/* Image Caption */
.work-image-caption {
  position: absolute;
  bottom: 36px;
  left: 16px;
  right: 16px;
  padding: 12px 16px;
  background: rgba(0, 0, 0, 0.6);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-radius: var(--radius-md);
  font-size: 13px;
  line-height: 1.6;
  color: white;
  z-index: 10;
  max-height: 120px;
  overflow-y: auto;
}

/* Work Info */
.work-info-ios {
  padding: 20px;
  margin-bottom: 16px;
}

.work-meta-ios {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.work-category-badge {
  padding: 4px 10px;
  background: var(--color-accent);
  color: white;
  border-radius: var(--radius-full);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.work-year {
  font-size: 13px;
  color: var(--color-text-tertiary);
}

.work-title-ios {
  font-size: 24px;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 8px;
  font-family: var(--font-serif);
}

.work-subtitle-ios {
  font-size: 16px;
  color: var(--color-text-secondary);
  margin-bottom: 12px;
}

.work-description-ios {
  font-size: 14px;
  color: var(--color-text-secondary);
  line-height: 1.6;
}

/* Gallery Grid */
.work-gallery-ios {
  margin-bottom: 16px;
}

.work-gallery-ios .section-label {
  margin-bottom: 12px;
}

.gallery-grid-ios {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.gallery-item-ios {
  aspect-ratio: 1;
  border-radius: var(--radius-sm);
  overflow: hidden;
  cursor: pointer;
  position: relative;
  border: 2px solid transparent;
  transition: all var(--transition-fast);
}

.gallery-item-ios.active {
  border-color: var(--color-accent);
}

.gallery-item-ios img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-item-number {
  position: absolute;
  bottom: 4px;
  right: 4px;
  padding: 2px 6px;
  background: rgba(0, 0, 0, 0.5);
  border-radius: 4px;
  font-size: 10px;
  font-weight: 600;
  color: white;
}

/* Navigation */
.work-nav-ios {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.work-nav-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  background: var(--color-card);
  border: none;
  border-radius: var(--radius-lg);
  cursor: pointer;
  text-align: left;
  box-shadow: var(--shadow-sm);
}

.work-nav-btn svg {
  width: 20px;
  height: 20px;
  color: var(--color-accent);
  flex-shrink: 0;
}

.work-nav-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
}

.work-nav-label {
  font-size: 11px;
  color: var(--color-text-tertiary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.work-nav-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--color-text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.work-nav-next {
  flex-direction: row-reverse;
  text-align: right;
}

.work-nav-next .work-nav-info {
  align-items: flex-end;
}

/* Not Found */
.work-not-found-ios {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.not-found-content {
  text-align: center;
}

.not-found-content h1 {
  font-size: 20px;
  color: var(--color-text-secondary);
  margin-bottom: 20px;
}
.about-page-ios {
  padding: 16px;
  padding-bottom: 32px;
}

/* Profile Section */
.about-profile-ios {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: 24px;
}

.about-avatar-large {
  width: 120px;
  height: 120px;
  border-radius: var(--radius-xl);
  background: var(--color-bg-tertiary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  overflow: hidden;
}

.avatar-placeholder-large {
  width: 60px;
  height: 60px;
  color: var(--color-text-tertiary);
}

.about-avatar-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-name-ios {
  font-size: 28px;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 4px;
  font-family: var(--font-serif);
}

.about-role-ios {
  font-size: 15px;
  color: var(--color-text-secondary);
}

/* Bio Section */
.about-bio-ios {
  padding: 20px;
  margin-bottom: 24px;
}

.bio-text-ios {
  font-size: 15px;
  line-height: 1.7;
  color: var(--color-text-secondary);
  margin-bottom: 12px;
}

.bio-text-ios:last-child {
  margin-bottom: 0;
}

/* Quote */
.about-quote-ios {
  text-align: center;
  margin-bottom: 32px;
  padding: 0 20px;
}

.about-quote-ios blockquote {
  font-size: 20px;
  font-style: italic;
  color: var(--color-text);
  line-height: 1.5;
  font-family: var(--font-serif);
}

.about-quote-ios blockquote::before {
  content: '"';
  color: var(--color-accent);
}

.about-quote-ios blockquote::after {
  content: '"';
  color: var(--color-accent);
}

/* Categories */
.about-categories-ios {
  margin-bottom: 24px;
}

.categories-list-ios {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.category-card-ios {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px;
}

.category-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-bg-tertiary);
  border-radius: var(--radius-md);
  font-size: 24px;
  flex-shrink: 0;
}

.category-content {
  flex: 1;
}

.category-number-ios {
  font-size: 11px;
  font-weight: 600;
  color: var(--color-accent);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 4px;
  display: block;
}

.category-title-ios {
  font-size: 17px;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 6px;
  font-family: var(--font-serif);
}

.category-description-ios {
  font-size: 13px;
  line-height: 1.5;
  color: var(--color-text-secondary);
}

/* Contact */
.about-contact-ios {
  margin-bottom: 32px;
}

.contact-list-ios {
  background: var(--color-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.contact-item-ios {
  padding: 16px;
  cursor: pointer;
  transition: background-color 0.15s ease;
}

.contact-item-ios:active {
  background-color: var(--color-bg-tertiary);
}

.contact-left {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
}

.contact-icon {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-bg-tertiary);
  border-radius: var(--radius-md);
  font-size: 18px;
}

.contact-icon-svg {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-bg-tertiary);
  border-radius: var(--radius-md);
  padding: 6px;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.contact-label-ios {
  font-size: 12px;
  color: var(--color-text-tertiary);
}

.contact-value-ios {
  font-size: 15px;
  font-weight: 500;
  color: var(--color-text);
}

.contact-arrow {
  width: 20px;
  height: 20px;
  color: var(--color-text-tertiary);
}

/* Footer */
.about-footer-ios {
  text-align: center;
  padding: 16px;
}

.about-footer-ios p {
  font-size: 13px;
  color: var(--color-text-tertiary);
  margin-bottom: 4px;
}

.footer-tagline {
  font-size: 12px !important;
  color: var(--color-text-secondary) !important;
}

/* Toast 弹窗 - iOS 风格 */
.toast-container {
  position: fixed;
  bottom: 120px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  z-index: 9999;
  pointer-events: none;
}

.toast-box {
  background: rgba(0, 0, 0, 0.8);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-radius: 8px;
  padding: 12px 20px;
  min-width: 120px;
  text-align: center;
}

.toast-text {
  font-size: 14px;
  color: white;
  font-weight: 400;
}
.app {
  min-height: 100vh;
  min-height: 100dvh;
  background: var(--color-bg);
  position: relative;
}

.main-content {
  min-height: 100vh;
  min-height: 100dvh;
  padding-top: calc(var(--status-bar-height) + 44px);
  padding-bottom: calc(var(--tab-bar-height) + var(--safe-bottom));
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

/* Page transition animations */
.page-enter {
  opacity: 0;
  transform: translateX(20px);
}

.page-enter-active {
  opacity: 1;
  transform: translateX(0);
  transition: opacity 0.3s, transform 0.3s;
}

.page-exit {
  opacity: 1;
}

.page-exit-active {
  opacity: 0;
  transition: opacity 0.2s;
}

/* iOS-style page container */
.page-wrapper {
  min-height: 100%;
  padding: 16px;
}

/* Remove default footer - using native app style */
.footer {
  display: none;
}

/* Pull to refresh indicator area */
.pull-indicator {
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-tertiary);
  font-size: 13px;
}

/* iOS-style loading spinner */
.ios-spinner {
  width: 20px;
  height: 20px;
  border: 2px solid var(--color-border);
  border-top-color: var(--color-accent);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* Safe area padding utilities */
.pt-nav {
  padding-top: calc(var(--status-bar-height) + 44px);
}

.pb-tab {
  padding-bottom: calc(var(--tab-bar-height) + var(--safe-bottom));
}
