:root {
  --bg: #fffdf8;
  --surface: #ffffff;
  --text: #252520;
  --muted: #77746b;
  --line: #e9e3d8;
  --soft: #fff5f1;
  --red: #f13b31;
  --red-dark: #cf2119;
  --shadow: 0 18px 50px rgba(37, 37, 32, 0.1);
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
}

body {
  min-height: 100vh;
  margin: 0;
  background:
    radial-gradient(circle at top left, rgba(241, 59, 49, 0.08), transparent 30rem),
    linear-gradient(180deg, #fffefa 0%, var(--bg) 100%);
  color: var(--text);
  font-family:
    Pretendard,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  letter-spacing: 0;
}

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

.shell {
  width: min(100%, 780px);
  min-height: 100vh;
  margin: 0 auto;
  padding: 48px 22px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 30px;
}

.profile {
  display: grid;
  grid-template-columns: 132px 1fr;
  align-items: center;
  gap: 24px;
}

.logo {
  width: 132px;
  aspect-ratio: 1;
  display: block;
  border-radius: 28px;
  background: var(--surface);
  box-shadow: var(--shadow);
  object-fit: cover;
}

.intro {
  min-width: 0;
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--red-dark);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  font-size: clamp(40px, 8vw, 64px);
  line-height: 1;
  letter-spacing: 0;
}

.subtitle {
  max-width: 28rem;
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.6;
  word-break: keep-all;
}

.link-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.link-item {
  min-height: 108px;
  display: grid;
  grid-template-columns: 46px 1fr;
  grid-template-rows: auto 1fr;
  align-items: center;
  gap: 12px 14px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 10px 26px rgba(37, 37, 32, 0.06);
  transition:
    border-color 160ms ease,
    box-shadow 160ms ease,
    transform 160ms ease,
    background 160ms ease;
}

.link-item:hover,
.link-item:focus-visible {
  border-color: rgba(241, 59, 49, 0.36);
  background: var(--soft);
  box-shadow: 0 16px 34px rgba(37, 37, 32, 0.11);
  transform: translateY(-2px);
}

.link-item:focus-visible {
  outline: 3px solid rgba(241, 59, 49, 0.22);
  outline-offset: 3px;
}

.link-item.accent .icon {
  background: #ffffff;
  color: var(--red);
  border-color: rgba(241, 59, 49, 0.3);
}

.icon {
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
}

.icon {
  width: 46px;
  height: 46px;
  border: 1px solid #2d2d27;
  border-radius: 50%;
  background: #ffffff;
  color: #2d2d27;
  font-size: 16px;
  font-weight: 900;
}

.icon svg {
  width: 25px;
  height: 25px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.9;
}

.slot-icon {
  background: #fff3ee;
  color: #f05a28;
  border-color: rgba(240, 90, 40, 0.28);
}

.slot-icon svg {
  fill: rgba(240, 90, 40, 0.14);
}

.hands-icon {
  background: #eef7ff;
  color: #2c7be5;
  border-color: rgba(44, 123, 229, 0.28);
}

.hands-icon svg {
  fill: rgba(44, 123, 229, 0.12);
}

.trophy-icon {
  background: #fff8db;
  color: #d99a00;
  border-color: rgba(217, 154, 0, 0.32);
}

.trophy-icon svg {
  fill: rgba(217, 154, 0, 0.18);
}

.youtube-icon svg {
  width: 28px;
  height: 28px;
  color: var(--red);
  fill: var(--red);
  stroke: none;
}

.youtube-icon .play {
  fill: #ffffff;
}

.image-icon {
  overflow: hidden;
}

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

.copy {
  grid-column: 1 / -1;
  min-width: 0;
  display: grid;
  gap: 5px;
  align-self: end;
}

.copy strong {
  font-size: 18px;
  line-height: 1.25;
}

.copy span {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
  word-break: keep-all;
}

@media (max-width: 560px) {
  .shell {
    justify-content: flex-start;
    padding: 28px 16px;
    gap: 24px;
  }

  .profile {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
    gap: 18px;
  }

  .logo {
    width: min(44vw, 156px);
    border-radius: 24px;
  }

  .subtitle {
    margin-inline: auto;
    font-size: 15px;
  }

  .link-item {
    grid-template-columns: 44px 1fr;
    grid-template-rows: auto;
    align-items: center;
    gap: 12px;
    min-height: 78px;
    padding: 14px;
  }

  .link-list {
    grid-template-columns: 1fr;
  }

  .icon {
    width: 44px;
    height: 44px;
  }

  .copy strong {
    font-size: 16px;
  }

  .copy span {
    font-size: 13px;
  }

  .copy {
    grid-column: auto;
    align-self: center;
  }
}
