/* About Section - Modern Minimalist Design */
.about-section {
  position: relative !important;
  width: 100% !important;
  min-height: 100vh !important;
  background: #000 !important;
  padding: 0 !important;
  box-sizing: border-box !important;
}

.about-container {
  min-height: 100vh;
  display: none;
  flex-direction: column;
  padding: 0;
  max-width: none;
  margin: 0;
  width: 100%;
}

.about-content {
  display: none;
  grid-template-columns: 45% 55%;
  gap: 80px;
  align-items: center;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0px 60px 60px;
  min-height: 100vh;
  align-content: center;
}

.about-left {
  display: flex;
  justify-content: center;
  align-items: center;
}

.about-photo-wrapper {
  position: relative;
  width: 400px;
  height: 500px;
  overflow: hidden;
  opacity: 0;
  transform: translateY(40px);
  animation: fadeInUp 1s ease 0.3s forwards;
}

.about-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: all 0.6s ease;
  filter: grayscale(20%);
}

.about-photo:hover {
  filter: grayscale(0%);
  transform: scale(1.005);
}

.about-right {
  display: flex;
  flex-direction: column;
  justify-content: center;
  opacity: 0;
  transform: translateY(40px);
  animation: fadeInUp 1s ease 0.5s forwards;
}

.about-name {
  font-size: clamp(48px, 6vw, 72px);
  font-weight: 300;
  letter-spacing: 2px;
  margin-bottom: 32px;
  color: #fff;
  line-height: 1.1;
}

.about-intro {
  margin-bottom: 48px;
}

.about-role {
  font-size: 14px;
  font-weight: 400;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.7);
  letter-spacing: 1px;
  margin-bottom: 4px;
  text-transform: uppercase;
}

.about-details {
  margin-bottom: 48px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.detail-item {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.detail-label {
  font-size: 11px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

.detail-value {
  font-size: 14px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.8);
  letter-spacing: 0.5px;
}

.about-links {
  display: flex;
  gap: 20px;
  align-items: center;
}

.about-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  transition: all 0.3s ease;
  background: transparent;
}

.about-link:hover {
  border-color: rgba(255, 255, 255, 0.4);
  color: #fff;
  background: rgba(255, 255, 255, 0.05);
  transform: translateY(-2px);
}

.about-link svg {
  width: 16px;
  height: 16px;
}

/* Show new about content when section is displayed */
.about-section[style*="display: block"] .about-container,
.about-section[style*="display:block"] .about-container,
.about-section[style="display: block;"] .about-container {
  display: flex !important;
}

.about-section[style*="display: block"] .about-content,
.about-section[style*="display:block"] .about-content,
.about-section[style="display: block;"] .about-content {
  display: grid !important;
}

/* Force show when about section is active */
#about.about-section[style*="block"] {
  display: block !important;
}

#about.about-section[style*="block"] .about-container {
  display: flex !important;
}

#about.about-section[style*="block"] .about-content {
  display: grid !important;
}

/* Show content when about-active class is present */
.about-section.about-active .about-container {
  display: flex !important;
  flex-direction: column !important;
}

.about-section.about-active .about-content {
  display: grid !important;
}

.about-section.about-active .about-additional {
  display: block !important;
}

/* Reset any conflicting styles */
.about-section .about-photo-container,
.about-section .about-hero,
.about-section .about-hero-content,
.about-section .about-hero-text,
.about-section .about-hero-visual,
.about-section .about-title,
.about-section .about-tagline,
.about-section .about-description,
.about-section .about-label,
.about-section .about-stats,
.about-section .stat-item,
.about-section .stat-number,
.about-section .stat-label,
.about-section .photo-overlay {
  display: none !important;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .about-content {
    grid-template-columns: 1fr;
    gap: 60px;
    text-align: center;
    padding: 80px 40px 60px;
  }
  
  .about-photo-wrapper {
    width: 300px;
    height: 375px;
    margin: 0 auto;
  }
  
  .about-right {
    align-items: center;
  }
  
  .about-details,
  .about-intro {
    text-align: left;
    max-width: 500px;
  }
}

@media (max-width: 768px) {
  .about-content {
    gap: 40px;
    padding: 80px 40px 40px;
  }
  
  .about-photo-wrapper {
    width: 250px;
    height: 312px;
  }
  
  .about-name {
    font-size: 36px;
    margin-bottom: 24px;
  }
  
  .about-intro {
    margin-bottom: 32px;
  }
  
  .about-details {
    margin-bottom: 32px;
  }
}

/* Additional Content Sections */
.about-additional {
  width: 100%;
  display: none;
  opacity: 0;
  transform: translateY(60px);
  animation: fadeInUp 1s ease 0.7s forwards;
  padding-bottom: 50vh; /* 适中的底部空间，给用户足够阅读时间但不会滚动过久 */
}

/* Philosophy Section */
.about-philosophy {
  padding: 120px 60px;
  display: flex;
  justify-content: flex-start;
  align-items: center;
}

.philosophy-container {
  max-width: 1200px;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
}

.philosophy-content {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 80px;
  align-items: start;
}

.section-title {
  font-size: 24px;
  font-weight: 300;
  letter-spacing: 2px;
  margin-bottom: 40px;
  color: #fff;
  text-align: center;
}

.philosophy-text .section-title {
  text-align: left;
}

.philosophy-description {
  font-size: 16px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 24px;
  font-weight: 300;
}

.philosophy-focus {
  padding: 40px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.02);
  transition: all 0.3s ease;
}

.philosophy-focus:hover {
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.04);
  transform: translateY(-2px);
}

.focus-title {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 1.5px;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 16px;
  text-transform: uppercase;
}

.focus-description {
  font-size: 14px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 24px;
}

.focus-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.focus-tag {
  padding: 6px 12px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.8);
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
}

.focus-tag:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.2);
  color: #fff;
}

/* Expertise Section */
.about-expertise-section {
  padding: 120px 60px;
  display: flex;
  justify-content: flex-start;
  align-items: center;
}

.expertise-container {
  max-width: 1200px;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
}

.expertise-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-top: 60px;
}

.expertise-column {
  padding: 40px 24px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.02);
  transition: all 0.4s ease;
  text-align: center;
}

.expertise-column:hover {
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.04);
  transform: translateY(-3px);
}

.expertise-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.7);
  transition: all 0.3s ease;
}

.expertise-column:hover .expertise-icon {
  border-color: rgba(255, 255, 255, 0.4);
  color: #fff;
  background: rgba(255, 255, 255, 0.05);
}

.expertise-title {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 1px;
  color: #fff;
  margin-bottom: 32px;
  text-transform: uppercase;
}

.expertise-skills {
  display: flex;
  flex-direction: column;
  gap: 16px;
  text-align: left;
}

.skill-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  transition: all 0.3s ease;
}

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

.skill-item:hover {
  padding-left: 8px;
  border-bottom-color: rgba(255, 255, 255, 0.1);
}

.skill-name {
  font-size: 13px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
  letter-spacing: 0.3px;
}

.skill-tools {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: 0.5px;
}

.skill-item:hover .skill-name {
  color: #fff;
}

.skill-item:hover .skill-tools {
  color: rgba(255, 255, 255, 0.7);
}

/* Responsive Design for Additional Content */
@media (max-width: 1024px) {
  .about-philosophy,
  .about-expertise-section {
    padding: 80px 40px;
    justify-content: center;
  }
  

  
  .philosophy-content {
    grid-template-columns: 1fr;
    gap: 60px;
  }
  
  .philosophy-focus {
    max-width: 500px;
    margin: 0 auto;
  }
  
  .expertise-grid {
    grid-template-columns: 1fr;
    gap: 32px;
    max-width: 500px;
    margin: 60px auto 0;
  }
}

@media (max-width: 768px) {
  .about-philosophy,
  .about-expertise-section {
    padding: 60px 40px;
  }
  
  .about-additional {
    padding-bottom: 40vh; /* 移动端适中的底部空间 */
  }
  
  .section-title {
    font-size: 20px;
    margin-bottom: 32px;
  }
  
  .philosophy-content {
    gap: 40px;
  }
  
  .philosophy-focus {
    padding: 32px 24px;
  }
  
  .expertise-column {
    padding: 32px 20px;
  }
  
  .expertise-grid {
    margin-top: 40px;
  }
}

/* Animation for fade in */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* About Archive Section */
.about-archive {
  padding: 120px 60px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.archive-container {
  max-width: 1200px;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
}

.archive-header {
  margin-bottom: 60px;
}

.archive-header .section-title {
  text-align: left;
}

.archive-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 60px 40px;
}

.archive-item {
  position: relative;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.archive-media-container {
  width: 100%;
  height: 300px;
  background: #0a0a0a;
  border: 1px solid rgba(255, 255, 255, 0.05);
  margin-bottom: 20px;
  overflow: hidden;
  position: relative;
  transition: all 0.5s ease;
}

.archive-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  filter: grayscale(100%) brightness(0.6); /* 稍微降低初始亮度，让悬停更有冲击力 */
  transition: filter 1.2s cubic-bezier(0.4, 0, 0.2, 1), transform 10s linear;
}

.archive-img.active {
  opacity: 1;
}

/* 悬停文案样式 */
.archive-curation-tag {
  position: absolute;
  bottom: 20px;
  left: 20px;
  right: 20px;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 1px;
  color: #fff;
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 5;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
  pointer-events: none;
}

/* 悬停效果：恢复彩色并弹出文字 */
.archive-item:hover .archive-img {
  filter: grayscale(0%) brightness(1);
}

.archive-item:hover .archive-curation-tag {
  opacity: 1;
  transform: translateY(0);
}

.archive-item:hover .archive-media-container {
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-5px);
}

/* --- 极度丝滑的自动循环动画逻辑 --- */

/* 2张图片的循环：增加过渡权重 (CINEMA, GAMING, MANGA) */
.archive-item[data-category="CINEMA"] .archive-img,
.archive-item[data-category="GAMING"] .archive-img,
.archive-item[data-category="MANGA"] .archive-img {
  animation: ultraSmoothFade2 12s infinite; /* 延长周期让过程更慢 */
}

.archive-item .archive-img:nth-child(2) { animation-delay: 6s; }

@keyframes ultraSmoothFade2 {
  0% { opacity: 0; transform: scale(1); }
  8% { opacity: 1; } /* 快速淡入 */
  42% { opacity: 1; } /* 保持显现 */
  50% { opacity: 0; transform: scale(1.05); } /* 缓慢淡出同时缩放 */
  100% { opacity: 0; }
}

/* 4张图片的循环：确保无缝衔接 (SPORTS) */
.archive-item[data-category="SPORTS"] .archive-img {
  animation: ultraSmoothFade4 24s infinite;
}

.archive-item[data-category="SPORTS"] .archive-img:nth-child(1) { animation-delay: 0s; }
.archive-item[data-category="SPORTS"] .archive-img:nth-child(2) { animation-delay: 6s; }
.archive-item[data-category="SPORTS"] .archive-img:nth-child(3) { animation-delay: 12s; }
.archive-item[data-category="SPORTS"] .archive-img:nth-child(4) { animation-delay: 18s; }

@keyframes ultraSmoothFade4 {
  0% { opacity: 0; transform: scale(1); }
  4% { opacity: 1; } 
  21% { opacity: 1; }
  25% { opacity: 0; transform: scale(1.05); }
  100% { opacity: 0; }
}

.archive-item::before {
  content: attr(data-category);
  position: absolute;
  top: -25px;
  left: 0;
  font-family: var(--font-display);
  font-size: 9px;
  letter-spacing: 1px;
  color: rgba(255, 255, 255, 0.3);
}

.archive-info {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.archive-label {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 1px;
  color: #fff;
  text-transform: uppercase;
}

.archive-desc {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
  font-weight: 300;
  line-height: 1.4;
}

.archive-footer {
  margin-top: 100px;
  text-align: center;
}

.passion-tags {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  font-family: var(--font-display);
  font-size: 11px;
  letter-spacing: 4px;
  color: rgba(255, 255, 255, 0.4);
  text-transform: uppercase;
}

.passion-tags .dot {
  color: rgba(255, 255, 255, 0.1);
}

@media (max-width: 768px) {
  .archive-grid {
    grid-template-columns: 1fr;
    gap: 80px;
  }
  
  .archive-media-placeholder {
    height: 250px;
  }
  
  .passion-tags {
    flex-wrap: wrap;
    gap: 15px;
    letter-spacing: 2px;
  }
}
