.card--hero {
  border-top: 4px solid #ff4081;
  background: linear-gradient(180deg, rgba(255, 64, 129, 0.08), rgba(255, 255, 255, 0) 48%), #fff;
}

.hero-row {
  display: flex;
  align-items: center;
  gap: 18px;
}

.site-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid rgba(255, 255, 255, 0.95);
  box-shadow: 0 6px 16px rgba(48, 63, 159, 0.28);
}

.hero-text h1:first-child {
  margin-bottom: 2px;
}

.hero-text h1:last-child {
  color: rgba(0, 0, 0, 0.56);
  letter-spacing: 0.01em;
}

.subtitle-quote {
  margin: 16px 0 0;
  padding: 10px 12px;
  font-family: "SimSun", "STSong", serif;
  font-weight: 400;
  font-size: 1.15rem;
  color: rgba(0, 0, 0, 0.76);
  border-left: 4px solid #3f51b5;
  border-radius: 4px;
  background: rgba(63, 81, 181, 0.07);
}

.motto-tags {
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  align-items: center;
}

.tag-title {
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(0, 0, 0, 0.56);
}

.tag-chip {
  display: inline-flex;
  align-items: center;
  height: 30px;
  padding: 0 12px;
  border-radius: 15px;
  background: #e8ebfb;
  color: #26378c;
  font-size: 0.84rem;
  font-weight: 500;
  border: 1px solid rgba(63, 81, 181, 0.2);
  transition: background 0.18s ease, transform 0.18s ease;
}

.tag-chip:hover {
  background: #dfe4fd;
  transform: translateY(-1px);
}

.name-origin {
  margin-top: 16px;
  padding: 0;
  border-radius: 8px;
  background: #f8f9ff;
  border: 1px solid rgba(63, 81, 181, 0.16);
  overflow: hidden;
}

.name-origin__summary {
  list-style: none;
  margin: 0;
  padding: 12px 14px;
  color: #2f3f99;
  font-size: 1rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  user-select: none;
}

.name-origin__summary::-webkit-details-marker {
  display: none;
}

.name-origin__summary::after {
  content: "▸";
  font-size: 0.9rem;
  color: rgba(47, 63, 153, 0.85);
  transition: transform 0.2s ease;
}

.name-origin[open] .name-origin__summary::after {
  transform: rotate(90deg);
}

.name-origin__content {
  padding: 0 14px 12px;
  animation: name-origin-fade 0.2s ease;
}

@keyframes name-origin-fade {
  from {
    opacity: 0;
    transform: translateY(-4px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.name-origin p {
  margin: 0 0 8px;
  color: rgba(0, 0, 0, 0.74);
  font-size: 0.94rem;
}

.name-breakdown {
  margin: 0;
  padding-left: 18px;
  color: rgba(0, 0, 0, 0.72);
}

.name-breakdown li + li {
  margin-top: 6px;
}

.name-breakdown strong {
  color: #283593;
  font-weight: 700;
}

.contact-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.contact-btn {
  --ripple-color: rgba(255, 255, 255, 0.45);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 16px;
  border-radius: 6px;
  background: linear-gradient(120deg, #3f51b5, #3247b0);
  color: #fff;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 4px 10px rgba(44, 62, 150, 0.3);
  transition: background 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.contact-btn:hover {
  background: linear-gradient(120deg, #3650c1, #2d3e9a);
  text-decoration: none;
  transform: translateY(-1px);
  box-shadow: 0 6px 14px rgba(44, 62, 150, 0.34);
}

.contact-btn:active {
  transform: translateY(1px);
  box-shadow: 0 2px 6px rgba(44, 62, 150, 0.28);
}

.own-url-div {
  border-left: 4px solid #3f51b5;
}

.link-block {
  padding: 10px 12px;
  border-radius: 8px;
  background: #f7f8fe;
  border: 1px solid rgba(63, 81, 181, 0.15);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.link-block:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 12px rgba(43, 60, 144, 0.12);
}

.link-block + .link-block {
  margin-top: 12px;
}

.own-link-card {
  display: block;
  color: inherit;
  text-decoration: none;
  --ripple-color: rgba(63, 81, 181, 0.2);
}

.own-link-card:focus-visible {
  outline: 2px solid rgba(63, 81, 181, 0.65);
  outline-offset: 2px;
}

.own-url {
  display: block;
  font-size: 1.05rem;
  font-weight: 500;
  color: #2f3f99;
}

.own-desc {
  display: block;
  margin-top: 4px;
  color: rgba(0, 0, 0, 0.66);
  max-height: 0;
  opacity: 0;
  transform: translateY(-4px);
  overflow: hidden;
  transition: max-height 0.25s ease, opacity 0.2s ease, transform 0.2s ease;
}

.own-link-card:hover .own-desc,
.own-link-card:focus-visible .own-desc {
  max-height: 40px;
  opacity: 1;
  transform: translateY(0);
}

@media (hover: none) {
  .own-desc {
    max-height: 40px;
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 600px) {
  .hero-row {
    align-items: flex-start;
  }

  .site-icon {
    width: 56px;
    height: 56px;
  }

  .subtitle-quote {
    font-size: 1rem;
    padding: 9px 10px;
  }

  .contact-btn {
    font-size: 0.84rem;
    padding: 0 12px;
    min-height: 36px;
  }

  .name-origin {
    border-radius: 7px;
  }

  .name-origin__summary {
    padding: 10px 12px;
  }

  .name-origin__content {
    padding: 0 12px 10px;
  }
}
