/* FredRaven Experience — portail externe cinématographique */
html.social-gateway-open,
html.social-gateway-open body { overflow: hidden; }

.frx-gateway[hidden] { display: none !important; }
.frx-gateway {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: grid;
  place-items: center;
  overflow: auto;
  padding: clamp(16px, 3vw, 40px);
  color: #f8f0e5;
  opacity: 0;
  visibility: hidden;
  background:
    radial-gradient(circle at 22% 22%, rgba(188,126,50,.16), transparent 30%),
    radial-gradient(circle at 82% 78%, rgba(96,24,27,.22), transparent 38%),
    linear-gradient(145deg, #080705 0%, #100c09 48%, #050505 100%);
  transition: opacity .55s ease, visibility .55s ease;
}
.frx-gateway.is-visible { opacity: 1; visibility: visible; }
.frx-gateway.is-entering { animation: frxExit .72s cubic-bezier(.7,0,.2,1) forwards; }
@keyframes frxExit { to { opacity: 0; transform: scale(1.025); filter: blur(3px); } }

.frx-ambient,
.frx-ambient::before,
.frx-ambient::after {
  position: absolute;
  inset: 0;
  pointer-events: none;
  content: "";
}
.frx-ambient {
  overflow: hidden;
  background: linear-gradient(110deg, rgba(0,0,0,.15), rgba(255,205,117,.025), rgba(0,0,0,.2));
}
.frx-ambient::before {
  background-image:
    radial-gradient(circle, rgba(235,185,100,.48) 0 1px, transparent 1.6px),
    radial-gradient(circle, rgba(255,255,255,.18) 0 1px, transparent 1.5px);
  background-size: 120px 120px, 190px 190px;
  background-position: 20px 15px, 70px 80px;
  opacity: .28;
  animation: frxDust 18s linear infinite;
}
.frx-ambient::after {
  inset: -30%;
  background: conic-gradient(from 110deg, transparent, rgba(214,154,72,.08), transparent 22%);
  animation: frxLight 14s ease-in-out infinite alternate;
}
@keyframes frxDust { to { transform: translate3d(0,-120px,0); } }
@keyframes frxLight { to { transform: translate3d(12%, -5%, 0) rotate(9deg); } }

.frx-shell {
  position: relative;
  width: min(1240px, 100%);
  min-height: min(760px, calc(100vh - 40px));
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(360px, .94fr);
  align-items: center;
  gap: clamp(30px, 5vw, 72px);
  padding: clamp(34px, 5vw, 72px);
  border: 1px solid rgba(216,166,88,.28);
  border-radius: 34px;
  background:
    linear-gradient(135deg, rgba(24,18,14,.94), rgba(8,8,8,.96)),
    url('../img/fredraven-hero-original.jpeg') center/cover;
  box-shadow: 0 40px 120px rgba(0,0,0,.65), inset 0 1px 0 rgba(255,255,255,.04);
  overflow: hidden;
  transform: translateY(18px) scale(.985);
  transition: transform .7s cubic-bezier(.2,.8,.2,1);
}
.frx-gateway.is-visible .frx-shell { transform: none; }
.frx-shell::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(7,6,5,.96) 0%, rgba(12,9,7,.88) 40%, rgba(10,8,6,.48) 68%, rgba(4,4,4,.72) 100%),
    linear-gradient(180deg, rgba(0,0,0,.05), rgba(0,0,0,.48));
}
.frx-copy,
.frx-release { position: relative; z-index: 2; }
.frx-brand { width: min(260px, 72vw); height: auto; margin-bottom: 12px; }
.frx-role {
  margin: 0 0 22px;
  color: #d3a75d;
  text-transform: uppercase;
  letter-spacing: .24em;
  font-size: .72rem;
  font-weight: 800;
}
.frx-copy h1 {
  max-width: 660px;
  margin: 0;
  font-family: Georgia, serif;
  font-size: clamp(2.6rem, 6vw, 5.7rem);
  line-height: .94;
  font-weight: 500;
  letter-spacing: -.045em;
}
.frx-copy h1 em { color: #c99548; font-weight: 500; }
.frx-intro {
  max-width: 610px;
  margin: 26px 0 20px;
  color: rgba(248,240,229,.74);
  font-size: clamp(1rem, 1.4vw, 1.18rem);
  line-height: 1.75;
}
.frx-changing-line {
  min-height: 2.2em;
  margin: 0 0 28px;
  color: #e4c58d;
  font-family: "Great Vibes", cursive;
  font-size: clamp(1.7rem, 3.5vw, 2.55rem);
  opacity: .9;
  transition: opacity .4s ease, transform .4s ease;
}
.frx-changing-line.is-switching { opacity: 0; transform: translateY(7px); }
.frx-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.frx-button {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 23px;
  border: 1px solid rgba(224,178,99,.55);
  border-radius: 999px;
  color: #f7ead5;
  background: rgba(255,255,255,.035);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
  transition: transform .2s ease, background .2s ease, box-shadow .2s ease;
}
.frx-button:hover,.frx-button:focus-visible { transform: translateY(-2px); outline: none; }
.frx-button-primary {
  color: #160f08;
  background: linear-gradient(135deg, #f2d397, #b9792e);
  box-shadow: 0 14px 36px rgba(174,111,38,.26);
}
.frx-button-secondary:hover { background: rgba(220,164,78,.12); }

.frx-release { display: grid; justify-items: center; }
.frx-record-stage {
  position: relative;
  width: min(460px, 82vw);
  aspect-ratio: 1.18 / 1;
  display: grid;
  align-items: center;
  justify-items: start;
  margin-bottom: 18px;
}
.frx-cover {
  position: relative;
  z-index: 4;
  width: 72%;
  aspect-ratio: 1;
  border-radius: 19px;
  object-fit: contain;
  background: #080706;
  box-shadow: 0 24px 62px rgba(0,0,0,.58);
}
.frx-vinyl {
  position: absolute;
  z-index: 2;
  left: 43%;
  width: 68%;
  aspect-ratio: 1;
  border-radius: 50%;
  transform: translateX(-22%);
  transition: transform .65s cubic-bezier(.22,.8,.2,1);
  filter: drop-shadow(0 20px 28px rgba(0,0,0,.52));
}
.frx-gateway.is-playing .frx-vinyl { transform: translateX(18%); }
.frx-vinyl-rotor,
.frx-vinyl-reflection {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 50%;
}
.frx-vinyl-rotor { z-index: 1; transform: rotate(0deg); }
.frx-vinyl-reflection { z-index: 3; pointer-events: none; }
.frx-label {
  position: absolute;
  z-index: 2;
  inset: 35%;
  width: 30%;
  height: 30%;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 0 3px #18120d;
}
.frx-release-meta { width: min(470px, 100%); text-align: center; }
.frx-kicker { color: #c99548; text-transform: uppercase; letter-spacing: .18em; font-size: .72rem; font-weight: 900; }
.frx-release-meta h2 { margin: 7px 0 4px; font-size: clamp(1.85rem, 4vw, 3rem); line-height: 1; }
.frx-release-meta p { margin: 0; color: rgba(248,240,229,.67); }
.frx-release-note { display: block; margin-top: 8px; color: #d7b275; }

.frx-equalizer {
  width: min(420px, 92%);
  height: 58px;
  margin: 18px auto 0;
  display: block;
  opacity: .82;
}
.frx-platforms {
  width: min(500px, 100%);
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 9px;
  margin-top: 18px;
}
.frx-platform {
  min-height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 9px;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 13px;
  color: #f5ead9;
  text-decoration: none;
  font-size: .8rem;
  font-weight: 800;
  background: rgba(255,255,255,.035);
  backdrop-filter: blur(8px);
  transition: transform .2s ease, border-color .2s ease, background .2s ease;
}
.frx-platform:hover,.frx-platform:focus-visible { transform: translateY(-2px); border-color: rgba(224,178,99,.58); background: rgba(224,178,99,.09); outline: none; }
.frx-footer-note { grid-column: 1 / -1; margin: 18px 0 0; text-align: center; color: rgba(248,240,229,.48); font-size: .78rem; }

@media (max-width: 900px) {
  .frx-gateway { align-items: start; }
  .frx-shell { grid-template-columns: 1fr; text-align: center; padding: 28px 20px 34px; gap: 30px; }
  .frx-shell::before { background: linear-gradient(180deg, rgba(5,5,5,.95), rgba(8,6,5,.8)); }
  .frx-copy h1,.frx-intro { margin-left: auto; margin-right: auto; }
  .frx-actions { justify-content: center; }
  .frx-release { order: -1; }
  .frx-record-stage { width: min(390px, 82vw); }
  .frx-brand { width: min(215px, 58vw); }
}
@media (max-width: 560px) {
  .frx-gateway { padding: 8px; }
  .frx-shell { min-height: calc(100vh - 16px); border-radius: 24px; }
  .frx-copy h1 { font-size: clamp(2.35rem, 13vw, 3.8rem); }
  .frx-intro { margin-top: 18px; line-height: 1.55; }
  .frx-record-stage { width: min(335px, 88vw); }
  .frx-platforms { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .frx-button { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .frx-ambient::before,.frx-ambient::after { animation: none; }
  .frx-vinyl,.frx-gateway,.frx-shell { transition-duration: .01ms; }
}
