/* =============================================================================
   Hoard – Surface- und Inhaltspattern
   ============================================================================= */

.hoard-kicker {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  margin: 0 0 var(--space-3);
  color: var(--color-primary-700);
  font-size: var(--font-size-xs);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hoard-kicker::before {
  content: '';
  width: 18px;
  height: 1px;
  background-color: currentcolor;
  opacity: 0.6;
}

.hoard-kicker--wide {
  letter-spacing: 0.12em;
}

.hoard-kicker--xs {
  margin-bottom: var(--space-2);
  font-size: var(--font-size-2xs);
  letter-spacing: 0.1em;
}

.hoard-kicker--plain::before {
  display: none;
}

.hoard-action-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-3);
}

.hoard-action-row--end {
  justify-content: flex-end;
}

.hoard-panel-gradient {
  background:
    radial-gradient(
      120% 80% at 100% 0%,
      color-mix(in srgb, var(--color-accent-lime) 14%, transparent) 0%,
      transparent 60%
    ),
    linear-gradient(
      var(--hoard-gradient-angle, 130deg),
      var(--hoard-gradient-start, color-mix(in srgb, var(--color-primary-100) 65%, var(--color-surface) 35%))
        0%,
      var(--hoard-gradient-end, var(--color-surface)) var(--hoard-gradient-end-stop, 60%)
    );
}

.hoard-spotlight {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.hoard-spotlight::before,
.hoard-spotlight::after {
  content: '';
  position: absolute;
  z-index: -1;
  pointer-events: none;
  border-radius: var(--radius-full);
  filter: blur(60px);
}

.hoard-spotlight::before {
  inset: -10% auto auto -10%;
  width: 360px;
  height: 360px;
  background: color-mix(in srgb, var(--color-primary-300) 40%, transparent);
  opacity: 0.55;
}

.hoard-spotlight::after {
  inset: auto -10% -10% auto;
  width: 320px;
  height: 320px;
  background: color-mix(in srgb, var(--color-accent-lime) 35%, transparent);
  opacity: 0.35;
}

[data-theme='dark'] .hoard-spotlight::before {
  background: color-mix(in srgb, var(--color-primary-700) 50%, transparent);
  opacity: 0.45;
}

[data-theme='dark'] .hoard-spotlight::after {
  background: color-mix(in srgb, var(--color-primary-600) 30%, transparent);
  opacity: 0.4;
}

.hoard-chip {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: 5px var(--space-3);
  border: 1px solid var(--color-border-strong);
  border-radius: var(--radius-full);
  background-color: color-mix(in srgb, var(--color-surface) 88%, var(--color-surface-alt) 12%);
  color: var(--color-text-secondary);
  font-size: var(--font-size-xs);
  font-weight: 500;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.hoard-chip--brand {
  border-color: color-mix(in srgb, var(--color-primary-300) 60%, var(--color-border) 40%);
  background-color: color-mix(in srgb, var(--color-primary-100) 70%, var(--color-surface) 30%);
  color: var(--color-primary-700);
}

.hoard-chip--ghost {
  border-color: var(--color-border-subtle);
  background-color: transparent;
}

.hoard-chip > .v-icon {
  width: 14px;
  height: 14px;
}

.hoard-icon-tile {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: var(--radius-md);
  color: var(--color-primary-700);
  background:
    linear-gradient(
      180deg,
      color-mix(in srgb, var(--color-primary-100) 90%, var(--color-surface) 10%),
      color-mix(in srgb, var(--color-primary-100) 60%, var(--color-surface) 40%)
    );
  border: 1px solid color-mix(in srgb, var(--color-primary-300) 35%, var(--color-border) 65%);
  flex: 0 0 auto;
}

.hoard-icon-tile--lg {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-lg);
}

.hoard-icon-tile--ghost {
  color: var(--color-text-secondary);
  background: var(--color-surface);
  border-color: var(--color-border);
}

.hoard-divider-soft {
  border: 0;
  height: 1px;
  background:
    linear-gradient(
      90deg,
      transparent,
      var(--color-border-subtle) 12%,
      var(--color-border) 50%,
      var(--color-border-subtle) 88%,
      transparent
    );
}

.hoard-section-head {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  margin-bottom: var(--space-5);
  max-width: 70ch;
}

.hoard-section-head > h2 {
  margin: 0;
  font-size: var(--font-size-2xl);
  letter-spacing: -0.015em;
}

.hoard-section-head > p {
  margin: 0;
  color: var(--color-text-secondary);
}

@media (width <= 960px) {
  .hoard-action-row {
    gap: var(--space-2);
  }

  .hoard-spotlight::before,
  .hoard-spotlight::after {
    width: 240px;
    height: 240px;
    filter: blur(48px);
  }
}

@media (width <= 600px) {
  .hoard-kicker {
    margin-bottom: var(--space-2);
  }

  .hoard-action-row {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
  }

  .hoard-action-row > * {
    width: 100%;
  }

  .hoard-section-head > h2 {
    font-size: var(--font-size-xl);
  }
}
