/* =========================
   RAZOR PUNCH – ALBUM "TELL ME YOUR SECRET"
   Szene wie auf dem Cover: Betonwände (Industrial), in der Mitte eine schmale
   Backsteinnische mit Neon-Schrift und einem Regal mit 4 Ebenen. Die Neon-Icons
   der Anbieter färben die dunklen Flaschen ein. Rezensionen = Bierdeckel an der Wand.
   ========================= */

/* Hintergrund: Cover-Rückseite (Band an der Theke), abgedunkelt für die Lesbarkeit */
.rp-section--tell-me-your-secret {
  --rp-bg:
    radial-gradient(ellipse 40% 55% at 50% 35%, rgba(255, 31, 75, .18), transparent 70%),
    linear-gradient(180deg, rgba(0, 0, 0, .55), rgba(0, 0, 0, .7)),
    url("../img/tell-me-your-secret-back.jpg") center / cover no-repeat;
}

.rp-album {
  position: relative;
  padding: 4.5rem 20px;
  background: var(--rp-bg);
}

/* Drei Spalten: Poster | Nische | Bierdeckel */
.rp-album-stage {
  max-width: 1240px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.55fr) minmax(0, 1fr);
  gap: 2.5rem;
  align-items: center;
}

/* ---------- Links: Cover-Poster ---------- */
.rp-album-poster img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 2px;
  box-shadow:
    0 0 40px rgba(255, 31, 75, .2),
    0 24px 50px rgba(0, 0, 0, .7);
}

.rp-album-claim {
  margin: 1.5rem 0 0;
  font-family: var(--rp-font-hand);
  font-size: clamp(1.3rem, 2vw, 1.65rem);
  line-height: 1.3;
  color: #fff4e0;
  transform: rotate(-2deg);
  text-shadow:
    0 2px 0 rgba(0, 0, 0, .6),
    0 0 18px rgba(255, 31, 75, .45);
}

/* ---------- Mitte: Backsteinnische ---------- */
.rp-album-niche {
  --sign: 1;
  position: relative;
  padding: 2.5rem 2rem 2rem;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, .1), rgba(0, 0, 0, .55)),
    url("../img/brick-wall.svg") 0 0 / 720px 480px repeat;
  /* Tiefe der Nische: dunkle Innenkanten, Betonlaibung */
  box-shadow:
    inset 22px 0 30px -12px rgba(0, 0, 0, .8),
    inset -22px 0 30px -12px rgba(0, 0, 0, .8),
    inset 0 22px 30px -14px rgba(0, 0, 0, .75),
    0 0 0 10px #2b2e30,
    0 0 0 11px rgba(255, 255, 255, .06);
}

/* Schein des Neon-Schilds auf den Backsteinen – geht mit dem Schild an und aus */
.rp-album-niche::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 40% at 50% 12%, rgba(255, 31, 75, .42), transparent 70%);
  opacity: var(--sign);
  pointer-events: none;
}

.rp-album-niche > * {
  position: relative;
  z-index: 1;
}

.rp-album-title {
  filter: brightness(max(var(--sign), .12));
  margin: 0 0 1.75rem;
  font-family: var(--rp-font-neon);
  font-weight: 400;
  font-size: clamp(2.6rem, 5vw, 4.6rem);
  line-height: 1;
  letter-spacing: .02em;
  text-align: center;
  text-transform: uppercase;
}

.rp-album-title-small {
  display: block;
  font-size: .5em; /* "Tell me your" kleiner über "Secret" – wie auf dem Cover */
  letter-spacing: .05em;
}

/* Neon: schaltet beim ersten Sichtbarwerden mit Flackern ein (neon.js setzt .is-on) */
.neon {
  color: rgba(255, 232, 239, .25);
  text-shadow: none;
}

.neon.is-on {
  color: var(--rp-neon-tube);
  text-shadow:
    0 0 1px #fff,
    0 0 6px var(--rp-neon-pink),
    0 0 18px var(--rp-neon-pink),
    0 0 42px rgba(255, 31, 75, .65),
    0 0 90px rgba(255, 31, 75, .35);
  animation: rpNeonFlickerOn 1.4s linear both;
}

/* ---------- Regal mit 4 Ebenen ---------- */
.rp-shelf {
  position: relative;
  padding: 0 14px;
}

/* Stahlträger links und rechts */
.rp-shelf::before,
.rp-shelf::after {
  content: "";
  position: absolute;
  top: -6px;
  bottom: 0;
  width: 10px;
  border-radius: 2px;
  background:
    radial-gradient(circle, rgba(0, 0, 0, .6) 0 1.5px, transparent 2px) 50% 8px / 10px 22px,
    linear-gradient(90deg, #1d1f21, #4b4f53 45%, #1d1f21);
  box-shadow: 0 6px 12px rgba(0, 0, 0, .6);
  z-index: 2;
}

.rp-shelf::before { left: 0; }
.rp-shelf::after  { right: 0; }

.rp-shelf-level {
  --neon: #ff1f4b;
  --light: 1;
  position: relative;
  display: flex;
  align-items: flex-end;
  gap: 1rem;
  height: 92px;
  padding: 0 .75rem 10px;
}

.rp-shelf-level.is-flipped {
  flex-direction: row-reverse;
}

/* Neonlicht strahlt auf die Wand hinter der Ebene */
.rp-shelf-level::before {
  content: "";
  position: absolute;
  inset: 0 0 10px;
  background: radial-gradient(ellipse 45% 85% at 14% 65%, color-mix(in srgb, var(--neon) 32%, transparent), transparent 70%);
  opacity: var(--light);
  pointer-events: none;
}

.rp-shelf-level.is-flipped::before {
  background: radial-gradient(ellipse 45% 85% at 86% 65%, color-mix(in srgb, var(--neon) 32%, transparent), transparent 70%);
}

/* Regalbrett (dunkles Holz auf Stahlwinkel) */
.rp-shelf-level::after {
  content: "";
  position: absolute;
  left: -14px;
  right: -14px;
  bottom: 0;
  height: 10px;
  background: linear-gradient(180deg, #4a2a16 0, #2a170b 70%, #15161a 70%, #2b2e31 100%);
  box-shadow: 0 8px 14px rgba(0, 0, 0, .6);
}

/* Neon-Link */
.rp-shelf-link {
  position: relative;
  z-index: 1;
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .35rem;
  padding-bottom: .35rem;
  color: color-mix(in srgb, var(--neon) 45%, #fff);
  text-decoration: none;
  filter: brightness(max(var(--light), .12)); /* bei Ausfall nur noch dunkle Röhre */
  transition: transform .25s ease;
}

.rp-neon-icon {
  width: 42px;
  height: 42px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter:
    drop-shadow(0 0 1px #fff)
    drop-shadow(0 0 4px var(--neon))
    drop-shadow(0 0 12px var(--neon));
}

.rp-shelf-link span {
  font-family: var(--rp-font-neon);
  font-size: .8rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  white-space: nowrap;
  text-shadow:
    0 0 1px #fff,
    0 0 5px var(--neon),
    0 0 12px var(--neon);
}

.rp-shelf-link:hover,
.rp-shelf-link:focus-visible {
  color: #fff;
  transform: scale(1.08);
  outline: none;
}

.rp-shelf-link:hover .rp-neon-icon,
.rp-shelf-link:focus-visible .rp-neon-icon {
  filter:
    drop-shadow(0 0 2px #fff)
    drop-shadow(0 0 7px var(--neon))
    drop-shadow(0 0 20px var(--neon));
}

/* Flaschen */
.rp-shelf-bottles {
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  align-items: flex-end;
  gap: 7px;
  overflow: hidden;
  /* Flaschen nahe am Neon-Icon leuchten mit */
  filter: drop-shadow(0 0 6px color-mix(in srgb, var(--neon) calc(35% * min(var(--light), 1)), transparent));
}

.is-flipped .rp-shelf-bottles {
  flex-direction: row-reverse;
}

.rp-bottle {
  flex: 0 0 auto;
  height: var(--h, 70px);
  width: calc(var(--h, 70px) * var(--w, 40) / 160);
}

/* ---------- Rechts: Bierdeckel an der Wand ---------- */
.rp-album-coasters {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.rp-review {
  position: relative;
  box-sizing: border-box;
  width: 250px;
  aspect-ratio: 1;
  padding: 2rem 1.8rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #2b1a10;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 25%, #fdf8ea 0, #f1e6cb 55%, #e1d0a9 100%);
  box-shadow:
    0 2px 0 #cbb88e,
    0 3px 0 #b39f74,
    0 16px 26px rgba(0, 0, 0, .6);
  /* eigene rotate/translate/scale-Eigenschaften, damit sie nicht mit .rp-animate kollidieren */
  rotate: var(--rot, 0deg);
  transition:
    rotate .4s cubic-bezier(.2, .9, .3, 1.3),
    translate .4s cubic-bezier(.2, .9, .3, 1.3),
    scale .4s cubic-bezier(.2, .9, .3, 1.3),
    box-shadow .4s ease;
}

/* aufgedruckter Doppelring */
.rp-review::before {
  content: "";
  position: absolute;
  inset: 9px;
  border-radius: 50%;
  border: 2px solid rgba(196, 22, 28, .75);
  box-shadow:
    inset 0 0 0 4px rgba(253, 248, 234, .9),
    inset 0 0 0 5px rgba(196, 22, 28, .45);
  pointer-events: none;
}

/* Reißzwecke */
.rp-review::after {
  content: "";
  position: absolute;
  top: 7px;
  left: 50%;
  width: 14px;
  height: 14px;
  margin-left: -7px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #ff6b6b, #b30000 60%, #5a0000);
  box-shadow: 1px 3px 4px rgba(0, 0, 0, .55);
}

/* überlappend und versetzt aufgehängt */
.rp-review + .rp-review {
  margin-top: -34px;
}

.rp-review--1 { --rot: -7deg; align-self: flex-start; z-index: 1; }
.rp-review--2 { --rot: 5deg;  align-self: flex-end;   z-index: 2; }
.rp-review--3 { --rot: -3deg; align-self: flex-start; z-index: 3; }

.rp-review:hover,
.rp-review:focus-visible {
  z-index: 5;
  rotate: 0deg;
  translate: 0 -8px;
  scale: 1.08;
  outline: none;
  box-shadow:
    0 2px 0 #cbb88e,
    0 3px 0 #b39f74,
    0 30px 50px rgba(0, 0, 0, .75);
}

.rp-score {
  margin: 0;
  font-family: var(--rp-font-display);
  font-size: 2.7rem;
  line-height: 1;
  color: #c4161c;
}

.rp-score span {
  font-size: .5em;
  color: rgba(43, 26, 16, .55);
}

.rp-stars {
  margin: .2rem 0 .5rem;
  font-size: 1rem;
  letter-spacing: .15em;
  background: linear-gradient(90deg, #e3a400 calc(var(--rating) / 5 * 100%), rgba(43, 26, 16, .2) 0);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.rp-review blockquote {
  margin: 0 0 .6rem;
  font-size: .76rem;
  font-weight: 500;
  line-height: 1.38;
  font-style: italic;
}

.rp-review-source {
  max-width: 85%;
  font-size: .58rem;
  line-height: 1.5;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(43, 26, 16, .7);
  text-decoration: none;
}

.rp-review-source strong {
  display: block; /* Magazin in eigener Zeile – bleibt innerhalb des Rings */
  color: #c4161c;
}

.rp-review-source:hover {
  text-decoration: underline;
}

/* ---------- Tablet: Nische oben, darunter Poster + Bierdeckel ---------- */
@media (max-width: 1100px) {
  .rp-album-stage {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 2.5rem 2rem;
  }

  .rp-album-niche {
    grid-column: 1 / -1;
    grid-row: 1;
    max-width: 620px;
    width: 100%;
    margin: 0 auto;
    box-sizing: border-box;
  }
}

/* ---------- Mobile: alles untereinander ---------- */
@media (max-width: 700px) {
  .rp-album {
    padding: 3.5rem 16px;
  }

  .rp-album-stage {
    grid-template-columns: minmax(0, 1fr);
  }

  .rp-album-niche {
    padding: 2rem 1rem 1.5rem;
  }

  .rp-album-poster {
    max-width: 400px;
    margin: 0 auto;
    text-align: center;
  }

  .rp-shelf-level {
    gap: .6rem;
    height: 84px;
    padding: 0 .4rem 10px;
  }

  .rp-neon-icon {
    width: 36px;
    height: 36px;
  }

  .rp-shelf-link span {
    font-size: .68rem;
  }

  .rp-bottle {
    height: calc(var(--h, 70px) * .85);
    width: calc(var(--h, 70px) * .85 * var(--w, 40) / 160);
  }

  .rp-album-coasters {
    max-width: 340px;
    margin: 0 auto;
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .neon.is-on {
    animation: none;
  }

  .rp-review,
  .rp-shelf-link {
    transition: none;
  }
}

/* Hinweis bei übersetzten Rezensionszitaten (englische Seiten) */
.rp-review-translated {
  font-size: .7em;
  font-style: normal;
  opacity: .65;
  white-space: nowrap;
}
