/* -----------------------------
   Global pink theme and layout
   ----------------------------- */
:root {
  --pink-50: #fff5f9;
  --pink-100: #ffeef6;
  --pink-200: #ffd6e7;
  --pink-400: #ff7ab8;
  --pink-500: #ff4da6;
  --pink-600: #e04393;
  --muted: #6b4351;
  --card-bg: rgba(255, 255, 255, 0.6);
  --vinyl-groove-dark: #2a2928;
  --vinyl-groove-mid: #706f6e;
  --vinyl-groove-light: #ada9a0;
}

/* Accessibility */
a:focus,
button:focus,
input:focus,
textarea:focus {
  outline: 2px solid var(--pink-500);
  outline-offset: 2px;
}

/* Responsiveness */
@media (max-width: 600px) {

  body,
  html {
    font-size: 16px;
  }

  .container {
    padding: 1rem;
  }

  h1,
  h2,
  h3,
  h4 {
    text-align: center;
    word-break: break-word;
  }

  nav ul {
    flex-direction: column;
    gap: 0.5rem;
  }
}

/* Fonts */
@font-face {
  font-family: "Vulf Sans";
  src: url("../assets/fonts/Vulf Sans/VulfSansDemo-Regular.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Vulf Sans";
  src: url("../assets/fonts/Vulf Sans/VulfSansDemo-Bold.otf") format("opentype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Vulf Mono";
  src: url("../assets/fonts/Vulf Mono/VulfMonoDemo-Regular.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Viktor Script";
  src: url("../assets/fonts/Viktor Script/ViktorScriptDemo-Regular.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Ohno Softie";
  src: url("../assets/fonts/Ohno Softie/OhnoSoftieDemo-Regular.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Ohno Blazeface Demo";
  src: url("../assets/fonts/untitled folder/OhnoBlazefaceDemo-24Point.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Degular";
  src: url("../assets/fonts/Degular/DegularDemo-Regular.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Obviously Regular";
  src: url("../assets/fonts/Obviously Normal/ObviouslyDemo-Regular.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Obviously Narrow";
  src: url("../assets/fonts/Obviously Narrow/ObviouslyDemo-Narrow.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Obviously Condensed";
  src: url("../assets/fonts/Obviously Condensed/ObviouslyDemo-Condensed.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Degular Display";
  src: url("../assets/fonts/Degular Display/DegularDisplayDemo-Regular.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* Global styles */

body {
  margin: 0;
  font-family: "Degular", Inter, system-ui, -apple-system, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  color: #3b2b35;

  .vinyl img {
    background: linear-gradient(180deg,
        var(--pink-50) 0%,
        var(--pink-100) 40%,
        #fff 100%) no-repeat fixed;
    background-size: 100% 100%;
  }


  a[href^="http"] {
    cursor: alias;
  }

  /* Header */
  header {
    padding: 2.25rem 1rem;
    text-align: center;
    background: linear-gradient(180deg,
        rgba(255, 255, 255, 0.6),
        rgba(255, 255, 255, 0.4));
    backdrop-filter: blur(6px);
    box-shadow: 0 8px 30px rgba(255, 77, 166, 0.06);
  }

  header h1 {
    margin: 0 0 0.35rem 0;
    color: white;
    font-weight: 700;
    font-family: "Viktor Script", "Vulf Sans", Inter, system-ui, -apple-system,
      "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-weight: 700;
    font-size: 5rem;
    letter-spacing: -0.02em;
    transition: box-shadow 180ms ease;
  }

  header h1:hover {
    text-shadow: 0 0 6px #fff, 0 0 12px var(--pink-400),
      0 0 20px var(--pink-100);
  }

  header h1 a {
    color: var(--pink-500);
    text-decoration: none;
    font: inherit;
    cursor: pointer;
  }

  header h1 a:visited,
  header h1 a:active {
    color: var(--pink-500);
  }

  header h1 a:hover {
    text-decoration: none;
  }

  /* Nav */
  nav ul {
    list-style: none;
    padding: 0;
    margin: 0.5rem 0 0 0;
    display: flex;
    justify-content: center;
    gap: 0.6rem;
    flex-wrap: wrap;
    font-family: "Degular";
  }

  nav a {
    display: inline-block;
    text-decoration: none;
    color: var(--muted);
    background: rgba(255, 255, 255, 0.45);
    padding: 0.45rem 0.9rem;
    border-radius: 999px;
    font-weight: 600;
    transition: transform 180ms ease, box-shadow 180ms ease,
      background 180ms ease;
  }

  nav a:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(255, 77, 166, 0.12);
    color: var(--pink-600);
    background: rgba(255, 255, 255, 0.7);
  }

  nav a,
  nav a:visited,
  nav a:active,
  nav a:hover {
    text-decoration: none !important;
  }

  a:not(header h1 a) {
    color: var(--pink-500);
    text-decoration: none;
    transition: color 180ms;
  }

  a:not(header h1 a):hover {
    color: var(--pink-400);
    text-decoration: underline;
  }

  /* Page sections */
  section {
    max-width: 980px;
    margin: 1.75rem auto;
    padding: 1.25rem 1.25rem;
    border-radius: 12px;
    background: linear-gradient(180deg,
        rgba(255, 255, 255, 0.75),
        rgba(255, 255, 255, 0.6));
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.06);
  }

  /* Headings, etc. */

  h2,
  h3 {
    color: var(--pink-400);
    margin-top: 0;
    font-family: "Ohno Blazeface Demo", "Obviously Narrow", "Ohno Softie",
      "Vulf Sans", Inter, system-ui, -apple-system, "Segoe UI", Roboto,
      "Helvetica Neue", Arial, sans-serif;
    font-weight: 400;
  }

  h3 {
    font-size: 1.5rem;
  }

  h4 {
    font-size: 1.2rem;
    margin-bottom: 0;
  }

  h4,
  h5,
  h6 {
    color: var(--pink-400);
    font-family: "Degular", "Ohno Softie", "Vulf Sans", Inter,
      system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial,
      sans-serif;
  }

  p,
  li {
    color: #4b2f3b;
    line-height: 1.6;
  }

  details summary {
    color: var(--pink-400);
    cursor: pointer;
  }

  hr {
    border: none;
    border-top: 1px solid var(--pink-100);
    margin: 2rem 0;
  }


  hr.iconHR {
    position: relative;
    border-top: 0px;
    height: 20px;
    opacity: 1;
    color: var(--pink-400)
  }

  hr.iconHR::before {
    content: "";
    top: 10px;
    position: absolute;
    background: var(--pink-200);
    height: 1px;
    width: 100%;
    display: block;
  }

  hr.iconHR::after {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    content: "\2727";
    display: block;
    background: white;
    width: 30px;
  }

  /* Footer */
  footer {
    text-align: center;
    padding: 1.25rem 1rem;
    color: #6b4756;
  }

  /* -----------------------------
   Vinyl styling
   ----------------------------- */

  .vinyls {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
    justify-items: center;
    align-items: start;
  }

  .vinyl {
    position: relative;
    padding: 1rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .vinyl::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: repeating-radial-gradient(var(--vinyl-groove-mid) 0 3px,
        var(--vinyl-groove-light) 4px,
        var(--vinyl-groove-dark) 5px);
    opacity: 0.12;
    z-index: 1;
    pointer-events: none;
  }

  .vinyl::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 30px;
    height: 30px;
    background: #fff;
    border-radius: 50%;
    z-index: 2;
  }
}

.vinyl:hover img {
  animation: spin 4s linear infinite;
}

.vinyl img {
  width: 220px;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
  border-radius: 50%;
  position: relative;
}

.vinyl-details {
  display: none;
  position: absolute;
  left: 50%;
  top: 0;
  transform: translate(-50%, -12%);
  z-index: 10;
  font-size: 1rem;
  font-weight: 600;
}

.vinyl:hover .vinyl-details {
  display: block;
}

.vinyl-details text {
  fill: #fff;
  stroke: #000;
  stroke-width: 2px;
  paint-order: stroke fill;
  stroke-linejoin: round;
}

.vinyl-title-artist {
  font-family: "Degular Display", Arial, sans-serif;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/* -----------------------------
   Some more stuff
   ----------------------------- */

/* Slight responsive spacing */
@media (max-width: 640px) {
  header {
    padding: 1.5rem 0.75rem;
  }

  section {
    margin: 1rem 0.75rem;
    padding: 1rem;
  }
}

/* Pink button utility */
.btn-pink {
  display: inline-block;
  background: linear-gradient(180deg, var(--pink-500), var(--pink-400));
  color: #fff;
  border: none;
  padding: 0.5rem 0.9rem;
  border-radius: 10px;
  font-weight: 600;
  box-shadow: 0 8px 20px rgba(255, 77, 166, 0.14);
  transition: transform 160ms ease, box-shadow 160ms ease;
  text-decoration: none;
}

.btn-pink:hover,
.btn-pink:focus {
  transform: translateY(-3px);
  box-shadow: 0 14px 36px rgba(255, 77, 166, 0.18);
}

/* Change unordered list bullets to use the ✧ symbol (U+2727) */
ul {
  list-style-type: "\2727";
}

ul li {
  padding-left: 0.3em;
}

ul li::marker {
  color: var(--pink-500);
}

/* Contact form */
.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  padding: 0.75em 1em;
  font-size: 1rem;
  border-radius: 6px;
  border: 1px solid #e0bcd5;
  background: #fff;
  font-family: "Degular", Inter, system-ui, -apple-system, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
  margin-top: 0;
}

.contact-form label {
  display: block;
  margin-top: 1em;
  margin-bottom: 0.25em;
}

/* 404 Page */
.not-found-container {
  min-height: 70vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.not-found-container h1 {
  font-size: 6rem;
  color: var(--pink-400, #ff7ab8);
  margin-bottom: 0em;
  font-family: "Viktor Script", "Vulf Sans", Inter, system-ui, -apple-system,
    "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

.not-found-container p {
  font-size: 1.5rem;
  color: #4b2f3b;
  margin-bottom: 2em;
}