/* Tirol 3D - Custom Styles & Glassmorphism */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800;900&family=Playfair+Display:ital,wght@0,600;0,700;0,900;1,600&display=swap');

:root {
  --font-sans: 'Plus Jakarta Sans', sans-serif;
  --font-serif: 'Playfair Display', Georgia, serif;
  --austria-red: #ef4444;
}

body {
  font-family: var(--font-sans);
  background-color: #080c14;
  color: #f3f4f6;
  overflow-x: hidden;
}

.font-serif {
  font-family: var(--font-serif);
}

/* --- Brand Logo Lens Effects --- */
.lens-o-wrapper {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.15em;
  height: 1.15em;
  vertical-align: -0.12em;
  margin: 0 0.04em;
}

.lens-outer-ring {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #ff4b4b 0%, #dc2626 50%, #991b1b 100%);
  box-shadow: 0 0 16px rgba(239, 68, 68, 0.75), inset 0 0 8px rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.lens-o-wrapper:hover .lens-outer-ring {
  transform: scale(1.1) rotate(45deg);
  box-shadow: 0 0 25px rgba(239, 68, 68, 0.95), inset 0 0 10px rgba(0, 0, 0, 0.8);
}

.lens-aperture-inner {
  width: 60%;
  height: 60%;
  border-radius: 50%;
  background: #080c14;
  border: 1.5px solid rgba(255, 255, 255, 0.75);
  box-shadow: inset 0 0 6px rgba(0, 200, 255, 0.6), 0 0 8px rgba(0,0,0,0.8);
  position: relative;
  overflow: hidden;
}

.lens-glare {
  position: absolute;
  top: 15%;
  left: 20%;
  width: 35%;
  height: 35%;
  background: rgba(255, 255, 255, 0.85);
  border-radius: 50%;
  filter: blur(0.5px);
}

.lens-center-dot {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 25%;
  height: 25%;
  background: #38bdf8;
  border-radius: 50%;
  box-shadow: 0 0 6px #38bdf8;
}

/* Glassmorphism effects */
.glass-panel {
  background: rgba(15, 23, 42, 0.8);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.glass-card {
  background: rgba(20, 29, 47, 0.65);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.glass-card:hover {
  transform: translateY(-4px);
  border-color: rgba(56, 189, 248, 0.35);
  box-shadow: 0 20px 30px -10px rgba(0, 0, 0, 0.6), 0 0 25px 0 rgba(56, 189, 248, 0.2);
}

/* Austria Red Glowing Accents */
.glow-red-button {
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 50%, #b91c1c 100%);
  box-shadow: 0 0 20px rgba(239, 68, 68, 0.4);
  transition: all 0.3s ease;
}

.glow-red-button:hover {
  box-shadow: 0 0 30px rgba(239, 68, 68, 0.7);
  transform: scale(1.02);
}

.glow-button {
  background: linear-gradient(135deg, #0284c7 0%, #0369a1 50%, #0284c7 100%);
  background-size: 200% auto;
  box-shadow: 0 0 20px rgba(2, 132, 199, 0.4);
  transition: all 0.3s ease;
}

.glow-button:hover {
  background-position: right center;
  box-shadow: 0 0 30px rgba(2, 132, 199, 0.7);
  transform: scale(1.02);
}

.glow-text-gold {
  background: linear-gradient(135deg, #fef08a 0%, #eab308 50%, #ca8a04 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Custom Pannellum 360 Viewer */
#panorama-container {
  width: 100%;
  height: 600px;
  position: relative;
  border-radius: 1.25rem;
  overflow: hidden;
}

@media (max-width: 768px) {
  #panorama-container {
    height: 420px;
  }
}

.pnlm-container {
  background-color: #080c14 !important;
}

.pnlm-load-button {
  background: rgba(239, 68, 68, 0.85) !important;
  border: 2px solid rgba(255, 255, 255, 0.4) !important;
  border-radius: 50% !important;
  box-shadow: 0 0 25px rgba(239, 68, 68, 0.8) !important;
}

/* Pulsing Custom Hotspots */
.custom-hotspot {
  height: 42px;
  width: 42px;
  background: radial-gradient(circle, rgba(239, 68, 68, 0.95) 0%, rgba(185, 28, 28, 0.75) 70%, transparent 100%);
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 0 20px #ef4444;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: pulse-ring 2s infinite cubic-bezier(0.215, 0.61, 0.355, 1);
  transition: transform 0.2s ease;
}

.custom-hotspot:hover {
  transform: scale(1.3);
  box-shadow: 0 0 30px #ef4444, 0 0 50px #b91c1c;
}

.custom-hotspot::after {
  content: '';
  width: 14px;
  height: 14px;
  background-color: #ffffff;
  border-radius: 50%;
  box-shadow: 0 0 10px #ffffff;
}

@keyframes pulse-ring {
  0% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.8); }
  70% { box-shadow: 0 0 0 20px rgba(239, 68, 68, 0); }
  100% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0); }
}

/* Custom Scrollbars */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #080c14; }
::-webkit-scrollbar-thumb { background: #1e293b; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #ef4444; }

/* Equalizer Bars Animation */
.eq-bar {
  display: inline-block;
  width: 3px;
  background: #ef4444;
  border-radius: 2px;
  transition: height 0.2s ease;
}

.playing .eq-bar:nth-child(1) { height: 6px; animation: eqAnim1 0.8s ease-in-out infinite alternate; }
.playing .eq-bar:nth-child(2) { height: 16px; animation: eqAnim2 1.1s ease-in-out infinite alternate 0.2s; }
.playing .eq-bar:nth-child(3) { height: 10px; animation: eqAnim3 0.7s ease-in-out infinite alternate 0.1s; }
.playing .eq-bar:nth-child(4) { height: 18px; animation: eqAnim4 1.3s ease-in-out infinite alternate 0.3s; }
.playing .eq-bar:nth-child(5) { height: 8px; animation: eqAnim5 0.9s ease-in-out infinite alternate 0.15s; }

@keyframes eqAnim1 { 0% { height: 4px; } 100% { height: 14px; } }
@keyframes eqAnim2 { 0% { height: 8px; } 100% { height: 20px; } }
@keyframes eqAnim3 { 0% { height: 3px; } 100% { height: 16px; } }
@keyframes eqAnim4 { 0% { height: 10px; } 100% { height: 22px; } }
@keyframes eqAnim5 { 0% { height: 5px; } 100% { height: 15px; } }

.paused .eq-bar {
  height: 3px !important;
  animation: none !important;
}

/* Audio Player Floating Glow */
.audio-player-glass {
  background: rgba(15, 23, 42, 0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(239, 68, 68, 0.3);
  box-shadow: 0 10px 35px -5px rgba(0, 0, 0, 0.8), 0 0 20px rgba(239, 68, 68, 0.2);
}

