  /* === HERO: Обложка-сказка === */

  :root {
    /* если у тебя уже есть эти переменные – можно удалить этот блок */
    --bg-main: #050a08;
    --accent: #c4f0c2;
    --accent-strong: #9ddf8d;
    --accent-gold: #e4d6a7;
    --text-main: #f4f8f3;
    --text-muted: #b7c4b3;
  }

  .hero-cover {
    position: relative;
    min-height: calc(100vh - 80px);
    border-radius: 24px;
    overflow: hidden;
    margin-bottom: 28px;
    border: 1px solid rgba(196, 240, 194, 0.25);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.7);
    background-image:
      linear-gradient(to bottom, rgba(3, 7, 5, 0.15), rgba(5, 10, 8, 0.95)),
      url("https://images.pexels.com/photos/5732990/pexels-photo-5732990.jpeg?auto=compress&cs=tinysrgb&w=1600");
      /* ↑ сюда можно подставить своё фото лесной арки с огоньками */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
  }

  .hero-cover__overlay {
    position: relative;
    inset: 0;
    background: radial-gradient(circle at top, rgba(6, 18, 12, 0.85), rgba(5, 10, 8, 0.96));
    backdrop-filter: blur(6px);
    display: flex;
    align-items: stretch;
  }

  .hero-cover__inner {
    width: 100%;
    padding: 28px 26px 26px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 24px;
  }

  @media (min-width: 860px) {
    .hero-cover__inner {
      padding: 36px 38px 30px;
    }
  }

  .hero-cover__intro {
    max-width: 560px;
  }

  .hero-cover__eyebrow {
    font-family: "Marcellus", serif;
    font-size: 0.85rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--accent-gold);
    margin-bottom: 10px;
  }

  .hero-cover__title {
    font-family: "Marcellus", serif;
    font-size: clamp(2.2rem, 3vw, 2.8rem);
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 8px;
  }

  .hero-cover__subtitle {
    font-size: 0.95rem;
    color: var(--text-main);
    margin-bottom: 14px;
  }

  .hero-cover__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 12px;
  }

  .hero-cover__pill {
    padding: 6px 12px;
    border-radius: 999px;
    border: 1px solid rgba(196, 240, 194, 0.55);
    background: rgba(5, 10, 8, 0.85);
    font-size: 0.86rem;
    display: inline-flex;
    gap: 6px;
    align-items: baseline;
    color: var(--text-main);
  }

  .hero-cover__pill span {
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--accent-strong);
  }

  .hero-cover__text {
    font-size: 0.98rem;
    color: var(--text-main);
    max-width: 32rem;
  }

  /* === Свиток приглашения === */

  .invite-scroll {
    display: flex;
    justify-content: flex-start;
    margin-top: 24px;
  }

  @media (min-width: 860px) {
    .invite-scroll {
      justify-content: space-between;
      align-items: flex-end;
    }
  }

  .invite-scroll__paper {
    position: relative;
    max-width: 640px;
    width: 100%;
    border-radius: 22px;
    padding: 14px 14px 12px;
    background:
      radial-gradient(circle at 0 0, rgba(228, 214, 167, 0.28) 0, transparent 55%),
      radial-gradient(circle at 100% 0, rgba(196, 240, 194, 0.18) 0, transparent 55%),
      linear-gradient(135deg, rgba(32, 32, 20, 0.98), rgba(18, 20, 13, 0.96));
    border: 1px solid rgba(228, 214, 167, 0.7);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.8);
    overflow: hidden;
  }

  .invite-scroll__paper::before,
  .invite-scroll__paper::after {
    content: "";
    position: absolute;
    width: 14px;
    height: 64%;
    top: 18%;
    border-radius: 999px;
    border: 1px solid rgba(228, 214, 167, 0.7);
    background: radial-gradient(circle at 30% 20%, rgba(228, 214, 167, 0.85), rgba(85, 69, 40, 0.95));
    opacity: 0.7;
  }

  .invite-scroll__paper::before {
    left: -9px;
  }

  .invite-scroll__paper::after {
    right: -9px;
  }

  .invite-scroll__title {
    font-family: "Marcellus", serif;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--accent-gold);
    margin-bottom: 8px;
  }

  .invite-scroll__row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    justify-content: space-between;
  }

  .invite-scroll__info {
    font-size: 0.86rem;
    color: var(--text-main);
    display: grid;
    gap: 2px;
  }

  .invite-scroll__line {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
  }

  .invite-scroll__label {
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--text-muted);
  }

  .invite-scroll__note {
    margin-top: 8px;
    font-size: 0.8rem;
    color: var(--text-muted);
  }

  /* === Кнопка-фея === */

  .invite-scroll__button {
    border: none;
    cursor: pointer;
    border-radius: 999px;
    padding: 6px 14px 6px 7px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: radial-gradient(circle at 30% 0, #c4f0c2 0, #73b383 40%, #25432f 100%);
    color: #041106;
    font-size: 0.86rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-weight: 600;
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.8);
    transition: transform 0.18s ease-out, box-shadow 0.18s ease-out, filter 0.18s ease-out;
  }

  .invite-scroll__button:hover {
    transform: translateY(-1px);
    filter: brightness(1.05);
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.9);
  }

  .invite-scroll__button:active {
    transform: translateY(0);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.8);
  }

  .invite-scroll__button-text {
    white-space: nowrap;
  }

  /* фея-шарик: огонёк с крылышками */
  .fairy-icon {
    position: relative;
    width: 28px;
    height: 28px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .fairy-icon__orb {
    position: absolute;
    width: 18px;
    height: 18px;
    border-radius: 999px;
    background: radial-gradient(circle, #f9ffe6 0, #c4f0c2 40%, rgba(196, 240, 194, 0.1) 70%);
    box-shadow: 0 0 14px rgba(244, 255, 222, 0.95);
    animation: fairy-pulse 2.5s ease-in-out infinite;
  }

  .fairy-icon__wing {
    position: absolute;
    width: 13px;
    height: 9px;
    border-radius: 999px;
    background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.9), rgba(196, 240, 194, 0.1));
    opacity: 0.9;
    transform-origin: center;
    animation: fairy-flap 1.7s ease-in-out infinite;
  }

  .fairy-icon__wing--left {
    transform: translateX(-7px) rotate(-25deg);
  }

  .fairy-icon__wing--right {
    transform: translateX(7px) rotate(25deg);
    animation-delay: 0.2s;
  }

  @keyframes fairy-pulse {
    0%, 100% {
      transform: scale(1);
      opacity: 1;
    }
    50% {
      transform: scale(1.1);
      opacity: 0.9;
    }
  }

  @keyframes fairy-flap {
    0%, 100% {
      transform: translateX(-7px) rotate(-25deg);
    }
    50% {
      transform: translateX(-9px) rotate(-35deg);
    }
  }

  /* @keyframes fairy-flap {
    0%, 100% {
      transform: translateX(7px) rotate(25deg);
    }
    50% {
      transform: translateX(9px) rotate(35deg);
    }
  } */

  @media (max-width: 640px) {
    .hero-cover__inner {
      padding: 22px 18px 18px;
    }
    .invite-scroll__paper {
      padding: 12px 12px 10px;
    }
    .invite-scroll__button-text {
      font-size: 0.8rem;
      letter-spacing: 0.1em;
    }
  }
