/**
 * Pulse Theme Styles
 * Ultra-modern glassmorphism with organic fluid motion
 */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@500;800&display=swap');

.theme-pulse {
  background-color: var(--pulse-bg, #050110);
  font-family: 'Outfit', sans-serif;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Fluid Background Blobs */
.theme-pulse .pulse-blobs {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 1;
  filter: blur(80px);
  opacity: 0.6;
}

.theme-pulse .pulse-blob {
  position: absolute;
  border-radius: 50%;
  background: var(--pulse-color, #ff6b9d);
  will-change: transform;
}

/* Glassmorphism Text Container */
.theme-pulse .pulse-glass-container {
  position: relative;
  z-index: 10;
  padding: 2rem 4rem;
  border-radius: 40px;
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 
    0 25px 50px -12px rgba(0, 0, 0, 0.5),
    inset 0 0 20px rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: pulse-glass-breathe var(--pulse-rhythm, 4s) ease-in-out infinite;
}

@keyframes pulse-glass-breathe {
  0%, 100% { transform: scale(1); box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5); }
  50% { transform: scale(1.02); box-shadow: 0 35px 70px -10px rgba(0, 0, 0, 0.6); }
}

/* SIGN mode text */
.theme-pulse .pulse-sign-text {
  color: #ffffff;
  font-weight: 800;
  white-space: nowrap;
  user-select: none;
  line-height: 1;
  letter-spacing: -0.02em;
  position: relative;
  text-shadow: 0 10px 20px rgba(0,0,0,0.3);
}

/* Chromatic Aberration Effect */
.theme-pulse .pulse-sign-text::before,
.theme-pulse .pulse-sign-text::after {
  content: attr(data-text);
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  z-index: -1;
  opacity: 0.5;
}

.theme-pulse .pulse-sign-text::before {
  color: #ff00ff;
  transform: translate(-2px, 0);
  animation: pulse-chroma-red 4s infinite alternate;
}

.theme-pulse .pulse-sign-text::after {
  color: #00ffff;
  transform: translate(2px, 0);
  animation: pulse-chroma-blue 4s infinite alternate-reverse;
}

@keyframes pulse-chroma-red {
  0% { transform: translate(-1px, 0); }
  100% { transform: translate(-4px, 1px); }
}

@keyframes pulse-chroma-blue {
  0% { transform: translate(1px, 0); }
  100% { transform: translate(4px, -1px); }
}

/* FLOW mode */
.theme-pulse .pulse-flow-track {
  display: flex;
  align-items: center;
  white-space: nowrap;
  will-change: transform;
}

.theme-pulse .pulse-flow-text {
  color: #ffffff;
  font-weight: 800;
  white-space: nowrap;
  padding: 0 0.5em;
  user-select: none;
  flex-shrink: 0;
  line-height: 1;
}
