/* Groove Crypto Club — page-specific styles.
   The Windows 95 chrome comes from /assets/css/style.css; this file only
   styles the content inside the Groove windows and the side icons. */

/* Start menu "Back to danimim.xyz" link */
.start-menu-link {
  text-decoration: none;
  color: inherit;
}

/* Side icons (right-side call-to-action stack) */
.side-icons {
  position: absolute;
  bottom: 14px;
  right: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.side-icons .desktop-icon {
  height: auto;
  min-height: 120px;
}

/* Hidden YouTube audio engine for the Turntable */
#yt-audio {
  position: fixed;
  left: -9999px;
  top: -9999px;
  width: 200px;
  height: 120px;
}

/* Mini player (shown while the Turntable is minimized) */
.miniplayer {
  position: fixed;
  left: 8px;
  bottom: 44px;
  z-index: 1500;
  display: none;
  align-items: center;
  gap: 8px;
  width: 240px;
  padding: 6px 8px;
  background: #c0c0c0;
  border: 2px outset #c0c0c0;
  box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  cursor: pointer;
}

.miniplayer.active {
  display: flex;
}

.mini-disc {
  position: relative;
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background-color: #181818;
  background-image: repeating-radial-gradient(circle at center, #181818 0 2px, #2a2a2a 2px 3px);
  border: 1px solid #000000;
  animation: tt-spin 2s linear infinite;
  animation-play-state: paused;
}

.mini-disc.spinning {
  animation-play-state: running;
}

.mini-disc::after {
  content: "";
  position: absolute;
  inset: 0;
  margin: auto;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #c0392b;
}

.mini-track {
  flex: 1;
  min-width: 0;
  font-size: 11px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mini-btn {
  flex-shrink: 0;
  width: 26px;
  height: 22px;
  background: #c0c0c0;
  border: 2px outset #c0c0c0;
  cursor: pointer;
  font-family: inherit;
  font-size: 11px;
}

.mini-btn:active {
  border: 2px inset #c0c0c0;
}

/* ===== Videos ===== */
.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 10px;
}

.video-card {
  display: flex;
  flex-direction: column;
  background: #f0f0f0;
  border: 2px inset #c0c0c0;
  padding: 6px;
  text-decoration: none;
  color: #000;
}

.video-card:hover {
  background: #ffffff;
}

.video-card.video-soon {
  opacity: 0.6;
  cursor: default;
}

.video-card.video-soon:hover {
  background: #f0f0f0;
}

.video-thumb {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  background: linear-gradient(135deg, #000080, #1084d0);
  border: 1px solid #808080;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin-bottom: 6px;
}

.video-thumb img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-cta {
  display: block;
  margin-top: auto;
  padding: 4px 6px;
  background: #c0c0c0;
  border: 2px outset #c0c0c0;
  text-align: center;
  font-size: 11px;
  color: #000;
}

.video-card:active .video-cta {
  border: 2px inset #c0c0c0;
}

.video-title {
  font-weight: bold;
  margin-bottom: 2px;
}

.video-desc {
  font-size: 10px;
  color: #404040;
}

/* Language warning note */
.lang-note {
  margin-top: 12px;
  padding: 6px 8px;
  background: #ffffcc;
  border: 1px solid #808080;
  font-size: 10px;
}

/* ===== Newsletter ===== */
.nl-intro {
  margin-bottom: 10px;
}

.nl-subscribe {
  margin-bottom: 14px;
}

.nl-subscribe .btn {
  display: inline-block;
  text-decoration: none;
  color: #000;
  text-align: center;
}

.nl-section-title {
  font-weight: bold;
  border-bottom: 1px solid #808080;
  margin-bottom: 8px;
  padding-bottom: 2px;
}

.nl-date {
  font-size: 10px;
  color: #606060;
  margin-top: 2px;
}

.nl-soon {
  border: 2px inset #c0c0c0;
  background: #ffffff;
  padding: 24px 16px;
  text-align: center;
}

.nl-soon-title {
  font-size: 14px;
  font-weight: bold;
  margin-bottom: 6px;
}

.nl-soon-text {
  font-size: 11px;
  color: #404040;
}

/* ===== Vinyl collection ===== */
.vinyl-intro {
  margin-bottom: 8px;
}

.vinyl-list {
  list-style: none;
}

.vinyl-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
  padding: 6px;
  background: #f0f0f0;
  border: 1px inset #c0c0c0;
  cursor: pointer;
}

.vinyl-list li:hover {
  background: #ffffff;
}

.vinyl-list li:focus {
  outline: 1px dotted #000080;
  outline-offset: -3px;
}

.vinyl-list li.playing {
  background: #000080;
  color: #ffffff;
}

.vinyl-cover {
  width: 38px;
  height: 38px;
  flex-shrink: 0;
  border: 1px solid #808080;
  background: #d8d8d8;
  overflow: hidden;
}

.vinyl-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.vinyl-info {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
}

.vinyl-album {
  font-weight: bold;
}

.vinyl-artist {
  font-size: 10px;
  color: #404040;
}

.vinyl-list li.playing .vinyl-artist {
  color: #c0c0c0;
}

.vinyl-play {
  flex-shrink: 0;
  font-size: 12px;
  color: #008000;
}

.vinyl-list li.playing .vinyl-play {
  color: #00ff66;
}

/* ===== Turntable (flat Windows 95 styling) ===== */
.tt-deck {
  position: relative;
  height: 192px;
  background: #c0c0c0;
  border: 2px inset #c0c0c0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 8px;
}

.tt-cover {
  position: relative;
  flex-shrink: 0;
  width: 132px;
  height: 132px;
  border: 2px inset #c0c0c0;
  background: #2c3e7a;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tt-cover img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tt-cover-name {
  padding: 8px;
  text-align: center;
  font-size: 12px;
  font-weight: bold;
  color: #ffffff;
  text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.4);
}

.tt-platter {
  position: relative;
  width: 168px;
  height: 168px;
  border-radius: 50%;
  background: #585858;
  border: 3px outset #c0c0c0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tt-record {
  position: relative;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background-color: #181818;
  background-image: repeating-radial-gradient(circle at center, #181818 0 3px, #262626 3px 4px);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: tt-spin 2s linear infinite;
  animation-play-state: paused;
}

.tt-record.spinning {
  animation-play-state: running;
}

/* Flat lead-in groove line — asymmetric, so the spin is visible */
.tt-record::after {
  content: "";
  position: absolute;
  top: 5px;
  left: 50%;
  margin-left: -1px;
  width: 3px;
  height: 66px;
  background: #7c7c7c;
}

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

.tt-label {
  position: relative;
  z-index: 1;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #c0392b;
  border: 2px solid #000000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tt-hole {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #c0c0c0;
  border: 1px solid #000000;
}

.tt-arm {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 11px;
  height: 90px;
  background: #c0c0c0;
  border: 2px outset #c0c0c0;
  transform-origin: 50% 9px;
  transform: rotate(-30deg);
}

.tt-arm::before {
  content: "";
  position: absolute;
  top: -14px;
  left: 50%;
  margin-left: -12px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #c0c0c0;
  border: 2px outset #c0c0c0;
}

.tt-arm::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: -4px;
  width: 17px;
  height: 14px;
  background: #909090;
  border: 2px outset #c0c0c0;
}

/* Turntable record picker */
.tt-pick {
  font-weight: bold;
  margin-bottom: 6px;
}

.turntable .vinyl-list {
  max-height: 188px;
  overflow-y: auto;
  border: 2px inset #c0c0c0;
  background: #ffffff;
  padding: 4px;
}

/* Player display (LCD) — shared by the Turntable */
.player-display {
  border: 2px inset #c0c0c0;
  background: #000000;
  padding: 8px;
  margin-bottom: 8px;
}

.player-lcd {
  display: flex;
  gap: 8px;
  align-items: baseline;
  color: #00ff66;
  font-family: "Courier New", monospace;
  font-size: 13px;
  white-space: nowrap;
  overflow: hidden;
}

.player-track-num {
  font-weight: bold;
  flex-shrink: 0;
}

.player-track-title {
  overflow: hidden;
  text-overflow: ellipsis;
}

.player-status {
  margin-top: 4px;
  color: #00cc52;
  font-family: "Courier New", monospace;
  font-size: 10px;
}

.player-controls {
  display: flex;
  gap: 4px;
  margin-bottom: 8px;
}

.player-btn {
  flex: 1;
  padding: 6px 0;
  background: #c0c0c0;
  border: 2px outset #c0c0c0;
  cursor: pointer;
  font-family: inherit;
  font-size: 12px;
}

.player-btn:active,
.player-btn.pressed {
  border: 2px inset #c0c0c0;
  background: #b0b0b0;
}

.player-note {
  font-size: 10px;
  color: #404040;
}

/* ===== Donate ===== */
.donate-intro {
  margin-bottom: 12px;
}

.wallet-item {
  background: #f0f0f0;
  border: 2px inset #c0c0c0;
  padding: 8px;
}

.wallet-chain {
  font-weight: bold;
}

.wallet-note {
  font-size: 10px;
  color: #404040;
  margin-bottom: 6px;
}

.wallet-row {
  display: flex;
  align-items: center;
  gap: 6px;
}

.wallet-address {
  flex: 1;
  min-width: 0;
  overflow-wrap: anywhere;
  background: white;
  border: 2px inset #c0c0c0;
  padding: 3px 5px;
  font-family: "Courier New", monospace;
  font-size: 10px;
}

.wallet-copy {
  flex-shrink: 0;
  min-width: 56px;
}

/* ===== Request form ===== */
.request-intro {
  margin-bottom: 10px;
}

.form-group select {
  width: 100%;
  padding: 2px 4px;
  border: 2px inset #c0c0c0;
  background: white;
  font-family: inherit;
  font-size: 11px;
}

.request-status {
  margin-top: 10px;
  font-size: 11px;
}

.request-status.success {
  padding: 6px 8px;
  background: #e0ffe0;
  border: 1px solid #008000;
}

.request-status.error {
  padding: 6px 8px;
  background: #ffe0e0;
  border: 1px solid #c00000;
}

/* ===== About ===== */
#about-content p {
  margin-bottom: 8px;
}

#about-content .about-photo img {
  object-position: 50% 10%;
}

/* ===== Mobile ===== */
@media (max-width: 768px) {
  .side-icons {
    bottom: 10px;
    right: 10px;
  }
}
