body {
  margin: 0;}

.cases-section {
  padding: 140px 6% 100px;
  background: var(--section-1);
}
.cases-section h2.section-title {
  display: block;
  color: var(--purple);
  margin-bottom: 60px;
}
.cases-grid {
  max-width: 1440px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
.case-card {
  background: var(--card);
  backdrop-filter: blur(20px);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
  transition: 0.4s;
  position: relative;
  cursor: pointer;
  display: flex;
  flex-direction: column;
}
.case-card:hover {
  transform: translateY(-12px);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.22);
}
.case-img {
  width: 100%;
  height: 260px;
  object-fit: cover;
}
.case-info {
  padding: 10px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}
.case-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}
.case-header-left {
  display: flex;
  align-items: center;
  gap: 5px;
  flex: 1;
  min-width: 0;
}
.case-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  background: #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: center;
}
.case-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.case-name {
  font-weight: 600;
  font-size: 11px;
  color: #1e293b;
  line-height: 1.3;
  word-break: break-word;
  overflow-wrap: anywhere;
}
.case-btn {
  background: linear-gradient(90deg, #c084fc, #7c3aed);
  color: #fff;
  border: none;
  padding: 6px 8px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 12px;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s;
  box-shadow: 0 4px 15px rgba(124, 58, 237, 0.4);
  white-space: nowrap;
}
.case-card:hover .case-btn {
  opacity: 1;
  visibility: visible;
}
.case-title {
  font-size: 21px;
  font-weight: 800;
  margin: 0 0 10px;
  color: #0f172a;
  line-height: 1.25;
  flex-grow: 1;
}
.case-desc {
  font-size: 14px;
  color: #64748b;
  line-height: 1.5;
  margin-bottom: 16px;
}
.case-stats {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  font-size: 12px;
  color: #475569;
}
.case-stats span {
  font-weight: 600;
  width: 32%;
  text-align: center;
}
@media (max-width: 1024px) {
  .cases-grid,
  .channels-right {
    grid-template-columns:  1fr 1fr;
  }
  .channels-container {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

@media (max-width: 800px) {
  .cases-grid,
  .channels-right {
    grid-template-columns:  1fr;
  }
}