* {
  scroll-behavior: smooth;
}
.gradient-hero {
  background: linear-gradient(135deg, #5b2eff 0%, #3d1e8c 50%, #1f1b3a 100%);
}
.gradient-dark {
  background: linear-gradient(180deg, #1f1b3a 0%, #0f0f14 100%);
}
.geo-shape {
  position: absolute;
  opacity: 0.08;
  pointer-events: none;
}
.btn-glow:hover {
  box-shadow: 0 0 30px rgba(139, 92, 246, 0.5);
}
.float-animation {
  animation: float 6s ease-in-out infinite;
}
@keyframes float {
  0%,
  100% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-20px) rotate(5deg);
  }
}
.slide-up {
  animation: slideUp 0.6s ease-out forwards;
  opacity: 0;
  transform: translateY(30px);
}
@keyframes slideUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.blog-card {
  transition: all 0.3s ease;
}
.blog-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(91, 46, 255, 0.3);
}
.category-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(15, 15, 20, 0.95);
  z-index: 100;
  overflow-y: auto;
}
.modal.active {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.modal-content {
  background: linear-gradient(135deg, #1f1b3a 0%, #0f0f14 100%);
  border: 1px solid rgba(91, 46, 255, 0.3);
  border-radius: 24px;
  max-width: 800px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
}
.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: rgba(91, 46, 255, 0.2);
  border: none;
  color: white;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
}
.modal-close:hover {
  background: rgba(91, 46, 255, 0.4);
}
.line-clamp-3 {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.article-icon {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 20px;
}
.skeleton {
  background: linear-gradient(90deg, #1f1b3a 25%, #2d2654 50%, #1f1b3a 75%);
  background-size: 200% 100%;
  animation: loading 1.5s infinite;
  border-radius: 8px;
}
@keyframes loading {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}
