* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body,
html {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  color: #333;
  line-height: 1.6;
  scroll-behavior: smooth;
}
a {
  color: #667eea;
  text-decoration: none;
}

/* ===== Hero (trang đầu) ===== */
:root {
  --bg-gradient: rgba(0, 0, 0, 0.45);
  --radius: 8px;
  --transition: 0.3s ease;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

.hero {
  position: relative;
  min-height: 100vh;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1rem;
  overflow: hidden;
  background: #0f111a;
}

#particles-js {
  position: absolute;
  inset: 0;
  z-index: 0;
  /* User can plug in particles.js or any background; placeholder dark gradient */
  background: linear-gradient(135deg, #0f111a 0%, #1f2a44 80%);
  filter: brightness(1);
}

.overlay {
  position: absolute;
  inset: 0;
  background: var(--bg-gradient);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 850px;
  padding: 1rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  align-items: center;
}

.hero-content h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  margin: 0;
  letter-spacing: 0.5px;
}

.subtitle {
  font-size: 1.1rem;
  font-weight: 600;
  opacity: 0.9;
}

.description {
  font-size: 1rem;
  max-width: 700px;
  line-height: 1.5;
  margin: 0.5rem 0 1rem;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  justify-content: center;
  margin-top: 0.5rem;
}

.cta-button {
  background: #6366f1;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius);
  color: white;
  text-decoration: none;
  font-weight: 600;
  position: relative;
  transition: opacity var(--transition), transform var(--transition);
}

.cta-button:hover,
.cta-button:focus {
  opacity: 0.9;
  transform: translateY(-2px);
}

.social-links {
  display: flex;
  gap: 0.75rem;
}

.social-button {
  position: relative;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: #fff;
  font-weight: 600;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  overflow: visible;
}

.social-button svg {
  width: 22px;
  height: 22px;
  display: block;
}

/* Brand backgrounds */
.social-button.github {
  background: #0d1117;
  border: 2px solid rgba(255, 255, 255, 0.1);
}
.social-button.linkedin {
  background: #0a66c2;
}
.social-button.facebook {
  background: #1877f2;
}

/* Hover / focus */
.social-button:hover,
.social-button:focus-visible {
  transform: scale(1.1);
  box-shadow: 0 14px 40px -4px rgba(0, 0, 0, 0.4);
}
.social-button:focus-visible {
  outline: 3px solid rgba(255, 255, 255, 0.9);
  outline-offset: 2px;
}

/* Optional label tooltip */
.social-button .label {
  position: absolute;
  bottom: -30px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.75);
  color: #fff;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 0.55rem;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s ease;
  z-index: 5;
}
.social-button:hover .label,
.social-button:focus-within .label {
  opacity: 1;
}

.scroll-indicator {
  position: absolute;
  bottom: 80px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  font-size: 1.3rem;
  cursor: pointer;
  user-select: none;
  padding: 0.6rem 1rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  transition: background 0.2s ease, transform 0.15s ease;
  animation: float-fast 1.2s ease-in-out infinite,
    pulse-fast 2.5s ease-in-out infinite;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.scroll-indicator:hover,
.scroll-indicator:focus {
  background: rgba(255, 255, 255, 0.18);
  transform: translateX(-50%) scale(1.07);
}

@keyframes float-fast {
  0%,
  100% {
    transform: translate(-50%, 0);
  }
  50% {
    transform: translate(-50%, -8px);
  }
}

@keyframes pulse-fast {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.18);
  }
  50% {
    box-shadow: 0 0 10px 3px rgba(255, 255, 255, 0.14);
  }
}

.year-gallery-thumbs {
  display: flex;
  gap: 0.5rem;
  margin: 0.5rem 0 1rem;
}
.year-gallery-thumbs img {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 6px;
  cursor: pointer;
  border: 2px solid transparent;
  transition: transform 0.2s, border-color 0.2s;
}
.year-gallery-thumbs img:hover {
  transform: scale(1.05);
  border-color: #667eea;
}
.lightbox {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}
.lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
}
.lightbox img {
  max-width: 90%;
  max-height: 80%;
  border-radius: 8px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
  position: relative;
  z-index: 1;
}
.lightbox-close {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  background: rgba(0, 0, 0, 0.65);
  border: none;
  color: #fff;
  width: 40px;
  height: 40px;
  font-size: 1.4rem;
  line-height: 1;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
  transition: transform 0.2s ease, background 0.2s ease;
}

.lightbox-close:hover {
  background: rgba(0, 0, 0, 0.85);
  transform: scale(1.1);
}

.lightbox-close:focus-visible {
  outline: 2px solid #667eea;
  outline-offset: 2px;
}
.gallery-all-button {
  margin-top: 0.5rem;
  padding: 0.5rem 1rem;
  background: #764ba2;
  color: white;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 600;
  transition: transform 0.2s, background 0.2s;
}
.gallery-all-button:hover {
  transform: translateY(-2px);
  background: #5f3790;
}

/* modal hiển thị nhiều ảnh */
.gallery-modal {
  position: fixed;
  inset: 0;
  display: none; /* bật bằng JS */
  align-items: center;
  justify-content: center;
  z-index: 10000;
  overflow: auto;
}
.gallery-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
}
.gallery-content {
  position: relative;
  background: white;
  padding: 1.5rem 1rem 1rem;
  border-radius: 12px;
  max-width: 90%;
  width: 800px;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.gallery-close {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(0, 0, 0, 0.6);
  border: none;
  color: white;
  width: 38px;
  height: 38px;
  font-size: 1.5rem;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
} /* Wrapper: hiển thị tối đa 3 ảnh ngang, xuống hàng trên mobile */

.gallery-images-wrapper {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1rem;
  justify-items: center;
  align-items: start;
  padding: 0.5rem 0;
  width: 100%;
}

/* Ảnh kiểu “card” lớn hơn */
.gallery-images-wrapper img {
  width: 100%;
  max-width: 600px; /* nếu chỉ một ảnh thì có thể rộng hơn */
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
  transition: transform 0.25s ease, filter 0.25s ease;
  cursor: pointer;
  border: 3px solid transparent;
}

/* Hover hiệu ứng */
.gallery-images-wrapper img:hover {
  transform: translateY(-3px);
  filter: brightness(1.05);
  border-color: #667eea;
}

/* Nếu chỉ có một ảnh thì cho nó chiếm nhiều không gian hơn */
.gallery-images-wrapper:has(img:nth-child(1):only-child) img {
  max-width: 800px;
}

/* Trên màn hình nhỏ xếp dọc */
@media (max-width: 900px) {
  .gallery-images-wrapper {
    grid-template-columns: 1fr;
  }
  .gallery-images-wrapper img {
    max-width: 100%;
    aspect-ratio: auto;
  }
}

/* Mở rộng modal trên desktop để ảnh không bị bó hẹp */
.gallery-content {
  max-width: 95%;
  width: 1000px;
}

a {
  color: #667eea; /* link chung */
  transition: color 0.3s;
}
a:hover {
  color: #764ba2;
}
@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes bounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translate(-50%, 0);
  }
  40% {
    transform: translate(-50%, -10px);
  }
  60% {
    transform: translate(-50%, -5px);
  }
}

/* ===== Main Content ===== */
.container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 4rem 2rem;
  background: #f9f9f9;
}
section {
  margin-bottom: 3rem;
}

.section-title {
  text-align: center;
  font-size: 2.2rem;
  color: #2c3e50;
  margin-bottom: 1.5rem;
  padding-bottom: 0.5rem;
  position: relative;
  border-bottom: 3px solid #4caf50;
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background: linear-gradient(135deg, #667eea, #764ba2);
  border-radius: 2px;
}

/* About */
.about p {
  max-width: 700px;
  margin: 0 auto;
  color: #555;
}
.skills-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 800px;
  margin-top: 1rem;
}

.skill-card {
  background: #ffffff;
  padding: 1rem 1.25rem;
  border-left: 4px solid #667eea; /* subtle accent */
  border-radius: 6px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-size: 0.95rem;
}

.skill-title {
  font-weight: 600;
  font-size: 1.1rem;
  color: #1f2e3d;
}

.skill-desc {
  color: #4f5d72;
  line-height: 1.4;
}

/* Optional: reduce accent intensity on hover */
.skill-card:hover {
  background: #f9f9fb;
}

/* Achievements */
.achievements {
  background: #ffffff;
}
.achievements-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  align-items: start; /* đảm bảo các card không bị căn giữa cao khác nhau */
}

/* Nhỏ: giữ kiểu hiện có, có thể thêm class "small" để khác biệt nếu muốn */
.achievement-item.small {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 1.5rem;
  border-radius: 10px;
  text-align: center;
  transition: transform 0.3s;
  backdrop-filter: blur(5px);
}
.achievement-item.small:hover {
  transform: translateY(-5px);
}
.achievement-item.small .achievement-number {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

/* Year grouped achievement cards (dưới) */
.year-achievement-card {
  background: white;
  padding: 1.5rem;
  border-radius: 12px;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.12);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  position: relative;
  border: 2px solid transparent;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.year-achievement-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.18);
}
.year-header {
  font-size: 1.8rem;
  font-weight: 700;
  color: #2c3e50;
  margin-bottom: 0.25rem;
}
.year-achievements-list {
  list-style: disc;
  padding-left: 1.2rem;
  margin: 0;
  color: #444;
}
.year-achievements-list li {
  margin-bottom: 0.4rem;
}

/* Gallery button */
.gallery-button {
  display: inline-block;
  margin-top: auto;
  padding: 0.6rem 1.2rem;
  background: #667eea;
  color: white;
  font-weight: 600;
  border-radius: 50px;
  text-decoration: none;
  text-align: center;
  border: 2px solid #667eea;
  transition: all 0.25s ease;
}
.gallery-button:hover {
  background: rgba(255, 255, 255, 0.2);
  color: #667eea;
  transform: translateY(-2px);
}

.achievement-item {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 1.5rem;
  border-radius: 10px;
  text-align: center;
  transition: 0.3s;
  backdrop-filter: blur(5px);
}
.achievement-item:hover {
  transform: translateY(-5px);
}
.achievement-number {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  margin-top: 1rem;
}

.project-card {
  background: white;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.2);
}

.project-image {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-bottom: 1px solid #eee;
}

.project-content {
  padding: 1rem 1.5rem 1.5rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.project-title {
  font-size: 1.5rem;
  color: #2c3e50;
  margin-bottom: 0.5rem;
  font-weight: 700;
}

.project-description {
  flex-grow: 1;
  color: #555;
  margin-bottom: 1rem;
  font-size: 1rem;
}

.tech-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.tech-tag {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  user-select: none;
}

.github-link {
  align-self: flex-start;
  text-decoration: none;
  color: #667eea;
  font-weight: 600;
  border: 2px solid #667eea;
  padding: 0.4rem 1rem;
  border-radius: 50px;
  transition: background-color 0.3s, color 0.3s;
}

.github-link:hover {
  background-color: #667eea;
  color: white;
}

/* Contact */
.contact {
  background-color: #f9f9f9;
  padding: 2rem;
  border-radius: 8px;
  max-width: 600px;
  margin: auto;
  font-family: Arial, sans-serif;
  color: #333;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  background-color: white;
  border-radius: 6px;
  padding: 0.8rem 1rem;
  box-shadow: 0 1px 5px rgba(0, 0, 0, 0.1);
  transition: background-color 0.3s ease;
}

.contact-item:hover {
  background-color: #e8f5e9;
}

.contact-icon {
  color: #4caf50;
  flex-shrink: 0;
}

.contact-item h3 {
  margin: 0;
  font-weight: 600;
  color: #4caf50;
  min-width: 80px;
}

.contact-item a {
  color: #333;
  text-decoration: none;
  font-weight: 500;
  word-break: break-word;
}

.contact-item a:hover {
  text-decoration: underline;
}

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1.5rem;
  gap: 1rem;
  width: 100%;
  backdrop-filter: blur(14px);
  background: rgba(15, 17, 26, 0.65);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  z-index: 100;
  color: #e8ecff;
  font-size: 0.95rem;
  flex-wrap: nowrap;
}

.logo-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  color: #fff;
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 0.5px;
}

.wordmark {
  margin-left: 4px;
}

.nav-container {
  flex: 1;
  display: flex;
  justify-content: flex-end;
  position: relative;
}

.nav-list {
  list-style: none;
  display: flex;
  gap: 1rem;
  margin: 0;
  padding: 0;
  align-items: center;
  overflow: hidden;
}

.nav-list li {
  position: relative;
}

.nav-list a {
  position: relative;
  padding: 6px 12px;
  color: #dfe4ff;
  font-weight: 500;
  border-radius: 6px;
  transition: color 0.25s ease, background 0.25s ease;
  text-decoration: none;
  font-size: 0.9rem;
}

.nav-list a:hover,
.nav-list a:focus {
  color: #fff;
  background: rgba(255, 255, 255, 0.05);
}

.nav-list a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 3px;
  border-radius: 2px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  transition: width 0.3s ease;
}

.nav-list a:hover::after,
.nav-list a.active::after {
  width: 100%;
}

/* Hamburger */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  margin-left: auto;
  position: relative;
  z-index: 110;
}
.nav-toggle .bar {
  display: block;
  width: 22px;
  height: 2px;
  margin: 4px 0;
  background: #fff;
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.section-subtitle {
  margin-top: 4px;
  font-size: 1rem;
  color: #555;
  max-width: 600px;
}

.certificates-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-top: 1rem;
}

.certificate-card {
  background: #0f111a;
  border: 2px solid transparent;
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  position: relative;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
  transition: transform 0.25s ease, border 0.25s ease;
}

.certificate-card:hover {
  transform: translateY(-4px);
  border: 2px solid #667eea;
}

.thumb {
  position: relative;
  overflow: hidden;
  background: #1f2a44;
}
.thumb img {
  width: 100%;
  display: block;
  object-fit: cover;
  aspect-ratio: 16/9;
  transition: scale 0.3s ease;
}
.certificate-card:hover .thumb img {
  scale: 1.02;
}

.info {
  padding: 1rem 1rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.info h3 {
  font-size: 1.1rem;
  margin: 0;
  color: #fff;
  line-height: 1.25;
}

.meta {
  font-size: 0.8rem;
  color: #bfc7e0;
  margin-bottom: 4px;
}

.actions {
  margin-top: auto;
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.btn-sm {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  text-decoration: none;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: transform 0.2s ease;
}

.btn-sm:hover,
.btn-sm:focus {
  transform: translateY(-1px);
  filter: brightness(1.05);
}

/* Lightbox */
#certificate-lightbox {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 2000;
}
#certificate-lightbox[aria-hidden="false"] {
  display: flex;
}
.lightbox-inner {
  position: relative;
  max-width: 90%;
  max-height: 90%;
}
.lightbox-inner img {
  max-width: 100%;
  max-height: 100%;
  border-radius: 10px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
}
.lightbox-close {
  position: absolute;
  top: -10px;
  right: -10px;
  background: rgba(0, 0, 0, 0.7);
  border: none;
  color: #fff;
  font-size: 1.5rem;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
}

/* Footer */
footer {
  text-align: center;
  padding: 2rem;
  background: #1a252f;
  color: #bdc3c7;
}
.certificates-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-top: 1rem;
}

.certificate-card {
  background: white;
  padding: 1rem 1.5rem;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: 0.3s;
}

.certificate-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.certificate-card h3 {
  margin-bottom: 0.5rem;
  color: #2c3e50;
}

/* Responsive */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 2rem; /* nhỏ lại chút cho vừa màn nhỏ */
  }
  .hero .subtitle {
    font-size: 1rem; /* vừa phải */
  }
  .section-title {
    font-size: 1.6rem; /* nhỏ hơn để vừa màn */
  }
  .container {
    padding: 1.5rem 1rem; /* giảm padding */
  }
  a:hover {
    color: #ff4757;
    text-decoration: underline;
  }
  .nav-list {
    flex-direction: column;
    gap: 1rem;
    align-items: center;
  }
  .achievements-grid {
    grid-template-columns: 1fr;
  }
  .skill-card {
    padding: 0.75rem 1rem;
  }
  .actions {
    flex-direction: column;
  }

  /* Thêm mở rộng menu cho nav */
  .nav-list {
    position: absolute;
    top: 60px; /* hơi cao lên, vừa nav-header */
    right: 0.5rem;
    background: rgba(15, 17, 26, 0.98);
    padding: 1rem 1.25rem;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
    display: none;
    min-width: 160px;
    backdrop-filter: blur(12px);
    z-index: 150;
  }
  .nav-list.show {
    display: flex;
  }
  .nav-toggle {
    display: inline-flex;
  }
}

/* Dưới 900px: gallery và nav */
@media (max-width: 900px) {
  .gallery-images-wrapper {
    grid-template-columns: 1fr;
  }
  .gallery-images-wrapper img {
    max-width: 100%;
    aspect-ratio: auto;
  }
  .nav-toggle {
    display: inline-flex;
  }

  .nav-list {
    position: absolute;
    top: 60px;
    right: 0.5rem;
    flex-direction: column;
    background: rgba(15, 17, 26, 0.95);
    padding: 0.75rem 1rem;
    gap: 0.5rem;
    border-radius: 10px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
    display: none;
    min-width: 180px;
    backdrop-filter: blur(10px);
    margin-top: 4px;
    z-index: 150;
  }

  .nav-list.show {
    display: flex;
  }
}
