/* Components: cards, buttons, lists, player, animations */
.discography-frame {
  padding: 24px;
}
.discography-frame .discography-grid {
  margin: 0;
}
.discography-frame .discography-more {
  margin-top: auto;
}

.card-action-left { margin-top: auto; padding-top: 18px; display: flex; justify-content: flex-start; }

.top-grid-two {
  align-items: stretch;
}
.top-grid-two > .top-section-block {
  min-height: 100%;
}
.top-grid-two-primary > .top-section-block {
  grid-template-rows: auto minmax(0, 1fr);
}
.top-grid-two .top-unified-card {
  height: 100%;
}
.top-grid-two-primary .top-unified-card {
  min-height: 460px;
}
.goods-links-row .top-unified-card {
  min-height: 380px;
}
.visuals-unified-card {
  padding: 24px;
}
.visual-discography-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}
.visual-top-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 760px;
  margin: 0 auto;
}
.visual-discography-grid img {
  aspect-ratio: 1 / 1;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: var(--shadow);
}
.listen-compact-card {
  width: min(100%, calc((100% - 22px) / 2));
  min-height: 380px;
}
.top-grid-single-compact {
  display: flex;
  justify-content: flex-start;
}
.top-section-block-compact {
  width: min(100%, calc((100% - 22px) / 2));
}
.top-grid-single-compact .top-section-block {
  gap: 12px;
}
.listen-compact-card .listen-platforms {
  gap: 14px;
}
.listen-compact-card .hero-actions {
  margin-top: 18px;
}
.section-view-btn-sm { min-height: 40px; padding: 0 18px; font-size: 11px; letter-spacing: 0.14em; }
.discography-more-left { justify-content: flex-start; }
.news-list-top-only .news-item { cursor: pointer; }
.compact-list {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
}

.content-cta-row { margin-top: 24px; display: flex; justify-content: flex-start; }
.primary-btn,
.secondary-btn {
  min-height: 50px;
  padding: 0 22px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  cursor: pointer;
  font-size: 15px;
  color: #fff;
  background: transparent;
}
.primary-btn { background: linear-gradient(135deg, var(--purple), var(--purple-2)); }
.secondary-btn { background: rgba(255, 255, 255, 0.06); }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 22px; }
.compact-actions { margin-top: 18px; }

.listen-platforms,
.link-list,
.news-list { display: grid; gap: 12px; }
.platform-card,
.link-row,
.news-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 54px;
  padding: 0 18px;
  border-radius: 14px;
  text-decoration: none;
}
.news-item span { color: rgba(255,255,255,0.54); font-size: 12px; }
.news-item strong { font-size: 15px; }
.visual-wide-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.visual-wide-grid img,
.visual-preview-grid img,
.visual-page-grid img,
.content-image-card img,
.goods-preview-card img,
.discography-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.visual-wide-grid img { aspect-ratio: 16/9; border-radius: 16px; }
.visual-preview-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.visual-preview-grid img { aspect-ratio: 1/1; border-radius: 16px; }
.visual-page-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.visual-page-grid img {
  aspect-ratio: 3/4;
  border-radius: 18px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.discography-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.discography-card {
  display: block;
  border-radius: var(--radius-lg);
  overflow: hidden;
  text-decoration: none;
  color: #fff;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}
.discography-thumb img { aspect-ratio: 1 / 1; }
.discography-info { padding: 18px 16px 20px; }
.discography-info h3 { margin: 0; font-size: 28px; line-height: 1.2; }
.discography-meta { margin: 10px 0 0; font-size: 13px; color: rgba(255,255,255,0.7); }
.discography-more,
.discography-back { display: flex; justify-content: center; margin-top: 36px; }
.goods-preview-grid,
.goods-grid-full {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 18px;
}
.goods-grid-full { grid-template-columns: repeat(4, minmax(0,1fr)); }
.goods-preview-card {
  overflow: hidden;
  padding: 0;
}
.goods-preview-card img { aspect-ratio: 1/1; }
.goods-preview-card span {
  display: block;
  padding: 16px;
  font-weight: 700;
  letter-spacing: 0.16em;
}
.news-list-full { display: grid; gap: 18px; }
.news-card { padding: 22px; }
.news-card span { color: rgba(255,255,255,0.56); font-size: 12px; letter-spacing: 0.14em; }
.news-card h2 { margin: 12px 0 8px; font-size: 24px; }
.news-card p { margin: 0; color: rgba(255,255,255,0.78); line-height: 1.8; }
.two-col-layout {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 24px;
  align-items: center;
}
.long-panel { padding: 26px; }
.content-title { margin: 0 0 14px; font-size: clamp(22px, 3vw, 40px); }
.content-image-card { overflow: hidden; }
.content-image-card img { aspect-ratio: 4/5; }

.bottom-trigger {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  height: 110px;
  z-index: 595;
}
.player-overlay {
  position: fixed;
  left: 18px;
  right: 18px;
  bottom: 18px;
  z-index: 610;
  opacity: 0;
  visibility: hidden;
  transform: translateY(18px);
  transition: opacity 0.22s ease, visibility 0.22s ease, transform 0.22s ease;
  pointer-events: none;
}
.player-overlay.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: none;
}
.player-overlay .player-panel {
  pointer-events: auto;
}
.player-panel {
  max-width: 980px;
  margin-left: 0;
  padding: 18px 20px;
  border-radius: 24px;
  background: rgba(8, 10, 18, 0.92);
  border: 1px solid rgba(255,255,255,0.08);
  backdrop-filter: blur(18px);
  box-shadow: 0 24px 70px rgba(0,0,0,0.42);
}
.player-meta {
  display: grid;
  grid-template-columns: 86px 1fr;
  gap: 16px;
  align-items: center;
}
.player-cover,
.player-dock-cover {
  background: linear-gradient(135deg, rgba(183,99,255,0.26), rgba(84,169,255,0.16));
  background-size: cover;
  background-position: center;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,0.08);
}
.player-cover { width: 86px; aspect-ratio: 1/1; }
.player-title {
  margin: 0;
  font-size: clamp(16px, 2vw, 28px);
  line-height: 1.2;
}
.player-time-row,
.player-bottom-row { display: flex; align-items: center; gap: 12px; }
.player-time-row { margin-top: 10px; }
.player-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 18px 0 14px;
}
.player-icon-btn {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.04);
  cursor: pointer;
  display: grid;
  place-items: center;
}
.player-icon-btn-main {
  width: 66px;
  height: 66px;
  background: linear-gradient(135deg, rgba(183,99,255,0.34), rgba(84,169,255,0.24));
}
.player-icon-btn img,
.player-dock-play img { width: 24px; height: 24px; }
.player-icon-btn-main img { width: 30px; height: 30px; }
.player-range { width: 100%; accent-color: #a36bff; }
.volume-wrap {
  width: min(380px, 100%);
  display: flex;
  align-items: center;
  gap: 12px;
}
.volume-wrap span,
.player-time-row span { font-size: 12px; color: rgba(255,255,255,0.62); }
.player-dock {
  position: fixed;
  left: 18px;
  bottom: 18px;
  z-index: 600;
  width: min(360px, calc(100vw - 36px));
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 18px;
  background: rgba(8, 10, 18, 0.88);
  border: 1px solid rgba(255,255,255,0.08);
  backdrop-filter: blur(18px);
  box-shadow: 0 18px 48px rgba(0,0,0,0.38);
  transition: opacity 0.22s ease, transform 0.22s ease;
}
.player-dock:hover {
  transform: none;
}

.player-dock-cover { width: 46px; aspect-ratio: 1/1; border-radius: 14px; flex: 0 0 46px; }
.player-dock-meta { min-width: 0; flex: 1; }
.player-dock-now { margin-bottom: 3px; font-size: 10px; }
.player-dock-title {
  margin: 0;
  font-size: 13px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.player-dock-play {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.12);
  background: linear-gradient(135deg, rgba(183,99,255,0.28), rgba(84,169,255,0.18));
  display: grid;
  place-items: center;
  cursor: pointer;
  flex: 0 0 40px;
}
.yt-player-container {
  position: fixed;
  width: 1px;
  height: 1px;
  left: -9999px;
  top: -9999px;
}

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.show { opacity: 1; transform: translateY(0); }

@keyframes spin { to { transform: rotate(360deg); } }
@keyframes bgPulse {
  0%, 100% { filter: brightness(1) saturate(1); }
  50% { filter: brightness(1.08) saturate(1.08); }
}
@keyframes siteBgFloat {
  0%, 100% { transform: scale(1.05) translate3d(0,0,0); }
  50% { transform: scale(1.08) translate3d(0,-10px,0); }
}

@media (max-width: 1180px) {
  .discography-grid { grid-template-columns: repeat(3, 1fr); }
  .goods-grid-full { grid-template-columns: repeat(2, 1fr); }
  .visual-page-grid { grid-template-columns: repeat(2, 1fr); }
}
