:root {
  --bg: #0d0d0d;
  --bg-soft: #111111;
  --text: #eaeaea;
  --muted: #b6b6b6;
  --accent: #9d7dff;
  --accent-2: #6ea9ff;
}

* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
  background: var(--bg);
  color: var(--text);
}

.container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  height: 100vh;
  overflow: hidden;
}

.left, .right {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 64px 40px;
}

.intro {
  max-width: 560px;
}

.headline {
  font-size: clamp(40px, 6vw, 88px);
  line-height: 1.02;
  letter-spacing: -0.02em;
  margin: 0 0 16px;
  color: #e8e8ff;
  text-shadow: 0 0 24px rgba(157, 125, 255, 0.2), 0 0 40px rgba(110, 169, 255, 0.14);
}

.subtitle {
  margin: 0 0 32px;
  font-size: 16px;
  color: var(--muted);
}

.cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 20px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #0d0d0d;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(157, 125, 255, 0.3);
}

.cta::before {
  content: "👉";
}

.preview-wrap {
  width: 100%;
  max-width: 640px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.invite-card {
  width: 100%;
  aspect-ratio: 4/5;
  border-radius: 22px;
  background: radial-gradient(120% 120% at 80% 0%, rgba(157,125,255,0.25) 0%, rgba(110,169,255,0.18) 30%, rgba(17,17,17,1) 70%), #151515;
  box-shadow: 0 2px 0 rgba(255,255,255,0.05) inset, 0 0 0 1px rgba(255,255,255,0.06) inset, 0 60px 120px rgba(0,0,0,0.6);
  position: relative;
  overflow: hidden;
}

.invite-image {
  position: absolute;
  inset: 10px;
  width: calc(100% - 20px);
  height: calc(100% - 20px);
  object-fit: cover;
  border-radius: 18px;
  filter: saturate(0.95) contrast(1.02) brightness(0.98);
  z-index: 0;
}

.image-overlay {
  position: absolute;
  inset: 10px;
  width: calc(100% - 20px);
  height: calc(100% - 20px);
  border-radius: 18px;
  background: rgba(0,0,0,0.22);
  z-index: 1;
}

.invite-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 22px;
  box-shadow: 0 0 60px rgba(157,125,255,0.22);
  pointer-events: none;
}

.invite-card-inner {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-rows: 1fr auto auto auto 1fr;
  padding: 40px 36px;
  z-index: 2;
}

.invite-title {
  align-self: end;
  font-size: clamp(24px, 4vw, 42px);
  letter-spacing: 0.02em;
}

.invite-detail {
  align-self: start;
  margin-top: 8px;
  color: #cfcfcf;
}

.invite-tag {
  align-self: start;
  margin-top: 16px;
  font-size: 14px;
  color: #b7b7b7;
}

@media (max-width: 980px) {
  .container { grid-template-columns: 1fr; }
  .left { padding-bottom: 0; }
  .right { padding-top: 0; }
  .intro { text-align: center; }
}