/*
Theme Name: Dave Villano Custom
Theme URI: https://davevillano.com
Author: Dave Villano Music
Author URI: https://davevillano.com
Description: High-performance, bespoke dark glassmorphic theme for Dave Villano Music.
Version: 1.1.0
Text Domain: dave-villano-custom
*/

:root {
  --bg-dark: #090d16;
  --bg-card: rgba(18, 24, 38, 0.7);
  --border-glass: rgba(255, 255, 255, 0.12);
  --accent-amber: #f59e0b;
  --accent-blue: #38bdf8;
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background-color: var(--bg-dark);
  color: var(--text-main);
  font-family: var(--font-family);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow-x: hidden;
}

/* Ambient Background Lighting Orbs */
body::before {
  content: '';
  position: absolute;
  top: 10%;
  left: 15%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.12) 0%, rgba(0,0,0,0) 70%);
  pointer-events: none;
  z-index: 0;
}

body::after {
  content: '';
  position: absolute;
  top: 45%;
  right: 10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.08) 0%, rgba(0,0,0,0) 70%);
  pointer-events: none;
  z-index: 0;
}

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

/* Glassmorphic Card Styling */
.glass-card {
  background: var(--bg-card) !important;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-glass) !important;
  border-radius: 16px;
  padding: 2rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  position: relative;
  z-index: 1;
}

/* Fix Legacy Audio Player / Playlist Box */
.wp-playlist, .mejs-container {
  background: rgba(15, 23, 42, 0.85) !important;
  border: 1px solid var(--border-glass) !important;
  border-radius: 12px !important;
  color: var(--text-main) !important;
  padding: 1rem !important;
  box-shadow: 0 8px 25px rgba(0,0,0,0.4) !important;
}

.wp-playlist-current-item {
  background: transparent !important;
  border-bottom: 1px solid var(--border-glass) !important;
  padding-bottom: 0.75rem !important;
  margin-bottom: 0.75rem !important;
}

.wp-playlist-current-item .wp-playlist-item-title {
  color: var(--accent-amber) !important;
  font-size: 1.1rem !important;
  font-weight: 700 !important;
}

.wp-playlist-item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important;
  color: var(--text-muted) !important;
  padding: 0.6rem 0.8rem !important;
  transition: all 0.2s ease !important;
}

.wp-playlist-item:hover, .wp-playlist-item.wp-playlist-playing {
  background: rgba(255, 255, 255, 0.06) !important;
  color: #fff !important;
}

.mejs-controls {
  background: rgba(0, 0, 0, 0.4) !important;
  border-radius: 8px !important;
}

/* WooCommerce / Store Album Grid Enhancements */
.woocommerce ul.products, ul.products {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)) !important;
  gap: 1.5rem !important;
  margin-top: 1.5rem !important;
}

.woocommerce ul.products li.product, ul.products li {
  background: var(--bg-card) !important;
  border: 1px solid var(--border-glass) !important;
  border-radius: 12px !important;
  padding: 1rem !important;
  text-align: center !important;
  transition: transform 0.25s ease, border-color 0.25s ease !important;
}

.woocommerce ul.products li.product:hover, ul.products li:hover {
  transform: translateY(-4px) !important;
  border-color: rgba(245, 158, 11, 0.4) !important;
}

.woocommerce ul.products li.product img, ul.products li img {
  border-radius: 8px !important;
  box-shadow: 0 4px 15px rgba(0,0,0,0.6) !important;
  margin-bottom: 0.75rem !important;
}

.woocommerce ul.products li.product .button {
  background: var(--accent-amber) !important;
  color: #000 !important;
  font-weight: 700 !important;
  border-radius: 6px !important;
  padding: 0.5rem 1rem !important;
  margin-top: 0.5rem !important;
  display: inline-block !important;
}