/* 
  Premium Design System 
  Focus: Modern, Sleek, Glassmorphism 
*/

:root {
  --bg-color: #050505;
  --accent-primary: #7c4dff;
  --accent-secondary: #00e5ff;
  --text-main: #ffffff;
  --text-dim: #a0a0a0;
  --glass-bg: rgba(255, 255, 255, 0.03);
  --glass-border: rgba(255, 255, 255, 0.1);
  --surface-color: #111111;
  --transition-smooth: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  --font-main: 'Outfit', sans-serif;
}

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

body {
  background-color: var(--bg-color);
  color: var(--text-main);
  font-family: var(--font-main);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Base Gradient Background */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(circle at 20% 20%, rgba(124, 77, 255, 0.15), transparent 40%),
    radial-gradient(circle at 80% 80%, rgba(0, 229, 255, 0.1), transparent 40%);
  z-index: -1;
}

/* Typography */
h1, h2, h3 {
  font-weight: 700;
  letter-spacing: -0.02em;
}

.gradient-text {
  background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Fullscreen Media System */
.fullscreen-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: #000;
  overflow: hidden;
  z-index: 10;
  cursor: pointer;
}

.media-element {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  pointer-events: none;
}

.media-element.active {
  opacity: 1;
  pointer-events: auto;
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.4);
  transition: opacity 0.5s ease;
  z-index: 20;
}

.fullscreen-container:hover .overlay {
  background: rgba(0, 0, 0, 0.2);
}

.overlay.hidden {
  opacity: 0;
  pointer-events: none;
}

/* Premium Popup Styles */
.glass-popup {
  position: absolute;
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  color: var(--text-main);
  font-size: 0.9rem;
  max-width: 400px;
  width: 90%;
  z-index: 40;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
  transition: var(--transition-smooth);
}

.glass-popup.top-right {
  top: 2rem;
  right: 2rem;
}

.glass-popup.hidden {
  opacity: 0;
  transform: translateY(-20px);
  pointer-events: none;
}

/* Interactive Hotspot (Red Dot) */
.hotspot {
  position: absolute;
  width: 40px;
  height: 40px;
  z-index: 50;
  cursor: pointer;
  /* Position: 70px rechts von der Mitte */
  top: 50%;
  left: calc(50% + 70px);
  transform: translate(-50%, -50%);
  transition: var(--transition-smooth);
}

.red-dot {
  background: #ff0000;
  border-radius: 50%;
  box-shadow: 0 0 15px rgba(255, 0, 0, 0.8);
}

.pulse {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  background: rgba(255, 0, 0, 0.4);
  border-radius: 50%;
  animation: pulse-ring 2s infinite;
}

@keyframes pulse-ring {
  0% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.8;
  }
  100% {
    transform: translate(-50%, -50%) scale(2.5);
    opacity: 0;
  }
}

.hotspot:hover {
  transform: translate(-50%, -50%) scale(1.2);
  filter: brightness(1.2);
}

.hotspot.hidden {
  opacity: 0;
  pointer-events: none;
}

/* Footer position adjustment for fullscreen content */
footer {
  position: fixed;
  bottom: 0;
  width: 100%;
  z-index: 30;
  background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
  border-top: none;
  padding: 2rem 0;
}

/* Footer */
footer {
  padding: 4rem 0;
  border-top: 1px solid var(--glass-border);
  text-align: center;
  color: var(--text-dim);
}
