:root {
  --text: #f8e7c8;
  --gold: #f2b84b;
  --orange: #d86c2d;
  --cream: #fff3d7;
  --brown: #7a1400;
  --brown-dark: #4b0f04;
  --shadow: 0 18px 38px rgba(0, 0, 0, 0.35);
}

@font-face {
  font-family: "Gladolia";
  src: url("assets/gladolia.otf");
}

* {
  box-sizing: border-box;
}

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

body {
  color: var(--text);
  font-family: Georgia, serif;
  background: url("assets/bg.png") repeat-y center top;
  background-size: 100% auto;
}

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

#menu {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--brown);
  color: #ff9a00;
  display: flex;
  justify-content: space-around;
  align-items: center;
  gap: 8px;
  padding: 12px 8px;
  font-size: 14px;
  border-bottom: 2px solid rgba(0, 0, 0, 0.25);
}

#menu a {
  white-space: nowrap;
}

.page {
  width: min(100%, 375px);
  margin: 0 auto;
  padding: 6px 0 28px;
  position: relative;
}

#banner {
  position: relative;
  text-align: center;
  margin-top: 4px;
}

#banner img {
  width: 100%;
  display: block;
}

.title {
  font-family: "Gladolia", Georgia, serif;
  font-size: 64px;
  line-height: 1;
  color: #fff4cf;
  position: absolute;
  left: 50%;
  top: 34%;
  transform: translate(-50%, -50%);
  margin: 0;
  white-space: nowrap;
  text-shadow:
    3px 3px 0 #ff5c39,
    6px 6px 0 #ff9a00,
    9px 9px 0 #ffd24a,
    12px 12px 0 #5ca7da;
  z-index: 5;
}

.subtitle {
  position: absolute;
  left: 50%;
  top: 66%;
  transform: translateX(-50%);
  width: 90%;
  margin: 0;
  text-align: center;
  font-family: Georgia, serif;
  font-size: 13px;
  line-height: 1.35;
  color: #fff1cf;
  text-shadow: 1px 1px 0 rgba(0,0,0,0.7);
  z-index: 5;
}

#nowplaying {
  margin-top: 8px;
  position: relative;
  min-height: 340px;
}

.record-wrap {
  position: relative;
  width: 235px;
  margin: 0 40px 0 auto;
  z-index: 3;
}

.album {
  position: relative;
  z-index: 3;
  width: 180px;
}

.album img {
  display: block;
  width: 100%;
  border-radius: 4px;
  box-shadow: var(--shadow);
}

.vinyl-shell {
  position: absolute;
  right: -30px;
  top: 8px;
}

.vinyl {
  width: 170px;
  height: 170px;
  border-radius: 50%;
  overflow: hidden;
  background: url("assets/vinyl.png") center center / cover no-repeat;
  box-shadow: -10 8px 20px rgba(0, 0, 0, 0.42);
  transform-origin: center center;
}

.vinyl.playing {
  animation: spin 2.2s linear infinite;
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}


.song-info {
  text-align: center;
  margin-top: 12px;
  position: relative;
  z-index: 3;
  padding-left: 180px;
}

.song-info h2 {
  margin: 0;
  font-size: 26px;
  line-height: 1.1;
  color: var(--cream);
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}

.song-info p {
  margin: 6px 0 0;
  font-size: 15px;
  color: #f2d7ba;
}

#visualizer-area {
  position: absolute;
  left: 0;
  top: -30px;
  width: 100%;
  z-index: 5;
  pointer-events: none;
}

.giulia-wrapper {
  position: relative;
  width: 210px;
  margin-left: -10px;
}

.giulia {
  display: block;
  width: 100%;
  position: relative;
  z-index: 2;
}

#visualizer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 3;
  pointer-events: none;
  mix-blend-mode: screen;
  opacity: 0.72;
}

#player-section {
  margin-top: 10px;
  position: relative;
  z-index: 2;
}

.player-frame {
  width: calc(100% - 24px);
  margin: 0 auto;
  background: linear-gradient(180deg, rgba(74, 58, 20, 0.88), rgba(35, 27, 9, 0.88));
  border: 3px solid #8f8157;
  box-shadow: var(--shadow);
  padding: 10px;
}

.player-controls {
  display: flex;
  gap: 14px;
  justify-content: center;
  align-items: center;
  margin-bottom: 10px;
}

.player-controls button {
  min-width: 66px;
  border: 2px solid #8e835d;
  background: rgba(38, 35, 24, 0.95);
  color: #f4e7b8;
  padding: 10px 12px;
  cursor: pointer;
  font-family: inherit;
  font-size: 14px;
}

.track-list {
  display: grid;
  gap: 10px;
  max-height: 340px;
  overflow: auto;
  background: rgba(15, 15, 10, 0.76);
  padding: 10px;
}

.track-btn {
  width: 100%;
  border: 2px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 243, 215, 0.04);
  color: var(--text);
  padding: 12px 14px;
  text-align: left;
  cursor: pointer;
  font-size: 14px;
  font-family: inherit;
}

.track-btn strong {
  display: block;
  font-size: 18px;
  margin-bottom: 4px;
}

.track-btn small {
  font-size: 13px;
  color: #f1dfc5;
}

.track-btn.active {
  background: rgba(242, 184, 75, 0.14);
  border-color: var(--gold);
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
.mobile-note {
  font-size: 10px;
  text-align: center;
  color: #ffb65a;
  background: #3a0f00;
  padding: 3px 0;
  letter-spacing: 1px;
}

.subpage {
  width: min(100%, 375px);
  margin: 0 auto;
  padding: 18px 14px 28px;
}

.subpage-title {
  font-family: "Gladolia", Georgia, serif;
  font-size: 52px;
  line-height: 1;
  color: #fff4cf;
  text-align: center;
  margin: 12px 0 18px;
  text-shadow:
    3px 3px 0 #ff5c39,
    6px 6px 0 #ff9a00,
    9px 9px 0 #ffd24a,
    12px 12px 0 #5ca7da;
}

.subpage-card {
  background: rgba(58, 28, 12, 0.78);
  border: 2px solid rgba(255, 228, 173, 0.18);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.28);
  padding: 18px 16px;
  text-align: center;
  color: #fff4dd;
}

.subpage-card p {
  font-size: 17px;
  line-height: 1.6;
  margin: 0 0 14px;
  color: #fff0d6;
}

.subpage-card a {
  color: #ffd26a;
}

.subpage-card a:hover {
  color: #fff4cf;
}

.thumbnail {
  width: 200px;
  height: auto;
  display: block;
  margin: 14px auto 0;
}

.image-link {
  display: inline-block;
}

.link-list-page {
  list-style: none;
  padding: 0;
  margin: 14px 0 0;
  display: grid;
  gap: 12px;
}

.link-list-page li {
  font-size: 17px;
  line-height: 1.5;
}
.show-gallery{
  display:grid;
  grid-template-columns:1fr;
  gap:14px;
  margin-top:14px;
  max-width:320px;
  margin-left:auto;
  margin-right:auto;
}

.show-gallery img{
  width:100%;
  height:auto;
  display:block;
  border:2px solid rgba(255,230,180,0.18);
  box-shadow:0 10px 20px rgba(0,0,0,0.28);
}
.show-video-wrap{
  max-width:320px;
  margin:14px auto 0 auto;
}

.show-video{
  width:100%;
  height:auto;
  display:block;
  border:2px solid rgba(255,230,180,0.18);
  box-shadow:0 10px 20px rgba(0,0,0,0.28);
  background:#000;
}