/* ============================================================
   glysstyle.css — glyssna's one and only stylesheet
   Load this in every page. No Bootstrap needed.
   ============================================================ */

@font-face {
  font-family: 'W95F';
  src: url(https://glyssna.neocities.org/w95f.woff2);
}

/* ── 1. Reset / override Neocities defaults ──────────────────
   Neocities injects style.css automatically. These rules
   override every rule in it so it can't interfere.           */

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

html, body {
  margin: 0;
  padding: 0;
  /* Override Neocities: font-size: 170% and font-family: Helvetica */
  font-size: 100%;
  font-family: 'W95F', sans-serif;
  background-image: url(paper2.png);
  background-color: #fff; /* set your actual background here */
  color: #000;            /* set your actual text colour here */
}

/* Override Neocities' .topnav, left-img, etc. — just neutralise them */
.topnav { display: none; }

/* Override Neocities' img.displayed (we use our own centering) */
img.displayed {
  display: block;
  margin: 0 auto;
  max-width: 100%;
}

/* Override Neocities' .overlay so it doesn't accidentally apply */
.overlay { display: none; }


/* ── 2. Base layout ──────────────────────────────────────────*/

body {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 100vh;
}

a {
  text-decoration: none;
  color: inherit;
}




/* ── 3. Header ───────────────────────────────────────────────
   Shared across all pages.                                   */

.header {
  width: 100%;
  display: flex;
  align-items: center;
  padding: 10px 16px;
  gap: 12px;
  flex-shrink: 0;
  position: sticky;
  top: 0;
  z-index: 100;
  background: #000; /* keeps header opaque when scrolling */
}

.header .header-right {
  margin-left: auto;
}

.header img {
  display: block;
}

@media (max-width: 600px) {
  .header img[alt="glyssna"]       { width: 140px; }
  .header img[alt="spinning star"] { width: 44px; }
  .header img[alt="Instagram"]     { width: 54px; }
}


/* ── 4. Page title ───────────────────────────────────────────
   Used on playlists, events, reviews, etc.                   */

.page-title {
  font-family: 'W95F', sans-serif;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: bold;
  letter-spacing: 0.08em;
  text-transform: lowercase;
  text-align: center;
  margin: 32px 0 40px;
}


/* ── 5. Index page — ring layout ─────────────────────────────
   Only applies on index.html (overflow: hidden stops scroll). */

body.page-index {
  overflow: hidden;
}

.ring-container {
  position: relative;
  --spin-size: 320px;
  --nav-size:  88px;
  --ring-r:    220px;

  width:  calc(2 * (var(--ring-r) + var(--nav-size) / 2));
  height: calc(2 * (var(--ring-r) + var(--nav-size) / 2));

  flex: 1 1 auto;
  max-height: calc(100vh - 90px);
}

.spin-img {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: var(--spin-size);
  height: auto;
  pointer-events: none;
}

.nav-item {
  position: absolute;
  top: 50%;
  left: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0px;
  text-decoration: none;
}

.nav-item img {
  width: var(--nav-size);
  height: var(--nav-size);
  object-fit: contain;
  transition: transform 0.18s ease;
  display: block;
}

.nav-item:hover img {
  transform: scale(1.14);
}

.nav-label {
  font-size: 1.2rem;
  font-weight: bold;
  letter-spacing: 0.04em;
  text-transform: lowercase;
  text-align: center;
  color: inherit;
}

@media (max-width: 600px) {
  .ring-container {
    --spin-size: 170px;
    --nav-size:  60px;
    --ring-r:    140px;
  }
  .nav-label { font-size: 0.58rem; }
}

@media (max-width: 380px) {
  .ring-container {
    --spin-size: 140px;
    --nav-size:  52px;
    --ring-r:    118px;
  }
}


/* ── 6. About page ───────────────────────────────────────────*/

.about-content {
  max-width: 900px;
  width: 90%;
  margin: 0 auto;
  text-align: center;
  line-height: 1.75;
  font-size: 1.5rem;
  padding-bottom: 60px;
}

.about-content ul {
  display: inline-block;
  text-align: left;
  margin: 12px 0 20px;
  padding-left: 1.4em;
}

.about-content li {
  margin-bottom: 6px;
}

.about-divider {
  margin: 40px auto;
  opacity: 0.4;
  width: 80px;
}


/* ── 7. Playlists page ───────────────────────────────────────*/



/* ── Card grid ── */
.playlist-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 32px;
  width: min(960px, 92vw);
  margin: 0 auto;
}

/* ── Individual card ── */
.playlist-card {
  display: flex;
  flex-direction: column;
  border-radius: 4px;
  overflow: hidden;
  opacity: 100;
  transform: translateY(18px);
  /*animation: fadeUp 0.45s ease forwards;*/
  /*transition: transform 0.22s ease, box-shadow 0.22s ease;*/
}

/*.playlist-card:hover {*/
/*  transform: translateY(-4px);*/
/*}*/

/* Stagger card animations */
.playlist-card:nth-child(1) { animation-delay: 0.1s; }
.playlist-card:nth-child(2) { animation-delay: 0.2s; }
.playlist-card:nth-child(3) { animation-delay: 0.3s; }
.playlist-card:nth-child(4) { animation-delay: 0.4s; }

/* Cover art */
.card-cover {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-style: solid;
}

.card-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}

/*.playlist-card:hover .card-cover img {*/
/*  transform: scale(1.04);*/
/*}*/

/* Card body */
.card-body {
  padding: 16px 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  background-color: black;
  /* background inherits from body / style.css */
}

.card-title {
  font-family: 'W95F', sans-serif;
  font-size: 1rem;
  letter-spacing: 0.04em;
  text-transform: lowercase;
  margin: 0;
  color: white;
}

/* Stream buttons */
.stream-links {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.stream-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 14px;
  border-radius: 999px;
  font-family: 'W95F', sans-serif;
  font-size: 0.68rem;
  letter-spacing: 0.05em;
  text-transform: lowercase;
  text-decoration: none;
  transition: opacity 0.15s ease, transform 0.15s ease;
  white-space: nowrap;
}

.stream-btn:hover {
  opacity: 0.82;
  transform: scale(1.04);
}

.stream-btn svg {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
  fill: currentColor;
}

/* Spotify — green */
.btn-spotify {
  background: #1DB954;
  color: #000;
}

/* Tidal — black/white */
.btn-tidal {
  background: #000;
  color: #fff;
  border: 1px solid #444;
}

/* ── Animation ── */
/*@keyframes fadeUp {*/
/*  to { opacity: 1; transform: translateY(0); }*/
/*}*/

/* ── Mobile ── */
@media (max-width: 600px) {
  .playlist-grid {
    grid-template-columns: 1fr 1fr;
    gap: 18px;
  }

  .card-body {
    padding: 10px 12px 14px;
    gap: 10px;
  }

  .card-title {
    font-size: 0.8rem;
  }

  .stream-btn {
    font-size: 0.6rem;
    padding: 5px 10px;
    gap: 5px;
  }

  .stream-btn svg {
    width: 12px;
    height: 12px;
  }
}

@media (max-width: 380px) {
  .playlist-grid {
    grid-template-columns: 1fr;
  }
}
    

/* ── 8. Animations ───────────────────────────────────────────*/

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}