.epfh-wrap {
  --epfh-blue: #12214a;
  --epfh-blue-soft: #21356f;
  --epfh-yellow: #ffd95a;
  --epfh-yellow-soft: #fff2bd;
  --epfh-white: #ffffff;
  --epfh-text: #18213a;
  --epfh-muted: #667085;
  --epfh-border: rgba(18, 33, 74, 0.12);
  --epfh-shadow: 0 18px 42px rgba(18, 33, 74, 0.14);
  margin: 2.5rem auto;
  padding: clamp(1.25rem, 3vw, 2rem);
  border-radius: 28px;
  background:
    radial-gradient(circle at 15% 0%, rgba(255, 217, 90, 0.34), transparent 34%),
    linear-gradient(135deg, rgba(18, 33, 74, 0.98), rgba(33, 53, 111, 0.96));
  color: var(--epfh-white);
  box-shadow: var(--epfh-shadow);
  overflow: hidden;
  position: relative;
}

.epfh-wrap::after {
  content: "";
  position: absolute;
  inset: auto -6rem -8rem auto;
  width: 18rem;
  height: 18rem;
  border-radius: 999px;
  background: rgba(255, 217, 90, 0.14);
  pointer-events: none;
}

.epfh-header,
.epfh-section {
  position: relative;
  z-index: 1;
}

.epfh-header {
  max-width: 780px;
  margin-bottom: 1.4rem;
}

.epfh-title {
  margin: 0;
  color: var(--epfh-white);
  font-size: clamp(1.7rem, 3.8vw, 2.6rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.epfh-subtitle {
  margin: .75rem 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(1rem, 1.7vw, 1.15rem);
  line-height: 1.55;
}

.epfh-section + .epfh-section {
  margin-top: 1.6rem;
}

.epfh-section-title {
  margin: 0 0 .75rem;
  color: var(--epfh-yellow-soft);
  font-size: .9rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-weight: 800;
}

.epfh-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: .85rem;
}

.epfh-grid-flat {
  margin-top: 1rem;
}

.epfh-card {
  display: flex;
  align-items: center;
  gap: .85rem;
  min-height: 78px;
  padding: .9rem 1rem;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.10);
  color: var(--epfh-white);
  text-decoration: none !important;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: transform .18s ease, background .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.epfh-card:hover,
.epfh-card:focus-visible {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 217, 90, 0.56);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.18);
  color: var(--epfh-white);
}

.epfh-card:focus-visible {
  outline: 3px solid var(--epfh-yellow);
  outline-offset: 3px;
}

.epfh-icon {
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  background: var(--epfh-yellow);
  color: var(--epfh-blue);
  font-weight: 900;
  box-shadow: inset 0 -2px 0 rgba(18, 33, 74, 0.14);
}

.epfh-icon svg {
  width: 26px;
  height: 26px;
  display: block;
  fill: currentColor;
}

.epfh-icon svg path,
.epfh-icon svg rect,
.epfh-icon svg circle {
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.epfh-icon-spotify svg circle,
.epfh-icon-patreon svg circle,
.epfh-icon-patreon svg rect,
.epfh-icon-youtube svg rect,
.epfh-icon-apple svg path,
.epfh-icon-amazon svg path:first-child {
  fill: currentColor;
  stroke: none;
}

.epfh-icon-spotify svg path,
.epfh-icon-rss svg path,
.epfh-icon-linktree svg path,
.epfh-icon-email svg path,
.epfh-icon-pocketcasts svg path,
.epfh-icon-amazon svg path:last-child {
  fill: none;
  stroke: var(--epfh-yellow);
}

.epfh-icon-youtube svg path {
  fill: var(--epfh-yellow);
  stroke: none;
}

.epfh-card-text {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: .18rem;
}

.epfh-card-label {
  color: var(--epfh-white);
  font-size: 1.02rem;
  line-height: 1.2;
  font-weight: 800;
}

.epfh-card-desc {
  color: rgba(255, 255, 255, 0.72);
  font-size: .88rem;
  line-height: 1.35;
}

.epfh-letter {
  font-size: .95rem;
  line-height: 1;
  letter-spacing: -0.02em;
}

@media (max-width: 700px) {
  .epfh-wrap {
    border-radius: 22px;
    margin: 1.75rem auto;
  }

  .epfh-grid {
    grid-template-columns: 1fr;
  }

  .epfh-card {
    min-height: 68px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .epfh-card {
    transition: none;
  }

  .epfh-card:hover,
  .epfh-card:focus-visible {
    transform: none;
  }
}
