body {
      font-family: 'Montserrat', sans-serif;
      margin: 0;
      background: #0e0e12;
      color: white;
    }
      .logo{display:flex;align-items:center;gap:.5rem}.logo-icon{position:relative;width:32px;height:32px}.logo-icon .fa-cat{font-size:32px;color:var(--tl)}.logo-icon .fa-crown{position:absolute;top:-6px;left:10px;font-size:16px;color:var(--a);transform:rotate(-10deg)}.logo-text{display:flex;flex-direction:column;line-height:1}.logo-text .main{font-family:Poppins,sans-serif;font-size:1.45rem;font-weight:700;color:var(--p)}.logo-text .slogan{font-size:.74rem;color:var(--tl);letter-spacing:.5px}
  
    .container {
      max-width: 1200px;
      margin: 0 auto;
      padding: 2rem 1rem;
    }
    h1 {
      text-align: center;
      font-size: 2.5rem;
      margin-bottom: 2rem;
      color: #ff6ec7;
    }
    h1, h3 {
        font-family: 'Bebas Neue', sans-serif;
        letter-spacing: 1px;
        text-transform: uppercase;
    }
    /* Overlay */
    .lightbox {
    display: none;
    position: fixed;
    z-index: 1000;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10,10,20,0.95);
    align-items: center;
    justify-content: center;
    flex-direction: column;
    }

    .lightbox img {
    max-width: 90%;
    max-height: 80%;
    /*border: 3px solid #ff6ec7;*/
    border-radius: 1rem;
    }

    .lightbox-nav {
    margin-top: 1rem;
    display: flex;
    gap: 1rem;
    }
/* 
    .lightbox-nav button {
    background: #ff6ec7;
    border: none;
    padding: 0.5rem 1rem;
    color: #fff;
    border-radius: 0.5rem;
    font-size: 1rem;
    cursor: pointer;
    transition: 0.3s;
    }

    .lightbox-nav button:hover {
    background: #ff1493;
    } */
    .lightbox-nav button {
    position: relative;
    background: linear-gradient(135deg, #ff6ec7, #ff1493);
    color: white;
    border: 2px solid #ff6ec7;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.1rem;
    padding: 0.7rem 1.4rem;
    margin: 0;
    cursor: pointer;
    border-radius: 8px;
    overflow: hidden;
    transition: background 0.4s, transform 0.2s;
    box-shadow: 0 0 15px rgba(255, 110, 199, 0.6), 0 0 30px rgba(255, 20, 147, 0.3);
    }

    .lightbox-nav button::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, rgba(255,255,255,0.3) 0%, transparent 60%);
    animation: pulse-glow 2s infinite ease-in-out;
    z-index: 0;
    }

    .lightbox-nav button span {
    position: relative;
    z-index: 1;
    }

    .lightbox-nav button:hover {
    background: linear-gradient(135deg, #ff1493, #ff6ec7);
    transform: scale(1.05);
    box-shadow: 0 0 25px #ff6ec7, 0 0 45px #ff1493;
    }

    @keyframes pulse-glow {
    0% {
        transform: scale(0.9);
        opacity: 0.6;
    }
    50% {
        transform: scale(1);
        opacity: 0.3;
    }
    100% {
        transform: scale(0.9);
        opacity: 0.6;
    }
    }




    .services, .portfolio {
      display: flex;
      flex-wrap: wrap;
      gap: 2rem;
      justify-content: center;
    }

    .card {
      background: #1a1a22;
      border: 2px solid #ff6ec7;
      border-radius: 1rem;
      overflow: hidden;
      width: 300px;
      box-shadow: 0 0 20px #ff6ec7, 0 0 50px #ff1493;
      /* box-shadow: 0 0 20px rgba(255, 110, 199, 0.3); */
      transition: 0.3s;
      
    }
    .close-x {
  position: absolute;
  top: 20px;
  right: 25px;
  font-size: 1.5rem;
  color: #ff6ec7;
  cursor: pointer;
  z-index: 1100;
  transition: transform 0.3s, color 0.3s;
  text-shadow: 0 0 8px #ff1493;
}

.close-x:hover {
  transform: scale(1.2) rotate(5deg);
  color: #ff1493;
  text-shadow: 0 0 12px #ff6ec7, 0 0 18px #ff1493;
}


    .card img {
      width: 100%;
      display: block;
     
    }
    .card img:hover { cursor:pointer;}

    .card h3 {
      margin: 0;
      padding: 1rem;
      font-size: 1.2rem;
      color: #fff;
      background: linear-gradient(to right, #ff6ec7, #ff1493);
    }

    .card p {
      padding: 0 1rem 1rem;
      font-size: 0.95rem;
      line-height: 1.4;
    }

    .portfolio .card {
      width: 320px;
    }

    @media(max-width: 768px) {
      .services, .portfolio {
        flex-direction: column;
        align-items: center;
      }
    }
    .nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.burger {
  display: none;
  font-size: 2rem;
  color: #ff6ec7;
  cursor: pointer;
}

#main-menu a {
  margin-left: 1.5rem;
  color: white;
  text-decoration: none;
  font-weight: bold;
}

@media (max-width: 768px) {
  #main-menu {
    display: none;
    flex-direction: column;
    background: #1a1a22;
    padding: 1rem;
  }

  #main-menu.show {
    display: flex;
  }

  .burger {
    display: block;
  }
}


/* Добавим переход к lightbox */
.lightbox {
  display: none;
  position: fixed;
  z-index: 1000;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  background: rgba(10, 0, 20, 0.96);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  opacity: 0;
  transform: scale(0.95);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.lightbox.show {
  display: flex;
  opacity: 1;
  transform: scale(1);
}

.lightbox img {
  max-width: 90%;
  max-height: 80%;
  /*border: 4px solid #ff6ec7;*/
  border-radius: 1rem;
  box-shadow: 0 0 20px #ff6ec7, 0 0 50px #ff1493;
  animation: glowIn 0.6s ease;
}

@keyframes glowIn {
  0% {
    opacity: 0;
    transform: scale(0.85);
    box-shadow: none;
  }
  100% {
    opacity: 1;
    transform: scale(1);
    box-shadow: 0 0 20px #ff6ec7, 0 0 50px #ff1493;
  }
}

.lightbox-nav {
  margin-top: 1rem;
  display: flex;
  gap: 1rem;
}

.lightbox-nav button {
  background: linear-gradient(45deg, #ff6ec7, #ff1493);
  border: none;
  padding: 0.6rem 1.2rem;
  color: #fff;
  border-radius: 0.5rem;
  font-size: 1rem;
  cursor: pointer;
  transition: 0.3s;
  box-shadow: 0 0 10px #ff6ec7;
}

.lightbox-nav button:hover {
  background: #ff1493;
  box-shadow: 0 0 20px #ff1493, 0 0 40px #ff6ec7;
}
@keyframes fadeScale {
  0% {
    opacity: 0;
    transform: scale(0.92);
    box-shadow: none;
  }
  100% {
    opacity: 1;
    transform: scale(1);
    box-shadow: 0 0 20px #ff6ec7, 0 0 50px #ff1493;
  }
}

.lightbox img.switching {
  animation: fadeScale 0.4s ease;
}

.neon-heart {
  animation: pulseNeon 2s infinite ease-in-out;
  filter: drop-shadow(0 0 4px #ff6ec7) drop-shadow(0 0 6px #ff1493);
  vertical-align: middle;
  margin-right: 8px;
  transition: transform 0.3s;
}

.lightbox-nav button:hover .neon-heart {
  transform: scale(1.2);
}

@keyframes pulseNeon {
  0%, 100% {
    filter: drop-shadow(0 0 4px #ff6ec7) drop-shadow(0 0 6px #ff1493);
  }
  50% {
    filter: drop-shadow(0 0 8px #ff1493) drop-shadow(0 0 12px #ff6ec7);
  }
}

.order-btn {
  margin: 0.5rem 1rem 1rem;
  padding: 0.6rem 1.2rem;
  font-size: 0.9rem;
  font-family: 'Montserrat', sans-serif;
  background: linear-gradient(135deg, #ff6ec7, #ff1493);
  border: none;
  border-radius: 0.5rem;
  color: white;
  font-weight: bold;
  cursor: pointer;
  box-shadow: 0 0 12px rgba(255, 110, 199, 0.4);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.order-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 0 25px #ff6ec7, 0 0 40px #ff1493;
}


#preloader {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  background: #0d0017;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  flex-direction: column;
}

.heart-loader {
  text-align: center;
  animation: fadeIn 0.6s ease-in-out;
}

.heart-loader svg {
  animation: pulseHeart 1.2s infinite ease-in-out;
  filter: drop-shadow(0 0 10px #ff6ec7) drop-shadow(0 0 20px #ff1493);
}

#progress-text {
  margin-top: 1rem;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.4rem;
  color: #ff6ec7;
  letter-spacing: 1px;
}

.progress-bar {
  margin-top: 0.8rem;
  width: 250px;
  height: 12px;
  border-radius: 6px;
  background: rgba(255,255,255,0.1);
  overflow: hidden;
  box-shadow: 0 0 5px #ff6ec7 inset;
}

.progress-inner {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #ff6ec7, #ff1493);
  transition: width 0.2s ease-out;
  box-shadow: 0 0 10px #ff6ec7;
}

@keyframes pulseHeart {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.15);
  }
}

@keyframes fadeIn {
  from { opacity: 0 }
  to { opacity: 1 }
}
