/* CSS Reset */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

ul, ol {
  list-style: none;
}

html {
  -moz-text-size-adjust: none;
  -webkit-text-size-adjust: none;
  text-size-adjust: none;
  color-scheme: dark;
  background-color: #0a0a0a;
}

body {
  min-height: 100vh;
  line-height: 1.5;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 16px;
  font-weight: 400;
  color: #ffffff;
  background: linear-gradient(160deg, #0a0a0a 0%, #111 50%, #0d0d0d 100%);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  text-wrap: balance;
  line-height: 1.2;
  font-weight: 600;
  text-align: center;
  margin: 0;
  padding: 0;
}

a:not([class]) {
  text-decoration-skip-ink: auto;
  color: currentColor;
}

img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
  height: auto;
}

input, button, textarea, select {
  font: inherit;
}

button {
  background: none;
  border: none;
  cursor: pointer;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* Layout */
main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.main-container {
  width: 100%;
  min-height: 100vh;
  min-height: 100dvh;
  padding: 2rem 0 7rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0;
}

p {
  text-align: center;
}

/* Logo */
.logo {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  margin-bottom: 1.25rem;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

h1 {
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 0.25rem;
}

/* Social Links */
.social-links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.625rem;
  margin-top: 1.75rem;
}

/* Bubble Button Styles */
.btn-bubble {
  border-radius: 10em;
  justify-content: center;
  align-items: center;
  font-size: 1rem;
  text-decoration: none;
  display: flex;
  position: relative;
}

.btn-bubble__icon {
  background-color: #1a1a1a;
  border-radius: 10em;
  flex-flow: row;
  justify-content: center;
  align-items: center;
  width: 3em;
  height: 3em;
  padding: 0.6em;
  display: flex;
  position: relative;
  transition: transform 0.735s cubic-bezier(0.625, 0.05, 0, 1);
  transform: scale(1) rotate(0.001deg);
  transform-origin: left;
}

.btn-bubble__icon.is--duplicate {
  z-index: 2;
  background-color: #1a1a1a;
  position: absolute;
  right: 0;
  transform: scale(0) rotate(0.001deg);
  transform-origin: right;
}

.btn-bubble__icon svg {
  width: 100%;
  height: 100%;
  transition: transform 0.735s cubic-bezier(0.625, 0.05, 0, 1);
  transform: rotate(0.001deg);
}

.btn-bubble__content {
  color: #fff;
  background-color: #1a1a1a;
  border-radius: 10em;
  justify-content: center;
  align-items: center;
  height: 3em;
  padding-left: 1.25em;
  padding-right: 1.25em;
  display: flex;
  position: relative;
  transition: transform 0.735s cubic-bezier(0.625, 0.05, 0, 1);
  transform: translateX(0em) rotate(0.001deg);
  font-weight: 500;
  font-size: 0.9375em;
}

.btn-bubble__content span {
  line-height: 1;
  white-space: nowrap;
}

/* Hover States */
.btn-bubble:hover .btn-bubble__content {
  transform: translateX(-3em) rotate(0.001deg);
}

.btn-bubble:hover .btn-bubble__icon svg {
  transform: scale(1.15) rotate(0.001deg);
}

.btn-bubble:hover .btn-bubble__icon {
  transform: scale(0) rotate(0.001deg);
}

.btn-bubble:hover .btn-bubble__icon.is--duplicate {
  transform: scale(1) rotate(0.001deg);
}

/* Disabled / Coming Soon State */
.btn-bubble--disabled {
  cursor: not-allowed;
  opacity: 0.45;
}

.btn-bubble--disabled .btn-bubble__icon {
  filter: grayscale(100%);
}

.btn-bubble--disabled .btn-bubble__content {
  background-color: #1a1a1a;
  color: #666;
}

.btn-bubble--disabled:hover .btn-bubble__content,
.btn-bubble--disabled:hover .btn-bubble__icon,
.btn-bubble--disabled:hover .btn-bubble__icon.is--duplicate,
.btn-bubble--disabled:hover .btn-bubble__icon svg {
  transform: none;
}

/* New Release Popup */
.new-release-popup {
  position: fixed;
  bottom: 1.25rem;
  right: 1.25rem;
  display: flex;
  align-items: center;
  background: rgba(12, 12, 12, 0.95);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 0.875rem;
  color: #fff;
  z-index: 1000;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255,255,255,0.03) inset;
  animation: popupSlide 0.5s ease-out;
  overflow: hidden;
}

@keyframes popupSlide {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.new-release-popup__main {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  padding: 0.5rem;
  text-decoration: none;
  color: #fff;
  transition: background 0.2s ease;
}

.new-release-popup__main:hover {
  background: rgba(255, 255, 255, 0.04);
}

.new-release-popup__cover {
  width: 44px;
  height: 44px;
  border-radius: 0.375rem;
  object-fit: cover;
  flex-shrink: 0;
}

.new-release-popup__info {
  display: flex;
  flex-direction: column;
  gap: 0.0625rem;
  min-width: 0;
  max-width: 120px;
}

.new-release-popup__label {
  font-size: 0.5625rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #22c55e;
}

.new-release-popup__title {
  font-size: 0.8125rem;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.2;
}

.new-release-popup__artist {
  font-size: 0.6875rem;
  color: rgba(255, 255, 255, 0.5);
  font-weight: 400;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.new-release-popup__arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  color: rgba(255, 255, 255, 0.3);
  flex-shrink: 0;
  margin-right: 0.25rem;
}

.new-release-popup__arrow svg {
  width: 14px;
  height: 14px;
}

.new-release-popup__platforms {
  display: flex;
  align-items: center;
  gap: 0.125rem;
  padding: 0.375rem;
  border-left: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(0, 0, 0, 0.15);
}

.new-release-popup__platform {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  padding: 0.4375rem;
  border-radius: 0.375rem;
  transition: all 0.15s ease;
}

.new-release-popup__platform:hover {
  background: rgba(255, 255, 255, 0.1);
}

.new-release-popup__platform svg {
  width: 100%;
  height: 100%;
}

/* Release Page Styles */
.release-page {
  padding-top: 2rem;
  padding-bottom: 3rem;
}

.release-cover {
  width: 100%;
  max-width: 280px;
  border-radius: 0.75rem;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.5);
  margin-bottom: 1.5rem;
}

.release-info {
  text-align: center;
  margin-bottom: 1rem;
}

.release-title {
  font-size: 1.625rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
  letter-spacing: -0.01em;
}

.release-artist {
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.6);
  font-weight: 400;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 2rem;
  padding: 0.5rem 1rem;
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
  font-size: 0.8125rem;
  transition: color 0.2s ease;
}

.back-link:hover {
  color: #fff;
}

.back-link svg {
  width: 1rem;
  height: 1rem;
  display: inline-block;
}

/* Mobile Styles */
@media (max-width: 640px) {
  .main-container {
    padding: 1.5rem 0 6.5rem;
    justify-content: center;
  }
  
  .logo {
    width: 100px;
    height: 100px;
    margin-bottom: 1rem;
  }
  
  h1 {
    font-size: 1.5rem;
  }
  
  .social-links {
    margin-top: 1.5rem;
    gap: 0.5rem;
  }
  
  .btn-bubble {
    font-size: 0.9375rem;
  }
  
  .btn-bubble__icon,
  .btn-bubble__icon.is--duplicate {
    width: 2.75em;
    height: 2.75em;
    padding: 0.55em;
  }
  
  .btn-bubble__content {
    height: 2.75em;
    padding-left: 1.125em;
    padding-right: 1.125em;
  }
  
  .btn-bubble:hover .btn-bubble__content {
    transform: translateX(-2.75em) rotate(0.001deg);
  }
  
  /* Mobile Popup - single row, docked bottom */
  .new-release-popup {
    bottom: 0.75rem;
    right: 0.75rem;
    left: 0.75rem;
    border-radius: 0.75rem;
  }
  
  .new-release-popup__main {
    flex: 1;
    min-width: 0;
  }
  
  .new-release-popup__info {
    max-width: none;
    flex: 1;
    min-width: 0;
  }
  
  .new-release-popup__cover {
    width: 40px;
    height: 40px;
  }
  
  .new-release-popup__platforms {
    padding: 0.375rem;
    gap: 0.25rem;
  }
  
  .new-release-popup__platform {
    width: 40px;
    height: 40px;
    padding: 0.5rem;
  }
  
  /* Release Page Mobile */
  .release-cover {
    max-width: 240px;
  }
  
  .release-title {
    font-size: 1.375rem;
  }
  
  .release-page {
    padding-bottom: 2rem;
  }
}

@media (max-width: 380px) {
  .new-release-popup__info {
    max-width: 100px;
  }
}
