/* ====================================================================
   GUNS.LOL & APPLE MINIMAL STYLE - PERFORMANCE OPTIMIZED
   ==================================================================== */

:root {
  --bg-color: #090d16;
  --bg-image: url('/uploads/1794476237979_Animierte_Kuss-Pose_am_Uferpanorama.gif');
  --card-opacity: 0.45;
  --card-blur: 24px;
  --card-bg: rgba(20, 22, 28, var(--card-opacity));
  --card-border: rgba(255, 255, 255, 0.14);
  --border-radius: 24px;
  --accent-color: #ffffff;
  --text-color: #ffffff;
  --icon-color: #ffffff;
  --font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Inter', system-ui, sans-serif;
  --transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html, body {
  width: 100%;
  height: 100%;
  overflow-x: hidden;
}

body {
  font-family: var(--font-family);
  color: var(--text-color);
  background-color: var(--bg-color);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  padding: 24px 16px;
  overflow-x: hidden; /* Fix horizontal scroll bug */
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

/* Prevent ghost dragging on all images and icons */
img, svg {
  -webkit-user-drag: none;
  -khtml-user-drag: none;
  -moz-user-drag: none;
  -o-user-drag: none;
  user-drag: none;
  pointer-events: none;
}

/* Allow normal link clicking */
a svg, button svg, .card-action-btn svg, .floating-vol-btn svg {
  pointer-events: none;
}

a, button {
  -webkit-user-drag: none;
  user-drag: none;
}

/* Accessibility: Skip-Link for Screen Readers / Keyboard Nav */
.skip-link {
  position: absolute;
  top: -100px;
  left: 20px;
  background: #ffffff;
  color: #000000;
  padding: 10px 16px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.85rem;
  z-index: 9999;
  text-decoration: none;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 20px;
}

/* React Bits: Fullscreen ClickSpark Canvas */
.click-spark-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 9998;
}

/* ==================================================== */
/* FULLSCREEN BACKGROUND (Lag-Free, Hardware Accelerated)*/
/* ==================================================== */
.bg-wallpaper {
  position: fixed;
  inset: 0;
  background-image: var(--bg-image);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: -2;
  will-change: transform;
  transform: translateZ(0);
}

/* Mobile Wallpaper Override for Smartphones & Handys */
@media (max-width: 768px) {
  .bg-wallpaper {
    background-image: var(--bg-mobile-image, var(--bg-image));
    background-position: center top;
    background-size: cover;
  }
}

/* Background Effects - Static Scanlines without Repaint Flicker (0% CPU Lag!) */
.bg-effect-layer {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  will-change: opacity;
  transform: translateZ(0);
}

/* 1. CRT Scanlines (Ultra-fast, subtle & clean) */
.bg-effect-layer.crt-effect {
  background: linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.12) 50%);
  background-size: 100% 4px;
  opacity: 0.35;
  pointer-events: none;
}

/* 2. Snow Effect */
.bg-effect-layer.snow-effect {
  background-image: radial-gradient(2px 2px at 20px 30px, #ffffff, rgba(0,0,0,0)),
                    radial-gradient(2px 2px at 50px 160px, rgba(255,255,255,0.8), rgba(0,0,0,0)),
                    radial-gradient(2px 2px at 90px 40px, #ffffff, rgba(0,0,0,0)),
                    radial-gradient(2px 2px at 130px 80px, #ffffff, rgba(0,0,0,0));
  background-repeat: repeat;
  background-size: 200px 200px;
  animation: snowAnim 10s linear infinite;
}

@keyframes snowAnim {
  from { transform: translateY(0); }
  to { transform: translateY(200px); }
}

/* 3. Rain Effect */
.bg-effect-layer.rain-effect {
  background: linear-gradient(to bottom, rgba(255,255,255,0), rgba(255,255,255,0.2) 50%, rgba(255,255,255,0));
  background-size: 2px 24px;
  animation: rainAnim 0.7s linear infinite;
}

@keyframes rainAnim {
  0% { background-position: 0% 0%; }
  100% { background-position: 0% 100%; }
}

/* 4. Stars Effect */
.bg-effect-layer.stars-effect {
  background-image: radial-gradient(1px 1px at 25px 25px, white, transparent),
                    radial-gradient(1.5px 1.5px at 75px 60px, white, transparent),
                    radial-gradient(2px 2px at 140px 110px, white, transparent);
  background-size: 250px 250px;
}

/* ==================================================== */
/* TOP FLOATING CONTROLS & VOLUME CONTROLLER WIDGET     */
/* ==================================================== */
.floating-vol-widget {
  position: fixed;
  top: 20px;
  left: 20px;
  height: 36px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 12px 0 10px;
  border-radius: 9999px;
  background: rgba(10, 14, 22, 0.6);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #fff;
  z-index: 100;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.floating-vol-widget:hover {
  background: rgba(10, 14, 22, 0.85);
  border-color: rgba(255, 255, 255, 0.22);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.45);
  transform: translateY(-1px);
}

.floating-vol-btn {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: transparent;
  border: none;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
  transition: transform 0.15s ease, opacity 0.15s ease;
  position: static;
}

.floating-vol-btn:hover {
  transform: scale(1.15);
  opacity: 0.9;
}

.floating-vol-btn:active {
  transform: scale(0.95);
}

.vol-slider-wrap {
  position: relative;
  width: 76px;
  height: 20px;
  display: flex;
  align-items: center;
}

.top-vol-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 5px;
  background: rgba(255, 255, 255, 0.18);
  border-radius: 9999px;
  outline: none;
  cursor: pointer;
  margin: 0;
  position: relative;
  z-index: 2;
}

.top-vol-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
  cursor: pointer;
  transition: transform 0.15s ease;
}

.top-vol-slider::-webkit-slider-thumb:hover {
  transform: scale(1.25);
}

.top-vol-slider::-moz-range-thumb {
  width: 12px;
  height: 12px;
  border: none;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
  cursor: pointer;
}

.top-vol-track {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  height: 5px;
  width: var(--vol-width, 85%);
  max-width: 100%;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.75), #ffffff);
  border-radius: 9999px;
  pointer-events: none;
  z-index: 1;
}

.floating-admin-btn {
  position: fixed;
  top: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  border-radius: 9999px;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: rgba(255, 255, 255, 0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  z-index: 100;
  transition: var(--transition);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

.floating-admin-btn:hover {
  color: #fff;
  background: rgba(15, 23, 42, 0.85);
  border-color: rgba(255, 255, 255, 0.28);
  transform: scale(1.05);
}

/* ==================================================== */
/* "CLICK TO ENTER..." OVERLAY SCREEN                   */
/* ==================================================== */
.enter-overlay {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  margin: 0;
  padding: 0;
  border: none;
  outline: none;
  font: inherit;
  color: inherit;
  text-align: center;
  background: rgba(5, 7, 12, 0.72);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9990;
  cursor: pointer;
  opacity: 1;
  visibility: visible;
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.6s ease;
  -webkit-appearance: none;
  appearance: none;
}

.enter-overlay.fade-out {
  opacity: 0;
  transform: scale(1.06);
  visibility: hidden;
  pointer-events: none;
}

/* ==================================================== */
/* PAGE ENTRANCE ANIMATIONS (After "Click to Enter")    */
/* ==================================================== */
body.gate-active .profile-card,
body.gate-active .audio-bar,
body.gate-active .floating-vol-widget,
body.gate-active .floating-admin-btn {
  opacity: 0 !important;
  pointer-events: none;
  transform: translateY(24px) scale(0.96);
}

body.gate-entered .profile-card {
  animation: enterCard 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

body.gate-entered .avatar-wrap {
  animation: enterAvatar 0.65s cubic-bezier(0.34, 1.56, 0.64, 1) 0.1s both;
}

body.gate-entered .name-badge-row {
  animation: enterFadeUp 0.55s cubic-bezier(0.16, 1, 0.3, 1) 0.18s both;
}

body.gate-entered .location-tag {
  animation: enterFadeUp 0.55s cubic-bezier(0.16, 1, 0.3, 1) 0.24s both;
}

body.gate-entered .profile-bio {
  animation: enterFadeUp 0.55s cubic-bezier(0.16, 1, 0.3, 1) 0.30s both;
}

body.gate-entered .discord-presence-card {
  animation: enterFadeUp 0.55s cubic-bezier(0.16, 1, 0.3, 1) 0.32s both;
}

body.gate-entered .card-action-btn {
  animation: enterPop 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) 0.28s both;
}

body.gate-entered .social-icon-link {
  animation: enterPop 0.45s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}
body.gate-entered .social-icon-link:nth-child(1) { animation-delay: 0.32s; }
body.gate-entered .social-icon-link:nth-child(2) { animation-delay: 0.38s; }
body.gate-entered .social-icon-link:nth-child(3) { animation-delay: 0.44s; }
body.gate-entered .social-icon-link:nth-child(4) { animation-delay: 0.50s; }
body.gate-entered .social-icon-link:nth-child(5) { animation-delay: 0.56s; }
body.gate-entered .social-icon-link:nth-child(6) { animation-delay: 0.62s; }

body.gate-entered .views-badge {
  animation: enterFadeUp 0.55s cubic-bezier(0.16, 1, 0.3, 1) 0.38s both;
}

body.gate-entered .audio-bar {
  animation: enterAudioBar 0.75s cubic-bezier(0.16, 1, 0.3, 1) 0.22s both;
}

body.gate-entered .floating-vol-widget,
body.gate-entered .floating-admin-btn {
  animation: enterTopControl 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.15s both;
}

@keyframes enterCard {
  0% {
    opacity: 0;
    transform: translateY(32px) scale(0.93);
    filter: blur(10px);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0px);
  }
}

@keyframes enterAvatar {
  0% {
    opacity: 0;
    transform: translateY(14px) scale(0.7);
  }
  70% {
    transform: translateY(-3px) scale(1.05);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes enterFadeUp {
  0% {
    opacity: 0;
    transform: translateY(16px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes enterPop {
  0% {
    opacity: 0;
    transform: translateY(12px) scale(0.75);
  }
  70% {
    transform: translateY(-2px) scale(1.1);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes enterAudioBar {
  0% {
    opacity: 0;
    transform: translateY(28px) scale(0.94);
    filter: blur(8px);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0px);
  }
}

@keyframes enterTopControl {
  0% {
    opacity: 0;
    transform: translateY(-18px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.enter-prompt {
  font-size: 16px;
  color: #ffffff;
  letter-spacing: 0.8px;
  font-weight: 500;
  text-transform: lowercase;
  text-shadow: 0 0 12px rgba(255, 255, 255, 0.7);
  animation: pulsePrompt 2.2s infinite ease-in-out;
  user-select: none;
}

@keyframes pulsePrompt {
  0% { opacity: 0.45; transform: scale(0.98); }
  50% { opacity: 1; transform: scale(1); text-shadow: 0 0 20px rgba(255, 255, 255, 0.95); }
  100% { opacity: 0.45; transform: scale(0.98); }
}

/* ==================================================== */
/* MAIN WRAPPER (BIGGER, SPACIOUS, VISIBLE)             */
/* ==================================================== */
.main-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: 520px; /* BIGGER! Expanded from 410px */
  position: relative;
  z-index: 1005;
  animation: floatIn 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

body.gate-active .main-wrapper {
  pointer-events: none;
}

@keyframes floatIn {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ==================================================== */
/* MAIN PROFILE CARD (LARGER, HIGH-END GLAS)            */
/* ==================================================== */
.profile-card {
  position: relative;
  width: 100%;
  background: var(--card-bg);
  backdrop-filter: blur(var(--card-blur));
  -webkit-backdrop-filter: blur(var(--card-blur));
  border: 1px solid var(--card-border);
  border-radius: var(--border-radius);
  padding: 38px 28px 24px; /* BIGGER padding */
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.18);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  overflow: hidden;
  will-change: transform;
  transform: translateZ(0);
  transition: transform 0.15s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Shine Border Beam (React Bits / Magic UI) */
.card-border-beam {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none !important;
  padding: 1.5px;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  z-index: 10;
}

.card-border-beam::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: conic-gradient(
    from 0deg,
    transparent 0deg,
    transparent 80deg,
    var(--accent-color, #ffffff) 100deg,
    rgba(255, 255, 255, 0.7) 110deg,
    transparent 130deg
  );
  animation: beam-spin 6.5s linear infinite;
  opacity: 0.55;
  pointer-events: none !important;
}

@keyframes beam-spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Spotlight Cursor Highlight */
.profile-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(350px circle at var(--mouse-x, -500px) var(--mouse-y, -500px), rgba(255, 255, 255, 0.08), transparent 45%);
  pointer-events: none;
  z-index: 1;
}

/* Card Action: Copy Share Link Button */
.card-action-btn {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 25;
  transition: all 0.2s ease;
}

.card-action-btn:hover {
  background: rgba(255, 255, 255, 0.22);
  color: #fff;
  transform: scale(1.08);
  border-color: rgba(255, 255, 255, 0.3);
}

.copy-tooltip {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  background: rgba(17, 20, 28, 0.95);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 6px;
  pointer-events: none;
  white-space: nowrap;
  opacity: 0;
  transform: translateY(-4px);
  transition: opacity 0.2s ease, transform 0.2s ease;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.5);
  z-index: 30;
}

.card-action-btn:hover .copy-tooltip,
.card-action-btn.copied .copy-tooltip {
  opacity: 1;
  transform: translateY(0);
}

/* Big Avatar with Ambient Halo Glow */
.avatar-wrap {
  width: 104px; /* BIGGER! Up from 78px */
  height: 104px;
  margin-bottom: 14px;
  position: relative;
  z-index: 2;
  transition: transform 0.3s ease;
}

.avatar-wrap:hover {
  transform: scale(1.06);
}

.avatar-halo {
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--accent-color, rgba(255, 255, 255, 0.35)) 0%, transparent 70%);
  animation: halo-pulse 3.5s ease-in-out infinite alternate;
  pointer-events: none;
  z-index: 1;
  opacity: 0.55;
}

@keyframes halo-pulse {
  0% { transform: scale(0.96); opacity: 0.35; }
  100% { transform: scale(1.15); opacity: 0.75; }
}

.avatar-img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  position: relative;
  z-index: 2;
  box-shadow: 0 8px 26px rgba(0, 0, 0, 0.55);
  border: 3px solid rgba(255, 255, 255, 0.22);
  background: #111;
}

.avatar-status-dot {
  position: absolute;
  bottom: 2px;
  right: 4px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #23a55a;
  border: 2.5px solid #16181e;
  box-shadow: 0 0 10px rgba(35, 165, 90, 0.85);
  z-index: 4;
  transition: all 0.25s ease;
}

.avatar-status-dot.status-online {
  background: #23a55a;
  box-shadow: 0 0 10px rgba(35, 165, 90, 0.85);
  animation: discordPulse 2.4s infinite ease-in-out;
}

.avatar-status-dot.status-idle {
  background: #faa81a;
  box-shadow: 0 0 10px rgba(250, 168, 26, 0.85);
}

.avatar-status-dot.status-dnd {
  background: #f23f43;
  box-shadow: 0 0 10px rgba(242, 63, 67, 0.85);
}

.avatar-status-dot.status-offline {
  background: #80848e;
  box-shadow: none;
}

@keyframes discordPulse {
  0% { box-shadow: 0 0 0 0 rgba(35, 165, 90, 0.6); }
  70% { box-shadow: 0 0 0 8px rgba(35, 165, 90, 0); }
  100% { box-shadow: 0 0 0 0 rgba(35, 165, 90, 0); }
}

/* Discord Native Client Presence (1:1 Replica from Discord Screenshot) */
.discord-presence-card {
  width: 100%;
  max-width: 360px;
  margin: 12px 0 16px;
  background: #1e1f22;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  padding: 8px 12px;
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease;
  position: relative;
  z-index: 2;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4);
}

.discord-presence-card:hover {
  background: #232428;
  border-color: rgba(255, 255, 255, 0.14);
}

.discord-avatar-ring {
  position: relative;
  width: 38px;
  height: 38px;
  flex-shrink: 0;
}

.discord-avatar-img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  background: #111;
  display: block;
}

.discord-mini-status {
  position: absolute;
  bottom: -2px;
  right: -2px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 2.5px solid #1e1f22;
  box-sizing: border-box;
  background: #f23f43;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Discord DND Badge: Red with white minus line */
.status-dnd {
  background: #f23f43 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.status-dnd::after {
  content: '';
  width: 5px;
  height: 1.5px;
  background: #ffffff;
  border-radius: 1px;
}

.discord-presence-info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  line-height: 1.25;
  min-width: 0;
}

.discord-user-handle {
  font-size: 0.95rem;
  font-weight: 700;
  color: #f2f3f5;
  letter-spacing: -0.01em;
}

.discord-activity-line {
  font-size: 0.82rem;
  font-weight: 500;
  color: #4f94d4; /* Discord subtle steel-blue for rich presence game status */
  margin-top: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Big Username with Verified Badge */
.name-badge-row {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 6px;
  position: relative;
  z-index: 2;
}

.profile-name {
  font-size: 1.95rem; /* BIGGER! Up from 1.4rem */
  font-weight: 800;
  color: var(--text-color);
  letter-spacing: -0.025em;
  margin-bottom: 0;
  position: relative;
  z-index: 2;
  line-height: 1.2;
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1),
              letter-spacing 0.28s cubic-bezier(0.16, 1, 0.3, 1),
              filter 0.28s ease,
              text-shadow 0.28s ease;
  cursor: default;
  -webkit-user-select: none;
  user-select: none;
}

.profile-name:hover {
  transform: translateY(-2px) scale(1.025);
  letter-spacing: 0.01em;
  filter: brightness(1.15);
  text-shadow: 0 0 16px rgba(255, 255, 255, 0.55);
}

.verified-badge {
  color: #38bdf8;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  filter: drop-shadow(0 0 8px rgba(56, 189, 248, 0.65));
  animation: badge-glow 2.5s ease-in-out infinite alternate;
}

@keyframes badge-glow {
  0% { filter: drop-shadow(0 0 4px rgba(56, 189, 248, 0.4)); transform: scale(0.97); }
  100% { filter: drop-shadow(0 0 12px rgba(56, 189, 248, 0.9)); transform: scale(1.05); }
}

/* Text Effects */
.effect-glow {
  text-shadow: 0 0 14px var(--accent-color), 0 0 28px rgba(255, 255, 255, 0.6);
}

.effect-shimmer {
  background: linear-gradient(90deg, #fff 0%, var(--accent-color) 40%, #fff 60%, #cbd5e1 100%);
  background-size: 250% auto;
  color: transparent;
  -webkit-background-clip: text;
  background-clip: text;
  animation: textShimmer 3s linear infinite;
}

@keyframes textShimmer {
  0% { background-position: 250% center; }
  100% { background-position: -250% center; }
}

.effect-glitch {
  position: relative;
  display: inline-block;
}

.effect-glitch::before,
.effect-glitch::after {
  content: attr(data-text);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  clip: rect(0, 0, 0, 0);
}

.effect-glitch::before {
  left: -2px;
  text-shadow: 2px 0 #00ffff;
  animation: glitch1 2.5s infinite linear alternate-reverse;
}

.effect-glitch::after {
  left: 2px;
  text-shadow: -2px 0 #ff0055;
  animation: glitch2 3s infinite linear alternate-reverse;
}

@keyframes glitch1 {
  0% { clip: rect(10px, 9999px, 20px, 0); }
  50% { clip: rect(30px, 9999px, 45px, 0); }
  100% { clip: rect(5px, 9999px, 15px, 0); }
}

@keyframes glitch2 {
  0% { clip: rect(25px, 9999px, 35px, 0); }
  50% { clip: rect(8px, 9999px, 22px, 0); }
  100% { clip: rect(40px, 9999px, 50px, 0); }
}

.effect-rainbow {
  background: linear-gradient(90deg, #ff5e62, #ff9966, #ffdf00, #42e695, #3bb2b8, #b06ab3);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  background-size: 300% 300%;
  animation: rainbowShift 4s ease infinite;
}

@keyframes rainbowShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* Location Tag - guns.lol style with glowing pin & sleek glass pill */
.location-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.86rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 4px 12px;
  border-radius: 9999px;
  margin-bottom: 16px;
  position: relative;
  z-index: 2;
  cursor: default;
  transition: all 0.2s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}

.location-tag:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.22);
  transform: translateY(-1px);
}

.location-pin-icon {
  color: #ffffff;
  display: block;
}

.location-tooltip {
  position: absolute;
  bottom: calc(100% + 4px);
  left: 50%;
  transform: translateX(-50%) translateY(4px);
  background: rgba(30, 32, 44, 0.95);
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.45);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.18s cubic-bezier(0.16, 1, 0.3, 1), transform 0.18s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
  z-index: 10;
}

.location-tag:hover .location-tooltip,
.location-tag:focus-within .location-tooltip {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* Bio */
.profile-bio {
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.5;
  margin-bottom: 16px;
  max-width: 380px;
  position: relative;
  z-index: 2;
}

/* Discord Rich Presence Widget (guns.lol Signature Look) */
.discord-presence-card {
  width: 100%;
  max-width: 300px;
  background: rgba(14, 18, 32, 0.82);
  border: 1px solid rgba(88, 101, 242, 0.4);
  border-radius: 14px;
  padding: 8px 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  margin: 6px 0 14px;
  position: relative;
  z-index: 2;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.45);
}

.discord-presence-card:hover {
  background: rgba(22, 30, 52, 0.95);
  border-color: rgba(88, 101, 242, 0.75);
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 10px 28px rgba(88, 101, 242, 0.3);
}

.dp-avatar-wrap {
  position: relative;
  width: 32px;
  height: 32px;
  flex-shrink: 0;
}

.dp-avatar {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.dp-status-dot {
  position: absolute;
  bottom: -1px;
  right: -1px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #23a55a;
  border: 2px solid #0b0f17;
}

.dp-info {
  flex: 1;
  min-width: 0;
  text-align: left;
}

.dp-username {
  font-size: 0.82rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.2;
}

.dp-activity {
  font-size: 0.7rem;
  color: #94a3b8;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.dp-activity span.dp-game {
  color: #5865f2;
  font-weight: 600;
}

.dp-brand-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* Horizontal Socials Row - Bigger Icons & Sleek Glass Tiles */
.socials-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  padding: 8px 0 14px;
  flex-wrap: wrap;
  position: relative;
  z-index: 2;
}

.social-icon-link {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(14, 18, 30, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  color: var(--link-color, var(--icon-color, #ffffff));
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  opacity: 1;
  position: relative;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.18);
  filter: drop-shadow(0 0 8px var(--link-glow, rgba(255, 255, 255, 0.2)));
}

.social-icon-link:hover {
  opacity: 1;
  background: rgba(24, 32, 54, 0.95);
  border-color: rgba(255, 255, 255, 0.38);
  transform: translateY(-3px) scale(1.08);
  box-shadow: 0 10px 28px var(--link-glow, rgba(255, 255, 255, 0.35)), 0 4px 12px rgba(0, 0, 0, 0.5);
}

.social-icon-link svg {
  width: 22px;
  height: 22px;
  position: relative;
  z-index: 2;
  transition: transform 0.2s ease;
}

.social-icon-link:hover svg {
  transform: scale(1.1);
}

/* ==================================================== */
/* PROMINENT VIEWS COUNTER (guns.lol corner style)      */
/* ==================================================== */
/* Sleek Glass Views Badge */
.views-badge {
  position: absolute;
  bottom: 14px;
  left: 18px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.75);
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 4px 10px;
  border-radius: 9999px;
  margin: 0;
  user-select: none;
  z-index: 3;
  transition: all 0.2s ease;
  cursor: default;
}

.views-badge:hover {
  color: #fff;
  background: rgba(0, 0, 0, 0.45);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-1px);
}

.views-badge svg {
  color: #ffffff;
  display: block;
}

#views-count {
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.01em;
}

/* ==================================================== */
/* FLOATING AUDIO PLAYER BAR (BIGGER & BETTER SCRUBBER) */
/* ==================================================== */
.audio-bar {
  width: 100%;
  margin-top: 14px;
  background: var(--card-bg);
  backdrop-filter: blur(var(--card-blur));
  -webkit-backdrop-filter: blur(var(--card-blur));
  border: 1px solid var(--card-border);
  border-radius: 16px;
  padding: 12px 16px; /* BIGGER */
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  gap: 14px;
  position: relative;
  z-index: 10;
}

/* Track Thumbnail */
.track-thumb-wrap {
  width: 44px; /* BIGGER! Up from 36px */
  height: 44px;
  border-radius: 8px;
  overflow: hidden;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
  cursor: pointer;
  border: 1px solid rgba(255, 255, 255, 0.12);
  transition: transform 0.3s ease, border-radius 0.4s ease;
}

.track-thumb-wrap.playing {
  border-radius: 50%;
  box-shadow: 0 0 16px rgba(255, 255, 255, 0.25);
}

.track-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.track-thumb-wrap.playing .track-thumb {
  animation: vinyl-spin 8s linear infinite;
}

@keyframes vinyl-spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.audio-bar-center {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.track-info-row {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  min-width: 0;
}

.track-text-meta {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
  overflow: hidden;
}

.track-title-wrap {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.track-artist-sep {
  color: rgba(255, 255, 255, 0.35);
  font-size: 0.75rem;
  user-select: none;
}

.track-artist {
  font-size: 0.82rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.7);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Mini Dancing Equalizer Bars */
.audio-equalizer {
  display: none;
  align-items: flex-end;
  gap: 2.5px;
  height: 14px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.audio-equalizer.playing {
  display: inline-flex;
  opacity: 1;
}

.eq-bar {
  width: 2.5px;
  height: 3px;
  background: var(--accent-color, #ffffff);
  border-radius: 2px;
  transition: height 0.2s ease;
}

.audio-equalizer.playing .eq-bar:nth-child(1) {
  animation: eq-bounce 0.85s ease-in-out infinite alternate;
}
.audio-equalizer.playing .eq-bar:nth-child(2) {
  animation: eq-bounce 0.65s ease-in-out infinite alternate 0.15s;
}
.audio-equalizer.playing .eq-bar:nth-child(3) {
  animation: eq-bounce 0.95s ease-in-out infinite alternate 0.3s;
}
.audio-equalizer.playing .eq-bar:nth-child(4) {
  animation: eq-bounce 0.75s ease-in-out infinite alternate 0.45s;
}

@keyframes eq-bounce {
  0% { height: 3px; }
  100% { height: 13px; }
}

.track-title {
  font-size: 0.88rem; /* BIGGER */
  font-weight: 700;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.audio-timeline-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.time-lbl {
  font-size: 0.72rem;
  font-family: monospace, sans-serif;
  color: rgba(255, 255, 255, 0.6);
  min-width: 28px;
  user-select: none;
}

#duration-time {
  text-align: right;
}

/* ==================================================== */
/* HIGH-PRECISION SCRUBBER (Vorspuhl-Ding)               */
/* ==================================================== */
.progress-wrap {
  flex: 1;
  padding: 10px 0; /* Generous clickable & draggable hit zone! */
  cursor: pointer;
  position: relative;
  display: flex;
  align-items: center;
}

.progress-track {
  width: 100%;
  height: 5px; /* Thicker, much easier to see & use */
  background: rgba(255, 255, 255, 0.16);
  border-radius: 6px;
  position: relative;
  overflow: visible;
  transition: height 0.15s ease, background-color 0.2s ease;
}

.progress-wrap:hover .progress-track,
.progress-wrap.is-dragging .progress-track {
  height: 7px;
  background: rgba(255, 255, 255, 0.25);
}

.progress-fill {
  height: 100%;
  width: 0%;
  background: #ffffff;
  border-radius: 6px;
  position: relative;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
  pointer-events: none;
}

.progress-handle {
  position: absolute;
  right: -5px;
  top: 50%;
  transform: translateY(-50%) scale(1);
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 0 6px rgba(0, 0, 0, 0.6), 0 0 12px rgba(255, 255, 255, 0.9);
  transition: transform 0.15s ease;
  pointer-events: none;
}

.progress-wrap:hover .progress-handle,
.progress-wrap.is-dragging .progress-handle {
  transform: translateY(-50%) scale(1.35);
}

/* Audio Controls: Rewind 10s, Play/Pause, Forward 10s, Loop */
.audio-bar-controls {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.ctrl-btn {
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.75);
  cursor: pointer;
  padding: 6px 7px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
  transition: all 0.2s ease;
  position: relative;
}

.ctrl-btn:hover {
  color: #fff;
  transform: scale(1.1);
  background: rgba(255, 255, 255, 0.1);
}

.ctrl-badge {
  font-size: 0.65rem;
  font-weight: 800;
  line-height: 1;
  font-family: monospace, sans-serif;
  letter-spacing: -0.5px;
}

.ctrl-btn.active {
  color: var(--accent-color, #38bdf8);
}

.play-pause-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  color: #fff;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.28);
  padding: 0;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4);
}

.play-pause-btn:hover {
  background: rgba(255, 255, 255, 0.3);
  border-color: rgba(255, 255, 255, 0.45);
  transform: scale(1.12);
}

/* Global Utility: Hidden (CRITICAL for SVG icon toggles) */
.hidden {
  display: none !important;
}

/* ==================================================== */
/* GERMAN LEGAL FOOTER (IMPRESSUM & DATENSCHUTZ)       */
/* ==================================================== */
.footer-legal {
  margin-top: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  user-select: none;
  position: relative;
  z-index: 1010;
  pointer-events: auto;
  background: rgba(10, 14, 23, 0.55);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding: 6px 18px;
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
}

.legal-btn {
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.76rem;
  font-family: inherit;
  cursor: pointer;
  text-transform: lowercase;
  transition: var(--transition);
  padding: 3px 6px;
  border-radius: 4px;
}

.legal-btn:hover {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: underline;
}

.dot {
  color: rgba(255, 255, 255, 0.25);
  font-size: 0.65rem;
}

.copyright-year {
  font-size: 0.74rem;
  color: rgba(255, 255, 255, 0.35);
  font-family: inherit;
}

/* ==================================================== */
/* MODAL DIALOG (APPLE FROSTED GLASS & SPRING ANIMATION)*/
/* ==================================================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.28s cubic-bezier(0.16, 1, 0.3, 1),
              visibility 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-overlay.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.modal-card {
  background: rgba(18, 20, 28, 0.92);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 20px;
  width: 100%;
  max-width: 580px;
  max-height: 84vh;
  display: flex;
  flex-direction: column;
  box-shadow: 0 35px 80px rgba(0, 0, 0, 0.75), inset 0 1px 0 rgba(255, 255, 255, 0.15);
  transform: scale(0.92) translateY(24px);
  transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
}

.modal-overlay.open .modal-card {
  transform: scale(1) translateY(0);
}

.modal-header {
  padding: 14px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.02);
}

/* Segmented Control (Tabs) */
.modal-segmented-control {
  display: inline-flex;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 3px;
  gap: 4px;
}

.seg-btn {
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 7px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.seg-btn.active {
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.seg-btn:hover:not(.active) {
  color: rgba(255, 255, 255, 0.9);
}

.modal-header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.modal-icon-btn {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.7);
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.modal-icon-btn:hover {
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
  transform: translateY(-1px);
}

.modal-close-btn {
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.5);
  font-size: 1.6rem;
  cursor: pointer;
  padding: 0 4px;
  line-height: 1;
  transition: color 0.2s ease;
}

.modal-close-btn:hover {
  color: #fff;
}

.modal-body {
  padding: 22px 24px;
  overflow-y: auto;
  font-size: 0.86rem;
  line-height: 1.65;
  color: #cbd5e1;
  -webkit-user-select: text;
  -moz-user-select: text;
  -ms-user-select: text;
  user-select: text;
  display: flex;
  flex-direction: column;
  gap: 16px;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.2) transparent;
}

.modal-body::-webkit-scrollbar {
  width: 6px;
}

.modal-body::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.18);
  border-radius: 3px;
}

.modal-body h4 {
  font-size: 0.94rem;
  font-weight: 700;
  color: #fff;
  border-left: 3px solid var(--accent-color, #38bdf8);
  padding-left: 8px;
  margin-top: 6px;
}

.modal-body p, .modal-body ul {
  color: rgba(255, 255, 255, 0.78);
  margin: 0;
}

.modal-body ul {
  padding-left: 18px;
}

.modal-body a {
  color: var(--accent-color, #38bdf8);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.modal-legal-box {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 12px 14px;
}

.modal-footer {
  padding: 14px 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.02);
}

.modal-legal-tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.badge-tag {
  font-size: 0.68rem;
  font-weight: 600;
  padding: 2px 7px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  color: rgba(255, 255, 255, 0.6);
}

.btn-modal-close {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 8px 20px;
  border-radius: 9px;
  font-weight: 600;
  font-size: 0.84rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-modal-close:hover {
  background: rgba(255, 255, 255, 0.22);
}

/* ==================================================== */
/* COOKIE & PRIVACY BANNER (TDDDG & DSGVO COMPLIANT)    */
/* ==================================================== */
.cookie-banner {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%) translateY(120px);
  width: calc(100% - 32px);
  max-width: 580px;
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.38s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}

.cookie-banner.visible {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.cookie-card {
  background: rgba(18, 20, 28, 0.94);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 18px;
  padding: 18px 20px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.65), inset 0 1px 0 rgba(255, 255, 255, 0.12);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.cookie-header {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.cookie-shield-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.25);
  color: #38bdf8;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.cookie-text-wrap {
  flex: 1;
}

.cookie-headline {
  font-size: 0.92rem;
  font-weight: 700;
  color: #fff;
  margin: 0 0 4px;
}

.cookie-subtext {
  font-size: 0.78rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.7);
  margin: 0;
}

.cookie-buttons {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.cookie-btn {
  padding: 7px 16px;
  border-radius: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.cookie-btn-primary {
  background: #ffffff;
  color: #090d16;
  border: 1px solid #ffffff;
}

.cookie-btn-primary:hover {
  background: #e2e8f0;
  transform: translateY(-1px);
}

.cookie-btn-secondary {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.cookie-btn-secondary:hover {
  background: rgba(255, 255, 255, 0.2);
}

.cookie-btn-ghost {
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.6);
  padding: 7px 10px;
}

.cookie-btn-ghost:hover {
  color: #fff;
  text-decoration: underline;
}

/* ==================================================== */
/* PRINT STYLESHEET (CLEAN LEGAL PRINTOUT / PDF EXPORT) */
/* ==================================================== */
@media print {
  body {
    background: #ffffff !important;
    color: #000000 !important;
  }
  .bg-layer, .bg-effect-layer, .main-wrapper, .floating-vol-btn, .floating-admin-btn, .enter-overlay, .cookie-banner, .modal-header-actions, .modal-footer, .modal-segmented-control {
    display: none !important;
  }
  .modal-overlay {
    position: static !important;
    background: none !important;
    padding: 0 !important;
    opacity: 1 !important;
    visibility: visible !important;
  }
  .modal-card {
    background: none !important;
    border: none !important;
    box-shadow: none !important;
    max-width: 100% !important;
    color: #000000 !important;
    transform: none !important;
  }
  .modal-body {
    color: #000000 !important;
    font-size: 11pt !important;
    line-height: 1.5 !important;
  }
  .modal-body h4 {
    color: #000000 !important;
    border-left: 2px solid #000000 !important;
  }
  .modal-legal-box {
    border: 1px solid #cccccc !important;
    background: #f8f8f8 !important;
  }
}

/* Mobile Tweaks */
@media (max-width: 768px) {
  /* 1. Floating Corner Controls on Mobile (Kompakt, platzsparend) */
  .floating-vol-widget {
    top: 10px;
    left: 10px;
    height: 34px;
    gap: 6px;
    padding: 0 10px 0 6px;
    background: rgba(15, 23, 42, 0.75);
    border-radius: 9999px;
  }
  .floating-vol-btn {
    width: 24px;
    height: 24px;
  }
  .floating-vol-btn svg {
    width: 14px;
    height: 14px;
  }
  .vol-slider-wrap {
    width: 60px;
  }
  .top-vol-slider {
    height: 4px;
  }
  .top-vol-track {
    height: 4px;
  }
  .top-vol-slider::-webkit-slider-thumb {
    width: 11px;
    height: 11px;
  }

  .floating-admin-btn {
    top: 10px;
    right: 10px;
    width: 34px;
    height: 34px;
    border-radius: 9999px;
    background: rgba(15, 23, 42, 0.75);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.14);
  }
  .floating-admin-btn svg {
    width: 14px;
    height: 14px;
  }

  /* 2. Floating Cookie-Shield auf Handys ausblenden (nimmt sonst Displayplatz weg; im Footer weiterhin erreichbar) */
  .cmp-floating-shield {
    display: none !important;
  }

  /* 3. Audio Player Bar auf dem Handy (Kompakt, platzsparend) */
  .audio-bar {
    flex-direction: column;
    align-items: center;
    padding: 10px 14px 10px 14px;
    gap: 6px;
    width: 100%;
    margin-top: 10px;
    border-radius: 14px;
  }

  /* Make center wrapper transparent to flex layout so children can be ordered freely */
  .audio-bar-center {
    display: contents;
  }

  /* 1. Musiktitel & Artist ganz oben */
  .track-info-row {
    order: 1;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1px;
    margin-bottom: 2px;
    text-align: center;
  }

  .track-text-meta {
    flex-direction: column;
    align-items: center;
    gap: 1px;
  }

  .track-title-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
  }

  .track-artist-sep {
    display: none;
  }

  .track-title {
    font-size: 0.92rem;
    font-weight: 700;
    text-align: center;
    max-width: 90%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .track-artist {
    font-size: 0.76rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.7);
    text-align: center;
  }

  /* 2. Profilbild / Cover darunter mittig - Kompakt (spart viel Platz!) */
  .track-thumb-wrap {
    order: 2;
    width: 54px;
    height: 54px;
    margin: 2px auto 4px auto;
    border-radius: 10px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(255, 255, 255, 0.15);
  }

  .track-thumb-wrap.playing {
    border-radius: 50%;
    box-shadow: 0 0 16px rgba(255, 255, 255, 0.3);
  }

  /* 3. Zeitleiste mit Spulen */
  .audio-timeline-row {
    order: 3;
    width: 100%;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0 2px;
    margin: 1px 0;
  }

  .time-lbl {
    font-size: 0.7rem;
    min-width: 28px;
  }

  .progress-wrap {
    flex: 1;
    padding: 8px 0; /* Schlankere Touch-Trefferzone */
  }

  .progress-track {
    height: 5px;
  }

  .progress-handle {
    width: 12px;
    height: 12px;
    right: -6px;
  }

  /* 4. Controls darunter: 10s zurück, Play/Pause, 10s vor (Replay button entfernt) */
  .audio-bar-controls {
    order: 4;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 14px;
    margin-top: 2px;
  }

  .ctrl-btn {
    padding: 6px 8px;
    font-size: 0.85rem;
  }

  .play-pause-btn {
    width: 38px;
    height: 38px;
  }
}

@media (max-width: 540px) {
  body {
    padding: 10px 8px 16px 8px;
  }
  .main-wrapper {
    max-width: 100%;
    margin-top: 20px;
  }
  .profile-card {
    padding: 22px 14px 34px;
    border-radius: 18px;
  }
  .views-badge {
    bottom: 10px;
    left: 14px;
    font-size: 0.84rem;
  }
  .location-tag {
    font-size: 0.88rem;
    margin-bottom: 16px;
  }
  .card-action-btn {
    width: 30px;
    height: 30px;
    top: 10px;
    right: 10px;
  }
  .avatar-wrap {
    width: 80px;
    height: 80px;
    margin-bottom: 8px;
  }
  .profile-name {
    font-size: 1.45rem;
  }
  .socials-row {
    gap: 8px;
    margin-top: 10px;
  }
  .social-icon-link {
    width: 38px;
    height: 38px;
  }
}
