/* ===========================
   Feeling of Life — сторінка альбому
   Використовує CSS-змінну --cover-url, яку кожна сторінка задає у <style>:root{}
   =========================== */

:root {
  --bg: #070a10;
  --card: rgba(13, 19, 31, 0.78);
  --stroke: rgba(255, 255, 255, 0.1);
  --text: #eef3ff;
  --muted: rgba(238, 243, 255, 0.72);
  --accent: #86b0ff;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.42);
  --radius: 22px;
}

body {
  font-family: "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  position: relative;
}

body::before {
  content: "";
  position: fixed;
  left: 0;
  top: 0;
  width: 100vw;
  height: 540px;
  background-image: var(--cover-url);
  background-size: cover;
  background-position: center;
  filter: blur(28px) saturate(2.8) brightness(1.2) contrast(1.05);
  transform: scale(1.15);
  opacity: 0.78;
  z-index: -2;
  pointer-events: none;
}

body::after {
  content: "";
  position: fixed;
  left: 0;
  top: 0;
  width: 100vw;
  height: 650px;
  background: linear-gradient(
    to bottom,
    rgba(7, 10, 16, 0.05) 0%,
    rgba(7, 10, 16, 0.35) 45%,
    rgba(7, 10, 16, 0.75) 75%,
    var(--bg) 100%
  );
  z-index: -1;
  pointer-events: none;
}

.page {
  position: relative;
  z-index: 0;
  width: min(1120px, calc(100vw - 32px));
  margin: 0 auto;
  padding: 24px 0 48px;
}

.backLink {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  color: var(--muted);
  text-decoration: none;
}

.hero {
  display: grid;
  grid-template-columns: minmax(260px, 340px) minmax(0, 1fr);
  gap: 26px;
  padding: 24px;
  border: 1px solid var(--stroke);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.03)), var(--card);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.coverWrap { position: relative; }

.coverWrap::before {
  content: "";
  position: absolute;
  inset: -30px;
  background-image: var(--cover-url);
  background-position: center;
  background-size: cover;
  filter: blur(28px) saturate(1.25);
  opacity: 0.42;
  transform: scale(1.06);
}

.cover {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 18px;
  display: block;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.28);
}

.heroContent {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 100%;
}

.eyebrow {
  display: inline-flex;
  width: fit-content;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(134, 176, 255, 0.25);
  background: rgba(134, 176, 255, 0.1);
  color: var(--accent);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1 { margin: 0; font-size: clamp(34px, 5vw, 56px); line-height: 1.05; }
.meta { color: var(--muted); font-size: 16px; }
.description { max-width: 62ch; margin: 0; color: var(--text); line-height: 1.65; }
.platforms, .miniLinks { display: flex; flex-wrap: wrap; gap: 10px; }
.platforms { margin-top: auto; align-self: flex-start; padding-top: 10px; }

.platformLink, .miniLink {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  text-decoration: none;
  color: var(--text);
  transition: transform 0.14s ease, box-shadow 0.14s ease, background 0.14s ease, border-color 0.14s ease;
}

.platformLink {
  min-width: 74px;
  min-height: 46px;
  padding: 11px 18px;
  border: 2px solid var(--stroke);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05), 0 10px 26px rgba(0, 0, 0, 0.18);
}

.miniLink {
  min-width: 46px;
  min-height: 38px;
  padding: 8px 10px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.05);
}

.platformLink svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

.miniLink svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.platformLink:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.32);
  background: rgba(255, 255, 255, 0.12);
}

.miniLink:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.28);
  background: rgba(255, 255, 255, 0.09);
}

.spotify   { border-color: rgba(29, 185, 84, 0.55);  color: #1db954; }
.apple     { border-color: rgba(255, 255, 255, 0.4);  color: #ccc; }
.youtube   { border-color: rgba(222, 54, 54, 0.6);    color: #dc4c4c; }
.amazon    { border-color: rgba(255, 153, 0, 0.6);    color: #ff9900; }
.telegram  { border-color: rgba(34, 158, 217, 0.55);  color: #229ed9; }
.instagram { border-color: rgba(225, 48, 108, 0.55);  color: #e1306c; }
.facebook  { border-color: rgba(24, 119, 242, 0.55);  color: #1877f2; }
.paypal    { border-color: rgba(0, 48, 135, 0.55);    color: #003087; }
.monobank  { border-color: rgba(106, 90, 205, 0.6);   color: #6a5acd; }

@keyframes monoPulse {
  0%   { box-shadow: 0 0 0 0   rgba(106, 37, 171, 0.45); }
  70%  { box-shadow: 0 0 0 12px rgba(138, 43, 226, 0); }
  100% { box-shadow: 0 0 0 0   rgba(138, 43, 226, 0); }
}
.monobank { animation: monoPulse 2.4s infinite; }
.monobank:hover { animation-play-state: paused; box-shadow: 0 0 0 6px rgba(138, 43, 226, 0.35); }

@media (hover: none) {
  .platformLink:active, .miniLink:active {
    transform: scale(0.94);
    background: rgba(255, 255, 255, 0.12);
  }
}

.contentGrid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.8fr);
  gap: 22px;
  margin-top: 22px;
}

.panel {
  border: 1px solid var(--stroke);
  border-radius: var(--radius);
  padding: 22px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.03)), var(--card);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.22);
}

.panel h2 { margin: 0 0 14px; font-size: 24px; }
.tracklist { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 5px; }
.tracklist li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px; padding: 8px 14px; border-radius: 14px; background: rgba(255, 255, 255, 0.04); border: 1px solid rgba(255, 255, 255, 0.06); }
.tracklist strong { color: var(--muted); }
.asideText { margin: 0 0 14px; color: var(--muted); line-height: 1.6; }

.releaseNote {
  display: inline-flex;
  width: fit-content;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 214, 102, 0.28);
  background: rgba(255, 214, 102, 0.12);
  color: #ffe7a4;
  font-size: 13px;
}

@media (max-width: 860px) {
  .hero, .contentGrid { grid-template-columns: 1fr; }
  .page { width: min(100vw - 24px, 720px); padding-top: 16px; }
  .hero, .panel { padding: 18px; }
  .platforms { margin-top: 0; padding-top: 4px; }
}

/* ── Play button ── */
.playRow { display: flex; align-items: center; }
.ytPlayBtn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 12px 22px;
  border: 2px solid rgba(222, 54, 54, 0.6);
  border-radius: 999px;
  background: rgba(222, 54, 54, 0.12);
  color: #dc4c4c;
  font-size: 15px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: transform 0.14s ease, background 0.14s ease, box-shadow 0.14s ease;
}
.ytPlayBtn svg { width: 20px; height: 20px; fill: currentColor; flex-shrink: 0; }
.ytPlayBtn:hover {
  background: rgba(222, 54, 54, 0.22);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(222, 54, 54, 0.28);
}
@media (hover: none) { .ytPlayBtn:active { transform: scale(0.95); } }

/* ── Modal ── */
.ytModal {
  display: none;
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  box-sizing: border-box;
  background: rgba(0, 0, 0, 0.72);
  z-index: 1000;
  align-items: center;
  justify-content: center;
  padding: 16px;
  overflow: hidden;
}
.ytModal::before {
  content: "";
  position: absolute;
  top: -10%;
  left: -10%;
  right: -10%;
  bottom: -10%;
  background-image: var(--cover-url);
  background-size: cover;
  background-position: center;
  filter: blur(32px) saturate(2.2) brightness(0.38);
  z-index: 0;
  pointer-events: none;
}
.ytModal--open { display: flex; }
.ytModal__inner {
  position: relative;
  z-index: 1;
  width: min(600px, 100%);
  max-width: min(600px, calc(100vh - 100px));
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.ytModal__frame {
  position: relative;
  width: 100%;
  padding-bottom: 100%;
  height: 0;
  border-radius: 16px;
  overflow: hidden;
  background: #000;
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.7);
}
.ytModal__frame iframe {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

.ytClose {
  align-self: center;
  width: 66%;
  padding: 12px 22px;
  border-radius: 999px;
  border: 2px solid rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: opacity 0.4s ease, transform 0.14s ease, background 0.14s ease, box-shadow 0.14s ease;
  flex-shrink: 0;
}
.ytClose--hidden {
  opacity: 0;
  pointer-events: none;
}
.ytClose:hover {
  background: rgba(255, 255, 255, 0.18);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.28);
}
@media (hover: none) { .ytClose:active { transform: scale(0.95); } }

/* ── 768px ── */
@media (max-width: 768px) {
  .hero { gap: 18px; }
  .panel h2 { font-size: 20px; }
  .tracklist li { padding: 10px 12px; }
}

/* ── 480px ── */
@media (max-width: 480px) {
  .page { padding-top: 12px; }
  .hero, .panel { padding: 14px; }
  .heroContent { gap: 10px; }
  h1 { font-size: 28px; }
  .description { font-size: 14px; }
  .platformLink { min-width: 58px; min-height: 40px; padding: 9px 14px; }
  .platformLink svg { width: 20px; height: 20px; }
  .tracklist li { padding: 9px 10px; gap: 8px; }
  .ytModal { padding: 8px; }
  .ytModal__inner { gap: 8px; }
  .ytClose { width: 80%; font-size: 14px; padding: 11px 18px; }
}
