:root {
  --primary: #2563eb;
  --primary-dark: #1d4ed8;
  --accent: #0d9488;
  --bg: #ffffff;
  --text: #111827;
  --muted: #6b7280;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Noto Sans KR", -apple-system, BlinkMacSystemFont, system-ui, Roboto, "Helvetica Neue", "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
}

header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid #e5e7eb;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

.logo-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
}

.logo-box {
  height: 56px;
  width: 56px;
  border-radius: 14px;
  background: #f3f4f6;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 20px;
  color: #4b5563;
  letter-spacing: 0.01em;
}

.logo-text-main {
  font-size: 22px;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.logo-text-sub {
  font-size: 13px;
  color: #6b7280;
  letter-spacing: -0.01em;
  line-height: 1.2;
}

.header-nav {
  display: inline-flex;
  gap: 36px;
  font-size: 16px; /* ★ 내비도 키움 */
  justify-self: center;
}

.header-nav button {
  border: none;
  background: none;
  cursor: pointer;
  color: #4b5563;
  font-weight: 500;
  letter-spacing: -0.01em;
  padding: 6px 0;
  transition: color 0.15s ease, transform 0.15s ease;
}

.header-nav button:hover {
  color: #111827;
  transform: translateY(-1px);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  position: relative;
  z-index: 30;
}

.header-nav {
  display: inline-flex;
  gap: 36px;
  font-size: 16px;
  justify-self: center;
}
.header-right {
  display: flex;
  align-items: center;
  gap: 18px;
}

.header-inner {
  height: 96px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  position: relative;
}

.admin-mode-btn {
  border: 1.5px solid #315aa3;
  color: #315aa3;
  background: #ffffff;
  padding: 10px 14px;
  border-radius: 6px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 42px;
  line-height: 1;
  font-size: 14px;
}

.btn.admin-mode-btn {
  border: 1.5px solid #315aa3;
}

.admin-mode-btn:hover {
  background: #f7f9fc;
}

.admin-mode-btn:focus {
  outline: 2px solid #d7e2ff;
  outline-offset: 2px;
}

.admin-mode-icon svg {
  width: 18px;
  height: 18px;
  color: #315aa3;
}

.icon-btn {
  position: relative;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: 1px solid #e5e7eb;
  background: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.icon-btn:hover { background: #f3f4f6; border-color: #d1d5db; }
.icon-btn svg { width: 20px; height: 20px; color: #4b5563; }

.icon-badge {
  position: absolute;
  top: -8px;
  right: -8px;
  min-width: 27px;
  height: 27px;
  padding: 0 6px;
  border-radius: 999px;
  background: #ef4444;
  color: #fff;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #fff;
}

.icon-badge.muted { display: none; }

.profile-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 12px;
  border: 1px solid #e5e7eb;
  background: #ffffff;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.profile-btn:hover { background: #f3f4f6; border-color: #d1d5db; }
.profile-btn svg { width: 20px; height: 20px; color: #4b5563; }

.profile-name {
  font-size: 15px;
  color: #111827;
  font-weight: 600;
}

.login-btn { min-width: 96px; }

.profile-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  width: 220px;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.14);
  padding: 8px 0;
  z-index: 20;
}

.profile-menu-item {
  width: 100%;
  padding: 10px 14px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  color: #1f2937;
  background: transparent;
  border: none;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
  text-align: left;
  border-bottom: 1px solid #e5e7eb;
}

.profile-menu-item svg {
  width: 18px;
  height: 18px;
  color: #475569;
}

.profile-menu-item:hover { background: #f3f4f6; }
.profile-menu-item:last-child { border-bottom: none; }

.hidden { display: none !important; }

.notif-popover {
  position: fixed;
  top: 0;
  left: 0;
  width: 340px;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.12);
  z-index: 200;
}

.notif-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px 8px;
}

.notif-title { font-weight: 800; color: #111827; }

.notif-readall {
  border: none;
  background: transparent;
  color: #2563eb;
  font-weight: 700;
  cursor: pointer;
}

.notif-list {
  max-height: 420px;
  overflow-y: auto;
  padding: 8px 8px 12px;
}

.notif-item {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 10px;
  padding: 12px;
  border-radius: 10px;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  margin-bottom: 8px;
  transition: background 0.12s ease, color 0.12s ease;
}

.notif-item:hover {
  background: #4cb8a9;
  color: #0f172a;
  border-color: transparent;
}

.notif-item:hover .notif-desc,
.notif-item:hover .notif-meta,
.notif-item:hover .notif-meta svg {
  color: #0f172a;
  stroke: #0f172a;
}

.notif-item:hover .notif-title-text,
.notif-item:hover .notif-icon svg,
.notif-item:hover .notif-icon {
  color: #0f172a;
}

.notif-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #f3f4f6;
  color: #4b5563;
}

.notif-icon.gray { background: #f3f4f6; color: #4b5563; }
.notif-icon.yellow { background: #fef9c3; color: #854d0e; }
.notif-icon.pink { background: #ffe4e6; color: #be123c; }

.notif-body { display: flex; flex-direction: column; gap: 4px; }
.notif-title-text { font-weight: 700; }
.notif-desc { color: #4b5563; font-size: 14px; }
.notif-meta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #6b7280;
  font-size: 13px;
}
.notif-meta svg { width: 16px; height: 16px; color: #6b7280; }

.notif-dot {
  width: 10px;
  height: 10px;
  background: #ef4444;
  border-radius: 999px;
  align-self: center;
}
.notif-item:not(.unread) .notif-dot { display: none; }

.notif-empty {
  padding: 12px;
  text-align: center;
  color: #6b7280;
  font-size: 14px;
  border: 1px dashed #e5e7eb;
  border-radius: 10px;
  background: #f9fafb;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  border-radius: 8px;
  border: 1px solid transparent;
  font-size: 16px; /* ★ 버튼 폰트 업 */
  font-weight: 600;
  cursor: pointer;
  letter-spacing: -0.01em;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease, transform 0.12s ease, box-shadow 0.12s ease;
}

.btn:active {
  transform: translateY(1px);
  box-shadow: none;
}

.btn-outline {
  background: #ffffff;
  color: #4b5563;
  border-color: #e5e7eb;
}

.btn-outline:hover {
  background: #f3f4f6;
  color: #111827;
}

.btn-primary {
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
  box-shadow: 0 10px 26px rgba(37, 99, 235, 0.32);
}

.btn-primary:hover {
  background: var(--primary-dark);
  box-shadow: 0 14px 32px rgba(37, 99, 235, 0.4);
}

/* ── 문의 모달 ─────────────────────────── */
.modal-open {
  overflow: hidden;
}

.inquiry-modal {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(15, 23, 42, 0.4);
  backdrop-filter: blur(6px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
  z-index: 60;
  padding: 20px;
}

.inquiry-modal.open {
  opacity: 1;
  pointer-events: auto;
}

.inquiry-dialog {
  position: relative;
  width: min(860px, 100%);
  background: #ffffff;
  border-radius: 14px;
  padding: 28px;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.18);
  display: grid;
  gap: 18px;
}

.modal-title {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #111827;
}

.modal-title .brand {
  color: var(--primary);
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  border: 1px solid #e5e7eb;
  background: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #6b7280;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.modal-close:hover {
  background: #f3f4f6;
  color: #111827;
  border-color: #d1d5db;
}

.modal-form {
  display: grid;
  gap: 16px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 14px;
}

.form-field label {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: #111827;
  margin-bottom: 6px;
}

.form-field input,
.form-field textarea {
  width: 100%;
  border-radius: 8px;
  border: 1px solid #e5e7eb;
  background: #f8fafc;
  padding: 12px 14px;
  font-size: 15px;
  color: #111827;
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.form-field input:focus,
.form-field textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.16);
  background: #ffffff;
}

.form-field textarea {
  min-height: 160px;
  resize: vertical;
  line-height: 1.6;
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: #9ca3af;
}

.textarea-hint {
  display: block;
  margin-top: 10px;
  color: #6b7280;
  font-size: 14px;
  line-height: 1.6;
}

.checkbox-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: #374151;
}

.checkbox-row input {
  margin-top: 3px;
}

.checkbox-desc {
  margin-top: 6px;
  color: #6b7280;
  font-size: 13px;
  line-height: 1.4;
}

.modal-submit {
  width: 100%;
  height: 52px;
  border-radius: 10px;
  border: none;
  background: #6571c2;
  color: #ffffff;
  font-weight: 700;
  font-size: 16px;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.12s ease, box-shadow 0.12s ease;
  box-shadow: 0 10px 24px rgba(101, 113, 194, 0.35);
}

.modal-submit:hover {
  background: #5863b0;
  box-shadow: 0 12px 28px rgba(88, 99, 176, 0.38);
  transform: translateY(-1px);
}

.modal-submit:active {
  transform: translateY(0);
  box-shadow: 0 8px 20px rgba(88, 99, 176, 0.32);
}

.modal-submit:disabled {
  background: #cbd5e1;
  cursor: not-allowed;
  box-shadow: none;
  transform: none;
}

.toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  display: grid;
  gap: 10px;
  z-index: 1200;
  pointer-events: none;
}

.toast {
  min-width: 260px;
  max-width: 360px;
  padding: 14px 18px;
  background: #ffffff;
  color: #111827;
  font-size: 0.9rem;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.45);
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.2s ease, transform 0.2s ease;
  display: flex;
  align-items: center;
  gap: 8px;
  pointer-events: none;
}

.toast.show {
  opacity: 1;
  transform: translateY(0);
}

.toast-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: #34d399;
}

.toast-message {
  line-height: 1.5;
}

/* ── 섹션 공통 레이아웃 ─────────────────────────── */

main section {
  padding: 56px 0;
  min-height: 66vh; /* 이전 대비 약 80% 높이 */
}

#company {
  padding: 36px 0;
  min-height: auto;
}

main section > .container {
  min-height: auto; /* ★ 꽉 채우지 않음 */
  display: flex;
  flex-direction: column;
  justify-content: flex-start; /* ★ 상단 정렬 */
}

#company > .container {
  flex-direction: row;
}

.section-muted {
  background: transparent;
}

.section-gradient {
  background: linear-gradient(to bottom, #ffffff, #e0f2fe40);
}

.section-title {
  text-align: center;
  margin-bottom: 26px;
  font-size: clamp(24px, 3vw, 32px); /* ★ 타이틀도 키움 */
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #111827;
}

.section-title::after {
  content: "";
  display: block;
  width: 48px;
  height: 3px;
  margin: 10px auto 0;
  border-radius: 999px;
  background: linear-gradient(to right, #3b82f6, #14b8a6);
  opacity: 0.8;
}

.hero-company {
  padding: 64px 0 72px;
}

.company-grid {
  display: flex;
  align-items: flex-start;
  gap: 32px;
}

.company-copy {
  flex: 0 0 28%;
  min-width: 240px;
}

.company-hero {
  flex: 0 0 40%;
  min-width: 320px;
  max-width: 520px;
}

.company-chat {
  flex: 0 0 28%;
  min-width: 260px;
}

.company-copy {
  padding-top: 24px;
}

.company-brand {
  font-size: 42px;
  font-weight: 800;
  color: #2b4d9b;
  margin-bottom: 12px;
}

.company-title {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 12px;
  color: #111827;
}

.company-desc {
  font-size: 18px;
  color: #6b7280;
  margin-bottom: 22px;
}

.company-cta {
  padding: 14px 28px;
  border-radius: 16px;
  font-size: 16px;
}

.company-hero {
  display: flex;
  flex-direction: column;
  gap: 16px;
  height: 100%;
}

.hero-main {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 18px 34px rgba(15, 23, 42, 0.2);
  background: #0f172a;
  flex: 1 1 auto;
}

.hero-main img {
  width: 100%;
  display: block;
  object-fit: cover;
  aspect-ratio: 16 / 9;
  height: 100%;
}

.hero-main {
  max-height: none;
}

.hero-main img {
  max-height: none;
}

.hero-live {
  position: absolute;
  top: 16px;
  right: 16px;
  background: #ef4444;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 8px;
  letter-spacing: 0.04em;
}

.hero-sublist {
  width: 70%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  grid-auto-rows: 1fr;
}

.hero-subitem {
  position: relative;
  border: 1px solid #e5e7eb;
  background: transparent;
  border-radius: 14px;
  padding: 0;
  cursor: pointer;
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: #ffffff;
  box-shadow: 0 10px 18px rgba(15, 23, 42, 0.08);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease, background 0.2s ease, color 0.2s ease;
  overflow: hidden;
  transform: none;
  aspect-ratio: 16 / 10;
}

.hero-sub-media {
  display: block;
  position: relative;
  width: 100%;
  height: 100%;
}

.hero-subitem img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
  display: block;
  background: transparent;
  filter: blur(2px) brightness(0.9);
  transition: filter 0.2s ease;
}

.hero-subitem.is-active {
  border-color: #1f3d8f;
  background: transparent;
  color: #ffffff;
  box-shadow: 0 16px 26px rgba(15, 23, 42, 0.22);
  transform: none;
}

.hero-subitem.is-active img {
  filter: none;
}

.hero-sub-label {
  position: absolute;
  left: 50%;
  bottom: 10px;
  transform: translateX(-50%);
  font-size: 13px;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.01em;
  text-shadow: 0 2px 6px rgba(15, 23, 42, 0.6);
  pointer-events: none;
  width: 100%;
  text-align: center;
}

.company-chat {
  padding-top: 0;
  height: 100%;
  transform: scale(0.9);
  transform-origin: top left;
}

.chat-card {
  border-radius: 18px;
  border: 1px solid #e5e7eb;
  background: #ffffff;
  box-shadow: 0 16px 30px rgba(15, 23, 42, 0.12);
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.chat-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  border-bottom: 1px solid #e5e7eb;
}

.chat-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 14px;
  color: #111827;
}

.chat-icon {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: linear-gradient(135deg, #14b8a6, #0d9488);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}

.chat-icon svg {
  width: 16px;
  height: 16px;
}

.chat-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: #6b7280;
}

.chat-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #22c55e;
}

.chat-body {
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  flex: 1 1 auto;
  overflow-y: auto;
}

.chat-item {
  display: flex;
  gap: 10px;
}

.chat-avatar {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 12px;
  flex-shrink: 0;
}

.chat-avatar-green { background: #4a9b8e; }
.chat-avatar-blue { background: #5b7c99; }
.chat-avatar-sky { background: #6b9bd1; }

.chat-bubble {
  flex: 1;
  min-width: 0;
}

.chat-meta {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  margin-bottom: 6px;
}

.chat-name {
  font-weight: 700;
  color: #111827;
}

.chat-time {
  color: #9ca3af;
}

.chat-badge {
  background: #dbeafe;
  color: #2563eb;
  border: 1px solid #bfdbfe;
  border-radius: 6px;
  padding: 2px 6px;
  font-size: 10px;
}

.chat-badge-question {
  background: #ffedd5;
  color: #ea580c;
  border-color: #fed7aa;
}

.chat-text {
  background: #f3f4f6;
  border-radius: 12px;
  border-top-left-radius: 4px;
  padding: 10px 12px;
  font-size: 12px;
  color: #374151;
  line-height: 1.5;
}

.chat-text-question {
  background: #fff7ed;
  border: 1px solid #fed7aa;
  color: #9a3412;
}

.chat-file {
  margin-top: 8px;
  display: flex;
  align-items: center;
  gap: 10px;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  padding: 8px;
}

.chat-file-icon {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: #eff6ff;
  color: #2563eb;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.chat-file-icon svg {
  width: 16px;
  height: 16px;
}

.chat-file-name {
  font-size: 12px;
  font-weight: 600;
  color: #111827;
}

.chat-file-size {
  font-size: 11px;
  color: #6b7280;
}

.chat-input-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border-top: 1px solid #e5e7eb;
  background: #f9fafb;
}

.chat-input-bar input {
  flex: 1;
  border: none;
  background: transparent;
  font-size: 12px;
  color: #6b7280;
}

.chat-send {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  border: none;
  background: #8b9dc3;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.chat-send svg {
  width: 14px;
  height: 14px;
}


/* ── 카드 섹션 ─────────────────────────── */

.section-events {
  padding-top: 0;
}

.featured-section {
  background: #ffffff;
  padding: 80px 0;
  min-height: auto;
}

.featured-section > .container {
  align-items: center;
}

.featured-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(37, 99, 235, 0.1);
  color: #1d4ed8;
  font-size: 13px;
  font-weight: 700;
  margin: 0 auto 18px;
}

.featured-badge svg {
  width: 16px;
  height: 16px;
}

.cards-header {
  text-align: center;
  margin-bottom: 34px;
}

.cards-header-title {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}

.cards-header-sub {
  font-size: 18px;
  color: #6b7280;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(220px, 1fr));
  gap: 22px;
  margin-top: 0;
}

.cards-empty {
  grid-column: 1 / -1;
  border: 1px dashed #e5e7eb;
  background: #f9fafb;
  color: #6b7280;
  padding: 18px;
  border-radius: 16px;
  text-align: center;
}

.featured-grid .card {
  border-radius: 22px;
  border: 1px solid #edf0f4;
  background: #ffffff;
  display: flex;
  flex-direction: column;
  padding: 24px 22px 20px;
  transition: box-shadow 0.25s ease, transform 0.25s ease, border-color 0.2s ease;
  cursor: pointer;
  min-height: 320px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 16px 32px rgba(15, 23, 42, 0.08);
}

.featured-grid .card:hover {
  box-shadow: 0 22px 44px rgba(15, 23, 42, 0.12);
  transform: translateY(-6px) scale(1.03);
  border-color: rgba(37, 99, 235, 0.2);
}

.card > *:not(.card-poster):not(.card-overlay) {
  position: relative;
  z-index: 2;
}

.card-poster {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 0.25s ease;
  z-index: 0;
}

.card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(15, 23, 42, 0.92) 10%, rgba(15, 23, 42, 0.78) 55%, rgba(15, 23, 42, 0.92) 100%);
  opacity: 0;
  transition: opacity 0.25s ease;
  z-index: 1;
  pointer-events: none;
}

.event-card:hover .card-overlay {
  opacity: 0.08;
}

.event-card--with-poster:hover .card-poster {
  opacity: 1;
}

.event-card--with-poster:hover .card-overlay {
  opacity: 0.85;
}

.event-card--with-poster:hover .card-org,
.event-card--with-poster:hover .card-title,
.event-card--with-poster:hover .card-meta-row,
.event-card--with-poster:hover .card-head-text {
  color: #f8fafc;
}

.event-card--with-poster:hover .card-icon {
  background: rgba(255, 255, 255, 0.16);
  color: #ffffff;
}

.event-card--with-poster:hover .status-pill {
  background: rgba(255, 255, 255, 0.2);
  color: #f8fafc;
}

.card-icon {
  width: 84px;
  height: 84px;
  border-radius: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  color: #2563eb;
  overflow: hidden;
  margin: 8px auto 16px;
  box-shadow: 0 16px 28px rgba(15, 23, 42, 0.1);
}

.card-icon svg {
  width: 36px;
  height: 36px;
}

.card-icon.has-img {
  padding: 0;
  background: #e5e7eb;
}

.card-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.card-org {
  font-size: 12px;
  font-weight: 700;
  color: #6b7280;
  margin-bottom: 6px;
}

.status-pill {
  display: inline-flex;
  padding: 2px 6px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 700;
  width: fit-content;
  border: 1px solid transparent;
}

.card-status {
  position: absolute;
  top: 18px;
  right: 18px;
  padding: 3px 10px;
  font-size: 11px;
}

.status-pill.blue {
  background: #e0f2fe;
  color: #0b3b6f;
}

.status-pill.green {
  background: #dcfce7;
  color: #166534;
}

.status-pill.gray {
  background: #e5e7eb;
  color: #374151;
}

.card-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 12px;
}

.badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px 12px;
  font-size: 12px;
  border-radius: 999px;
  font-weight: 600;
  border: 1px solid transparent;
  white-space: nowrap;
  letter-spacing: 0.02em;
}

.badge-live {
  background: rgba(37, 99, 235, 0.08);
  color: #1d4ed8;
  border-color: rgba(37, 99, 235, 0.22);
}

.badge-upcoming {
  background: #dcfce7;
  color: #166534;
  border-color: #4ade80;
}

.badge-done {
  background: #f3f4f6;
  color: #6b7280;
  border-color: #e5e7eb;
}

.card-date {
  font-size: 13px;
  color: #6b7280;
}

.card-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: -0.01em;
  color: #111827;
}

.card-body-spacer {
  flex: 1;
}

.card-meta {
  display: grid;
  gap: 4px;
}

.card-meta-row {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: #6b7280;
}

.card-meta-row svg {
  width: 18px;
  height: 18px;
}

.card-cta {
  margin-top: 16px;
  width: 100%;
}

.featured-grid .card-cta {
  background: #1e3a8a;
  border-radius: 999px;
  padding: 12px 0;
  font-weight: 700;
  box-shadow: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: #ffffff;
}

.featured-grid .card-cta:hover {
  background: #172c6b;
}

.card-cta-icon {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(15, 23, 42, 0.15);
  color: #1f2937;
}

.card-cta-icon svg {
  width: 14px;
  height: 14px;
}

.event-card--with-poster:hover .card-cta--poster {
  background: #ffffff;
  color: #111827;
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 16px 28px rgba(15, 23, 42, 0.18);
}

.event-card--with-poster:hover .card-cta--poster:hover {
  background: #f8fafc;
}

.featured-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 2px solid #1e3a8a;
  color: #1e3a8a;
  padding: 12px 22px;
  border-radius: 14px;
  font-weight: 700;
}

.featured-more svg {
  width: 18px;
  height: 18px;
}

@media (max-width: 1200px) {
  .cards-grid {
    grid-template-columns: repeat(2, minmax(220px, 1fr));
  }
}

@media (max-width: 720px) {
  .featured-section {
    padding: 64px 0;
  }

  .cards-header-title {
    font-size: 28px;
  }

  .cards-header-sub {
    font-size: 16px;
  }

  .cards-grid {
    grid-template-columns: 1fr;
  }
}

.ad-card {
  position: relative;
  overflow: hidden;
  border: 1px solid transparent;
  color: #f8fafc;
  background: linear-gradient(135deg, #4f81ff, #36b3a0);
  box-shadow: 0 18px 44px rgba(15, 23, 42, 0.24);
}

.featured-grid .ad-card {
  background: linear-gradient(135deg, #4f81ff, #36b3a0);
  color: #f8fafc;
}

.ad-top {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.ad-icon {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.18);
}

.ad-icon svg {
  width: 22px;
  height: 22px;
}

.ad-badges {
  display: grid;
  gap: 6px;
}

.ad-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 12px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 13px;
  background: rgba(255, 255, 255, 0.2);
  color: #f8fafc;
}

.ad-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 10px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 12px;
  background: #f1f5f9;
  color: #2563eb;
}

.ad-title {
  font-size: 20px;
  line-height: 1.4;
  font-weight: 700;
  margin-bottom: 6px;
}

.ad-desc {
  color: #e2e8f0;
  font-size: 15px;
  margin-bottom: 14px;
}

.ad-meta {
  display: grid;
  gap: 6px;
  margin-bottom: 12px;
}

.ad-meta-row {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #e2e8f0;
  font-size: 14px;
}

.ad-meta-row svg {
  width: 18px;
  height: 18px;
}

.ad-cta {
  margin-top: 4px;
  background: #ffffff;
  color: #0f172a;
  border-color: transparent;
  box-shadow: none;
  padding: 10px 18px;
}

.ad-cta:hover {
  background: #e5e7eb;
  color: #0f172a;
}

.more-events {
  text-align: center;
  margin-top: 26px;
}

.btn-ghost {
  border-radius: 999px;
  border: 1px solid #e5e7eb;
  background: #ffffff;
  color: #111827;
  padding: 10px 22px;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  letter-spacing: -0.01em;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.btn-ghost:hover {
  background: #f3f4f6;
  border-color: #d1d5db;
}

.btn-ghost::after {
  content: "→";
  font-size: 16px;
}

/* ── 주최자에게 섹션 ─────────────────────────── */

.two-col {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: center;
}

@media (min-width: 768px) {
  .two-col {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  }
}

.host-card-wrap {
  display: flex;
  justify-content: center;
}

.host-card {
  position: relative;
  width: clamp(300px, 35vw, 360px);
  height: clamp(230px, 30vh, 290px);
  border-radius: 24px;
  padding: 22px;
  border: 1px solid rgba(37, 99, 235, 0.25);
  background: linear-gradient(to bottom right, rgba(37, 99, 235, 0.08), rgba(37, 99, 235, 0.18));
  display: flex;
  align-items: center;
  justify-content: center;
}

.host-screen {
  background: #111827;
  border-radius: 14px;
  padding: 14px;
  position: relative;
  margin-bottom: 14px;
  box-shadow: 0 12px 34px rgba(15, 23, 42, 0.7);
}

.host-bar {
  height: clamp(48px, 7vh, 60px);
  border-radius: 12px;
  background: var(--primary);
  margin-bottom: 10px;
}

.host-avatar-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 32px;
  height: 32px;
  background: #ffffff;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

.host-avatar-badge span {
  display: inline-flex;
  width: 24px;
  height: 24px;
  border-radius: 999px;
  background: var(--primary);
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 13px;
}

.host-mini-avatars {
  display: flex;
  justify-content: center;
  gap: 10px;
}

.host-mini-avatars div {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: #ffffff;
}

.host-mini-avatars div:nth-child(1) {
  background: var(--primary);
}

.host-mini-avatars div:nth-child(2) {
  background: #111827;
}

.host-deco-circle,
.host-deco-square {
  position: absolute;
  opacity: 0.8;
}

.host-deco-circle {
  width: 52px;
  height: 52px;
  border-radius: 999px;
  background: rgba(37, 99, 235, 0.3);
  bottom: -8px;
  left: -8px;
}

.host-deco-square {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: rgba(37, 99, 235, 0.23);
  top: -10px;
  right: -10px;
}

.host-text p {
  font-size: clamp(16px, 1.9vw, 18px); /* ★ 본문도 업 */
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

.host-text span.bold {
  color: var(--primary);
  font-weight: 700;
}

/* ── 참가자에게 섹션 ─────────────────────────── */

.participant-text {
  font-size: clamp(16px, 1.9vw, 18px);
  color: #4b5563;
  letter-spacing: -0.01em;
}

.participant-text strong {
  font-weight: 600;
  color: #111827;
}

.participant-visual {
  display: flex;
  justify-content: center;
}

.participant-visual img {
  max-width: clamp(300px, 35vw, 400px);
  border-radius: 16px;
  display: block;
  box-shadow: 0 18px 44px rgba(15, 23, 42, 0.25);
}

/* ── footer ─────────────────────────── */

footer {
  background: #111827;
  color: #ffffff;
  margin-top: 0;
}

.footer-banner {
  background: linear-gradient(to right, #3b82f6, #14b8a6);
  padding: 14px 0;
  text-align: center;
  font-weight: 500;
  letter-spacing: -0.01em;
  font-size: 16px;
}

.footer-main {
  padding: 44px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 26px;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 2fr 1fr;
  }
}

.footer-logo-box {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: #f3f4f6;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  color: #4b5563;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 20px;
}

.footer-desc {
  color: #d1d5db;
  font-size: 15px;
  margin-bottom: 18px;
  max-width: 460px;
  letter-spacing: -0.01em;
}

.footer-links {
  display: flex;
  gap: 16px;
  font-size: 14px;
  color: #9ca3af;
  margin-top: 26px;
}

.footer-links a:hover {
  color: var(--primary);
}

.contact-title {
  font-size: 18px;
  margin-bottom: 12px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.contact-item {
  display: flex;
  gap: 10px;
  font-size: 15px;
  color: #e5e7eb;
  margin-bottom: 8px;
  align-items: center;
}

.contact-item span.label {
  min-width: 44px;
  color: #9ca3af;
  font-size: 14px;
}

.footer-bottom {
  border-top: 1px solid #374151;
  padding: 18px 0 10px;
  font-size: 13px;
  color: #9ca3af;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 30px;
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

/* 작은 화면에서 헤더 네비 숨기기 */
.header-nav,
.header-login {
  display: none;
}

@media (min-width: 768px) {
  .header-nav,
  .header-login {
    display: flex;
  }
}

/* SNS 블록 유틸 스타일 */
.flex {
  display: flex;
  align-items: center;
}

.space-x-4 > * + * {
  margin-left: 16px;
}

.text-gray-400 {
  color: #9ca3af;
}

.hover\:text-primary:hover {
  color: var(--primary);
}

.transition-colors {
  transition-property: color;
}

.duration-200 {
  transition-duration: 0.2s;
}

.footer-main svg {
  vertical-align: middle;
}

.footer-main .flex svg {
  width: 22px;
  height: 22px;
  opacity: 0.9;
}
