body {
  font-family: "Inter", sans-serif;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
.page-content {
  flex: 1;
}
.row {
  display: flex;
  flex-wrap: wrap;
  margin-left: -16px;
  margin-right: -16px;
}
.col {
  flex: none;
}
.socialbtn:hover {
  transform: translate(0px, -3px);
}
.view-all-link:hover {
  color: #fff !important;
}
.footer-tiktok:hover { color: #25f4ee; }
.footer-telegram:hover { color: #229ED9; }
.footer-instagram:hover { color: #e4405f; }
.instagram { color: #E4405F; }
.instagram:hover { color: #d63b56; }
img {
  pointer-events: none;
}
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: #0a0f16;
}
::-webkit-scrollbar-thumb {
  background: #0e141d;
}
::-webkit-scrollbar-thumb:hover {
  background: #0e141d;
}
.preloader {
  background: #0a0f16;
  height: 100vh;
  width: 100%;
  position: fixed;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
}
.disappear {
  animation: vanish 0.4s forwards;
}
@keyframes vanish {
  100% {
    opacity: 0;
    visibility: hidden;
  }
}
.preloader-logo {
  width: 96px;
  height: 96px;
  animation: pulse 1s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% {
    transform: scale(1);
    opacity: 0.9;
  }
  50% {
    transform: scale(1.08);
    opacity: 1;
  }
}

.featured-card {
  position: relative;
  overflow: hidden;
}
.featured-card:hover {
  border-color: rgba(59, 130, 246, 0.35) !important;
  box-shadow: 0 10px 30px -10px rgba(59, 130, 246, 0.25);
}
.line-clamp-3 {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}


/* Responsive card grid */
.card-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}
.card-grid .card-item {
  width: 100%;
  box-sizing: border-box;
}
@media (min-width: 768px) {
  .card-grid .card-item {
    width: calc(50% - 8px);
  }
}
@media (min-width: 1024px) {
  .card-grid .card-item {
    width: calc(25% - 12px);
  }
}

/* Card component */
.item-card {
  display: flex;
  flex-direction: column;
  background-color: #0e141d;
  border: 1px solid #1f2937;
  border-radius: 12px;
  height: 100%;
  cursor: pointer;
  transition: border-color 0.2s ease;
  text-decoration: none;
  color: inherit;
  overflow: hidden;
}
.item-card:hover {
  border-color: #3b82f6;
}
.item-card-banner {
  position: relative;
  width: 100%;
  height: 120px;
  overflow: hidden;
  flex-shrink: 0;
}
.item-card-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
}
.item-card-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 0%, #0e141d 100%);
}
.item-card-body {
  padding: 0 20px 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.item-card-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  object-fit: contain;
  pointer-events: none;
}
.item-card-name {
  font-weight: 600;
  font-size: 15px;
  color: #e5e7eb;
  margin-top: 14px;
}
.item-card-stat {
  font-weight: 700;
  font-size: 13px;
  margin-top: 4px;
}
.item-card-date {
  font-size: 12px;
  color: #6b7280;
  margin-top: 4px;
}
.item-card-links {
  display: flex;
  gap: 8px;
  margin-top: auto;
  padding-top: 12px;
}
.item-card-links a {
  color: #6b7280;
  transition: color 0.15s ease;
  font-size: 16px;
}
.item-card-links a:hover {
  color: #fff;
}

/* Service card */
.item-card-role {
  font-weight: 700;
  font-size: 14px;
  margin-top: 6px;
}
.item-card-desc {
  font-size: 13px;
  color: #6b7280;
  margin-top: 6px;
  line-height: 1.4;
}

/* Search bar (reusable) */
.search-controls {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
}
@media (min-width: 768px) {
  .search-controls {
    flex-direction: row;
    align-items: stretch;
  }
  .search-controls > .search-box,
  .search-controls > .filter-group {
    flex: 1 1 0;
  }
}
.search-box {
  display: flex;
  align-items: center;
  height: 48px;
  padding: 0 16px;
  background-color: #0e141d;
  border: 1px solid #1f2937;
  border-radius: 12px;
  transition: border-color 0.15s ease;
}
.search-box:focus-within {
  border-color: #3b82f6;
}
.search-box i {
  color: #6b7280;
  margin-right: 12px;
  font-size: 14px;
}
.search-box input {
  flex: 1;
  background: transparent;
  border: 0;
  outline: none;
  color: #fff;
  font-size: 14px;
}
.search-box input::placeholder {
  color: #6b7280;
}
.filter-group {
  display: flex;
  gap: 8px;
  height: 48px;
}
.filter-btn {
  flex: 1;
  height: 100%;
  padding: 0 8px;
  font-size: 14px;
  font-weight: 600;
  color: #9ca3af;
  background-color: #0e141d;
  border: 1px solid #1f2937;
  border-radius: 12px;
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.filter-btn:hover {
  color: #fff;
}
.filter-btn.active {
  color: #fff;
  background-color: #1e3a8a;
  border-color: transparent;
}

/* Empty state */
.empty-state {
  display: none;
  align-items: center;
  justify-content: center;
  padding: 48px;
  background-color: #0e141d;
  border-radius: 12px;
  text-align: center;
}
.empty-state.visible {
  display: flex;
}
.empty-state i {
  font-size: 40px;
  color: #374151;
  margin-bottom: 16px;
}
.empty-state p {
  color: #9ca3af;
  font-size: 16px;
}
