/* iTunes 2001 Nostalgic Styles */

.itunes-window {
  background: linear-gradient(180deg, 
    #f0f0f0 0%, 
    #e0e0e0 50%, 
    #d0d0d0 100%
  );
  box-shadow: 
    0 20px 40px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.8),
    inset 0 -1px 0 rgba(0, 0, 0, 0.2);
}

.itunes-button {
  background: linear-gradient(180deg, #ffffff 0%, #f0f0f0 50%, #e0e0e0 100%);
  border: 1px solid #999;
  box-shadow: 
    0 2px 4px rgba(0, 0, 0, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
  transition: all 0.1s ease;
}

.itunes-button:hover {
  background: linear-gradient(180deg, #f8f8f8 0%, #e8e8e8 50%, #d8d8d8 100%);
}

.itunes-button:active {
  background: linear-gradient(180deg, #d8d8d8 0%, #e8e8e8 50%, #f8f8f8 100%);
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.2);
}

.itunes-small-button {
  background: linear-gradient(180deg, #ffffff 0%, #f0f0f0 50%, #e0e0e0 100%);
  border: 1px solid #999;
  border-radius: 3px;
  box-shadow: 
    0 1px 2px rgba(0, 0, 0, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
  font-size: 10px;
  transition: all 0.1s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.itunes-small-button:hover {
  background: linear-gradient(180deg, #f8f8f8 0%, #e8e8e8 50%, #d8d8d8 100%);
}

.itunes-slider {
  -webkit-appearance: none;
  appearance: none;
  height: 4px;
  background: linear-gradient(180deg, #888 0%, #bbb 100%);
  border: 1px solid #666;
  border-radius: 2px;
  outline: none;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.3);
}

.itunes-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 16px;
  height: 16px;
  background: linear-gradient(180deg, #ffffff 0%, #f0f0f0 50%, #e0e0e0 100%);
  border: 1px solid #999;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 
    0 2px 4px rgba(0, 0, 0, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.itunes-slider::-moz-range-thumb {
  width: 16px;
  height: 16px;
  background: linear-gradient(180deg, #ffffff 0%, #f0f0f0 50%, #e0e0e0 100%);
  border: 1px solid #999;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 
    0 2px 4px rgba(0, 0, 0, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.apple-glow {
  filter: drop-shadow(0 0 20px rgba(255, 255, 255, 0.5));
  animation: pulse 4s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { 
    opacity: 0.9; 
    transform: scale(1);
  }
  50% { 
    opacity: 0.7; 
    transform: scale(1.05);
  }
}

/* Brushed metal texture simulation */
.itunes-window::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 1px,
      rgba(255, 255, 255, 0.1) 1px,
      rgba(255, 255, 255, 0.1) 2px
    ),
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 1px,
      rgba(0, 0, 0, 0.05) 1px,
      rgba(0, 0, 0, 0.05) 2px
    );
  pointer-events: none;
  border-radius: inherit;
}

/* Classic Lucida Grande font simulation */
body {
  font-family: 'Lucida Grande', 'Lucida Sans Unicode', Arial, sans-serif;
  font-size: 11px;
  -webkit-font-smoothing: antialiased;
}

/* Vintage scrollbars */
::-webkit-scrollbar {
  width: 16px;
}

::-webkit-scrollbar-track {
  background: linear-gradient(180deg, #ddd 0%, #eee 100%);
  border: 1px solid #999;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #fff 0%, #f0f0f0 50%, #e0e0e0 100%);
  border: 1px solid #999;
  border-radius: 8px;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #f8f8f8 0%, #e8e8e8 50%, #d8d8d8 100%);
}