@font-face {
  font-family: "Excalifont";
  src: url("/fonts/excalifont-latin.woff2") format("woff2");
  font-display: swap;
  unicode-range: U+20-7e, U+a0-ff, U+131, U+152-153, U+2bc, U+2c6, U+2da, U+2dc, U+304, U+308, U+2013-2014, U+2018-201a, U+201c-201e, U+2020, U+2022, U+2024-2026, U+2030, U+2039-203a, U+20ac, U+2122, U+2212;
}
@font-face {
  font-family: "Excalifont";
  src: url("/fonts/excalifont-latin-ext.woff2") format("woff2");
  font-display: swap;
  unicode-range: U+100-130, U+132-137, U+139-149, U+14c-151, U+154-17e, U+192, U+1fc-1ff, U+218-21b, U+237, U+1e80-1e85, U+1ef2-1ef3, U+2113;
}

:root {
  --ink: #111;
  --paper: #fff;
  --orange: #ff6a00;
  --blue: #0b5fe6;
  --sky: #5ccbf2;
  --font: "Excalifont", "Comic Sans MS", "Chalkboard SE", cursive;
  /* nieregularne zaokrąglenia = efekt rysowanej ręcznie ramki */
  --wobbly: 255px 15px 225px 15px / 15px 225px 15px 255px;
  --wobbly-2: 15px 255px 15px 225px / 225px 15px 255px 15px;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  min-height: 100vh;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: 1.2rem;
  line-height: 1.4;
  display: flex;
  justify-content: center;
}

.page {
  width: 100%;
  max-width: 30rem;
  padding: 2.5rem 1.25rem 3rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.logo {
  width: 9rem;
  height: 9rem;
  border-radius: 50%;
  display: block;
  margin: 0 auto;
}

h1 {
  font-size: clamp(1.6rem, 7vw, 2.2rem);
  font-weight: 400;
  margin: 0.75rem 0 0;
  line-height: 1.15;
}

.squiggle {
  display: block;
  width: 12rem;
  height: 14px;
  margin: 0.35rem auto 0;
  color: var(--orange);
}

.card {
  width: 100%;
  margin-top: 2.25rem;
  padding: 1.5rem 1.25rem 1.5rem;
  border: 2.5px solid var(--ink);
  border-radius: var(--wobbly);
}

.card h2 {
  font-size: 1.9rem;
  font-weight: 400;
  margin: 0 0 1rem;
}

.cover {
  width: 100%;
  max-width: 15rem;
  aspect-ratio: 1;
  height: auto;
  display: block;
  margin: 0 auto;
  border: 2.5px solid var(--ink);
  border-radius: var(--wobbly-2);
  transform: rotate(-1.5deg);
}

.listen {
  margin: 1.5rem 0 0.75rem;
  font-size: 1.35rem;
}

.links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.9rem;
}

.btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-height: 3.4rem;
  padding: 0.6rem 1rem;
  font-size: 1.3rem;
  color: var(--ink);
  text-decoration: none;
  background: var(--paper);
  border: 2.5px solid var(--ink);
  border-radius: var(--wobbly);
  box-shadow: 4px 4px 0 var(--ink);
  transition: transform 0.12s ease, box-shadow 0.12s ease, background 0.12s ease;
}
.links li:nth-child(even) .btn { border-radius: var(--wobbly-2); }

.btn:hover {
  transform: translate(-2px, -2px) rotate(-0.6deg);
  box-shadow: 6px 6px 0 var(--orange);
}
.btn:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--ink); }
.btn:focus-visible { outline: 3px dashed var(--blue); outline-offset: 4px; }

.btn--spotify:hover { background: #e9fbef; }
.btn--youtube:hover { background: #ffecec; }
.btn--instagram:hover { background: #fff1e6; }

.icon { width: 1.8rem; height: 1.8rem; flex: none; }

.contact {
  margin-top: 2.5rem;
}
.contact h2 {
  font-size: 1.35rem;
  font-weight: 400;
  margin: 0 0 0.4rem;
}
.contact a {
  color: var(--blue);
  font-size: 1.3rem;
  text-decoration: none;
  background-image: linear-gradient(var(--sky), var(--sky));
  background-repeat: no-repeat;
  background-size: 100% 0.35em;
  background-position: 0 92%;
  padding: 0 0.15em;
}
.contact a:hover { background-size: 100% 100%; color: var(--ink); }

.bubbles { position: fixed; inset: 0; pointer-events: none; z-index: -1; }

@media (prefers-reduced-motion: reduce) {
  .btn, .contact a { transition: none; }
}
