@import url('https://fonts.googleapis.com/css2?family=Noto+Sans&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Source+Sans+3:ital,wght@0,200..900;1,200..900&display=swap');

.new-bg {
  background-image: url("/image/Background-gradient-Feels.png");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  padding: 110px 48px 79px 48px;

  display: flex;
  justify-content: center;

  font-family: 'Noto Sans', sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;

  cursor: pointer;
  padding: 0;
  margin: 0;
}

.container {
  display: flex;
  flex-direction: column;
  gap: 18px;
  justify-content: center;
}

.card {
  position: relative;

  width: 331px;
  min-height: 461px;
  border-radius: 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;

  overflow: hidden;
  -webkit-mask-image: -webkit-radial-gradient(white, black);
}

.image-wrapper {
  position: absolute;
  display: inline-block;
  width: 100%;
  height: 100%;
  z-index: 10;
}

.card-background {
  object-fit: cover;
  width: 100%;
  height: 100%;
  border-radius: 30px;
  pointer-events: none;
}

.fade-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0));
  border-radius: 30px;
  pointer-events: none;
}

.click-shield {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 30px;
  z-index: 10;
  background: transparent;
  pointer-events: auto;
}

.card-content {
  height: 100%;
  padding-block: 10px;
  padding-inline: 18px;
  z-index: 10;

  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.top-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;

  margin-left: -7px;
}

.top-bar__artist {
  display: flex;
  align-items: center;
  gap: 10px;
}

.artist-avatar {
  width: 58px;
  height: 58px;
  border-radius: 100%;
  object-fit: cover;
}

.artist-name {
  font-weight: 600;
  text-transform: capitalize;
  font-size: 22px;
  line-height: 30.77px;
  letter-spacing: 1px;
  color: white;
}

.top-bar__favorite {
  width: 28px;
  height: 28px;
}

.bottom-bar {
  width: 100%;
  border-radius: 25px;
  padding-top: 5px;
  padding-bottom: 4px;

  background-color: rgba(39, 39, 39, 0.6);
  -webkit-backdrop-filter: blur(30px);
  backdrop-filter: blur(30px);

  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  gap: 8px;

  position: relative;
  overflow: hidden;
}

.bottom-bar:has(.invite-code-wrapper) {
  min-height: 160px;
}

.bottom-bar__message {
  width: 95%;
  color: white;
  font-size: 17px;
  font-weight: 600;
  line-height: 23px;
  text-align: center;
  z-index: 10;

  font-family: "Source Sans 3", sans-serif;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.bottom-bar__message p {
  margin: 0;
}

.long-text{
  max-width: 100%;
  text-align: center;
}

.gradient-text {
  font-weight: bold;
  background: linear-gradient(135deg, #FF00FF 0%, #FF9900 50%, #FFFF00 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
  -webkit-box-decoration-break: clone;
}

.app-store-badge {
  display: inline-block;
  z-index: 10;
}

.app-store-badge img {
  height: 44px;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
}

.logo {
  display: flex;
  text-align: center;
  justify-content: center;
  align-items: center;
  color: white;
  font-size: 12pt;
  font-family: 'Noto Sans', sans-serif;
}

img.feelsmusicmessaging {
  width: 280px;
  height: 18px;
  object-fit: contain;
}


img, video {
  -webkit-user-select: none;
  -webkit-touch-callout: none;
  -webkit-user-drag: none;
  user-select: none;
  pointer-events: auto;
}

/* Invite Code Styles */
.invite-code-wrapper {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.invite-code-container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 4px;
  cursor: pointer;
  width: 100%;
  margin-top: 4px;
}

.invite-code {
  font-size: 18pt;
  font-weight: 900;
  letter-spacing: 0.04em;
  pointer-events: none;
}

.copy-icon {
  width: 15px;
  height: 16px;
  pointer-events: none;
}

.copy-text {
  position: absolute;
  bottom: -35px;
  right: 0;
  width: 80px;
  height: auto;
}

.copy-toast {
  position: fixed;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  background-color: #141414;
  color: #fff;
  padding: 10px 16px;
  border-radius: 8px;
  font-size: 14px;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 9999;
}

.copy-toast.show {
  opacity: 1;
}



@media (max-width: 375px) {
  .card {
    width: 90vw;
    border-radius: 20px;
  }
  
  .artist-avatar {
    width: 48px;
    height: 48px;
  }

  .artist-name {
    font-size: 18px;
    line-height: 24px;
  }

  .top-bar__favorite {
    width: 22px;
    height: 22px;
  }

  .bottom-bar {
    max-height: 90px;
    border-radius: 20px;
    padding-top: 4px;
    padding-bottom: 3px;
  }

  .bottom-bar__message {
    font-size: 14px;
    line-height: 20px;
  }

  .app-store-badge img {
    height: 36px;
  }
}