@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes modalFadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes modalSlideIn {
  from {
    transform: scale(0.8) translateY(50px);
    opacity: 0;
  }
  to {
    transform: scale(1) translateY(0);
    opacity: 1;
  }
}
@keyframes float1 {
  0%, 100% {
    transform: translateY(0px) scale(1);
  }
  50% {
    transform: translateY(-15px) scale(1.2);
  }
}
@keyframes float2 {
  0%, 100% {
    transform: translateX(0px) scale(1);
  }
  50% {
    transform: translateX(10px) scale(1.1);
  }
}
@keyframes float3 {
  0%, 100% {
    transform: translateY(0px) translateX(0px);
  }
  25% {
    transform: translateY(-10px) translateX(5px);
  }
  75% {
    transform: translateY(5px) translateX(-5px);
  }
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Arial", sans-serif;
  background: #ffffff;
  min-height: 100vh;
  color: #333;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

.header {
  text-align: center;
  margin-bottom: 40px;
  background: linear-gradient(135deg, #ffebe6, #e6f3ff, #fff9e6);
  border-radius: 25px;
  padding: 40px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(255, 192, 203, 0.2);
}
.header h1 {
  font-size: 2.8rem;
  background: linear-gradient(135deg, #ff6b9d, #4facfe, #ffd93d);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 15px;
  font-weight: 600;
  letter-spacing: 2px;
}

.subtitle {
  color: #666;
  font-size: 1.1rem;
  font-weight: 300;
}

.lora-link-box {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  background: linear-gradient(135deg, #ff6b9d, #4facfe);
  border-radius: 15px;
  padding: 15px 25px;
  color: #ffffff;
  text-decoration: none;
  box-shadow: 0 6px 20px rgba(79, 172, 254, 0.3);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  font-weight: 500;
  letter-spacing: 0.5px;
  max-width: 450px;
  margin-left: auto;
  margin-right: auto;
  flex-wrap: wrap;
}
.lora-link-box:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(79, 172, 254, 0.4);
  text-decoration: none;
  color: #ffffff;
}

.lora-icon {
  margin-right: 10px;
  font-size: 1.2rem;
}

.tabs {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 40px;
  background: #f8f9fa;
  border-radius: 20px;
  padding: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  border: 1px solid #e9ecef;
  position: sticky;
  top: 20px;
  z-index: 100;
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}
.tabs.scrolled {
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
  background: rgba(248, 249, 250, 0.95);
}

.tab-button {
  padding: 15px 35px;
  margin: 0 5px;
  border: none;
  border-radius: 15px;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 500;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  background: transparent;
  color: #666;
  letter-spacing: 0.5px;
}
.tab-button.active {
  background: linear-gradient(135deg, #ff6b9d, #4facfe);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(79, 172, 254, 0.3);
}
.tab-button:hover:not(.active) {
  background: rgba(79, 172, 254, 0.1);
  color: #4facfe;
}

.gallery-container {
  background: #ffffff;
  border-radius: 20px;
  padding: 30px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.05);
  border: 1px solid #f0f0f0;
}

.gallery {
  display: none;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  animation: fadeIn 0.6s ease-out;
}
.gallery.active {
  display: grid;
}

.gallery-item {
  background: #ffffff;
  border-radius: 18px;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  border: 1px solid #f0f0f0;
  position: relative;
  cursor: pointer;
}
.gallery-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}
.gallery-item:hover .gallery-image {
  transform: scale(1.05);
}

.image-placeholder {
  width: 100%;
  height: 500px;
  position: relative;
  overflow: hidden;
}

.gallery-image {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  transition: transform 0.3s ease;
  cursor: pointer;
}

.decorative-dots {
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  opacity: 0.6;
}
.decorative-dots.dot1 {
  background: #ff6b9d;
  top: 10%;
  left: 5%;
  animation: float1 4s ease-in-out infinite;
}
.decorative-dots.dot2 {
  background: #4facfe;
  top: 15%;
  right: 8%;
  animation: float2 3s ease-in-out infinite;
}
.decorative-dots.dot3 {
  background: #ffd93d;
  bottom: 20%;
  left: 10%;
  animation: float3 5s ease-in-out infinite;
}
.decorative-dots.dot4 {
  background: #ff6b9d;
  bottom: 15%;
  right: 15%;
  animation: float1 3.5s ease-in-out infinite;
}

.category-tag {
  position: absolute;
  top: 15px;
  right: 15px;
  background: rgba(255, 255, 255, 0.9);
  color: #666;
  padding: 6px 14px;
  border-radius: 12px;
  font-size: 0.8rem;
  font-weight: 500;
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  -webkit-backdrop-filter: blur(5px);
          backdrop-filter: blur(5px);
}
.modal.active {
  display: flex;
  align-items: center;
  justify-content: center;
  animation: modalFadeIn 0.3s ease-out;
}

.modal-content {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  animation: modalSlideIn 0.3s ease-out;
}

.modal-image {
  width: 100%;
  height: auto;
  max-width: 80vw;
  max-height: 80vh;
  -o-object-fit: contain;
     object-fit: contain;
  display: block;
}

.modal-close {
  position: absolute;
  top: 15px;
  right: 15px;
  background: rgba(255, 255, 255, 0.9);
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  cursor: pointer;
  font-size: 1.5rem;
  color: #666;
  transition: all 0.3s ease;
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
  z-index: 1001;
}
.modal-close:hover {
  background: rgb(255, 255, 255);
  transform: scale(1.1);
}

.modal-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
  color: #ffffff;
  padding: 30px 20px 20px;
  text-align: center;
}

.modal-tag {
  background: rgba(255, 255, 255, 0.2);
  padding: 5px 12px;
  border-radius: 10px;
  font-size: 0.9rem;
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
  display: inline-block;
}

::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 10px;
}
::-webkit-scrollbar-thumb {
  background: linear-gradient(135deg, #ff6b9d, #4facfe);
  border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(45deg, #ff5a8a, #3d9cfd);
}

@media (max-width: 768px) {
  .header h1 {
    font-size: 2.2rem;
  }
  .tabs {
    flex-direction: column;
    gap: 10px;
    padding: 15px;
  }
  .tab-button {
    margin: 0;
  }
  .gallery {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .container {
    padding: 15px;
  }
}