.sv-shell-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  display: block !important;
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  text-align: left !important;
  background: rgba(20, 17, 33, 0.96);
  border-bottom: 1px solid rgba(210, 184, 255, 0.14);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.sv-shell-wrap {
  width: min(calc(100% - 48px), 1280px);
  margin: 0 auto;
}

.sv-shell-nav {
  min-height: 96px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.sv-shell-logo {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}

.sv-shell-logo img {
  width: 121px;
  height: auto;
  display: block;
}

.sv-shell-toggle {
  display: none;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid rgba(210, 184, 255, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  color: #f7f4ff;
  align-items: center;
  justify-content: center;
  gap: 5px;
  flex-direction: column;
  cursor: pointer;
}

.sv-shell-toggle span {
  width: 20px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.sv-shell-header.is-open .sv-shell-toggle span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.sv-shell-header.is-open .sv-shell-toggle span:nth-child(2) {
  opacity: 0;
}

.sv-shell-header.is-open .sv-shell-toggle span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.sv-shell-panel {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.sv-shell-links {
  display: flex;
  align-items: center;
  gap: 24px;
  min-width: 0;
  flex-wrap: wrap;
}

.sv-shell-link,
.sv-shell-dropdown summary {
  list-style: none;
  color: #c3c6d7;
  font-family: "Plus Jakarta Sans", Arial, sans-serif;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.2;
  text-decoration: none;
  transition: color 0.2s ease, opacity 0.2s ease;
  cursor: pointer;
}

.sv-shell-link:hover,
.sv-shell-link.is-active,
.sv-shell-dropdown summary:hover,
.sv-shell-dropdown.is-active summary {
  color: #ffffff;
}

.sv-shell-dropdown {
  position: relative;
}

.sv-shell-dropdown summary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.sv-shell-dropdown summary::-webkit-details-marker {
  display: none;
}

.sv-shell-dropdown summary::after {
  content: "";
  width: 8px;
  height: 8px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  transition: transform 0.2s ease;
}

.sv-shell-dropdown[open] summary::after {
  transform: rotate(225deg) translateY(-1px);
}

.sv-shell-mega {
  position: absolute;
  top: calc(100% + 18px);
  left: 0;
  min-width: 560px;
  padding: 18px;
  border: 1px solid rgba(210, 184, 255, 0.12);
  border-radius: 8px;
  background: rgba(27, 21, 43, 0.98);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.24);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.sv-shell-mega-group {
  display: grid;
  gap: 6px;
}

.sv-shell-mega-title {
  display: block;
  margin-bottom: 4px;
  color: #d2b8ff;
  font-family: "Plus Jakarta Sans", Arial, sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.sv-shell-mega-link {
  display: block;
  padding: 10px 12px;
  border-radius: 8px;
  text-decoration: none;
  transition: background 0.2s ease, transform 0.2s ease;
}

.sv-shell-mega-link:hover {
  background: rgba(112, 70, 148, 0.18);
  transform: translateY(-1px);
}

.sv-shell-mega-link strong {
  display: block;
  color: #f7f4ff;
  font-family: "Plus Jakarta Sans", Arial, sans-serif;
  font-size: 14px;
  font-weight: 700;
}

.sv-shell-mega-link span {
  display: block;
  margin-top: 4px;
  color: #c3c6d7;
  font-family: "Plus Jakarta Sans", Arial, sans-serif;
  font-size: 12px;
  line-height: 1.45;
}

.sv-shell-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
}

.sv-shell-button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  border-radius: 8px;
  border: 1px solid transparent;
  background: #704694;
  box-shadow: 0 10px 15px -3px rgba(133, 90, 170, 0.2), 0 4px 6px -4px rgba(133, 90, 170, 0.2);
  color: #ffffff;
  font-family: "Plus Jakarta Sans", Arial, sans-serif;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.2s ease, filter 0.2s ease, border-color 0.2s ease;
  white-space: nowrap;
}

.sv-shell-button:hover {
  transform: translateY(-1px);
  filter: brightness(1.05);
}

.sv-shell-button--ghost {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(210, 184, 255, 0.18);
}

.sv-shell-footer {
  margin-top: 0;
  background: #141121;
  border-top: 1px solid rgba(210, 184, 255, 0.14);
}

.sv-shell-footer-main {
  padding: 56px 0 28px;
}

.sv-shell-footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(4, minmax(0, 1fr));
  gap: 32px;
}

.sv-shell-footer-brand img {
  width: 121px;
  height: auto;
  display: block;
}

.sv-shell-footer-brand p {
  margin: 20px 0 24px;
  max-width: 320px;
  color: #c3c6d7;
  font-family: "Plus Jakarta Sans", Arial, sans-serif;
  font-size: 14px;
  line-height: 1.65;
}

.sv-shell-socials {
  display: flex;
  align-items: center;
  gap: 12px;
}

.sv-shell-socials a {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  transition: transform 0.2s ease, filter 0.2s ease;
}

.sv-shell-socials a:hover {
  transform: translateY(-1px);
  filter: brightness(1.08);
}

.sv-shell-socials img {
  width: 44px;
  height: 44px;
  display: block;
  object-fit: contain;
  border-radius: 999px;
}

.sv-shell-footer-col h3 {
  margin: 0 0 16px;
  color: #f7f4ff;
  font-family: "Plus Jakarta Sans", Arial, sans-serif;
  font-size: 15px;
  font-weight: 700;
}

.sv-shell-footer-col ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.sv-shell-footer-col a {
  color: #c3c6d7;
  font-family: "Plus Jakarta Sans", Arial, sans-serif;
  font-size: 14px;
  line-height: 1.5;
  text-decoration: none;
  transition: color 0.2s ease;
}

.sv-shell-footer-col a:hover {
  color: #ffffff;
}

.sv-shell-footer-bottom {
  margin-top: 28px;
  padding-top: 18px;
  border-top: 1px solid rgba(210, 184, 255, 0.12);
  color: #c3c6d7;
  font-family: "Plus Jakarta Sans", Arial, sans-serif;
  font-size: 13px;
  line-height: 1.65;
}

.sv-shell-footer-bottom a {
  color: #d2b8ff;
}

@media (max-width: 1080px) {
  .sv-shell-toggle {
    display: inline-flex;
  }

  .sv-shell-panel {
    position: absolute;
    top: 100%;
    left: 24px;
    right: 24px;
    padding: 18px;
    border: 1px solid rgba(210, 184, 255, 0.14);
    border-top: 0;
    border-radius: 0 0 8px 8px;
    background: rgba(20, 17, 33, 0.98);
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.22);
    display: none;
    flex-direction: column;
    align-items: stretch;
  }

  .sv-shell-header.is-open .sv-shell-panel {
    display: flex;
  }

  .sv-shell-links,
  .sv-shell-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .sv-shell-links {
    gap: 0;
  }

  .sv-shell-link,
  .sv-shell-dropdown summary,
  .sv-shell-button {
    width: 100%;
  }

  .sv-shell-link,
  .sv-shell-dropdown summary {
    padding: 14px 0;
  }

  .sv-shell-dropdown {
    border-top: 1px solid rgba(210, 184, 255, 0.12);
  }

  .sv-shell-dropdown:first-child {
    border-top: 0;
  }

  .sv-shell-mega {
    position: static;
    min-width: 0;
    margin: 0 0 10px;
    padding: 14px;
    grid-template-columns: 1fr;
    background: rgba(255, 255, 255, 0.03);
    box-shadow: none;
  }

  .sv-shell-actions {
    margin-top: 12px;
  }

  .sv-shell-footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .sv-shell-footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 720px) {
  .sv-shell-wrap {
    width: min(calc(100% - 32px), 1152px);
  }

  .sv-shell-nav {
    min-height: 84px;
  }

  .sv-shell-panel {
    left: 16px;
    right: 16px;
  }

  .sv-shell-footer-main {
    padding: 44px 0 24px;
  }

  .sv-shell-footer-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .sv-shell-footer-bottom {
    display: grid;
    gap: 4px;
  }
}
