/* Template 40 - Monochrome Noir: Smoke effect + noir atmosphere */

@keyframes noirSmoke {
  0%   { transform: translateX(-50%) translateY(0) scale(1); opacity: 0.08; }
  50%  { transform: translateX(-50%) translateY(-30px) scale(1.3); opacity: 0.15; }
  100% { transform: translateX(-50%) translateY(0) scale(1); opacity: 0.08; }
}

@keyframes noirSmoke2 {
  0%   { transform: translateX(-50%) translateY(0) scale(1.1); opacity: 0.05; }
  50%  { transform: translateX(-50%) translateY(-20px) scale(1.4); opacity: 0.12; }
  100% { transform: translateX(-50%) translateY(0) scale(1.1); opacity: 0.05; }
}

@keyframes noirVignette {
  0%, 100% { opacity: 0.6; }
  50%      { opacity: 0.8; }
}

@keyframes noirScanline {
  0%   { transform: translateY(-100%); }
  100% { transform: translateY(100vh); }
}

.profile-preview {
  position: relative;
  overflow: hidden;
}

/* Smoke cloud 1 */
.profile-preview::before {
  content: "";
  position: absolute;
  bottom: 20%;
  left: 50%;
  width: 150%;
  height: 60%;
  background: radial-gradient(ellipse, rgba(100, 100, 100, 0.3) 0%, transparent 60%);
  animation: noirSmoke 8s ease-in-out infinite;
  pointer-events: none;
  z-index: 1;
}

/* Smoke cloud 2 + vignette */
.profile-preview::after {
  content: "";
  position: absolute;
  top: 10%;
  left: 50%;
  width: 130%;
  height: 50%;
  background: radial-gradient(ellipse, rgba(80, 80, 80, 0.2) 0%, transparent 55%);
  animation: noirSmoke2 10s ease-in-out infinite 2s;
  pointer-events: none;
  z-index: 1;
}

.profile-container {
  z-index: 10;
  position: relative;
}

.btn {
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.btn::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.6), transparent);
  transform: translateX(-100%);
  transition: transform 0.5s ease;
}

.btn:hover::after {
  transform: translateX(100%);
}

.btn:hover {
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
  transform: translateY(-1px);
}

.profile-header {
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  letter-spacing: 4px;
}
