/* Valentine's accents — applied only when html[data-theme="valentines"] */

[data-theme="valentines"] {
  --rose: #c43b5a;
  --blush: #f4a7b9;
}

[data-theme="valentines"] .site-header {
  border-bottom-color: rgba(196, 59, 90, 0.38);
}

[data-theme="valentines"] .site-nav a:hover,
[data-theme="valentines"] .site-nav a:focus-visible,
[data-theme="valentines"] .site-nav a[aria-current="page"] {
  border-bottom-color: var(--blush);
}

[data-theme="valentines"] .hero {
  position: relative;
  overflow: visible;
  --hero-glow: rgba(26, 140, 255, 0.28);
  background:
    radial-gradient(ellipse 38% 48% at 10% 18%, rgba(196, 59, 90, 0.16), transparent 58%),
    radial-gradient(ellipse 26% 32% at 8% 78%, rgba(244, 167, 185, 0.1), transparent 62%),
    radial-gradient(ellipse 52% 68% at 82% 46%, var(--hero-glow), transparent 64%),
    radial-gradient(ellipse 34% 40% at 74% 82%, rgba(0, 196, 245, 0.14), transparent 58%),
    var(--navy);
}

[data-theme="valentines"] .hero > .wrap {
  position: relative;
  z-index: 1;
}

[data-theme="valentines"] .hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='13' viewBox='0 0 14 13'%3E%3Cpath fill='%23c43b5a' fill-opacity='0.55' d='M7 12.2C3.2 9.3 1 7.2 1 4.7 1 2.8 2.4 1.4 4.2 1.4c1.1 0 2.1.6 2.8 1.5.7-.9 1.7-1.5 2.8-1.5C11.6 1.4 13 2.8 13 4.7c0 2.5-2.2 4.6-6 7.5z'/%3E%3C/svg%3E"),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='11' height='10' viewBox='0 0 14 13'%3E%3Cpath fill='%23f4a7b9' fill-opacity='0.5' d='M7 12.2C3.2 9.3 1 7.2 1 4.7 1 2.8 2.4 1.4 4.2 1.4c1.1 0 2.1.6 2.8 1.5.7-.9 1.7-1.5 2.8-1.5C11.6 1.4 13 2.8 13 4.7c0 2.5-2.2 4.6-6 7.5z'/%3E%3C/svg%3E"),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='11' viewBox='0 0 14 13'%3E%3Cpath fill='%23c43b5a' fill-opacity='0.38' d='M7 12.2C3.2 9.3 1 7.2 1 4.7 1 2.8 2.4 1.4 4.2 1.4c1.1 0 2.1.6 2.8 1.5.7-.9 1.7-1.5 2.8-1.5C11.6 1.4 13 2.8 13 4.7c0 2.5-2.2 4.6-6 7.5z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: 10% 16%, 7% 68%, 20% 86%;
  background-size: 14px 13px, 11px 10px, 12px 11px;
  opacity: 0.85;
}

[data-theme="valentines"] .hero-visual,
[data-theme="valentines"] .hero-daisy {
  overflow: visible;
}

[data-theme="valentines"] .hero-daisy-photo {
  object-fit: contain;
  object-position: center top;
}

[data-theme="valentines"] .hero-visual::before {
  background: radial-gradient(
    ellipse at 58% 52%,
    rgba(26, 140, 255, 0.4),
    rgba(196, 59, 90, 0.14) 48%,
    rgba(244, 167, 185, 0.1) 62%,
    transparent 74%
  );
}

[data-theme="valentines"] .button-primary {
  box-shadow: 0 0 1.3rem rgba(196, 59, 90, 0.45);
}

[data-theme="valentines"] .button-primary:hover,
[data-theme="valentines"] .button-primary:focus-visible {
  box-shadow: 0 0 1.6rem rgba(244, 167, 185, 0.42);
}

[data-theme="valentines"] .button-secondary {
  box-shadow: inset 0 0 0 2px var(--cyan), 0 0 0.8rem rgba(196, 59, 90, 0.22);
}

[data-theme="valentines"] .section-header h1,
[data-theme="valentines"] .section-header h2 {
  background-image: linear-gradient(90deg, var(--cyan), var(--rose));
}

[data-theme="valentines"] .site-footer {
  border-top-color: rgba(196, 59, 90, 0.26);
}

[data-theme="valentines"] .gp-hero {
  background:
    radial-gradient(ellipse 36% 48% at 10% 16%, rgba(196, 59, 90, 0.14), transparent 58%),
    radial-gradient(ellipse 48% 70% at 88% 18%, rgba(244, 167, 185, 0.1), transparent 58%),
    radial-gradient(ellipse 62% 80% at 78% 58%, var(--gp-glow), transparent 64%),
    radial-gradient(ellipse 40% 42% at 18% 88%, rgba(0, 196, 245, 0.1), transparent 56%),
    var(--navy);
}

[data-theme="valentines"] .gp-hero-visual img {
  box-shadow:
    0 1.5rem 3rem rgba(0, 0, 0, 0.45),
    0 0 2.4rem rgba(26, 140, 255, 0.16),
    0 0 1.4rem rgba(196, 59, 90, 0.16);
}

@media (max-width: 900px) {
  [data-theme="valentines"] .hero::after {
    background-position: 12% 10%, 86% 12%, 18% 92%;
    opacity: 0.7;
  }
}

@media (prefers-reduced-motion: no-preference) {
  [data-theme="valentines"] .hero::after {
    animation: nac-heart-shimmer 3.4s ease-in-out infinite alternate;
  }
}

@media (prefers-reduced-motion: reduce) {
  [data-theme="valentines"] .hero::after {
    animation: none;
    opacity: 0.7;
  }

  [data-theme="valentines"] .button-primary,
  [data-theme="valentines"] .button-primary:hover,
  [data-theme="valentines"] .button-primary:focus-visible {
    box-shadow: 0 0 0.65rem rgba(196, 59, 90, 0.3);
  }
}

@keyframes nac-heart-shimmer {
  from {
    opacity: 0.55;
  }
  to {
    opacity: 0.95;
  }
}
