:root {
  --color-bg: #f8f8f8;
  --color-dark-bg: #1a1a2f;
  --color-medium-bg: #2a2c4d;
  --color-text-main: #222;
  --color-text-light: #fcfcfc;
  --color-pink-accent: #f26c99;
  --color-pink-accent-dark: #d14a7d;
  --color-active-nav: rgba(242, 108, 153, 0.15);
  --color-light-border: #e5e5e5;
  --color-link: #2a2c4d;
  --color-text-muted: #666;
  --color-text-subtle: #555;
  --color-text-mush: #444;
  --color-highlight:rgba(0,0,0,0.03);
}

* {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 18px;
  line-height: 1.5;
  color: var(--color-text-main);
  background: var(--color-bg);
}

header,
footer {
  background: var(--color-dark-bg);
  color: var(--color-text-light);
}

header {
  position: relative;
  padding: 1em;
  overflow: hidden;
}

footer {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  padding: .25em;
  text-align: center;
  z-index: 10;
}

p {
    margin-bottom: 1em;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--color-dark-bg);
    margin-top: 1em;
    margin-bottom: 0.5em;
    line-height: 1.2;
}

h1 { font-size: 2em; }
h2 { font-size: 1.75em; }
h3 { font-size: 1.5em; }
h4 { font-size: 1.25em; }
h5 { font-size: 1.1em; }
h6 { font-size: 1em; }

a {
  color: var(--color-link);
  transition: color 0.3s;
}

a:hover {
  color: var(--color-pink-accent);
}

blockquote {
  background: var(--color-link);
  color: var(--color-text-light);
  padding: 1em;
  margin: 1em 0;
  border-left: 4px solid var(--color-pink-accent);
}

ul, ol {
  margin-bottom: 1em;
  padding-left: 1.5em;
}

li {
  margin-bottom: 0.5em;
}

.button,
.highlight {
  display: inline-block;
  background: var(--color-pink-accent);
  color: var(--color-text-light);
  padding: 0.5em 1em;
  text-decoration: none;
  font-weight: bold;
  border-radius: 3px;
  transition: background 0.3s;
}

.button:hover,
.highlight:hover {
  background: var(--color-pink-accent-dark);
}

header .logo-link {
  position: absolute;
  top: .5em;
  right: 2em;
}


header .logo-link img {
  max-width: 120px;
  height: auto;
}

header .title-container {
  max-width: 600px;
}

header h1 {
  font-size: 2em;
  margin: 0;
  line-height: 1.2;
  color: var(--color-text-light);
}

header .tagline {
  font-size: 1em;
  font-style: italic;
  color: var(--color-pink-accent);
  margin-top: 0.25em;
}

nav {
  display: flex;
  justify-content: center;
  background: linear-gradient(180deg, var(--color-medium-bg) 0%, var(--color-dark-bg) 100%);
  padding: 0.5em 1em;
  font-size: 1.2em;
  font-weight: bold;
  border-bottom: 2px solid #161830;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 1.5em;
  margin-bottom: 0;
}

nav ul li a {
  color: var(--color-text-light);
  text-decoration: none;
  transition: color 0.3s;
}

nav ul li a:hover {
  color: var(--color-pink-accent);
}

nav ul li a.active {
  background: var(--color-active-nav);
  padding: 0.15em 0.4em;
  border-radius: 3px;
}

main {
  display: block;  
  margin: 1em auto 3em auto;
  padding-bottom: 3em;
  max-width: 900px;
}


.grid-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 1.5em;
}

.artist-entry:hover .artist-promo {
  opacity: 1;
}

.artist-entry:hover .artist-name {
  text-align: center;
}

.artist-entry {
  position: relative;
  overflow: hidden;
}

.artist-info {
  position: relative;
  width: 100%;
  height: 180px;
}

.artist-promo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.7;
  z-index: 1;
}

.artist-name {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background: rgba(0, 0, 0, 0.7);
  color: var(--color-text-light);
  padding: 0.5em 0.75em;
  margin: 0;
  z-index: 2;
  box-sizing: border-box;
  text-align: left;
}

.artist-promo,
.artist-name {
  transition: all 0.3s ease;
}

.artist-header {
  display: flex;
  gap: 1.5em;
  align-items: center;
  margin-bottom: 1.5em;
}

.artist-photo {
  width: 160px;
  height: auto;
  border-radius: 4px;
}

.artist-tagline {
  font-style: italic;
  color: var( --color-text-subtle );
  margin-bottom: 0.5em;
}

.artist-links a {
  font-size: 0.9em;
}

.release-list {
  list-style: none;
  padding-left: 0;
}

.release-list li {
  margin-bottom: 0.5em;
}

.release-row {
  display: flex;
  align-items: center;
  gap: 1em;
  padding: 0.6em 0;
  border-bottom: 1px solid var(--color-light-border);  
}

.release-row .cover img {
  width: 128px;
  height: auto;
  border-radius: 3px;
}

.release-title {
  font-size:1.2em;
  font-weight: bold;
  margin: 0;
}

.release-meta {
  font-size: 0.85em;
  color: var(--color-text-muted);
  margin-top: 0.15em;
}

.release-row:hover {
  background: var(--color-highlight);
}

.release-header {
  display: flex;
  gap: 2em;
  align-items: flex-start;
  margin-bottom: 2em;
}

.release-cover {
  width: 220px;
  height: auto;
  border-radius: 4px;
}

.release-links {
  margin-top: 1em;
}
.release-meta h2 {
  margin-top: 0;
}

.track-list {
  margin-left: 1.5em;
}

.track-list li {
  margin-bottom: 0.4em;
}

.post-list {
  list-style: none;
  padding: 0;
  margin-top: 1em;
}

.post-card {
  padding: 0.8em 0;
  border-bottom: 1px solid #e5e5e5;
}

.post-card .post-date {
  font-size: 0.85em;
  color: #666;
  margin-bottom: 0.15em;
}

.post-card .post-title {
  font-weight: bold;
  margin: 0;
}

.post-card .post-title a {
  color: #1a1a2e;
  text-decoration: none;
  transition: color 0.3s;
}

.post-card .post-title a:hover {
  color: #f26c99;
}

.post-card .post-excerpt {
  margin-top: 0.2em;
  font-size: 0.95em;
  color: #444;
}

.rss-syndicate {
  position:fixed;
  bottom: 0.1em;
  right: 0.1em;
}

/* Anmiations */

#space,
.stars {
  overflow: hidden;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
}

.stars {
  background-image:
    radial-gradient(2px 2px at 20px 30px, #eee, rgba(0, 0, 0, 0)),
    radial-gradient(2px 2px at 40px 70px, #fff, rgba(0, 0, 0, 0)),
    radial-gradient(2px 2px at 50px 160px, #ddd, rgba(0, 0, 0, 0)),
    radial-gradient(2px 2px at 90px 40px, #fff, rgba(0, 0, 0, 0)),
    radial-gradient(2px 2px at 130px 80px, #fff, rgba(0, 0, 0, 0)),
    radial-gradient(2px 2px at 160px 120px, #ddd, rgba(0, 0, 0, 0));
  background-repeat: repeat;
  background-size: 200px 200px;
  animation: zoom 5s infinite;
  opacity: 0;
}

.stars:nth-child(1) {
  background-position: 50% 50%;
  animation-delay: 0s;
}

.stars:nth-child(2) {
  background-position: 20% 60%;
  animation-delay: 1s;
}

.stars:nth-child(3) {
  background-position: -20% -30%;
  animation-delay: 2s;
}

.stars:nth-child(4) {
  background-position: 40% -80%;
  animation-delay: 3s;
}

.stars:nth-child(5) {
  background-position: -20% 30%;
  animation-delay: 4s;
}

@keyframes zoom {
  0% {
    opacity: 0;
    transform: scale(0.5);
    animation-timing-function: ease-in;
  }

  85% {
    opacity: 1;
    transform: scale(2.8);
    animation-timing-function: linear;
  }

  100% {
    opacity: 0;
    transform: scale(3.5);
  }
}


.intro-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  pointer-events: none;
  z-index: 10;
  background: black;
  animation: introFade 2s cubic-bezier(0.12, 0.78, 0.63, 0.93) 5.25s forwards;
}

.postcard {
  max-width: 50%;
  height: auto;
  transform: translate(-200vw, -200vh) rotate(-45deg) scale(0.5);
  animation:
    throwIn 2s cubic-bezier(0.15, 0.61, 0.63, 0.93) forwards,
    moveToCorner 2s ease-in-out 4s forwards;
  transform-origin: center bottom;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

@keyframes throwIn {
  0% {
    transform: translate(-200vw, -200vh) rotate(-45deg) scale(0.5);
    opacity: 0;
  }

  60% {
    transform: translate(0vw, 0vh) rotate(3deg) scale(1.05);
    opacity: 1;
  }

  100% {
    transform: translate(0, 0) rotate(3deg) scale(1);
  }
}

@keyframes introFade {
  to {
    opacity: 0;
    visibility: hidden;
  }
}

@keyframes moveToCorner {
  0% {
    transform: translate(0, 0) rotate(3deg) scale(1);
    opacity: 1;
  }

  100% {
    transform: translate(40vw, -60vh) rotate(0deg) scale(0.3);
    opacity: 0;
  }
}

.logo-home img {
  opacity: 0;
  animation: logoFadeIn 1s ease 5s forwards;
}

@keyframes logoFadeIn {
  to {
    opacity: 1;
  }
}

.nav-item {
  opacity: 0;
  display: inline-block;
  animation: navFadeIn 0.5s ease forwards;
}

nav ul li:nth-child(1) a {
  animation-delay: 6s;
}

nav ul li:nth-child(2) a {
  animation-delay: 6.3s;
}

nav ul li:nth-child(3) a {
  animation-delay: 6.6s;
}

nav ul li:nth-child(4) a {
  animation-delay: 6.9s;
}

nav ul li:nth-child(5) a {
  animation-delay: 7.2s;
}

nav ul li:nth-child(6) a {
  animation-delay: 7.5s;
}

nav ul li:nth-child(7) a {
  animation-delay: 7.8s;
}

@keyframes navFadeIn {
  to {
    opacity: 1;
  }
}


.home-content {
  opacity: 0;
  animation: contentFadeIn 1s ease 8.2s forwards;
}

@keyframes contentFadeIn {
  to {
    opacity: 1;
  }
}


.panel-release {
  --panel-color: #d17f9f;
}

.panel-artist {
  --panel-color: #5aa3c9;
}

.panel-news {
  --panel-color: #9b78c9;
}

.panel-store {
  --panel-color: #c28fd1;
}

.home-panels {
  display: flex;
  height: 75vh;
}

.home-panel {
  flex: 1;
  border: 3px solid var(--color-text-main);
  display: flex;
  justify-content: center;
  position: relative;
  overflow: hidden;
  background-color: var(--panel-color);
  padding: 0;
  margin: 0;
  transition: flex 0.5s ease, background-color 0.3s ease;
}

.home-panel h2 {
  background-color: var(--panel-color);
  display: block;
  box-sizing: border-box;
  width: 100%;
  margin: 0;
  padding: 0.5em;
  text-align: center;
}

.home-panel p {
  padding: 0.5em;
}

.home-panel-content {
  position: relative;
  background-color: inherit;
  color: var(--color-text-main);
  transition: background-color 0.3s ease;
  width: 100%;
  box-sizing: border-box;
  z-index: 3;
}

.home-panel:hover {
  background-color: inherit;
  color: var(--color-text-main);
}

.home-panels:hover .home-panel {
  flex: 0.6;
}

.home-panels:hover .home-panel:hover {
  flex: 2.5;
}

.home-panel::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 1.5em;
  bottom: 0;
  background-color: var(--panel-color);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 2;
}

.home-panel:hover::after {
  opacity: 1;
}


.home-panel:first-child {
  border-top-left-radius: 10px;
  border-bottom-left-radius: 10px;
}

.home-panel:last-child {
  border-top-right-radius: 10px;
  border-bottom-right-radius: 10px;
}