:root {
  color-scheme: light;
  --ink: #15171d;
  --muted: #626977;
  --surface: #ffffff;
  --line: #dfe5ed;
  --teal: #149c9a;
  --teal-dark: #0d7372;
  --coral: #f56558;
  --gold: #f3b23f;
  --blue: #2d6cdf;
  --shadow: 0 20px 70px rgba(21, 23, 29, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Pretendard", "Apple SD Gothic Neo", "Malgun Gothic", "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  background: #f7f9fb;
}

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

.page-shell {
  min-height: 100vh;
  overflow: hidden;
}

.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  grid-template-rows: auto 1fr;
  isolation: isolate;
  background: #eff8f8;
}

.hero-visual {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: -2;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.96) 0%, rgba(255, 255, 255, 0.84) 36%, rgba(255, 255, 255, 0.24) 67%, rgba(12, 41, 57, 0.22) 100%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.18) 0%, rgba(247, 249, 251, 0.98) 100%);
  z-index: -1;
}

.site-header {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
  font-size: 1.25rem;
}

.brand-mark {
  width: 36px;
  height: 36px;
  display: inline-grid;
  place-items: center;
  border-radius: 8px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--coral), var(--teal));
  box-shadow: 0 12px 30px rgba(20, 156, 154, 0.28);
}

.header-action,
.secondary-button,
.primary-button,
.submit-button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  font-weight: 800;
  line-height: 1;
}

.header-action {
  padding: 0 18px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(21, 23, 29, 0.1);
  backdrop-filter: blur(12px);
}

.hero-content {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  padding: 72px 0 128px;
}

.hero-copy {
  width: min(670px, 100%);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--teal-dark);
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
  font-size: 0.82rem;
}

h1,
h2,
p {
  word-break: keep-all;
}

h1 {
  margin: 0;
  font-size: clamp(2.4rem, 6vw, 5.7rem);
  line-height: 1.03;
  letter-spacing: 0;
}

.hero-subcopy {
  margin: 24px 0 0;
  max-width: 620px;
  color: #3f4653;
  font-size: clamp(1.04rem, 2vw, 1.28rem);
  line-height: 1.75;
  font-weight: 600;
}

.hero-actions {
  margin-top: 34px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.primary-button,
.secondary-button {
  padding: 0 24px;
}

.primary-button,
.submit-button {
  color: #ffffff;
  border: 0;
  background: linear-gradient(135deg, var(--coral), var(--teal));
  box-shadow: 0 18px 38px rgba(245, 101, 88, 0.22);
}

.secondary-button {
  color: var(--ink);
  border: 1px solid rgba(21, 23, 29, 0.12);
  background: rgba(255, 255, 255, 0.86);
}

.discord-button {
  min-height: 44px;
  padding: 0 22px 0 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 8px;
  color: #ffffff;
  background: linear-gradient(135deg, #5865f2, #4752c4);
  border: 1px solid rgba(71, 82, 196, 0.28);
  box-shadow: 0 18px 38px rgba(88, 101, 242, 0.24);
  font-weight: 900;
  line-height: 1;
}

.discord-button img {
  width: 28px;
  height: 28px;
  display: block;
  border-radius: 999px;
  object-fit: cover;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.28);
}

.feature-band {
  margin-top: -72px;
  position: relative;
  z-index: 2;
  padding: 0 20px 76px;
}

.feature-grid {
  width: min(1160px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.feature-card {
  min-height: 230px;
  padding: 26px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(21, 23, 29, 0.08);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.feature-icon {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 22px;
  border-radius: 8px;
  color: #ffffff;
  background: var(--ink);
  font-weight: 900;
  font-size: 0.82rem;
}

.feature-card:nth-child(2) .feature-icon {
  background: var(--teal);
}

.feature-card:nth-child(3) .feature-icon {
  background: var(--coral);
}

.feature-card h2 {
  margin: 0;
  font-size: 1.28rem;
  line-height: 1.35;
}

.feature-card p {
  margin: 14px 0 0;
  color: var(--muted);
  line-height: 1.65;
  font-weight: 600;
}

.reservation-section {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto 96px;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1fr);
  gap: 40px;
  align-items: start;
}

.reservation-copy {
  padding-top: 18px;
}

.reservation-copy h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.6rem);
  line-height: 1.08;
}

.reservation-copy p:not(.eyebrow) {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.75;
  font-weight: 600;
}

.reservation-form {
  padding: 28px;
  display: grid;
  gap: 12px;
  border-radius: 8px;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.reservation-form label {
  color: #303642;
  font-weight: 800;
}

input,
select {
  width: 100%;
  min-height: 50px;
  padding: 0 14px;
  border: 1px solid #cfd8e3;
  border-radius: 8px;
  background: #ffffff;
  color: var(--ink);
  font: inherit;
  font-weight: 600;
}

input:focus,
select:focus {
  outline: 3px solid rgba(20, 156, 154, 0.18);
  border-color: var(--teal);
}

.platform-field {
  margin: 4px 0 0;
  padding: 0;
  border: 0;
}

.platform-field legend {
  margin-bottom: 10px;
  color: #303642;
  font-weight: 800;
}

.platform-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.platform-option {
  min-height: 48px;
  padding: 0 14px;
  display: flex;
  align-items: center;
  gap: 9px;
  border: 1px solid #cfd8e3;
  border-radius: 8px;
  background: #ffffff;
  color: #303642;
  font-weight: 800;
  cursor: pointer;
}

.platform-option:has(input:checked) {
  border-color: var(--teal);
  background: rgba(20, 156, 154, 0.09);
  color: var(--teal-dark);
}

.platform-option input {
  width: 18px;
  min-height: 18px;
  height: 18px;
  padding: 0;
  accent-color: var(--teal);
}

.platform-other-field {
  margin-top: 12px;
  display: grid;
  gap: 10px;
}

.platform-other-field[hidden] {
  display: none;
}

.custom-streamer {
  display: grid;
  gap: 12px;
}

.consent {
  margin: 6px 0 4px;
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 10px;
  align-items: start;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.5;
}

.consent input {
  min-height: 18px;
  height: 18px;
  padding: 0;
  margin-top: 2px;
  accent-color: var(--teal);
}

.submit-button {
  min-height: 54px;
  width: 100%;
  cursor: pointer;
  font: inherit;
  font-weight: 900;
}

.form-message {
  min-height: 22px;
  margin: 2px 0 0;
  color: var(--teal-dark);
  font-weight: 800;
  line-height: 1.45;
}

.form-message.is-error {
  color: #c93d32;
}

.thanks-page {
  position: relative;
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 32px 20px;
  isolation: isolate;
  overflow: hidden;
  background: #eff8f8;
}

.thanks-visual {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: -2;
}

.thanks-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.76)),
    linear-gradient(180deg, rgba(247, 249, 251, 0.18), rgba(247, 249, 251, 0.96));
  z-index: -1;
}

.thanks-card {
  width: min(680px, 100%);
  padding: clamp(28px, 6vw, 56px);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(21, 23, 29, 0.08);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.thanks-brand {
  margin-bottom: 34px;
}

.thanks-card h1 {
  margin: 0;
  font-size: clamp(2rem, 5vw, 3.8rem);
  line-height: 1.12;
}

.thanks-card p:not(.eyebrow) {
  margin: 18px 0 0;
  color: #3f4653;
  font-size: clamp(1.04rem, 2vw, 1.22rem);
  line-height: 1.7;
  font-weight: 700;
}

.thanks-actions {
  margin-top: 34px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.thanks-actions .primary-button,
.thanks-actions .secondary-button,
.thanks-actions .discord-button {
  padding: 0 24px;
}

.thanks-actions .discord-button {
  padding: 0 22px 0 12px;
}

@media (max-width: 860px) {
  .hero {
    min-height: auto;
  }

  .hero-overlay {
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.88) 52%, rgba(247, 249, 251, 0.96) 100%);
  }

  .hero-visual {
    object-position: 57% center;
    opacity: 0.46;
  }

  .site-header,
  .hero-content,
  .reservation-section {
    width: min(100% - 28px, 680px);
  }

  .hero-content {
    padding: 44px 0 116px;
  }

  h1 {
    font-size: clamp(2.25rem, 12vw, 4rem);
  }

  .feature-grid,
  .reservation-section {
    grid-template-columns: 1fr;
  }

  .feature-card {
    min-height: auto;
  }
}

@media (max-width: 520px) {
  .site-header {
    padding-top: 18px;
  }

  .brand {
    font-size: 1.08rem;
  }

  .header-action {
    padding: 0 14px;
  }

  .hero-actions a {
    width: 100%;
  }

  .feature-band {
    padding-bottom: 54px;
  }

  .reservation-form {
    padding: 20px;
  }

  .platform-options {
    grid-template-columns: 1fr;
  }

  .thanks-actions a {
    width: 100%;
  }
}
