/* === Match BarScores.vue styles === */
@font-face {
  font-family: "Nivea";
  src: url("./fonts/NIVEABrandTypeTT-Light.woff2") format("woff2"),
  url("./fonts/NIVEABrandTypeTT-Light.woff") format("woff");
  font-weight: 200;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Nivea";
  src: url("./fonts/NIVEABrandTypeTT-Regular.woff2") format("woff2"),
  url("../assets/fonts/NIVEABrandTypeTT-Regular.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Nivea";
  src: url("./fonts/NIVEABrandTypeTT-Bold.woff2") format("woff2"),
  url("./fonts/NIVEABrandTypeTT-Bold.woff") format("woff");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

:root {
  /* map to your component vars */
  --dur: 800ms;                  /* same duration */
  --delay-step: 90ms;            /* same per-item delay */
  --color-main: #0032a0;   /* your current main brand color */
  --color-muted:#779df7;   /* secondary/muted text */


  --font-main: "Nivea", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;

  --wt-light: 200;
  --wt-regular: 400;
  --wt-bold: 600;

}


body {

  font-family: var(--font-main);
  color: white;

  padding: 20px;

  /* background-image: url('./cloud.png'); */
  /* background-repeat: no-repeat; */
  /* background-size: 100%; */
  /* background-size: cover; */

  background: #012069;
  background: linear-gradient(0deg, rgba(203, 177, 206, 1) 0%, rgba(1, 32, 105, 1) 100%);
  /* background: linear-gradient(90deg,rgba(247, 15, 15, 1) 0%, rgba(255, 221, 0, 1) 75%, rgba(19, 230, 0, 1) 100%); */


}

.branding {
  display: flex;
  gap: 2rem;
  align-items: center;
  width: 100%;
  margin-bottom: 1rem;
}

.branding img {
  flex: 1;        /* takes 1 part */
  max-width: 100px;
  height: auto;

}

.branding .big-title {
  flex: 2;        /* takes 2 parts */
  margin: 0;
  text-align: left;
}

.title {
  text-align: center;
  margin: 0;
}

.sub {
  font-size: 1.5rem;
}

.centered {
  text-align: center;
}

/* Base font sizing like .bars { font-size: 2rem } in the component */
.bars {
  margin-top: 2rem;
  font-size: 2rem;
  gap: 24px;                     /* same spacing between items */
  display: grid;
}

/* Make each item look like the Vue version (no card chrome) */
.bar {
  background: transparent;
  border: none;
  padding: 0;
}

/* Top row: name left, score right — same grid + alignment */
.bar__row {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: baseline;
  gap: 12px;
  margin: 0 0 8px;
}

/* Typography to match */
.bar__name {
  font-weight: var(--wt-regular, 500);
  line-height: 1.2;
}
.bar__score {
  font-variant-numeric: tabular-nums;
  opacity: 1;
}

/* Track + fill like in BarScores.vue */
.bar__track {
  position: relative;
  width: 100%;
  height: 14px;                  /* same height */
  border-radius: 999px;
  overflow: hidden;
  /* optional subtle bg/outline (commented in your component) */
  /* background: #eaeaea;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,0.06); */
}

.bar__fill {
  height: 100%;
  width: 0%;
  border-radius: inherit;
  /* background: linear-gradient(45deg, var(--color-main) 0%, var(--color-muted) 100%); */
  background: linear-gradient(90deg,rgba(247, 15, 15, 1) 40%, rgba(255, 221, 0, 1) 85%, rgba(19, 230, 0, 1) 100%);
  /* background-size: 2000% 100%; */
  transition-property: width, background-position;    /* only animate width */
  transition-duration: var(--dur);
  transition-timing-function: cubic-bezier(.2,.7,.2,1);
  transition-delay: var(--delay, 0ms);
}


.cta  {
  text-align: center;
  img {
    width: 80%;
    max-width: 400px;
  }


  p {
    font-weight: var(--wt-light);
    text-align: left;
    font-size: 1.25rem;


    span {
      font-weight: var(--wt-bold);
    }


  }

  .smaller {
    font-size: 14px;
  }

   

  /* a { */
  /*   box-sizing: border-box; */
  /*   font-size: 2rem; */
  /*   text-decoration: none; */
  /*   background-color: var(--color-main); */
  /*   color: white; */
  /*   padding: 1rem; */
  /*   display: block; */
  /*   width: 100%; */
  /*   border-radius: 10px; */
  /*   text-align: center; */
  /* } */
}

.btn  {
  box-sizing: border-box;
  font-size: 2rem;
  text-decoration: none;
  background-color: var(--color-main);
  color: white;
  padding: 1rem;
  display: block;
  width: 100%;
  border-radius: 10px;
  text-align: center;
}

section {
  margin: 1rem 0;
}

.song {
  text-align: center;

  .btn {
    font-size: 1.65rem;
  }
}

.art {
  width: 100%;
  max-width: 600px;
  /* display: block; */
  /* margin: 0 auto; */
}

.meta p, .meta h2{
  text-align: center;
  margin: 0;
}

.card {
  margin: 1rem;
}

.sf-meta {
  font-size: 1rem;
}

ul {
  padding: 1rem;
  margin-top: -1rem;
}


/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  .bar__fill { transition: none !important; }
}


@media only screen and (min-width: 600px) {
  /* css overrides to inside these {} */
  main {
    max-width: 600px;
    margin: 0 auto;
  }
}

