/* ===== SLIDESHOW ===== */
.l-slideshow {
  height: 100vh;
  width: 100%;
  scroll-snap-type: y mandatory;
  overflow-y: scroll;
  scrollbar-width: none;
}

.l-slideshow::-webkit-scrollbar {
  display: none;
}

.l-slideshow__item {
  scroll-snap-align: start;
  height: 100vh;
  width: 100%;
}

/* ===== INTRO ===== */
.l-intro {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  width: 100%;
  padding: 1rem;
  background: linear-gradient(135deg, #2C1810 0%, #4A2C2C 35%, #6B3A3A 65%, #3D2020 100%);
  position: relative;
  overflow: hidden;
}

.l-intro::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 20% 50%, rgba(139, 94, 94, 0.25) 0%, transparent 60%), radial-gradient(ellipse at 80% 20%, rgba(212, 165, 116, 0.15) 0%, transparent 50%), radial-gradient(ellipse at 50% 80%, rgba(107, 58, 58, 0.3) 0%, transparent 50%);
  pointer-events: none;
}

.l-intro__credentials {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex: 1;
}

.l-intro__credentials > * {
  opacity: 0;
}

.l-intro__portrait {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid var(--color-secondary);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  background: var(--color-secondary-lighter);
}

.l-intro__fullname {
  margin-top: 1.2rem;
  font-size: 2.8rem;
  font-weight: bold;
  color: var(--color-text-light);
  text-align: center;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.4);
  letter-spacing: -0.02em;
}

.l-intro__statement {
  margin-top: 0.3rem;
  font-size: 1.15rem;
  color: var(--color-secondary-light);
  text-align: center;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.3);
  letter-spacing: 0.05em;
  font-weight: normal;
}

.l-intro__scroll-icon {
  position: relative;
  z-index: 1;
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  margin-bottom: 2rem;
  color: var(--color-secondary-light);
  font-size: 2rem;
  animation: bounce-scroll 2s ease-in-out infinite;
  filter: drop-shadow(0 0 2rem black) drop-shadow(0 0 2rem black) drop-shadow(0 0 0.5rem black);
  opacity: 0;
}

@keyframes bounce-scroll {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-12px);
  }
}

/* ===== CONTENT ===== */
.l-content {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  height: 100%;
  overflow-y: auto;
  background: radial-gradient(ellipse at 50% 0%, rgba(212, 165, 116, 0.08) 0%, transparent 60%);
}

.l-content__center-strip {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 1.5rem;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.5rem;
  flex: 1;
  min-height: 0;
}

.l-content__header {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  width: 100%;
  opacity: 0;
}

.l-content__main {
  flex: 1;
  width: 100%;
  min-height: 0;
}

.l-content__footer {
  width: 100%;
  text-align: center;
  padding: 2rem 0 1rem;
  color: var(--color-text-muted);
  font-size: 0.8rem;
  border-top: 1px solid var(--color-secondary);
}

/* ===== NAVIGATION ===== */
.l-nav-bar {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: stretch;
  gap: 8px;
  width: 100%;
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: var(--radius-lg);
  padding: 6px;
  box-shadow: 0 2px 12px var(--color-shadow);
}

.l-nav-bar__item {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 16px;
  font-size: 1rem;
  font-weight: 500;
  color: var(--color-text-muted);
  text-decoration: none;
  border-radius: var(--radius-md);
  transition: var(--transition);
  white-space: nowrap;
  position: relative;
  font-family: inherit;
  background: none;
  border: none;
  cursor: pointer;
}

.l-nav-bar__item i {
  font-size: 1.2rem;
}

.l-nav-bar__item:hover {
  color: var(--color-primary-dark);
  background: rgba(139, 94, 94, 0.08);
}

.l-nav-bar__item--is_current {
  color: var(--color-text-light);
  background: var(--color-primary);
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(139, 94, 94, 0.3);
  cursor: default;
}

.l-nav-bar__item--is_current:hover {
  background: var(--color-primary);
  color: var(--color-text-light);
}

/* ===== TOAST ===== */
.l-attention-banner.toast {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 12px 20px;
  background: var(--color-primary-dark);
  color: var(--color-text-light);
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  box-shadow: 0 4px 16px var(--color-shadow-strong);
  transition: var(--transition);
  width: 100%;
  max-width: 100%;
  border: none;
}

.l-attention-banner.toast:not(.show) {
  display: none;
}

.l-attention-banner.toast .toast-notification__text {
  display: flex;
  align-items: center;
  gap: 8px;
}

.l-attention-banner.toast .toast-notification__text i {
  font-size: 1.1rem;
}

.l-attention-banner__dismiss {
  background: none;
  border: none;
  color: var(--color-text-light);
  cursor: pointer;
  font-size: 1.2rem;
  opacity: 0.7;
  transition: var(--transition);
  padding: 4px;
  border-radius: 50%;
  line-height: 1;
  flex-shrink: 0;
}

.l-attention-banner__dismiss:hover {
  opacity: 1;
  background: rgba(255, 255, 255, 0.1);
}

/* ===== TAB PANES ===== */
.tab-pane {
  display: none;
  animation: tab-fade-in 0.5s ease;
}

.tab-pane--active {
  display: block;
}

@keyframes tab-fade-in {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .l-intro__fullname {
    font-size: 2.2rem;
  }
}

@media (max-width: 640px) {
  .l-intro__portrait {
    width: 140px;
    height: 140px;
  }
  .l-intro__fullname {
    font-size: 1.7rem;
  }
  .l-intro__statement {
    font-size: 0.95rem;
  }
  .l-nav-bar__item {
    font-size: 0.85rem;
    padding: 10px 10px;
  }
  .l-nav-bar__item span {
    display: none;
  }
  .l-content__center-strip {
    padding: 1rem;
    gap: 1rem;
  }
}

@media (max-width: 400px) {
  .l-nav-bar {
    flex-wrap: wrap;
    justify-content: center;
  }
  .l-nav-bar__item {
    flex: 0 1 auto;
    min-width: 0;
  }
}
