/* ================= ROOT ================= */
:root {
  --bg-main: #0b1220;
  --bg-card: #111827;

  --primary: #ffd700;
  --secondary: #22d3ee;
  --accent: #ff4ecd;

  --text-main: #f1f5f9;
  --text-soft: #cbd5e1;
}

/* ================= BODY ================= */
body {
  font-family: 'Poppins', sans-serif;
  background: radial-gradient(circle at top, #1a2a6c, #0b1220 60%);
  color: var(--text-main);
  margin: 0;
}

/* ================= PAGE ================= */
.case-page {
  max-width: 1000px;
  margin: auto;
  padding: clamp(16px, 4vw, 40px);
}

/* ================= TITLE ================= */
.page-title {
  text-align: center;
  margin-bottom: 40px;
}

.page-title h1 {
  font-size: clamp(1.8rem, 5vw, 2.8rem);
  font-weight: 700;
  color: #ffd700;

  /* soft glow */
  text-shadow:
    0 0 4px rgba(255, 215, 0, 0.4),
    0 0 8px rgba(255, 0, 200, 0.2);
}

.page-title p {
  margin-top: 10px;
  color: var(--text-soft);
}

/* ================= VERTICAL LIST ================= */
.case-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* ================= CARD ================= */
.case-card {
  position: relative;
  padding: 20px;
  border-radius: 14px;

  background: linear-gradient(145deg, #111827, #0b1220);
  border: 1px solid rgba(255,255,255,0.06);

  box-shadow: 0 8px 25px rgba(0,0,0,0.6);
  transition: all 0.3s ease;
}

/* TOP COLOR BAR */
.case-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 4px;
  width: 100%;
  border-radius: 14px 14px 0 0;

  background: linear-gradient(90deg, #ffd700, #22d3ee, #ff4ecd);
}

/* HOVER */
@media (hover:hover) {
  .case-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.8);
  }
}

/* TITLE */
.case-card h2 {
  font-size: 1.15rem;
  color: var(--primary);
  margin-bottom: 6px;
}

/* TAG */
.case-card .tag {
  font-size: 0.8rem;
  color: var(--secondary);
  margin-bottom: 8px;
}

/* DESC */
.case-card .desc {
  font-size: 0.95rem;
  color: var(--text-soft);
  line-height: 1.6;
}

/* BUTTON */
.case-card .read-btn {
  display: inline-block;
  margin-top: 10px;
  padding: 7px 14px;

  border-radius: 6px;
  font-size: 0.85rem;
  font-weight: 600;

  background: linear-gradient(90deg, #ffd700, #ff4ecd);
  color: #000;

  text-decoration: none;
  transition: 0.3s;
}

.case-card .read-btn:hover {
  filter: brightness(1.2);
}

/* ================= RESPONSIVE ================= */

/* tablet */
@media (min-width: 768px) {
  .case-card {
    padding: 22px;
  }
}

/* large screens */
@media (min-width: 1200px) {
  .case-page {
    max-width: 1100px;
  }
}