/* Ana sayfa — yatay menü şeridi (sosyal akış üstü) */
.home-menu-strip {
  width: 100%;
  min-width: 0;
  --home-menu-border: rgba(255, 255, 255, 0.1);
  --home-menu-divider: rgba(255, 255, 255, 0.08);
  --home-menu-bg: linear-gradient(180deg, #1a1f2a 0%, #141820 100%);
  --home-menu-fg: #e8eef7;
  --home-menu-muted: #a8b3c7;
  animation: homeMenuStripIn 0.42s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes homeMenuStripIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.home-menu-strip__rail {
  display: flex;
  align-items: stretch;
  width: 100%;
  min-width: 0;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: rgba(148, 163, 184, 0.35) transparent;
  border: 1px solid var(--home-menu-border);
  border-radius: 0.85rem;
  background: var(--home-menu-bg);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 12px 32px -22px rgba(0, 0, 0, 0.65);
}

.home-menu-strip__rail::-webkit-scrollbar {
  height: 4px;
}

.home-menu-strip__rail::-webkit-scrollbar-thumb {
  background: rgba(148, 163, 184, 0.35);
  border-radius: 999px;
}

.home-menu-strip__item {
  position: relative;
  display: flex;
  flex: 1 1 0;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-width: 5.35rem;
  padding: 0.85rem 0.55rem 0.8rem;
  color: var(--home-menu-fg);
  text-decoration: none;
  text-align: center;
  transition:
    background 0.18s ease,
    color 0.18s ease,
    box-shadow 0.18s ease;
}

.home-menu-strip__item:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 18%;
  right: 0;
  bottom: 18%;
  width: 1px;
  background: var(--home-menu-divider);
  pointer-events: none;
}

.home-menu-strip__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.55rem;
  height: 1.55rem;
  color: #f3f6fb;
  transition: transform 0.18s ease, color 0.18s ease;
}

.home-menu-strip__icon svg {
  width: 1.35rem;
  height: 1.35rem;
}

.home-menu-strip__label {
  display: block;
  max-width: 100%;
  font-family: "Plus Jakarta Sans", ui-sans-serif, system-ui, sans-serif;
  font-size: 0.68rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.01em;
  color: var(--home-menu-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: color 0.18s ease;
}

.home-menu-strip__item:hover,
.home-menu-strip__item:focus-visible {
  background: rgba(74, 127, 212, 0.1);
  outline: none;
  z-index: 1;
}

.home-menu-strip__item:hover .home-menu-strip__icon,
.home-menu-strip__item:focus-visible .home-menu-strip__icon {
  color: #fff;
  transform: translateY(-1px);
}

.home-menu-strip__item:hover .home-menu-strip__label,
.home-menu-strip__item:focus-visible .home-menu-strip__label {
  color: #fff;
}

.home-menu-strip__item:focus-visible {
  box-shadow: inset 0 0 0 1px rgba(74, 127, 212, 0.55);
}

@media (min-width: 1100px) {
  .home-menu-strip__item {
    min-width: 0;
    padding: 0.95rem 0.4rem 0.9rem;
  }

  .home-menu-strip__label {
    font-size: 0.72rem;
  }
}

@media (max-width: 699px) {
  .home-menu-strip__rail {
    border-radius: 0.75rem;
  }

  .home-menu-strip__item {
    flex: 0 0 auto;
    min-width: 4.85rem;
    padding: 0.75rem 0.45rem 0.7rem;
    gap: 0.3rem;
  }

  .home-menu-strip__label {
    font-size: 0.62rem;
  }
}

[data-theme="light"] .home-menu-strip {
  --home-menu-border: rgba(15, 23, 42, 0.1);
  --home-menu-divider: rgba(15, 23, 42, 0.08);
  --home-menu-bg: linear-gradient(180deg, #ffffff 0%, #f4f7fb 100%);
  --home-menu-fg: #0f172a;
  --home-menu-muted: #475569;
}

[data-theme="light"] .home-menu-strip__icon {
  color: #1e293b;
}

[data-theme="light"] .home-menu-strip__item:hover,
[data-theme="light"] .home-menu-strip__item:focus-visible {
  background: rgba(37, 99, 235, 0.08);
}
