/* =========
   基础设置
   ========= */
   :root {
    --color-bg: #f4f7ff;
    --color-bg-light: #ffffff;
    --color-bg-gradient-start: #cfe4ff;
    --color-bg-gradient-end: #fdfbff;
  
    --color-primary: #5b8fe7;
    --color-primary-soft: #e0ebff;
    --color-secondary: #f4e7ff;
    --color-coffee: #b38b6d;
  
    --color-text: #263143;
    --color-text-soft: #5b6477;
  
    --radius-lg: 18px;
    --radius-xl: 26px;
  
    --shadow-soft: 0 12px 30px rgba(44, 92, 164, 0.18);
  
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
  
    --max-width: 1080px;
  }
  
  *,
  *::before,
  *::after {
    box-sizing: border-box;
  }
  
  html,
  body {
    margin: 0;
    padding: 0;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
      "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
    color: var(--color-text);
    background-color: var(--color-bg);
    scroll-behavior: smooth;
  }
  
  img {
    max-width: 100%;
    display: block;
  }
  
  a {
    color: inherit;
    text-decoration: none;
  }
  
  .container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 1.5rem;
  }
  
  /* =========
     按钮
     ========= */
  .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.6rem 1.4rem;
    border-radius: 999px;
    font-size: 0.95rem;
    border: none;
    cursor: pointer;
    transition: transform var(--transition-fast),
      box-shadow var(--transition-fast), background-color var(--transition-fast),
      color var(--transition-fast);
    white-space: nowrap;
  }
  
  .btn-primary {
    background: var(--color-primary);
    color: #fff;
    box-shadow: 0 8px 16px rgba(45, 102, 188, 0.35);
  }
  
  .btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 22px rgba(45, 102, 188, 0.45);
  }
  
  .btn-secondary {
    background: var(--color-bg-light);
    color: var(--color-primary);
    border: 1px solid rgba(91, 143, 231, 0.25);
  }
  
  .btn-secondary:hover {
    background: var(--color-primary-soft);
  }
  
  .btn-full {
    width: 100%;
  }
  
  /* =========
     头部导航
     ========= */
  .site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(244, 247, 255, 0.9);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.6);
  }
  
  .nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 56px;
  }
  
  .logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
  }
  
  .logo-icon {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-primary), #7cb2ff);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
  }
  
  .logo-text {
    font-weight: 600;
    letter-spacing: 0.02em;
    font-size: 1.05rem;
  }
  
  .site-nav ul {
    list-style: none;
    display: flex;
    gap: 1rem;
    margin: 0;
    padding: 0;
  }
  
  .site-nav a {
    font-size: 0.95rem;
    color: var(--color-text-soft);
    padding: 0.4rem 0.6rem;
    border-radius: 999px;
    transition: background-color var(--transition-fast),
      color var(--transition-fast);
  }
  
  .site-nav a:hover {
    background: var(--color-primary-soft);
    color: var(--color-primary);
  }
  
  .nav-toggle {
    display: none;
    border: none;
    background: transparent;
    font-size: 1.3rem;
    cursor: pointer;
  }
  
/* =========
   名言区
   ========= */
.quote-section {
  background: linear-gradient(135deg, #e8f4ff 0%, #f0e6ff 50%, #fff5f5 100%);
  padding: 3rem 0;
  position: relative;
  overflow: hidden;
}

.quote-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 20% 30%, rgba(91, 143, 231, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(179, 139, 109, 0.08) 0%, transparent 50%);
  pointer-events: none;
}

.quote-container {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
}

.quote-decoration {
  font-size: 4rem;
  color: var(--color-primary);
  opacity: 0.25;
  font-family: Georgia, serif;
  line-height: 1;
  user-select: none;
}

.quote-decoration-left {
  align-self: flex-start;
}

.quote-decoration-right {
  align-self: flex-end;
}

.quote-content {
  text-align: center;
  margin: 0;
  padding: 0;
  max-width: 700px;
}

.quote-jp {
  font-size: 1.35rem;
  font-weight: 500;
  color: var(--color-text);
  margin: 0 0 1rem;
  line-height: 1.8;
  letter-spacing: 0.05em;
  font-family: "Noto Serif JP", "Yu Mincho", "Hiragino Mincho ProN", serif;
}

.quote-cn {
  font-size: 1.1rem;
  color: var(--color-text-soft);
  margin: 0 0 1.2rem;
  line-height: 1.7;
  font-style: italic;
}

.quote-author {
  display: block;
  font-size: 0.95rem;
  color: var(--color-coffee);
  font-style: normal;
  font-weight: 600;
  letter-spacing: 0.1em;
}

.quote-author span[lang="zh-CN"],
.quote-cn {
  font-family: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", "Source Han Sans SC", sans-serif;
}

@media (max-width: 720px) {
  .quote-section {
    padding: 2rem 0;
  }

  .quote-decoration {
    font-size: 2.5rem;
  }

  .quote-jp {
    font-size: 1.1rem;
  }

  .quote-cn {
    font-size: 0.95rem;
  }
}

/* =========
   Hero 区
   ========= */
.hero {
    position: relative;
    padding: 3.5rem 0 3rem;
    background: radial-gradient(circle at top left, #f4f7ff 0, #cfe4ff 35%, #fdfbff 90%);
    overflow: hidden;
  }
  
  .hero-overlay {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(
        circle at 10% 10%,
        rgba(255, 255, 255, 0.75),
        transparent 60%
      ),
      radial-gradient(
        circle at 90% 80%,
        rgba(255, 255, 255, 0.85),
        transparent 60%
      );
    pointer-events: none;
  }
  
  .hero-inner {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
    gap: 2.5rem;
    align-items: center;
    z-index: 1;
  }
  
  .hero-text h1 {
    font-size: clamp(2.3rem, 3.2vw, 3.3rem);
    margin: 0.3rem 0;
    letter-spacing: 0.03em;
  }
  
  .hero-tagline {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--color-primary);
  }
  
  .hero-date {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--color-coffee);
    margin-bottom: 0.6rem;
  }
  
  .hero-desc {
    color: var(--color-text-soft);
    max-width: 360px;
  }
  
  .hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.2rem;
  }
  
  .hero-visual {
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .hero-image-wrap {
    position: relative;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    background: var(--color-bg-light);
  }
  
  .hero-image {
    display: block;
  }
  
  .tippy {
    position: absolute;
    width: 68px;
    right: 10px;
    top: -18px;
    transform-origin: center bottom;
    animation: tippy-bounce 4s ease-in-out infinite;
  }
  
  .hero-badge {
    position: absolute;
    right: 12%;
    bottom: 8%;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 20px;
    padding: 0.5rem 0.9rem;
    box-shadow: 0 8px 16px rgba(52, 108, 194, 0.3);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.1rem;
  }
  
  .badge-label {
    font-size: 0.7rem;
    text-transform: uppercase;
    color: var(--color-text-soft);
  }
  
  .badge-value {
    font-weight: 700;
    color: var(--color-primary);
  }
  
  /* 漂浮小装饰 */
  .floating {
    position: absolute;
    opacity: 0.45;
    font-size: 1.2rem;
    pointer-events: none;
  }
  
  .floating-coffee {
    left: 10%;
    bottom: 12%;
    animation: float-up 9s ease-in-out infinite;
  }
  
  .floating-snow {
    right: 15%;
    top: 18%;
    animation: float-up 11s ease-in-out infinite;
  }
  
  .floating-rabbit {
    left: 55%;
    top: 10%;
    animation: float-up 10s ease-in-out infinite;
  }
  
  @keyframes float-up {
    0% {
      transform: translateY(0);
      opacity: 0.15;
    }
    50% {
      transform: translateY(-14px);
      opacity: 0.6;
    }
    100% {
      transform: translateY(0);
      opacity: 0.15;
    }
  }
  
  @keyframes tippy-bounce {
    0%,
    100% {
      transform: translateY(0) rotate(0deg);
    }
    50% {
      transform: translateY(-6px) rotate(-5deg);
    }
  }
  
  /* =========
     通用区块
     ========= */
  .section {
    padding: 3rem 0;
  }
  
  .section-light {
    background: var(--color-bg);
  }
  
  .section-gradient {
    background: linear-gradient(
      135deg,
      var(--color-bg-gradient-start),
      var(--color-bg-gradient-end)
    );
  }
  
  .section-header {
    text-align: center;
    margin-bottom: 2rem;
  }
  
  .section-header h2 {
    font-size: 1.65rem;
    margin-bottom: 0.4rem;
  }
  
  .section-header p {
    color: var(--color-text-soft);
    font-size: 0.98rem;
  }
  
  /* =========
     档案区
     ========= */
  .profile-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.4fr);
    gap: 1.8rem;
  }
  
  .profile-avatar-card,
  .profile-info-card {
    background: var(--color-bg-light);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-soft);
    padding: 1.4rem;
  }
  
  .profile-avatar-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.9rem;
  }
  
  .profile-avatar {
    border-radius: 20px;
  }
  
  .profile-badge {
    padding: 0.4rem 0.8rem;
    border-radius: 999px;
    background: var(--color-primary-soft);
    font-size: 0.85rem;
    color: var(--color-primary);
  }
  
  .profile-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 1.4rem;
    row-gap: 0.8rem;
    margin: 0 0 1rem;
  }
  
  .profile-list dt {
    font-size: 0.8rem;
    color: var(--color-text-soft);
  }
  
  .profile-list dd {
    margin: 0;
    font-weight: 500;
  }
  
  .profile-intro {
    margin: 0;
    font-size: 0.95rem;
    color: var(--color-text-soft);
  }
  
  /* =========
     时间线
     ========= */
  .timeline {
    position: relative;
    margin-top: 0.5rem;
    padding-left: 1.4rem;
  }
  
  .timeline::before {
    content: "";
    position: absolute;
    left: 1.2rem;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(
      to bottom,
      rgba(91, 143, 231, 0.7),
      rgba(244, 231, 255, 0.1)
    );
  }
  
  .timeline-item {
    position: relative;
    padding-left: 1.8rem;
    margin-bottom: 1.7rem;
  }
  
  .timeline-dot {
    position: absolute;
    left: 0.9rem;
    top: 0.3rem;
    width: 11px;
    height: 11px;
    border-radius: 50%;
    background: #fff;
    border: 2px solid var(--color-primary);
  }
  
  .timeline-content {
    background: rgba(255, 255, 255, 0.96);
    border-radius: var(--radius-lg);
    padding: 0.9rem 1rem;
    box-shadow: 0 10px 25px rgba(82, 118, 177, 0.2);
  }
  
  .timeline-year {
    font-size: 0.78rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--color-primary);
  }
  
  .timeline-content h3 {
    margin: 0.1rem 0 0.25rem;
    font-size: 1rem;
  }
  
  .timeline-content p {
    margin: 0;
    font-size: 0.95rem;
    color: var(--color-text-soft);
  }
  
  /* =========
     换装区
     ========= */
  .outfits {
    background: transparent;
  }
  
  .outfit-tabs {
    display: inline-flex;
    gap: 0.3rem;
    padding: 0.25rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: var(--shadow-soft);
    margin-bottom: 1.5rem;
  }
  
  .outfit-tab {
    border: none;
    background: transparent;
    padding: 0.4rem 0.9rem;
    border-radius: 999px;
    font-size: 0.9rem;
    cursor: pointer;
    color: var(--color-text-soft);
    transition: background-color var(--transition-fast),
      color var(--transition-fast), transform var(--transition-fast);
  }
  
  .outfit-tab.active {
    background: var(--color-primary);
    color: #fff;
    transform: translateY(-1px);
  }
  
  .outfit-panels {
    background: transparent;
  }
  
  .outfit-panel {
    display: none;
  }
  
  .outfit-panel.active {
    display: block;
  }
  
  .outfit-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.1fr);
    gap: 1.6rem;
    background: var(--color-bg-light);
    border-radius: var(--radius-xl);
    padding: 1.4rem;
    box-shadow: var(--shadow-soft);
  }
  
  .outfit-text h3 {
    margin-top: 0;
    margin-bottom: 0.4rem;
  }
  
  .outfit-text p {
    font-size: 0.95rem;
    color: var(--color-text-soft);
  }
  
  .outfit-tags {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin: 0.8rem 0 0;
    padding: 0;
  }
  
  .outfit-tags li {
    font-size: 0.8rem;
    padding: 0.2rem 0.7rem;
    border-radius: 999px;
    background: var(--color-secondary);
  }
  
  .outfit-image-wrap img {
    border-radius: 20px;
  }
  
  /* =========
     歌曲区
     ========= */
  .section-music {
    position: relative;
  }
  
  .music-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.2rem;
  }
  
  .music-card {
    background: rgba(255, 255, 255, 0.96);
    border-radius: var(--radius-lg);
    padding: 1.2rem;
    box-shadow: var(--shadow-soft);
  }
  
  .music-card h3 {
    margin-top: 0;
    margin-bottom: 0.5rem;
  }
  
  .music-list {
    list-style: none;
    margin: 0;
    padding: 0;
  }
  
  .music-list li + li {
    margin-top: 0.6rem;
  }
  
  .music-title {
    display: block;
    font-weight: 600;
  }
  
  .music-meta {
    font-size: 0.85rem;
    color: var(--color-text-soft);
  }
  
  .music-note-card {
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: linear-gradient(
      135deg,
      rgba(91, 143, 231, 0.13),
      rgba(244, 231, 255, 0.9)
    );
  }

  .music-link,
  .music-item {
    display: block;
    padding: 0.5rem 0.7rem;
    margin: -0.3rem -0.5rem;
    border-radius: 10px;
    transition: background-color var(--transition-fast), transform var(--transition-fast);
  }

  .music-link:hover,
  .music-item:hover {
    background: var(--color-primary-soft);
    transform: translateX(4px);
  }

  .music-link:hover .music-title,
  .music-item:hover .music-title {
    color: var(--color-primary);
  }
  
  /* =========
     祝福墙
     ========= */
  .section-wishes {
    position: relative;
  }
  
  .wishes-layout {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.3fr);
    gap: 1.5rem;
  }
  
  .wish-form {
    background: var(--color-bg-light);
    border-radius: var(--radius-xl);
    padding: 1.4rem;
    box-shadow: var(--shadow-soft);
  }
  
  .form-group {
    margin-bottom: 0.9rem;
  }
  
  .form-group label {
    display: block;
    margin-bottom: 0.25rem;
    font-size: 0.9rem;
  }
  
  input[type="text"],
  textarea {
    width: 100%;
    padding: 0.55rem 0.7rem;
    border-radius: 10px;
    border: 1px solid rgba(150, 165, 201, 0.5);
    font-size: 0.95rem;
    font-family: inherit;
    resize: vertical;
  }
  
  input[type="text"]:focus,
  textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 2px rgba(91, 143, 231, 0.15);
  }
  
  .form-tip {
    margin-top: 0.6rem;
    font-size: 0.8rem;
    color: var(--color-text-soft);
  }
  
  .wish-wall {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 0.9rem;
  }
  
  .wish-card {
    position: relative;
    background: #fffdf6;
    border-radius: 18px;
    padding: 0.9rem 0.9rem 0.8rem;
    box-shadow: 0 3px 8px rgba(179, 139, 109, 0.22);
    border: 1px dashed rgba(179, 139, 109, 0.5);
  }
  
  .wish-card::before {
    content: "🐰";
    position: absolute;
    top: 8px;
    right: 10px;
    opacity: 0.6;
  }
  
  .wish-author {
    margin: 0 0 0.3rem;
    font-size: 0.9rem;
  }
  
  .wish-message {
    margin: 0 0 0.4rem;
    font-size: 0.88rem;
  }
  
  .wish-time {
    font-size: 0.78rem;
    color: var(--color-text-soft);
  }
  
  /* =========
     页脚
     ========= */
  .site-footer {
    padding: 1.6rem 0 2rem;
    background: #1f2433;
    color: rgba(255, 255, 255, 0.85);
  }
  
  .footer-inner {
    text-align: center;
    font-size: 0.9rem;
  }
  
  .footer-highlight {
    color: #ffdf9b;
    font-weight: 600;
  }
  
  /* =========
   评论提示栏
   ========= */
.section-comment-cta {
  background: linear-gradient(135deg, #e8f0ff 0%, #f0e6ff 100%);
  padding: 1.8rem 0;
}

.comment-cta-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.comment-icon {
  font-size: 1.5rem;
  animation: bounce-gentle 2s ease-in-out infinite;
}

.comment-icon:last-child {
  animation-delay: 0.3s;
}

.comment-text {
  margin: 0;
  font-size: 1.1rem;
  color: var(--color-text);
  font-weight: 500;
  text-align: center;
}

@keyframes bounce-gentle {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-5px);
  }
}

@media (max-width: 720px) {
  .comment-cta-inner {
    flex-direction: column;
    gap: 0.5rem;
  }

  .comment-icon {
    font-size: 1.3rem;
  }

  .comment-text {
    font-size: 1rem;
  }
}

.footer-sing {
    margin-top: 0.6rem;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.7);
    font-style: italic;
    letter-spacing: 0.15em;
  }

  .footer-note {
    margin-top: 0.4rem;
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.6);
  }
  
  /* =========
     响应式
     ========= */
  @media (max-width: 900px) {
    .hero-inner {
      grid-template-columns: minmax(0, 1fr);
    }
  
    .hero-text {
      text-align: center;
    }
  
    .hero-desc {
      margin: 0 auto;
    }
  
    .hero-actions {
      justify-content: center;
    }
  
    .hero-visual {
      order: -1;
    }
  
    .hero-badge {
      right: 8%;
      bottom: 8%;
    }
  
    .profile-grid,
    .outfit-grid,
    .wishes-layout {
      grid-template-columns: minmax(0, 1fr);
    }
  
    .music-grid {
      grid-template-columns: repeat(2, minmax(0, 1fr));
    }
  }
  
  /* =========
   图片画廊 - 瀑布流
   ========= */
.section-gallery {
  background: linear-gradient(180deg, var(--color-bg) 0%, #e8f0ff 100%);
}

.gallery-container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.gallery-masonry {
  column-count: 4;
  column-gap: 16px;
  width: 100%;
}

.gallery-item {
  break-inside: avoid;
  margin-bottom: 16px;
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  cursor: pointer;
  background: var(--color-bg-light);
  box-shadow: 0 4px 20px rgba(91, 143, 231, 0.15);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.gallery-item:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 12px 35px rgba(91, 143, 231, 0.3);
}

.gallery-item img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.5s ease;
}

.gallery-item:hover img {
  transform: scale(1.08);
}

.gallery-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(91, 143, 231, 0.4) 0%,
    transparent 50%
  );
  opacity: 0;
  transition: opacity var(--transition-normal);
  pointer-events: none;
}

.gallery-item:hover::after {
  opacity: 1;
}

.gallery-item .gallery-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1rem;
  color: #fff;
  font-size: 0.85rem;
  opacity: 0;
  transform: translateY(10px);
  transition: all var(--transition-normal);
  z-index: 2;
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
  transform: translateY(0);
}

.gallery-load-more {
  margin-top: 2rem;
  padding: 0.8rem 2rem;
  font-size: 1rem;
}

/* 图片加载动画 */
.gallery-item.loading {
  background: linear-gradient(
    90deg,
    #e8f0ff 25%,
    #f4f7ff 50%,
    #e8f0ff 75%
  );
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  min-height: 200px;
}

@keyframes shimmer {
  0% {
    background-position: -200% 0;
  }
  100% {
    background-position: 200% 0;
  }
}

/* 图片淡入动画 */
.gallery-item.loaded {
  animation: fadeInUp 0.6s ease forwards;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* =========
   灯箱
   ========= */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(15, 20, 35, 0.95);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.lightbox.active {
  opacity: 1;
  visibility: visible;
}

.lightbox-content {
  max-width: 90vw;
  max-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-content img {
  max-width: 100%;
  max-height: 85vh;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  animation: lightboxZoomIn 0.4s ease;
}

@keyframes lightboxZoomIn {
  from {
    transform: scale(0.8);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 25px;
  background: rgba(255, 255, 255, 0.15);
  border: none;
  color: #fff;
  font-size: 2rem;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  transition: all var(--transition-fast);
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-close:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: rotate(90deg);
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.15);
  border: none;
  color: #fff;
  font-size: 1.5rem;
  width: 50px;
  height: 80px;
  border-radius: 8px;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.lightbox-nav:hover {
  background: rgba(255, 255, 255, 0.3);
}

.lightbox-prev {
  left: 20px;
}

.lightbox-next {
  right: 20px;
}

.lightbox-counter {
  position: absolute;
  bottom: 25px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.95rem;
  background: rgba(0, 0, 0, 0.4);
  padding: 0.5rem 1.2rem;
  border-radius: 20px;
}

@media (max-width: 1200px) {
  .gallery-masonry {
    column-count: 3;
  }
}

@media (max-width: 900px) {
  .gallery-masonry {
    column-count: 2;
  }
}

@media (max-width: 720px) {
    .nav-toggle {
      display: block;
    }
  
    .site-nav {
      position: absolute;
      top: 100%;
      right: 0;
      left: 0;
      background: rgba(244, 247, 255, 0.98);
      display: none;
      border-bottom: 1px solid rgba(255, 255, 255, 0.9);
    }
  
    .site-nav.open {
      display: block;
    }
  
    .site-nav ul {
      flex-direction: column;
      padding: 0.6rem 1.5rem 1rem;
    }
  
    .site-nav a {
      padding: 0.5rem 0.2rem;
    }
  
    .hero {
      padding: 2.6rem 0 2.3rem;
    }
  
    .section {
      padding: 2.2rem 0;
    }
  
    .music-grid {
      grid-template-columns: minmax(0, 1fr);
    }
  
    .timeline {
      padding-left: 1rem;
    }
  
    .timeline::before {
      left: 0.8rem;
    }
  
    .timeline-item {
      padding-left: 1.5rem;
    }
  
    .timeline-dot {
      left: 0.5rem;
    }

    .gallery-masonry {
      column-count: 2;
      column-gap: 10px;
    }

    .gallery-item {
      margin-bottom: 10px;
    }

    .lightbox-nav {
      width: 40px;
      height: 60px;
      font-size: 1.2rem;
    }

    .lightbox-prev {
      left: 10px;
    }

    .lightbox-next {
      right: 10px;
    }
  }
  