/* ===== FULLSCREEN ALBUM STYLES ===== */

.fullscreen-album {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9998;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.fullscreen-album--visible {
  opacity: 1;
  visibility: visible;
}

.fullscreen-album--active .fullscreen-album__container {
  transform: translateY(0);
}

.fullscreen-album__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--bg-white);
  overflow-y: auto;
  overflow-x: hidden;
}

.fullscreen-album__container {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  transform: translateY(20px);
  transition: transform 0.3s ease;
}

/* Header Navigation */
.fullscreen-album__header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg-white);
  border-bottom: 1px solid #333333;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transform: translateY(0);
  transition: transform 0.3s ease;
}

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

.fullscreen-album__close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: none;
  background: transparent;
  border-radius: 50%;
  color: var(--text-primary);
  cursor: pointer;
  transition: var(--transition-normal);
}

.fullscreen-album__close svg {
  display: none; /* 隐藏X图标 */
}

.fullscreen-album__close:hover {
  background: var(--bg-light);
}

.fullscreen-album__nav {
  flex: 1;
  display: flex;
  justify-content: center;
}

.fullscreen-album__breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.fullscreen-album__breadcrumb svg {
  flex-shrink: 0;
  opacity: 0.6;
}

.fullscreen-album__type {
  color: var(--text-secondary);
  margin: 0;
}

.fullscreen-album__clickable {
  cursor: pointer;
  padding: 0.25rem 0.5rem;
  border-radius: var(--border-radius-small);
  transition: var(--transition-normal);
}

.fullscreen-album__clickable:hover {
  background: var(--bg-light);
  color: var(--text-primary);
}

.fullscreen-album__album-name {
  color: var(--text-primary);
  font-weight: var(--font-weight-medium);
}

/* Album Info */
.fullscreen-album__info {
  text-align: center;
  padding: 3rem 2rem 2rem;
  max-width: 800px;
  margin: 0 auto;
}

.fullscreen-album__title {
  font-size: 3rem;
  font-weight: var(--font-weight-bold);
  color: var(--text-primary);
  margin-bottom: 1rem;
  line-height: 1.2;
}

.fullscreen-album__description {
  font-size: 1.3rem;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.fullscreen-album__meta {
  display: flex;
  justify-content: center;
  gap: 2rem;
}

.fullscreen-album__count {
  padding: 0.5rem 1rem;
  background: var(--bg-light);
  border-radius: var(--border-radius-medium);
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: var(--font-weight-medium);
}

/* Content Area */
.fullscreen-album__content {
  flex: 1;
  padding: 2rem 0;
}

.fullscreen-album__grid {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

/* Image Container */
.fullscreen-album__image-container {
  position: relative;
  cursor: pointer;
  transition: var(--transition-normal);
}

.fullscreen-album__image-container:hover {
  transform: translateY(-2px);
}

.fullscreen-album__image-wrapper {
  position: relative;
  width: 100%;
  max-width: 100%;
  border-radius: var(--border-radius-large);
  overflow: hidden;
  box-shadow: var(--shadow-medium);
  transition: var(--transition-normal);
}

.fullscreen-album__image-container:hover .fullscreen-album__image-wrapper {
  box-shadow: var(--shadow-heavy);
}

.fullscreen-album__image {
  width: 100%;
  height: auto;
  display: block;
  transition: var(--transition-slow);
}

.fullscreen-album__image-container:hover .fullscreen-album__image {
  transform: scale(1.02);
}

/* Image Overlay */
.fullscreen-album__image-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, transparent 100%);
  color: white;
  padding: 2rem;
  opacity: 0;
  transition: var(--transition-normal);
}

.fullscreen-album__image-container:hover .fullscreen-album__image-overlay {
  opacity: 1;
}

.fullscreen-album__image-info {
  max-width: 100%;
}

.fullscreen-album__image-title {
  font-size: 1.5rem;
  font-weight: var(--font-weight-bold);
  margin-bottom: 0.5rem;
}

.fullscreen-album__image-description {
  font-size: 1rem;
  opacity: 0.9;
  margin-bottom: 1rem;
  line-height: 1.5;
}

.fullscreen-album__image-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.fullscreen-album__tag {
  padding: 0.25rem 0.75rem;
  background: rgba(255, 255, 255, 0.2);
  border-radius: var(--border-radius-small);
  font-size: 0.8rem;
  backdrop-filter: blur(10px);
}

/* Body scroll lock */
.fullscreen-album-open {
  overflow: hidden !important;
}

/* Responsive Design */
@media screen and (max-width: 768px) {
  .fullscreen-album__header {
    padding: 1rem;
  }

  .fullscreen-album__info {
    padding: 2rem 1rem 1.5rem;
  }

  .fullscreen-album__title {
    font-size: 2.2rem;
  }

  .fullscreen-album__description {
    font-size: 1.1rem;
  }

  .fullscreen-album__grid {
    padding: 0 1rem;
    gap: 2rem;
  }

  .fullscreen-album__image-overlay {
    padding: 1.5rem;
  }

  .fullscreen-album__image-title {
    font-size: 1.3rem;
  }

  .fullscreen-album__image-description {
    font-size: 0.9rem;
  }

  .fullscreen-album__breadcrumb {
    font-size: 0.8rem;
  }
}

@media screen and (max-width: 480px) {
  .fullscreen-album__title {
    font-size: 1.8rem;
  }

  .fullscreen-album__description {
    font-size: 1rem;
  }

  .fullscreen-album__grid {
    gap: 1.5rem;
  }

  .fullscreen-album__image-overlay {
    padding: 1rem;
  }

  .fullscreen-album__image-title {
    font-size: 1.2rem;
  }

  .fullscreen-album__close {
    width: 36px;
    height: 36px;
  }
}

/* Animation for images loading */
.fullscreen-album__image-container {
  opacity: 0;
  animation: fadeInUp 0.6s ease forwards;
}

.fullscreen-album__image-container:nth-child(1) { animation-delay: 0.1s; }
.fullscreen-album__image-container:nth-child(2) { animation-delay: 0.2s; }
.fullscreen-album__image-container:nth-child(3) { animation-delay: 0.3s; }
.fullscreen-album__image-container:nth-child(4) { animation-delay: 0.4s; }
.fullscreen-album__image-container:nth-child(5) { animation-delay: 0.5s; }
.fullscreen-album__image-container:nth-child(6) { animation-delay: 0.6s; }
.fullscreen-album__image-container:nth-child(7) { animation-delay: 0.7s; }
.fullscreen-album__image-container:nth-child(8) { animation-delay: 0.8s; }
.fullscreen-album__image-container:nth-child(9) { animation-delay: 0.9s; }

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