/* ================= GLOBAL ================= */
body {
  font-family: 'Poppins', sans-serif;
  background: linear-gradient(180deg, #f8fbff, #eef3f9);
  margin: 0;
  padding: 0;
}

/* ================= PAGE HEADER ================= */
.page-header {
  text-align: center;
  margin-top: 120px;
  margin-bottom: 30px;
}

.page-header h1 {
  font-size: 32px;
  font-weight: 800;
  color: #1b2a4e;
  margin-bottom: 8px;
}

.page-header p {
  font-size: 14px;
  color: #6b7280;
}

/* ================= GRID ================= */
.conference-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 28px;
  padding: 20px 8% 60px;
}

/* ================= CARD ================= */
.conf-card {
  background: linear-gradient(180deg, #ffffff, #f5f7fb);
  border-radius: 16px;
  padding: 26px;

  border: 1px solid #e5e7eb;

  /* 🔥 LIGHT 3D */
  box-shadow:
    inset 0 1px 0 #ffffff,
    0 6px 18px rgba(0,0,0,0.06);

  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

/* 🔥 HOVER EFFECT */
.conf-card:hover {
  transform: translateY(-10px) scale(1.02);

  background: linear-gradient(180deg, #ffffff, #eef4ff);

  box-shadow:
    inset 0 1px 0 #ffffff,
    0 14px 35px rgba(0,0,0,0.12),
    0 0 12px rgba(37,99,235,0.15);
}

/* ================= TITLE ================= */
.conf-card h3 {
  font-size: 19px;
  font-weight: 700;
  color: #1b2a4e;
  margin-bottom: 12px;
  line-height: 1.4;
}

/* ================= TEXT ================= */
.conf-card p {
  font-size: 14px;
  color: #6b7280;
  margin: 6px 0;
}

.conf-card p strong {
  color: #111827;
  font-weight: 600;
}

/* ================= BUTTON (MATCH YOUR THEME) ================= */
.conf-card button {
  margin-top: 18px;
  padding: 10px 22px;

  border-radius: 25px;
  border: 1px solid #d1d5db;

  background: linear-gradient(180deg, #ffffff, #e5e7eb);
  color: #2563eb;

  font-size: 13.5px;
  font-weight: 600;

  cursor: pointer;

  display: inline-flex;
  align-items: center;
  gap: 6px;

  /* 🔥 3D BUTTON */
  box-shadow:
    inset 0 1px 0 #ffffff,
    0 3px 0 #cbd5e1,
    0 6px 14px rgba(0,0,0,0.08);

  transition: all 0.25s ease;
}

/* 🔥 BUTTON HOVER */
.conf-card button:hover {
  transform: translateY(-2px);

  background: linear-gradient(180deg, #ffffff, #eef4ff);
  color: #1d4ed8;

  box-shadow:
    inset 0 1px 0 #ffffff,
    0 6px 0 #cbd5e1,
    0 12px 20px rgba(0,0,0,0.12),
    0 0 10px rgba(37,99,235,0.2);
}

/* 🔥 BUTTON CLICK */
.conf-card button:active {
  transform: translateY(2px);

  box-shadow:
    inset 0 3px 6px rgba(0,0,0,0.2),
    0 1px 0 #cbd5e1;
}

/* ================= RIBBON ================= */
.conf-card::after {
  position: absolute;
  top: 14px;
  right: -38px;
  color: white;
  font-size: 11px;
  font-weight: 600;
  padding: 5px 45px;
  transform: rotate(45deg);
  letter-spacing: 0.5px;
}

/* STATUS COLORS */
.conf-card.upcoming::after {
  content: "Upcoming";
  background: linear-gradient(135deg, #22c55e, #16a34a);
}

.conf-card.open::after {
  content: "Open";
  background: linear-gradient(135deg, #3b82f6, #1d4ed8);
}

.conf-card.closed::after {
  content: "Closed";
  background: linear-gradient(135deg, #ef4444, #b91c1c);
}

/* ================= BADGE ================= */
.status-badge {
  display: inline-block;
  padding: 5px 12px;
  font-size: 12px;
  border-radius: 20px;
  font-weight: 600;
  margin-top: 8px;
}

.status-upcoming {
  background: #eafaf1;
  color: #16a34a;
}

.status-open {
  background: #e7f1ff;
  color: #2563eb;
}

.status-closed {
  background: #fdecea;
  color: #dc2626;
}

/* ================= RESPONSIVE ================= */
@media(max-width: 768px) {
  .page-header h1 {
    font-size: 26px;
  }

  .conference-list {
    padding: 20px;
  }
}