/* Template 26 - XEX Ice Wave: Animated waves + aurora shimmer */

@keyframes iceWaveRise {
  0%   { transform: translate(-50%, 0) rotateZ(0deg); }
  50%  { transform: translate(-50%, -3%) rotateZ(180deg); }
  100% { transform: translate(-50%, 0%) rotateZ(360deg); }
}

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

@keyframes iceSweep {
  0%   { left: -100%; opacity: 0; }
  50%  { opacity: 0.6; }
  100% { left: 200%; opacity: 0; }
}

.profile-preview {
  position: relative;
  overflow: hidden;
  background-size: 400% 400% !important;
  animation: iceAuroraShift 14s ease infinite;
}

/* Wave crest layer 1 */
.profile-preview::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -5%;
  min-width: 300%;
  min-height: 300%;
  background-color: rgba(14, 40, 82, 0.6);
  border-radius: 43%;
  animation: iceWaveRise 12s linear infinite;
  pointer-events: none;
  z-index: 1;
}

/* Wave crest layer 2 */
.profile-preview::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -8%;
  min-width: 300%;
  min-height: 300%;
  background-color: rgba(0, 80, 160, 0.3);
  border-radius: 46%;
  animation: iceWaveRise 16s linear infinite reverse;
  pointer-events: none;
  z-index: 1;
}

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

.btn {
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

/* Glossy sweep on buttons */
.btn::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.2) 50%, transparent 100%);
  animation: iceSweep 4s ease-in-out infinite;
  pointer-events: none;
}

.btn:hover {
  box-shadow: 0 0 25px rgba(100, 200, 255, 0.3);
  background-color: rgba(100, 200, 255, 0.12) !important;
}

.profile-header {
  text-shadow: 0 0 15px rgba(150, 220, 255, 0.5);
}
