:root {
  --bg-1: #081b2a;
  --bg-2: #0e2b40;
  --card: #ffffff;
  --muted: rgba(255, 255, 255, 0.85);
  --accent: #e6bd72;
  --pill: #f6d79f;
  --glass: rgba(255, 255, 255, 0.06);
  --container: 1200px;
}
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html,
body {
  height: 100%;
}
body {
  font-family: "Montserrat", system-ui, Segoe UI, Roboto, Arial;
  background: radial-gradient(
      800px 400px at 10% 20%,
      rgba(255, 255, 255, 0.02),
      transparent 8%
    ),
    radial-gradient(
      700px 350px at 90% 80%,
      rgba(255, 255, 255, 0.01),
      transparent 8%
    ),
    linear-gradient(180deg, var(--bg-1), var(--bg-2));
  color: var(--muted);
  -webkit-font-smoothing: antialiased;
  padding: 56px 20px;
  display: flex;
  flex-direction: column; /* Stacks children vertically */
  align-items: center; /* Centers children horizontally */
}
.wrap {
  max-width: var(--container);
  width: 100%;
  padding: 56px 20px; /* Added padding here for content */
  flex-grow: 1; /* This pushes the footer to the bottom */
}

/* Header */
.header {
  text-align: center;
  margin-bottom: 36px;
}
.header .toptext {
  font-family: "Playfair Display", serif;
  color: var(--muted);
  opacity: 0.9;
  margin-bottom: 8px;
}
.header h1 {
  font-family: "Playfair Display", serif;
  font-size: 64px;
  color: var(--accent);
  margin-bottom: 14px;
}
.header p {
  max-width: 880px;
  margin: 0 auto;
  color: rgba(230, 238, 246, 0.85);
  font-size: 16px;
}

/* Big pill */
.big-pill {
  display: flex;
  justify-content: center;
  margin: 26px 0 12px;
}
.big-pill .pill {
  background: linear-gradient(180deg, var(--pill), #e0b86a);
  padding: 16px 56px;
  border-radius: 40px;
  box-shadow: 0 14px 36px rgba(230, 189, 114, 0.18);
  font-weight: 700;
  color: #081826;
}

/* Filters */
.filters {
  display: flex;
  gap: 14px;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 28px;
}
.tag {
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: transparent;
  font-weight: 600;
}
.tag.active {
  background: linear-gradient(180deg, rgba(230, 189, 114, 0.95), #e0b86a);
  color: #081826;
  box-shadow: 0 10px 30px rgba(224, 184, 106, 0.16);
}

/* Grid */
.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: start;
  margin-top: 6px;
}

.card {
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.98),
    rgba(244, 244, 246, 0.98)
  );
  border-radius: 14px;
  padding: 20px;
  box-shadow: 0 12px 30px rgba(2, 6, 12, 0.18);
  color: #0b1220;
  min-height: 180px;
  position: relative;
  overflow: hidden;
}
.card .badge {
  display: inline-block;
  background: var(--pill);
  padding: 8px;
  border-radius: 10px;
  font-weight: 700;
  color: #081826;
  margin-bottom: 12px;
}
.card h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 8px;
}
.card .meta {
  font-size: 12px;
  color: rgba(11, 17, 32, 0.45);
  margin-bottom: 12px;
}
.card p {
  font-size: 13px;
  color: rgba(11, 17, 32, 0.7);
  line-height: 1.6;
  margin-bottom: 14px;
}
.card .actions {
  display: flex;
  gap: 10px;
}
.btn-ghost {
  border: 1px solid rgba(11, 17, 32, 0.08);
  background: transparent;
  padding: 10px 14px;
  border-radius: 10px;
  font-weight: 600;
}
.btn-primary {
  background: #081826;
  color: var(--pill);
  padding: 10px 14px;
  border-radius: 10px;
  font-weight: 700;
  box-shadow: 0 8px 20px rgba(2, 6, 12, 0.18);
}

/* floating gold icon */
.gold-dot {
  position: absolute;
  right: 14px;
  top: 14px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(180deg, var(--pill), #e0b86a);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 18px rgba(224, 184, 106, 0.2);
}

/* Large CTA card on right */
.cta-large {
  background: linear-gradient(180deg, var(--bg-2), #0b2330);
  color: var(--muted);
  border-radius: 14px;
  padding: 36px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 360px;
  box-shadow: 0 12px 40px rgba(2, 6, 12, 0.4);
}
.cta-large h3 {
  font-family: "Playfair Display", serif;
  font-size: 28px;
  color: var(--muted);
  text-align: center;
  margin-bottom: 18px;
}
.cta-large .cta-btn {
  background: linear-gradient(180deg, var(--pill), #e0b86a);
  padding: 12px 26px;
  border-radius: 40px;
  font-weight: 700;
  color: #081826;
}

/* place CTA to span two rows on right */
.cta-position {
  grid-row: 1 / span 3;
  grid-column: 3 / 4;
}

/* small screens */
@media (max-width: 1000px) {
  .header h1 {
    font-size: 48px;
  }
  .grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .cta-position {
    grid-column: 1 / -1;
    grid-row: auto;
  }
}
@media (max-width: 640px) {
  .header h1 {
    font-size: 36px;
  }
  .big-pill .pill {
    padding: 12px 36px;
  }
  .grid {
    grid-template-columns: 1fr;
  }
  .card {
    min-height: 160px;
  }
}
