
* { box-sizing: border-box; }
html,body { height:100%; width:100%; margin:0; padding:0; font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial; background: #040404; color: #fff; -webkit-font-smoothing:antialiased; -moz-osx-font-smoothing:grayscale; }


.site-header { text-align:center; padding:36px 18px 6px; }
.site-header h1 { margin:0 0 6px; font-size:28px; letter-spacing: -0.6px; }
.subtitle { margin:0; color:rgba(255,255,255,0.66); font-size:13px; }


.ipod-grid-wrap { padding: 28px; max-width:1200px; margin: 12px auto 48px; }
.ipod-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 22px;
}


.ipod {
  display:flex;
  flex-direction:column;
  justify-content:space-between;
  align-items:stretch;
  text-decoration:none;
  color:inherit;
  width:100%;
  min-height:360px;
  border-radius:28px;
  padding:18px;
  position:relative;
  overflow:hidden;
  transition: box-shadow .18s ease;
  
  box-shadow:
    inset 0 6px 20px rgba(255,255,255,0.06),
    0 14px 28px rgba(0,0,0,0.6);
}


.screen {
  height: 160px;
  border-radius: 10px;
  overflow: hidden;
  background: #000;
  box-shadow: inset 0 -10px 30px rgba(0,0,0,0.55);
  display:flex;
  align-items:center;
  justify-content:center;
}


.screen iframe {
  width:100%;
  height:100%;
  border:0;
  display:block;
}


.ipod-footer {
  margin-top: 14px;
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:12px;
}


.album-name {
  font-size:14px;
  text-align:center;
  padding:6px 8px;
  color: rgba(255,255,255,0.98);
  width:100%;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}


.wheel {
  width: 132px;
  height: 132px;
  border-radius: 50%;
  background: linear-gradient(180deg, rgba(255,255,255,0.95), rgba(240,240,240,0.92));
  position:relative;
  box-shadow: inset 0 6px 18px rgba(0,0,0,0.12), 0 8px 18px rgba(0,0,0,0.45);
  display:flex;
  align-items:center;
  justify-content:center;
}


.inner-button {
  width:44px;
  height:44px;
  border-radius:50%;
  background: linear-gradient(180deg,#f4f4f4,#e6e6e6);
  display:flex;
  align-items:center;
  justify-content:center;
  color:#222;
  font-size:18px;
  box-shadow: inset 0 3px 6px rgba(0,0,0,0.15);
}


.wheel-label {
  position:absolute;
  font-size:12px;
  font-weight:600;
  color:#222;
  opacity:0.85;
  pointer-events:none;
  user-select:none;
}
.wheel-label.top { top:10px; left:50%; transform:translateX(-50%); }
.wheel-label.left { left:12px; top:50%; transform:translateY(-50%); }
.wheel-label.right { right:12px; top:50%; transform:translateY(-50%); }
.wheel-label.bottom { bottom:10px; left:50%; transform:translateX(-50%); }


.ipod::before {
  content:"";
  position:absolute;
  inset:0;
  border-radius:28px;
  background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.01));
  pointer-events:none;
}


.ipod.red    { background: linear-gradient(180deg,#c40000,#ff4d4d); }
.ipod.purple { background: linear-gradient(180deg,#3c0060,#7b2cbf); }
.ipod.gold   { background: linear-gradient(180deg,#d6a33b,#b37b18); }
.ipod.green  { background: linear-gradient(180deg,#0c6b48,#054c32); }
.ipod.neon   { background: linear-gradient(180deg,#ff007f,#ff60b6); }
.ipod.pink   { background: linear-gradient(180deg,#ff4dd2,#ff91e6); }
.ipod.orange { background: linear-gradient(180deg,#ce7a00,#ffb24d); }
.ipod.grey   { background: linear-gradient(180deg,#4b4b4b,#222222); }
.ipod.blue   { background: linear-gradient(180deg,#123d6b,#1565c0); }
.ipod.sky    { background: linear-gradient(180deg,#57a7ff,#1a7ed6); }


.ipod:focus {
  outline: 3px solid rgba(255,255,255,0.12);
  outline-offset: 4px;
}

.site-footer { text-align:center; color:rgba(255,255,255,0.6); padding:18px 0 40px; font-size:13px; }


@media (max-width:960px){
  .ipod { min-height:320px; }
  .screen { height:150px; }
}
@media (max-width:520px){
  .ipod-grid { grid-template-columns: repeat(auto-fit, minmax(160px,1fr)); gap:14px; }
  .wheel { width:112px; height:112px; }
  .inner-button { width:40px; height:40px; font-size:16px; }
  .screen { height:120px; }
  .album-name { font-size:12px; }
}
