/* ========================================
   NEW YEAR 2026 THEME - ny-theme-26.css
   ======================================== */

/* Apply to body when class ny-theme-26 is active */
body.ny-theme-26 .login-wrap::before {
  content: "";
  background: linear-gradient(
    135deg,
    #0a0e27 0%,
    #1a0a3d 25%,
    #2d1b69 50%,
    #1a0a3d 75%,
    #0a0e27 100%
  ) !important;
  background-attachment: fixed !important;
  min-height: 100vh;
  font-family: "Nunito", sans-serif;
  overflow-x: hidden;
  position: absolute;
  z-index: 0;
  inset: 0;
  background-image: url(../img/xmas/ny-bg.webp) !important;
  background-size: cover !important;
  background-repeat: no-repeat !important;
  background-position: center 0px !important;
  opacity: 0.45;
}

body.ny-theme-26 .login-wrap::after {
  content: "";
  position: absolute;
  background: #010e51;
  background-attachment: fixed !important;
  min-height: 100vh;
  font-family: "Nunito", sans-serif;
  overflow-x: hidden;
  position: absolute;
  z-index: 0;
  inset: 0;
  opacity: 0.45;
}

/* Canvas for Firecrackers Animation */
.ny-26-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

/* Hide class for animation reveal */
.ny-26-hidden {
  opacity: 0;
}

/* Cyan Overlay - Top Left Animated Glow */
.ny-26-overlay-cyan {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(
    circle at 30% 20%,
    rgba(0, 212, 255, 0.15) 0%,
    transparent 50%
  );
  z-index: 2;
  pointer-events: none;
  animation: ny-26-pulse 8s ease-in-out infinite;
}

/* Purple Overlay - Bottom Right Animated Glow */
.ny-26-overlay-purple {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(
    circle at 70% 80%,
    rgba(124, 58, 237, 0.15) 0%,
    transparent 50%
  );
  z-index: 2;
  pointer-events: none;
  animation: ny-26-pulse 8s ease-in-out infinite 2s;
}

/* Reveal Background Layer */
.ny-26-reveal-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(
    circle at 50% 50%,
    rgba(0, 212, 255, 0.08) 0%,
    rgba(124, 58, 237, 0.08) 100%
  );
  z-index: 3;
  pointer-events: none;
  transition: opacity 1s ease-out;
}

/* Happy New Year Text Container - Above Login Card */
.ny-26-text-container {
  position: fixed;
  top: 5%;
  left: 50%;
  transform: translateX(-50%);
  z-index: 15;
  display: flex;
  flex-direction: column;
  align-items: center;
  pointer-events: none;
  transition: opacity 2s ease-out 0.5s;
  transition-fill-mode: both;
  filter: hue-rotate(695deg) saturate(5);
}

/* Happy New Year Subtitle */
.ny-26-subtitle {
  font-size: 36px;
  font-weight: 300;
  letter-spacing: 2px;
  background: linear-gradient(135deg, #00d4ff 0%, #0099ff 50%, #7c3aed 100%);
  -webkit-background-clip: text;
  /* -webkit-text-fill-color: transparent; */
  -webkit-text-fill-color: #fff;
  background-clip: text;
  text-align: center;
  white-space: nowrap;
  margin-bottom: 4px;
  filter: drop-shadow(0 0 10px rgba(0, 212, 255, 1));
}

/* Year - 2026 */
.ny-26-year {
  font-size: 60px;
  font-weight: bold;
  letter-spacing: 3px;
  background: linear-gradient(135deg, #00d4ff 0%, #0099ff 50%, #7c3aed 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-align: center;
  white-space: nowrap;
  line-height: 1;
  filter: drop-shadow(0 0 15px rgba(0, 212, 255, 0.85));
}

/* Animation: Pulse Overlay */
@keyframes ny-26-pulse {
  0%,
  100% {
    opacity: 0.3;
  }
  50% {
    opacity: 0.6;
  }
}

/* Animation: Shimmer Text */
@keyframes ny-26-shimmer {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.7;
  }
}

/* Animation: Subtitle Reveal */
@keyframes ny-26-subtitle-reveal {
  from {
    transform: scale(0.5) translateY(50px);
    opacity: 0;
  }
  to {
    transform: scale(1) translateY(0);
    opacity: 1;
  }
}

/* Animation: Year Reveal */
@keyframes ny-26-year-reveal {
  from {
    transform: scale(0.3) translateY(100px);
    opacity: 0;
  }
  to {
    transform: scale(1) translateY(0);
    opacity: 1;
  }
}

/* Apply animations after reveal */
.ny-26-text-container:not(.ny-26-hidden) .ny-26-subtitle {
  animation: ny-26-subtitle-reveal 1.2s cubic-bezier(0.34, 1.56, 0.64, 1) 0.3s
      forwards,
    ny-26-shimmer 3s ease-in-out 1.5s infinite;
}

.ny-26-text-container:not(.ny-26-hidden) .ny-26-year {
  animation: ny-26-year-reveal 1.2s cubic-bezier(0.34, 1.56, 0.64, 1) 0.5s
      forwards,
    ny-26-shimmer 3s ease-in-out 1.7s infinite;
}

/* Enhance login card shadow when theme is active */
body.ny-theme-26 .form-block,
body.ny-theme-26 .login-bx {
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5), 0 0 40px rgba(0, 212, 255, 0.15) !important;
}

/* Media Queries for Responsive Text Sizes */
@media (max-width: 768px) {
  .ny-26-subtitle {
    font-size: 28px;
    letter-spacing: 1.5px;
  }

  .ny-26-year {
    font-size: 48px;
    letter-spacing: 2px;
  }
}

@media (max-width: 480px) {
  .ny-26-subtitle {
    font-size: 24px;
    letter-spacing: 1px;
  }

  .ny-26-year {
    font-size: 40px;
    letter-spacing: 1.5px;
  }
}

.ny-26-text-glow {
  background: radial-gradient(
    circle,
    rgba(0, 212, 255, 0.15) 0%,
    transparent 70%
  );
  animation: ny-26-glow-pulse 3s ease-in-out 0.6s infinite;
}

animation: ny-26-subtitle-reveal 1.8s cubic-bezier(0.34, 1.56, 0.64, 1) 0.5s
  forwards;

@keyframes ny-26-subtitle-reveal {
  from {
    transform: scale(0.2) translateY(100px) rotateX(-30deg); /* 3D rotation */
    opacity: 0;
  }
  to {
    transform: scale(1) translateY(0) rotateX(0deg);
    opacity: 1;
  }
}

@keyframes ny-26-glow-shimmer {
  0%,
  100% {
    opacity: 1;
    filter: drop-shadow(0 0 15px rgba(0, 212, 255, 0.8))...;
  }
  50% {
    opacity: 1;
    filter: drop-shadow(0 0 25px rgba(0, 212, 255, 1))...; /* Brighter */
  }
}

.login-bx {
  animation: cardDramaticReveal 1.2s cubic-bezier(0.34, 1.56, 0.64, 1) 0.3s both,
    shadowGlow 1.2s cubic-bezier(0.34, 1.56, 0.64, 1) 0.3s both;
  transform-origin: center center;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5), 0 0 40px rgba(0, 212, 255, 0.15);
}

/* 3D Card Flip and Scale Animation */
@keyframes cardDramaticReveal {
  from {
    opacity: 0;
    transform: scale(0.3) translateY(80px) rotateX(-45deg) rotateY(-15deg);
    filter: blur(10px);
  }
  50% {
    opacity: 0.7;
    transform: scale(1.05) translateY(-10px) rotateX(5deg);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0) rotateX(0deg) rotateY(0deg);
    filter: blur(0px);
  }
}

/* Shadow and Glow Enhancement */
@keyframes shadowGlow {
  from {
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2), 0 0 20px rgba(0, 212, 255, 0.05);
  }
  50% {
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.4), 0 0 60px rgba(0, 212, 255, 0.25);
  }
  to {
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5), 0 0 40px rgba(0, 212, 255, 0.15);
  }
}

/* ========================================
   REFINED GRADIENT SHIMMER - CLEAN & PROFESSIONAL
   ======================================== */

/* Apply smooth gradient reveal animation to login card */
.login-bx {
  animation: cardFadeIn 0.8s ease-out 0.2s both;
  transform-origin: center center;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5), 0 0 40px rgba(0, 212, 255, 0.15);
  position: relative;
  overflow: hidden;
}

/* Refined gradient shimmer overlay - Clean and subtle */
.login-bx::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  animation: gradientShimmer 3s ease-in-out 0.5s infinite;
  pointer-events: none;
  z-index: 10;
}

/* Smooth fade and scale entrance */
@keyframes cardFadeIn {
  from {
    opacity: 0;
    transform: scale(0.92) translateY(20px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

/* Flowing gradient animation - Clean and smooth */
@keyframes gradientShimmer {
  0% {
    background-position: 0% 0%;
  }
  50% {
    background-position: 100% 0%;
  }
  100% {
    background-position: 0% 0%;
  }
}

@media only screen and (min-width: 1200px) and (max-width: 1530px) {
  .ny-26-text-container {
    top: 20px;
  }

  .ny-26-subtitle {
    font-size: 24px;
  }

  .ny-26-year {
    font-size: 32px;
  }

  .ny-theme-26 .login-bg-ver.login-wrap .form-block .login-bx {
    top: 50px;
  }
}

/* glitter */

@media only screen and (min-width: 1200px) and (max-width: 1366px) and (min-height: 768px) and (max-height: 800px) {
  .ny-26-text-container {
    top: 55px;
  }
}

@media only screen and (min-width: 1400px) and (max-width: 1512px) and (min-height: 900px) and (max-height: 982px) {
  .ny-26-text-container {
    top: 60px;
  }
}

@media only screen and (min-width: 1521px) and (max-width: 1536px) and (min-height: 714px) and (max-height: 864px) {
  .ny-26-text-container {
    top: 40px;
  }

  .ny-26-subtitle {
    font-size: 24px;
  }

  .ny-26-year {
    font-size: 32px;
  }

  .ny-theme-26 .login-bg-ver.login-wrap .form-block .login-bx {
    top: 50px;
  }
}

@media only screen and (min-width: 1600px) {
  .ny-26-text-container {
    top: 65px;
  }

  .ny-26-text-container .ny-26-subtitle {
    font-size: 28px;
  }

  .ny-26-text-container .ny-26-year {
    font-size: 44px;
  }
}

/* UK Theme Background */

body.ny-theme-26.ny-theme-uk .login-wrap::before {
  background-image: url(../img/xmas/london-bridge.webp) !important;
}