/* Клубная афиша на главной: неоновый лайтбокс подпольного рейва.
   Тёмный акрил, металлический кронштейн и багровые трубки - в одном ключе с вывесками.
   Разметка - в index.html перед закрытием main, отдельный файл, потому что style.css в смешанной кодировке. */

.flyer-section {
  display: flex;
  justify-content: center;
}

.flyer-shell {
  position: relative;
  width: min(560px, 100%);
  transform: rotate(-.8deg);
}

.flyer {
  position: relative;
  padding: 46px 42px 38px;
  border: 1px solid rgba(255, 104, 82, .34);
  border-radius: 5px;
  color: #f0d9d4;
  background:
    linear-gradient(112deg, transparent 38%, rgba(255, 255, 255, .045) 47%, transparent 56%),
    radial-gradient(90% 70% at 78% 0%, rgba(255, 70, 50, .14), transparent 62%),
    radial-gradient(70% 60% at 18% 100%, rgba(150, 20, 12, .2), transparent 70%),
    linear-gradient(160deg, #1e1517, #0b0809 58%, #160f11);
  box-shadow:
    0 0 44px rgba(255, 60, 40, .18),
    0 0 110px rgba(255, 50, 30, .09),
    0 24px 54px rgba(0, 0, 0, .66),
    inset 0 0 70px rgba(90, 10, 8, .3);
}

/* тонкая трубка-рамка внутри панели */
.flyer::after {
  content: "";
  position: absolute;
  inset: 9px;
  border: 1px solid rgba(255, 92, 72, .26);
  border-radius: 3px;
  box-shadow: 0 0 12px rgba(255, 60, 40, .2), inset 0 0 12px rgba(255, 60, 40, .08);
  pointer-events: none;
}

/* клубный штамп-улыбка в углу афиши: лого, без лишнего света */
.flyer::before {
  content: "";
  position: absolute;
  z-index: 2;
  top: 26px;
  right: 30px;
  width: 56px;
  height: 28px;
  background: rgba(255, 126, 104, .24);
  -webkit-mask: var(--smile-mark) center / contain no-repeat;
  mask: var(--smile-mark) center / contain no-repeat;
  transform: rotate(-6deg);
  pointer-events: none;
}

/* металлический кронштейн вместо скотча */
.flyer-tape {
  position: absolute;
  z-index: 3;
  top: -14px;
  left: 50%;
  width: 190px;
  height: 14px;
  margin-left: -95px;
  transform: rotate(.4deg);
  border-radius: 2px;
  background: linear-gradient(#4b3c3f, #21191b 55%, #100c0d);
  box-shadow: 0 3px 6px rgba(0, 0, 0, .5), inset 0 1px 0 rgba(255, 255, 255, .12);
  opacity: 1;
  clip-path: none;
}

.flyer-tape::before,
.flyer-tape::after {
  content: "";
  position: absolute;
  top: 4px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #0a0808;
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, .15);
}

.flyer-tape::before { left: 14px; }
.flyer-tape::after { right: 14px; }

.flyer-kicker {
  display: inline-block;
  margin: 0 0 18px;
  padding: 7px 14px 6px;
  border: 1px solid rgba(255, 120, 96, .24);
  border-radius: 2px;
  background: linear-gradient(#2c2325, #151011);
  color: #c49a92;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: .6rem;
  font-weight: 600;
  letter-spacing: .28em;
  line-height: 1.1;
  text-transform: uppercase;
  text-shadow: 0 1px 0 rgba(0, 0, 0, .6);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06), 0 2px 7px rgba(0, 0, 0, .4);
}

.flyer-title {
  display: block;
  margin: 0 0 20px;
  color: #ff6a50;
  font-family: 'Ruslan Display', 'Pirata One', 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(2.4rem, 7vw, 3.6rem);
  line-height: .96;
  letter-spacing: .02em;
  text-shadow:
    0 0 2px #fff,
    0 0 10px rgba(255, 150, 125, .85),
    0 0 26px rgba(255, 74, 52, .62),
    0 0 60px rgba(255, 40, 20, .32);
}

.flyer-line {
  margin: 0 0 10px;
  color: #f1ded9;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(1rem, 2vw, 1.16rem);
  line-height: 1.45;
  text-shadow: 0 0 1px rgba(255, 255, 255, .6), 0 0 8px rgba(255, 100, 80, .2);
}

.flyer-line--dim { opacity: .62; }

/* припев: повторяющиеся строки, будто принт заело */
.flyer-chant {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3px 18px;
  margin-top: 22px;
  padding-top: 17px;
  border-top: 1px solid rgba(255, 92, 72, .28);
  box-shadow: 0 -1px 10px rgba(255, 60, 40, .12);
  color: rgba(236, 190, 180, .54);
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: .7rem;
  letter-spacing: .03em;
  line-height: 1.35;
  text-transform: uppercase;
  animation: flyer-flicker 5.2s infinite;
}

.flyer-chant span:nth-child(4n + 1) { color: rgba(255, 120, 96, .85); }
.flyer-chant span:nth-child(4n + 3) { opacity: .62; }

@keyframes flyer-flicker {
  0%, 100% { opacity: 1; }
  46% { opacity: 1; }
  47% { opacity: .82; }
  48% { opacity: 1; }
  85% { opacity: .93; }
  86% { opacity: 1; }
}

.flyer-encore {
  margin: 20px 0 0;
  color: #ff7a62;
  font-family: 'Pirata One', 'Cormorant Garamond', Georgia, serif;
  font-size: 1.3rem;
  letter-spacing: .06em;
  text-align: right;
  transform: rotate(-1.5deg);
  text-shadow:
    0 0 3px #fff,
    0 0 12px rgba(255, 120, 95, .8),
    0 0 30px rgba(255, 60, 40, .45);
}

.night .flyer {
  border-color: rgba(255, 120, 96, .42);
  box-shadow:
    0 0 52px rgba(255, 60, 40, .22),
    0 0 130px rgba(255, 50, 30, .11),
    0 24px 54px rgba(0, 0, 0, .7),
    inset 0 0 80px rgba(90, 10, 8, .36);
}

.night .flyer-title,
.night .flyer-encore {
  text-shadow:
    0 0 3px #fff,
    0 0 14px rgba(255, 150, 125, .9),
    0 0 34px rgba(255, 74, 52, .7),
    0 0 74px rgba(255, 40, 20, .38);
}

@media (max-width: 720px) {
  .flyer { padding: 38px 24px 30px; }
  .flyer-kicker { font-size: .56rem; letter-spacing: .2em; }
  .flyer-chant { grid-template-columns: 1fr; gap: 2px; font-size: .7rem; }
  .flyer-tape { width: 140px; margin-left: -70px; height: 12px; top: -12px; }
}

@media (prefers-reduced-motion: reduce) {
  .flyer-chant { animation: none; }
  .flyer-shell { transform: none; }
}
