  body {
    font-family: 'Segoe UI', sans-serif;
    background-color: #0f1724;
    color: #fff;
    margin: 0;
    padding: 0;
  }


  /* === HEADER === */
  header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 25px;
    background-color: #111827;
    border-bottom: 2px solid #1f2937;
    border-radius: 10px;
  }

  .logo {
    font-size: 1.6em;
    font-weight: bold;
    color: #f59e0b;
    text-decoration: none;
  }

  .nav-links {
    display: flex;
    gap: 20px;
  }

  .nav-links a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    font-size: 1.05em;
    transition: color 0.2s ease;
  }

  .nav-links a:hover {
    color: #f59e0b;
  }

  /* ===== HERO / INTRO ===== */
  .event-hero {
    text-align: center;
    padding: 80px 20px 20px 20px;
    background: linear-gradient(135deg, #1e293b, #0f1724);
  }

  .event-hero h1 {
    font-size: 2.6rem;
    font-weight: bold;
    color: #fbbf24;
    margin-bottom: 20px;
  }

  .event-hero p {
    font-size: 1.2rem;
    color: #d1d5db;
    max-width: 640px;
    margin: auto;
  }

  .event-btn {
    margin-top: 30px;
    background-color: #e63946;
    padding: 14px 24px;
    border-radius: 8px;
    color: #fff;
    font-weight: bold;
    text-decoration: none;
    display: inline-block;
    transition: background 0.2s ease;
  }

  .event-btn:hover { background-color: #c92c38; }

  /* ===== 3 STEP SECTION ===== */
  .event-steps {
    padding: 10px 20px;
    max-width: 980px;
    text-align: center;
    margin: auto;
  }

  .steps-title {
    text-align: center;
    margin-bottom: 50px;
  }

  .steps-title h2 {
    font-size: 2.2rem;
    color: #fbbf24;
  }

  .steps-grid {
    display: grid;
    gap: 25px;
    grid-template-columns: repeat(3, 1fr);
  }

  .step-card {
    background-color: #1e293b;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 6px 16px rgba(255,255,255,0.06);
  }

  .step-card h3 {
    font-size: 1.4rem;
    margin-bottom: 12px;
    color: #f59e0b;
  }

  .step-desc {
    color: #e5e7eb;
    margin-bottom: 15px;
    font-size: 1rem;
  }

  .step-detail {
    background-color: #0f1724;
    padding: 15px;
    border-radius: 8px;
    font-size: 0.95rem;
    color: #9ca3af;
    line-height: 1.5;
  }


  /* === FOOTER === */
  footer {
    text-align: center;
    margin-top: 40px;
    padding: 20px;
    background-color: #1e293b;
    border-radius: 12px;
    font-size: 0.95em;
    color: #cbd5e1;
  }

  footer a {
    color: #f59e0b;
    text-decoration: none;
  }

  footer a:hover {
    text-decoration: underline;
  }

  .return-message {
    margin-bottom:15px;
    color:#fbbf24;
    font-weight:normal;
    min-height: 22px;
  }


  @media (max-width: 900px) {
    .steps-grid {
      grid-template-columns: 1fr;
    }
  }



/* =================================== */
.vault-card {
  background: linear-gradient(145deg, #1f2937, #111827);
  border-radius: 18px;
  border: 1px solid #374151;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.vault-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(245, 158, 11, 0.25);
}

.vault-header {
  background: rgba(245,158,11,0.15);
  border-bottom: 1px solid #374151;
  font-size: 1.3rem;
  font-weight: bold;
  color: #fbbf24;
  display: flex;
  align-items: center;
  gap: 10px;
}

.vault-title {
  font-size: 1.4rem;
  font-weight: 700;
  color: #f59e0b; /* i.name 강조 컬러 */
  letter-spacing: 0.5px;
}

.vault-desc {
  font-size: 1rem;
  color: #e5e7eb;
  margin-bottom: 16px;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* 버튼 */
.vault-btn {
  background: linear-gradient(135deg, #f59e0b, #f97316);
  border: none;
  color: #000;
  font-weight: bold;
  padding: 12px;
  border-radius: 12px;
  transition: all 0.2s ease;
}

.vault-btn:hover {
  background: linear-gradient(135deg, #fbbf24, #fb923c);
  transform: scale(1.02);
}

/* ===== VAULT FILTER PILLS ===== */
.vault-filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.vault-filter-pill {
  display: inline-block;
  padding: 8px 18px;
  border-radius: 999px;
  border: 1px solid #374151;
  background: #1e293b;
  color: #cbd5e1;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  transition: all 0.2s ease;
}

.vault-filter-pill:hover {
  border-color: #f59e0b;
  color: #fbbf24;
}

.vault-filter-pill.active {
  background: linear-gradient(135deg, #f59e0b, #f97316);
  border-color: transparent;
  color: #111827;
}

.event-steps.vault-grid-section {
  max-width: 1320px;
}

/* ===== VAULT CARD (Polymarket-style) ===== */
.vault-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  padding: 16px 18px;
  border-bottom: 1px solid #374151;
}

.vault-card-id {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.vault-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  flex-shrink: 0;
}

.vault-icon-fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #f59e0b;
  font-size: 1.3rem;
  background: #0f1724;
  border: 1px solid #374151;
}

.vault-banner {
  width: 100%;
  background: #0f1724;
  border-bottom: 1px solid #374151;
}

.vault-banner img {
  display: block;
  width: 100%;
  height: auto;
}

.vault-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.vault-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 4px;
}

.vault-tag {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  padding: 2px 8px;
  border-radius: 6px;
  background: rgba(245,158,11,0.15);
  color: #fbbf24;
  white-space: nowrap;
}

.vault-tag-chain {
  background: rgba(148,163,184,0.15);
  color: #cbd5e1;
}

.vault-status {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  padding: 4px 10px;
  border-radius: 999px;
  white-space: nowrap;
  flex-shrink: 0;
}

.vault-status i {
  font-size: 0.5rem;
}

.vault-status.is-live {
  background: rgba(34,197,94,0.15);
  color: #4ade80;
}

.vault-status.is-closed {
  background: rgba(148,163,184,0.15);
  color: #94a3b8;
}

.vault-stat {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 12px;
}

.vault-stat-value {
  font-size: 1.8rem;
  font-weight: 800;
  color: #fbbf24;
}

.vault-stat-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  color: #9ca3af;
  text-transform: uppercase;
}

.vault-capacity {
  margin: 14px 0;
}

.vault-capacity-labels {
  display: flex;
  justify-content: space-between;
  font-size: 0.78rem;
  color: #9ca3af;
  margin-bottom: 6px;
}

.vault-progress {
  height: 6px;
  border-radius: 999px;
  background: #0f1724;
  overflow: hidden;
}

.vault-progress-fill {
  height: 100%;
  max-width: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, #f59e0b, #f97316);
}

.vault-card-footer {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 6px;
}

.vault-link-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: 1px solid #374151;
  color: #fbbf24;
  flex-shrink: 0;
  text-decoration: none;
}

.vault-link-btn:hover {
  border-color: #f59e0b;
  background: rgba(245,158,11,0.1);
}

/* ===== CARD LIST TABLE (responsive) ===== */
@media (max-width: 768px) {
  .card-list-table thead {
    display: none;
  }

  .card-list-table,
  .card-list-table tbody,
  .card-list-table tr,
  .card-list-table td {
    display: block;
    width: 100%;
  }

  .card-list-table tr {
    margin-bottom: 16px;
    background-color: #1e293b;
    border-radius: 12px;
    border: 1px solid #374151;
    padding: 10px 14px;
  }

  .card-list-table tr:hover {
    background-color: #1e293b;
  }

  .card-list-table td {
    max-width: none !important;
    padding: 8px 0;
    border: none;
    border-bottom: 1px solid #374151;
  }

  .card-list-table td:last-child {
    border-bottom: none;
  }

  .card-list-table td::before {
    content: attr(data-label);
    display: block;
    font-size: 0.8rem;
    font-weight: bold;
    color: #f59e0b;
    margin-bottom: 4px;
  }

  .card-list-table td[data-label="#"] {
    display: none;
  }
}
