/* ===============================
   EMERALD ROYAL THEME
   =============================== */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;700&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

/* Background */

body {
  min-height: 100vh;
  background: radial-gradient(
      circle at top,
      #064e3b,
      #022c22 40%,
      #020617 80%
  );
  color: #ecfdf5;
}

/* Header */

header {
  text-align: center;
  padding: 70px 20px 40px;
}

header h1 {
  font-size: 3.2rem;
  font-weight: 700;
  letter-spacing: 1px;
  color: #d1fae5;
  text-shadow: 0 0 15px rgba(16,185,129,0.4);
}

header p {
  margin-top: 10px;
  font-size: 1.1rem;
  opacity: 0.85;
  color: #a7f3d0;
}

/* Card Layout */

.card-container {
  max-width: 1250px;
  margin: auto;
  padding: 40px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
}

/* Cards */

.card {
  position: relative;
  background: linear-gradient(
    145deg,
    rgba(6,78,59,0.6),
    rgba(2,44,34,0.9)
  );

  border-radius: 18px;
  padding: 32px 28px;

  border: 1px solid rgba(16,185,129,0.25);

  box-shadow:
    0 15px 30px rgba(0,0,0,0.6),
    inset 0 0 15px rgba(16,185,129,0.05);

  cursor: pointer;
  transition: all 0.35s ease;
  overflow: hidden;
}

/* Gold Border Glow */

.card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 18px;
  padding: 1px;

  background: linear-gradient(
    120deg,
    transparent,
    #facc15,
    #34d399,
    transparent
  );

  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;

  opacity: 0;
  transition: 0.4s;
}

/* Hover Effect */

.card:hover {
  transform: translateY(-10px) scale(1.03);

  box-shadow:
    0 25px 50px rgba(0,0,0,0.8),
    0 0 30px rgba(16,185,129,0.4);
}

.card:hover::before {
  opacity: 1;
}

/* Card Text */

.card h2 {
  font-size: 1.7rem;
  margin-bottom: 12px;
  font-weight: 600;
  color: #ecfeff;
}

.card p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #a7f3d0;
  opacity: 0.9;
}

/* Luxury Divider Line */

.card h2::after {
  content: "";
  display: block;
  width: 45px;
  height: 3px;
  margin-top: 8px;
  background: linear-gradient(90deg, #34d399, #facc15);
  border-radius: 3px;
}

/* Mobile */

@media (max-width: 600px) {

  header h1 {
    font-size: 2.2rem;
  }

  .card-container {
    padding: 25px;
  }

}