/* Custom Global Styles for waldemar-krucinski.com (vir2ose) */

:root {
  --gold-primary: #928f51;
  --gold-light: #d6c587;
  --gold-highlight: #fff2ba;
  --gold-dark: #5e5428;
  --gold-shadow: rgba(146, 143, 81, 0.35);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #0a0a0a;
}
::-webkit-scrollbar-thumb {
  background: #262626;
  border-radius: 2px;
}
::-webkit-scrollbar-thumb:hover {
  background: #928f51;
}

/* Glassmorphic Header with Soft Golden Dust Edge */
.glass-header {
  background: linear-gradient(180deg, rgba(8, 8, 8, 0.72) 0%, rgba(10, 10, 10, 0.45) 80%, rgba(10, 10, 10, 0.15) 100%);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: none;
  position: fixed;
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.9);
  transition: all 0.4s ease;
}

/* Subtle Golden Dust / Granular Shimmer Glow at the bottom edge */
.glass-header::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: radial-gradient(ellipse at center, rgba(214, 197, 135, 0.5) 0%, rgba(146, 143, 81, 0.3) 40%, rgba(146, 143, 81, 0.08) 75%, transparent 100%);
  filter: blur(0.6px);
  pointer-events: none;
}

.glass-header.scrolled {
  background: linear-gradient(180deg, rgba(8, 8, 8, 0.96) 0%, rgba(10, 10, 10, 0.85) 100%);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 16px 40px -5px rgba(0, 0, 0, 0.95);
}

.glass-header.scrolled::after {
  height: 2px;
  background: radial-gradient(ellipse at center, rgba(214, 197, 135, 0.65) 0%, rgba(146, 143, 81, 0.4) 45%, rgba(146, 143, 81, 0.1) 80%, transparent 100%);
  filter: blur(0.6px);
}

/* Apps Dropdown Menu */
.apps-dropdown {
  position: relative;
}
.apps-dropdown-menu {
  position: absolute;
  top: 100%;
  right: 0;
  width: 290px;
  background: rgba(12, 12, 12, 0.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(146, 143, 81, 0.35);
  border-radius: 6px;
  padding: 10px;
  margin-top: 10px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.9), 0 0 20px rgba(146, 143, 81, 0.15);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 60;
}
.apps-dropdown:hover .apps-dropdown-menu,
.apps-dropdown:focus-within .apps-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.apps-dropdown-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 4px;
  color: #e5e5e5;
  transition: all 0.2s ease;
  border: 1px solid transparent;
}
.apps-dropdown-item:hover {
  background: rgba(146, 143, 81, 0.15);
  border-color: rgba(146, 143, 81, 0.3);
  color: #d6c587;
  transform: translateX(4px);
}

/* Hero Background - Desktop Wide Landscape */
.hero-bg {
  background-image: url('assets/images/banner_hero.jpg');
  background-size: cover;
  background-position: 96% center;
  background-attachment: fixed;
  background-repeat: no-repeat;
  background-color: #050505;
}

@media (min-width: 1440px) {
  .hero-bg {
    background-size: 100% auto;
    background-position: right 30%;
  }
}

@media (max-width: 1024px) {
  .hero-bg {
    background-attachment: scroll;
    background-position: 85% center;
    background-size: cover;
  }
}

/* Smartphone & Tablet Portrait - Uses dedicated high-res portrait art banner_hero_mobile.png */
@media (max-width: 768px) {
  .hero-bg {
    background-image: url('assets/images/banner_hero_mobile.png');
    background-attachment: scroll;
    background-position: center top;
    background-size: 100% auto;
    background-repeat: no-repeat;
  }
}

/* Real Metallic Gold Effect with Contour & Glanz */
.gold-metallic-text {
  background: linear-gradient(180deg, #fff5cc 0%, #e0ce8c 22%, #b59f5b 45%, #928f51 54%, #6b5f2a 85%, #4a411a 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.9)) drop-shadow(0 0 14px rgba(146, 143, 81, 0.35));
}

/* Gold Text Styling */
.text-gold {
  color: #928f51;
}

/* Gold Bevel & Relief Button with 54% Contour - Minimal subtle rounded corners (almost square/studio tech) */
.cta-gold-button {
  background: linear-gradient(180deg, #e2d294 0%, #b8a364 25%, #928f51 54%, #6e642c 88%, #524a1f 100%);
  color: #0d0d0d;
  box-shadow: 0 4px 18px rgba(146, 143, 81, 0.4), inset 0 1px 1px rgba(255, 255, 255, 0.8), inset 0 -2px 3px rgba(0, 0, 0, 0.6);
  border: 1px solid #cfbe77;
  border-radius: 4px !important;
  position: relative;
  overflow: hidden;
}
.cta-gold-button:hover {
  background: linear-gradient(180deg, #f0e2a8 0%, #c7b373 25%, #a3a05c 54%, #7d7232 88%, #5e5524 100%);
  box-shadow: 0 6px 25px rgba(146, 143, 81, 0.65), inset 0 1px 2px rgba(255, 255, 255, 0.95);
  transform: translateY(-2px);
}

/* Social Icon Buttons - subtle 4px corners */
.social-icon-btn {
  width: 40px;
  height: 40px;
  border-radius: 4px;
  background: rgba(23, 23, 23, 0.65);
  border: 1px solid rgba(146, 143, 81, 0.35);
  color: #e5e5e5;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  backdrop-filter: blur(6px);
}
.social-icon-btn:hover {
  transform: translateY(-2px) scale(1.05);
  border-color: #928f51;
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(146, 143, 81, 0.4);
}

/* Partner Buttons - Subtle minimal 4px rounded corners */
.partner-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px;
  border-radius: 4px !important;
  background: rgba(23, 23, 23, 0.8);
  border: 1px solid rgba(146, 143, 81, 0.35);
  color: #f5f5f5;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.03em;
  transition: all 0.3s ease;
  backdrop-filter: blur(6px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}
.partner-btn:hover {
  background: linear-gradient(180deg, #e2d294 0%, #928f51 54%, #5e5428 100%);
  color: #0a0a0a;
  border-color: #e2d294;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(146, 143, 81, 0.45);
}
.partner-btn:hover i {
  color: #0a0a0a !important;
}

/* Secondary Button with minimal 4px corners */
.btn-secondary {
  border-radius: 4px !important;
  border: 1px solid rgba(146, 143, 81, 0.45);
  background: rgba(15, 15, 15, 0.7);
  transition: all 0.3s ease;
}
.btn-secondary:hover {
  background: rgba(146, 143, 81, 0.2);
  border-color: #928f51;
  color: #ffffff;
  transform: translateY(-2px);
}

/* Audio Player Visualizer Bars */
.v-bar {
  width: 3px;
  height: 4px;
  background: #928f51;
  border-radius: 1px;
  transition: height 0.15s ease;
}

.is-playing .v-bar {
  animation: bounceBar 1.2s infinite ease-in-out;
}
.is-playing .v-bar:nth-child(1) { animation-delay: 0.1s; }
.is-playing .v-bar:nth-child(2) { animation-delay: 0.4s; }
.is-playing .v-bar:nth-child(3) { animation-delay: 0.2s; }
.is-playing .v-bar:nth-child(4) { animation-delay: 0.6s; }
.is-playing .v-bar:nth-child(5) { animation-delay: 0.3s; }
.is-playing .v-bar:nth-child(6) { animation-delay: 0.5s; }
.is-playing .v-bar:nth-child(7) { animation-delay: 0.2s; }
.is-playing .v-bar:nth-child(8) { animation-delay: 0.7s; }
.is-playing .v-bar:nth-child(9) { animation-delay: 0.4s; }
.is-playing .v-bar:nth-child(10) { animation-delay: 0.1s; }
.is-playing .v-bar:nth-child(11) { animation-delay: 0.5s; }
.is-playing .v-bar:nth-child(12) { animation-delay: 0.3s; }

@keyframes bounceBar {
  0%, 100% { height: 4px; }
  50% { height: 22px; background: #d6c587; }
}

/* Playlist Item in Audio Player */
.playlist-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.2s ease;
  background: rgba(23, 23, 23, 0.4);
  border: 1px solid transparent;
}
.playlist-item:hover {
  background: rgba(38, 38, 38, 0.7);
  border-color: rgba(146, 143, 81, 0.3);
}
.playlist-item.active {
  background: rgba(146, 143, 81, 0.18);
  border-color: #928f51;
}
.playlist-item.active .track-name {
  color: #d6c587;
  font-weight: 600;
}
