* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

:root {
  --accent: #e352c6;
  --border: rgba(227, 82, 198, 0.32);
  --muted: rgba(242, 240, 255, 0.72);
  --text: rgba(242, 240, 255, 0.92);
  --card: rgba(42, 42, 62, 0.72);
  --panel: rgba(28, 28, 44, 0.55);
  --shadow: 0 14px 40px rgba(0, 0, 0, 0.35);
  --font-title: "Pirata One", cursive;
  --font-body: "Montserrat", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
}

body {
  font-family: var(--font-body);
  color: var(--text);
  background:
    radial-gradient(900px 520px at 20% 0%, rgba(227, 82, 198, 0.1), transparent 60%),
    radial-gradient(900px 520px at 80% 10%, rgba(120, 70, 255, 0.08), transparent 60%),
    #0f0f16;
}

.muted {
  color: var(--muted);
}

.container {
  width: min(1100px, 92vw);
  margin: 0 auto;
}

h1,
h2,
h3,
.pageTitle,
.ctaPremium__title {
  font-family: var(--font-title);
  letter-spacing: 1.2px;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(243, 12, 89, 0.384);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.logo__img {
  display: block;
  width: auto;
  height: 75px;
  object-fit: contain;
}

.logo__text {
  font-family: var(--font-title);
  font-size: 20px;
  font-weight: 400;
  letter-spacing: 1.2px;
  color: #f2f0ff;
}

.logo:hover .logo__text {
  color: var(--accent);
}

.menu {
  display: flex;
  align-items: center;
  gap: 14px;
}

.menu a {
  padding: 8px 10px;
  border-radius: 12px;
  color: var(--muted);
  text-decoration: none;
  font-weight: 650;
}

.menu a:hover,
.menu__login:hover {
  color: #fff;
}

.menu__login {
  color: rgba(242, 240, 255, 0.82);
}

.menu a[href="/artists/apply"] {
  padding: 10px 14px;
  border: 1px solid rgba(227, 82, 198, 0.35);
  border-radius: 14px;
  background: rgba(227, 82, 198, 0.1);
  color: #fff;
}

.menu a[href="/artists/apply"]:hover {
  border-color: rgba(227, 82, 198, 0.75);
  background: rgba(227, 82, 198, 0.16);
  color: var(--accent);
}

.hero {
  display: flex;
  align-items: center;
  min-height: 70vh;
  padding: 52px 0;
  background:
    linear-gradient(to bottom, rgba(0, 0, 0, 0.15), rgba(247, 242, 242, 0.137)),
    url("/images/hero.jpg") center / cover no-repeat;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.hero__inner {
  max-width: 720px;
  padding: 26px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 22px;
  background: rgba(10, 10, 15, 0.35);
  box-shadow: var(--shadow);
}

.hero h1 {
  margin: 0 0 10px;
  font-size: clamp(32px, 4vw, 54px);
  line-height: 1.05;
  letter-spacing: 2px;
  text-transform: uppercase;
  text-shadow:
    0 0 10px rgba(227, 82, 198, 0.55),
    0 0 22px rgba(227, 82, 198, 0.25),
    0 4px 20px rgba(0, 0, 0, 0.45);
}

.hero p {
  max-width: 60ch;
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.6;
}

.hero__actions,
.actions,
.ctaPremium__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  padding: 12px 16px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 14px;
  background: rgba(28, 28, 44, 0.35);
  color: #f2f0ff;
  text-decoration: none;
  font-weight: 800;
}

.btn:hover {
  border-color: rgba(255, 255, 255, 0.22);
}

.btn--primary {
  border-color: rgba(227, 82, 198, 0.5);
  background: rgba(227, 82, 198, 0.14);
}

.btn--primary:hover {
  border-color: rgba(227, 82, 198, 0.85);
  color: var(--accent);
}

.btn--ghost {
  background: rgba(28, 28, 44, 0.28);
}

.section {
  padding: 54px 0;
}

.section h2 {
  margin: 0 0 12px;
  font-size: 28px;
}

.section p {
  max-width: 70ch;
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.footer {
  padding: 22px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(242, 240, 255, 0.68);
}

.search {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin: 14px 0 18px;
}

.search--page {
  margin: 0;
}

.search__input {
  flex: 1 1 320px;
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 14px;
  background: var(--panel);
  color: var(--text);
  outline: none;
}

.search__input::placeholder {
  color: rgba(242, 240, 255, 0.62);
}

.search__input:focus {
  border-color: rgba(227, 82, 198, 0.55);
  box-shadow: 0 0 0 4px rgba(227, 82, 198, 0.14);
}

.search__btn {
  padding: 12px 16px;
  border: 1px solid rgba(227, 82, 198, 0.5);
  border-radius: 14px;
  background: rgba(227, 82, 198, 0.14);
  color: #f2f0ff;
  font-weight: 800;
  cursor: pointer;
}

.search__btn:hover {
  border-color: rgba(227, 82, 198, 0.85);
  color: var(--accent);
}

.pageHead {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 18px;
}

.pageTitle {
  margin: 0;
  font-size: 34px;
}

.pageSub {
  margin: 6px 0 0;
  color: var(--muted);
}

.cards {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 16px;
  margin-top: 18px;
}

.cardArtist {
  grid-column: span 6;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02)),
    var(--card);
  box-shadow: var(--shadow);
}

.cardArtist__top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
}

.cardArtist__title {
  margin: 0;
  font-size: 18px;
}

.cardArtist__meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  color: rgba(242, 240, 255, 0.74);
  font-size: 13px;
}

.dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(227, 82, 198, 0.9);
}

.actions {
  margin-top: 12px;
}

body.page--artist .topbar {
  background: transparent;
  border-bottom: none;
}

body.page--artist .topbar__inner {
  justify-content: center;
  padding: 18px 0 10px;
}

body.page--artist .logo__img {
  height: 56px;
}

body.page--home .logo:hover .logo__text,
body.page--home .logo:focus .logo__text,
body.page--home .logo:focus-visible .logo__text {
  color: #f2f0ff !important;
  text-decoration: none !important;
}

body.page--home .logo,
body.page--home .logo * {
  cursor: default;
}

.ctaPremium {
  padding: 34px 0;
}

.ctaPremium__card {
  padding: 28px;
  border: 1px solid rgba(227, 82, 198, 0.28);
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02)),
    var(--card);
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
}

.ctaPremium__title {
  margin: 0 0 10px;
  font-size: 26px;
  line-height: 1.15;
  color: #fff;
}

.ctaPremium__subtitle {
  max-width: 72ch;
  margin: 0 0 18px;
  color: rgba(242, 240, 255, 0.85);
  font-size: 16px;
  line-height: 1.7;
}

.ctaPremium__benefits {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 10px;
  margin-bottom: 20px;
}

.benefit {
  grid-column: span 6;
  padding: 10px 12px;
  border: 1px solid rgba(227, 82, 198, 0.2);
  border-radius: 14px;
  background: rgba(227, 82, 198, 0.1);
  color: rgba(242, 240, 255, 0.92);
  font-size: 14px;
  font-weight: 650;
}

#scrollTopBtn {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 45px;
  height: 45px;
  border: none;
  border-radius: 50%;
  background: rgba(20, 20, 30, 0.8);
  color: #f2f0ff;
  font-size: 20px;
  cursor: pointer;
  backdrop-filter: blur(10px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.4);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

#scrollTopBtn.show {
  opacity: 1;
  pointer-events: auto;
}

#scrollTopBtn:hover {
  transform: translateY(-3px);
}

@media (max-width: 820px) {
  .cardArtist {
    grid-column: span 12;
  }
}

@media (max-width: 780px) {
  .ctaPremium__card {
    padding: 20px;
  }

  .ctaPremium__title {
    font-size: 22px;
  }

  .benefit {
    grid-column: span 12;
  }
}

@media (max-width: 720px) {
  .topbar__inner {
    flex-wrap: wrap;
    justify-content: center;
    padding: 10px 0;
    gap: 10px;
  }

  .logo {
    justify-content: center;
    width: 100%;
  }

  .logo__img {
    height: 56px;
  }

  .menu {
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
  }

  .menu a {
    padding: 8px 10px;
    font-size: 14px;
  }

  .menu a[href="/artists/apply"] {
    padding: 10px 12px;
  }

  .hero {
    min-height: auto;
    padding: 26px 0;
  }

  .hero__inner {
    width: 100%;
    max-width: 100%;
    padding: 18px;
    border-radius: 18px;
  }

  .hero h1 {
    font-size: clamp(24px, 7vw, 34px);
    letter-spacing: 1.2px;
  }

  .hero p {
    font-size: 15px;
    line-height: 1.55;
  }
}

@media (max-width: 520px) {
  .search {
    flex-direction: column;
    gap: 10px;
  }

  .search__input,
  .search__btn,
  .hero__actions .btn {
    width: 100%;
  }

  .hero__actions {
    flex-direction: column;
  }

  .hero__actions .btn {
    text-align: center;
  }

  .ctaPremium__card {
    padding: 18px;
  }

  .ctaPremium__title {
    font-size: 22px;
  }

  .benefit {
    grid-column: span 12;
  }
}