.title {
  font-size: 40px;
  color: #fff;
  text-align: center;
  margin-bottom: 25px;
  background: linear-gradient(
    90deg,
    #ffffff 0%,
    #d3d3d3 25%,
    #181818 50%,
    #c7c7c7 75%,
    #292929 100%
  );
  background-size: 300% 300%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: #fff0;
  animation: rgbAnimation 5s linear infinite, fadeInTitle 1s ease-out forwards;
  animation-delay: 0s, 0.2s;
  opacity: 0;
  transform: translateY(20px);
}
@keyframes fadeInTitle {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.wallpapers-container {
  margin-top: 100px;
}
.gallery-container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  padding: 20px;
  justify-items: center;
}
.gallery-item {
  position: relative;
  width: 100%;
  height: 500px;
  border-radius: 15px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #333;
  transition: transform 0.3s ease;
  cursor: zoom-in;
  opacity: 0;
  animation: fadeInOpacity 1.5s forwards ease-in-out;
}
.gallery-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgb(0 0 0 / 0.6);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}
.gallery-item:hover::before {
  opacity: 1;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 15px;
}
.gallery-item:hover {
  transform: none;
}
@media (max-width: 1024px) {
  .gallery-container {
    grid-template-columns: 1fr;
  }
}
.modal {
  display: flex;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgb(0 0 0 / 0.8);
  justify-content: center;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}
.modal.show {
  opacity: 1;
  visibility: visible;
}
#image-modal .modal-content {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-width: 300px;
  max-width: 90vw;
  margin: auto;
  animation: fadeIn 0.5s ease forwards, scaleUp 0.5s ease forwards;
}
#image-modal .download-link-btn {
  display: flex;
  justify-content: center;
  width: 100%;
}
.modal-content img {
  max-width: 90%;
  max-height: 80vh;
  transition: transform 0.8s ease;
  border-radius: 15px;
  position: relative;
  animation: glowAnimation 3s ease-in-out infinite alternate;
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  -o-user-select: none;
}
.close-modal {
  position: absolute;
  top: -35px;
  right: -10px;
  font-size: 30px;
  color: #fff;
  cursor: pointer;
  border: none;
  background: none;
  padding: 5px;
  transition: transform 0.3s ease, color 0.3s ease;
  z-index: 1001;
  animation: constantGlow 2s ease-in-out infinite;
}
.close-modal i {
  font-size: 34px;
  transition: color 0.3s ease;
}
.close-modal:hover {
  transform: rotate(360deg);
  color: #f44;
}
#image-modal .download-btn {
  transform: translateX(-20px);
}
#image-modal .download-btn:hover {
  transform: translateX(-20px) scale(1.05);
}
.download-btn {
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: radial-gradient(circle at center, #1c1c1c, #0f0f0f, #0a0a0a);
  background-size: 300% 300%;
  animation: circularGradient 6s ease-in-out infinite,
    glowPulse 6s ease-in-out infinite;
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  padding: 12px 28px;
  border-radius: 50px;
  text-decoration: none;
  overflow: hidden;
  border: none;
  cursor: pointer;
  margin-top: 20px;
  transition: transform 0.3s ease;
  box-shadow: 0 0 12px rgb(255 255 255 / 0.08),
    inset 0 0 12px rgb(255 255 255 / 0.04);
}
.download-btn::before {
  content: "";
  position: absolute;
  inset: -10px;
  z-index: -1;
  background: conic-gradient(
    from 0deg,
    #fff0,
    rgb(255 255 255 / 0.45),
    #fff0 30%,
    #fff0 70%,
    rgb(255 255 255 / 0.45),
    #fff0
  );
  filter: blur(18px);
  opacity: 0.45;
  animation: spinHalo 8s linear infinite;
}
.download-btn i {
  font-size: 20px;
}
.download-btn:active {
  transform: scale(0.95);
  box-shadow: none;
}
#download-link,
.download-btn {
  outline: none !important;
  text-decoration: none !important;
}
.download-btn:focus-visible {
  outline: 2px solid rgb(255 255 255 / 0.8) !important;
  outline-offset: 2px;
}
.download-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 0 20px rgb(255 255 255 / 0.15), 0 0 40px rgb(255 255 255 / 0.05);
}
.download-btn {
  transition: transform 0.3s ease;
}
.version-tag {
  position: absolute;
  top: 10px;
  left: 10px;
  background-color: rgb(0 0 0 / 0.7);
  color: #fff;
  padding: 5px 10px;
  border-radius: 5px;
  font-size: 14px;
  font-weight: 700;
  z-index: 3;
  box-shadow: 0 0 5px rgb(255 255 255 / 0.5);
}
.gallery-item.v2-item .version-tag {
  background-color: #ffc107 !important;
  color: #000 !important;
  box-shadow: 0 0 8px rgb(255 193 7 / 0.8) !important;
}
.gallery-item.v3-item .version-tag,
.tag-v3 {
  background-color: #39ff14 !important;
  color: #000 !important;
  box-shadow: 0 0 12px rgb(57 255 20 / 0.9) !important;
  border: none;
}
.variant-count-tag {
  position: absolute;
  top: 10px;
  right: 10px;
  padding: 6px 14px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 800;
  z-index: 4;
  border: none;
  background-color: rgb(0 0 0 / 0.75);
  backdrop-filter: blur(4px);
  color: #fff;
  letter-spacing: px;
  box-shadow: 0 0 10px rgb(255 255 255 / 0.4);
  animation: whiteAuraPulse 2s ease-in-out infinite alternate;
  filter: drop-shadow(0 0 2px rgb(255 255 255 / 0.2));
  pointer-events: none;
  text-transform: uppercase;
}
@keyframes whiteAuraPulse {
  from {
    box-shadow: 0 0 8px 1px rgb(255 255 255 / 0.3);
    transform: scale(1);
  }
  to {
    box-shadow: 0 0 18px 3px rgb(255 255 255 / 0.6);
    transform: scale(1.02);
  }
}
.gallery-item.has-variants .variant-count-tag {
  display: block;
}
.mini-previews-container {
  position: absolute;
  bottom: 15px;
  right: 15px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 6px;
  z-index: 5;
  padding: 5px;
  border-radius: 8px;
  backdrop-filter: blur(2px);
  transition: all 0.3s ease;
}
.mini-previews-container.vertical-previews {
  grid-template-columns: 1fr;
}
.mini-box {
  width: 100px;
  height: 60px;
  background-size: cover;
  background-position: center;
  border: 1.5px solid rgb(255 255 255 / 0.8);
  border-radius: 7px;
  position: relative;
  overflow: visible;
}
.mini-box::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 7px;
  box-shadow: 0 0 15px rgb(255 255 255 / 90%);
  opacity: 1;
  animation: smoothGlow 0.4s ease-in-out infinite alternate;
  pointer-events: none;
  z-index: -1;
}
@keyframes smoothGlow {
  from {
    opacity: 0.3;
    transform: scale(0.98);
  }
  to {
    opacity: 1;
    transform: scale(1.02);
  }
}
.age-gate-icon {
  font-size: 3em;
  color: #ffc107;
  margin-bottom: -30px;
  text-shadow: 0 0 10px rgb(255 193 7 / 0.5);
  animation: warningShake 3s ease-in-out infinite;
}
@keyframes warningShake {
  0%,
  90%,
  100% {
    transform: rotate(0);
  }
  92% {
    transform: rotate(-10deg);
  }
  94% {
    transform: rotate(10deg);
  }
  96% {
    transform: rotate(-10deg);
  }
  98% {
    transform: rotate(10deg);
  }
}
.age-gate-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgb(0 0 0 / 0.7);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 998;
  backdrop-filter: blur(5px);
  transition: opacity 0.5s ease-out;
}
.age-gate-content {
  background-color: #1a1a1ad0;
  color: #fff;
  padding: 30px;
  border-radius: 50px;
  text-align: center;
  max-width: 400px;
  box-shadow: 0 0 30px rgb(255 255 255 / 0.2);
  animation: fadeInScale 0.8s ease-out;
}
.age-gate-title {
  font-size: 2em;
  margin-bottom: 15px;
  margin-top: 40px;
}
.age-gate-message {
  font-size: 1em;
  line-height: 1.5;
  margin-bottom: 25px;
}
.age-gate-buttons {
  display: flex;
  justify-content: center;
  gap: 15px;
}
.age-gate-btn {
  padding: 12px 28px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  transition: transform 0.3s ease;
}
.confirm-btn {
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px;
  font-size: 16px;
  background: radial-gradient(circle at center, #1c1c1c, #0f0f0f, #0a0a0a);
  background-size: 300% 300%;
  animation: circularGradient 6s ease-in-out infinite,
    glowPulse 6s ease-in-out infinite;
  color: #fff;
  font-weight: 700;
  border-radius: 50px;
  text-decoration: none;
  overflow: hidden;
  box-shadow: 0 0 12px rgb(255 255 255 / 0.08),
    inset 0 0 12px rgb(255 255 255 / 0.04);
}
.exit-btn {
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px;
  font-size: 16px;
  background: radial-gradient(circle at center, #361a1a, #200f0f, #150a0a);
  background-size: 300% 300%;
  animation: circularGradient 6s ease-in-out infinite,
    glowPulse 6s ease-in-out infinite;
  color: #fff;
  font-weight: 700;
  border-radius: 50px;
  text-decoration: none;
  overflow: hidden;
  box-shadow: 0 0 12px rgb(255 100 100 / 0.08),
    inset 0 0 12px rgb(255 100 100 / 0.04);
}
.carousel-wallpaper-modal .modal-content {
  width: 100vw;
  height: 100vh;
  max-width: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.carousel-wallpaper-modal .carousel-wrapper {
  position: relative;
  width: 100%;
  height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
}
.carousel-wallpaper-modal .carousel-track {
  width: 100%;
  height: 100%;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}
.wallpaper-carousel-item {
  position: absolute;
  width: 80%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
  opacity: 0;
  pointer-events: none;
}
.wallpaper-carousel-item.active {
  opacity: 1;
  z-index: 10;
  transform: translateX(0) scale(1);
  filter: brightness(1);
  pointer-events: auto;
}
.wallpaper-carousel-item.prev-visible {
  opacity: 0.8;
  z-index: 5;
  transform: translateX(-45%) scale(0.75);
  filter: brightness(0.65) grayscale(0.7);
}
.wallpaper-carousel-item.next-visible {
  opacity: 0.8;
  z-index: 5;
  transform: translateX(45%) scale(0.75);
  filter: brightness(0.65) grayscale(0.7);
}
.wallpaper-carousel-item img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  border-radius: 15px;
  box-shadow: 0 0 20px rgb(0 0 0 / 0.5);
}
.wallpaper-carousel-item.active img {
  animation: glowAnimation 3s ease-in-out infinite alternate;
}
.carousel-indicators {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 25px;
  z-index: 1060;
}
.indicator {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: rgb(255 255 255 / 0.2);
  cursor: pointer;
  transition: all 0.3s ease;
}
.indicator.active-indicator {
  background: #fff;
  transform: scale(1.2);
  box-shadow: 0 0 12px 3px rgb(255 255 255 / 0.8);
  border: none;
  animation: whiteAuraPulse 2s ease-in-out infinite alternate;
}
#download-link-carousel {
  margin-top: 15px;
  text-decoration: none;
}
#download-link-carousel .download-btn {
  display: inline-flex;
  margin-top: 0;
}
.close-carousel {
  position: absolute;
  top: 50px;
  right: 310px;
  font-size: 35px;
  color: #fff;
  cursor: pointer;
  border: none;
  background: none;
  z-index: 1100;
  transition: transform 0.3s ease, color 0.3s ease;
  animation: constantGlow 2s ease-in-out infinite;
}
.close-carousel:hover {
  color: #f44;
  transform: rotate(360deg) scale(1.1);
}
.carousel-button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1050;
  font-size: 5rem;
  color: #fff;
  filter: drop-shadow(0 0 10px rgb(255 255 255 / 0.6));
  transition: all 0.3s ease;
}
.carousel-button:hover {
  opacity: 1;
  transform: translateY(-50%) scale(1.1);
  color: #fff;
  background: none;
  -webkit-text-fill-color: #fff;
  filter: drop-shadow(0 0 20px rgb(255 255 255 / 0.9));
}
.carousel-button.prev {
  left: 13vw;
}
.carousel-button.next {
  right: 13vw;
}
@keyframes glowAnimation {
  from {
    box-shadow: 0 0 15px rgb(255 255 255 / 0.3), 0 0 30px rgb(255 255 255 / 0.2),
      0 0 60px rgb(255 255 255 / 0.15);
  }
  to {
    box-shadow: 0 0 25px rgb(255 255 255 / 0.6), 0 0 50px rgb(255 255 255 / 0.4),
      0 0 90px rgb(255 255 255 / 0.3);
  }
}
@keyframes constantGlow {
  0%,
  100% {
    text-shadow: 0 0 10px rgb(255 255 255 / 0.5);
  }
  50% {
    text-shadow: 0 0 20px rgb(255 255 255);
  }
}
@keyframes circularGradient {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}
@keyframes glowPulse {
  0%,
  100% {
    box-shadow: 0 0 15px rgb(255 255 255 / 0.15);
  }
  50% {
    box-shadow: 0 0 25px rgb(255 255 255 / 0.25);
  }
}
@keyframes spinHalo {
  to {
    transform: rotate(360deg);
  }
}
@keyframes fadeInOpacity {
  0% {
    opacity: 0;
    transform: scale(0.8);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}
@keyframes scaleUp {
  from {
    transform: scale(0.8);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}
@keyframes scaleDown {
  from {
    transform: scale(1);
    opacity: 1;
  }
  to {
    transform: scale(0.8);
    opacity: 0;
  }
}
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes fadeOut {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
  }
}
@keyframes fadeInScale {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}
.gallery-item:nth-child(1) {
  animation-delay: 0.1s;
}
.gallery-item:nth-child(2) {
  animation-delay: 0.2s;
}
.gallery-item:nth-child(3) {
  animation-delay: 0.3s;
}
.gallery-item:nth-child(4) {
  animation-delay: 0.4s;
}
.gallery-item:nth-child(5) {
  animation-delay: 0.5s;
}
.gallery-item:nth-child(6) {
  animation-delay: 0.6s;
}
.gallery-item:nth-child(7) {
  animation-delay: 0.7s;
}
.gallery-item:nth-child(8) {
  animation-delay: 0.8s;
}
.gallery-item:nth-child(9) {
  animation-delay: 0.9s;
}
.gallery-item:nth-child(10) {
  animation-delay: 1s;
}
