:root {
  --page-bg: #fbe7f1;
  --panel: #fffdfa;
  --ink: #1f2937;
  --pink: #f5bfd6;
  --green: #5fd39d;
  --green-deep: #25a368;
  --red: #eb7c8d;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  min-height: 100%;
  background: var(--page-bg);
  font-family: "Noto Sans KR", sans-serif;
  color: var(--ink);
}

body {
  padding: 18px 12px 32px;
}

img {
  display: block;
  max-width: 100%;
}

.event-page {
  width: min(100%, 760px);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}

.image-stack {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.poster-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 18px;
  box-shadow: 0 10px 25px rgba(23, 23, 23, 0.08);
  background: #fff;
}

.poster-main {
  max-width: 760px;
}

.poster-detail {
  max-width: 760px;
}

.cta-wrap {
  width: 100%;
  display: flex;
  justify-content: center;
}

.cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: min(100%, 420px);
  height: 72px;
  padding: 0 28px;
  border: none;
  border-radius: 18px;
  background: linear-gradient(180deg, #ee8e9d 0%, #e66d7a 100%);
  color: #fff;
  text-decoration: none;
  font-size: clamp(1.45rem, 2vw, 2.5rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  box-shadow: 0 10px 0 rgba(176, 89, 102, 0.35);
  cursor: pointer;
}

.dialog-overlay {
  position: fixed;
  inset: 0;
  background: rgba(17, 17, 17, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 1000;
}

.dialog-box {
  width: min(100%, 620px);
  max-width: calc(100vw - 20px);
  background: #fffdf9;
  border: 4px solid #2b2b2b;
  border-radius: 18px;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.18);
  padding: 28px 22px 18px;
  text-align: center;
}

.dialog-title {
  margin: 0 0 18px;
  font-size: clamp(1.35rem, 3vw, 2.2rem);
  font-weight: 900;
  color: #1f2937;
  line-height: 1.4;
  letter-spacing: -0.03em;
}

.dialog-message {
  margin: 0 0 22px;
  font-size: clamp(1rem, 2.4vw, 1.5rem);
  line-height: 1.6;
  color: #1f2937;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.dialog-actions {
  display: flex;
  justify-content: center;
}

.dialog-confirm {
  border: none;
  border-radius: 12px;
  padding: 14px 28px;
  background: linear-gradient(180deg, #f7909c 0%, #e76f7d 100%);
  color: #fff;
  font-size: 1.1rem;
  font-weight: 900;
  cursor: pointer;
}

@media (max-width: 560px) {
  body { padding: 12px 8px 22px; }

  .dialog-overlay {
    padding: 14px;
  }

  .dialog-box {
    width: min(100%, 520px);
    padding: 22px 16px 16px;
  }

  .dialog-title {
    font-size: 1.25rem;
    line-height: 1.45;
    margin-bottom: 14px;
  }

  .dialog-message {
    font-size: 1rem;
    line-height: 1.5;
    margin-bottom: 18px;
  }

  .cta-button {
    width: 100%;
    min-width: 0;
  }
}
