/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Inter", "Segoe UI", sans-serif;
}

body {
  background: radial-gradient(circle at 20% 0%, #0f172a, #020617 70%);
  color: #e2e8f0;
}

/* HEADER */
.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 48px;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.logo {
  display: flex;
  align-items: center;
  gap: 14px;
}

.logo-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #4ade80, #166534);
  box-shadow: 0 0 20px rgba(34,197,94,0.5);
}

.topbar h1 {
  font-size: 22px;
  font-weight: 600;
  letter-spacing: 0.3px;
}

.topbar nav {
  display: flex;
  gap: 12px;
  color: #64748b;
}

.topbar a {
  text-decoration: none;
  color: #94a3b8;
  transition: 0.25s;
}

.topbar a:hover {
  color: #22c55e;
}

/* MAIN */
.container {
  padding: 48px;
}

.container h2 {
  font-size: 20px;
  font-weight: 500;
  margin-bottom: 24px;
  color: #cbd5f5;
}

/* GRID */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 26px;
}

/* CARD */
.card {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  background: linear-gradient(160deg, rgba(15,23,42,0.7), rgba(2,6,23,0.9));
  backdrop-filter: blur(14px);
  box-shadow: 
    inset 0 1px 0 rgba(255,255,255,0.05),
    0 15px 40px rgba(0,0,0,0.6);
  transition: all 0.3s ease;
}

/* IMAGE */
.card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}

/* DARK OVERLAY */
.overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(2,6,23,0.9), transparent 60%);
}

/* TITLE */
.card h3 {
  position: absolute;
  bottom: 58px;
  left: 18px;
  font-size: 16px;
  font-weight: 500;
}

/* BUTTON */
.card button {
  position: absolute;
  bottom: 16px;
  left: 16px;
  right: 16px;

  display: flex;
  justify-content: space-between;
  align-items: center;

  padding: 10px 14px;
  border-radius: 10px;
  border: none;

  background: rgba(34,197,94,0.12);
  color: #86efac;

  font-weight: 500;
  cursor: pointer;

  backdrop-filter: blur(6px);
  transition: all 0.25s;
}

.card button span {
  font-size: 18px;
}

/* BUTTON HOVER */
.card button:hover {
  background: rgba(34,197,94,0.25);
  box-shadow: 0 0 12px rgba(34,197,94,0.4);
}

/* BADGE */
.badge {
  position: absolute;
  top: 14px;
  right: 14px;

  padding: 4px 10px;
  border-radius: 8px;

  background: rgba(34,197,94,0.85);
  color: white;

  font-size: 13px;
  font-weight: 600;

  box-shadow: 0 0 10px rgba(34,197,94,0.6);
}

/* CARD HOVER */
.card:hover {
  transform: translateY(-6px) scale(1.01);
  box-shadow: 
    0 25px 60px rgba(0,0,0,0.8),
    0 0 20px rgba(34,197,94,0.15);
}