:root {
  color-scheme: light;
  --ink: #20223a;
  --muted: #62677c;
  --paper: #fffaf0;
  --panel: rgba(255, 255, 255, 0.78);
  --line: rgba(32, 34, 58, 0.12);
  --shadow: 0 22px 50px rgba(54, 57, 88, 0.14);
  --strong-shadow: 0 28px 70px rgba(54, 57, 88, 0.22);
  --blue: #56b6ff;
  --green: #6fd38f;
  --pink: #ff84a7;
  --gold: #ffc24b;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background:
    radial-gradient(circle at 12% 16%, rgba(86, 182, 255, 0.22), transparent 30%),
    radial-gradient(circle at 88% 10%, rgba(255, 132, 167, 0.18), transparent 28%),
    linear-gradient(135deg, #fff9ec 0%, #eef9ff 47%, #fff2f6 100%);
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

a {
  color: inherit;
}

.site-shell {
  width: min(1040px, calc(100% - 36px));
  min-height: 100vh;
  margin: 0 auto;
  padding: clamp(42px, 7vw, 88px) 0;
  display: grid;
  align-content: center;
  gap: clamp(34px, 6vw, 58px);
}

.hero {
  max-width: 760px;
}

.eyebrow {
  width: fit-content;
  margin: 0 0 18px;
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.62);
  color: #356381;
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0;
}

h1 {
  max-width: 12ch;
  margin: 0;
  font-size: clamp(3rem, 9vw, 6.8rem);
  line-height: 0.95;
  letter-spacing: 0;
}

.intro {
  max-width: 560px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: clamp(1.08rem, 2.5vw, 1.35rem);
  line-height: 1.55;
}

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

.game-link {
  position: relative;
  display: grid;
  grid-template-columns: 104px minmax(0, 1fr);
  grid-template-areas:
    "icon title"
    "icon note";
  gap: 6px 18px;
  min-height: 144px;
  padding: 20px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 24px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.68)),
    var(--panel);
  box-shadow: var(--shadow);
  text-decoration: none;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease;
}

.game-link:hover,
.game-link:focus-visible {
  transform: translateY(-4px);
  border-color: rgba(32, 34, 58, 0.24);
  box-shadow: 0 28px 58px rgba(54, 57, 88, 0.2);
  outline: none;
}

.app-icon {
  grid-area: icon;
  position: relative;
  width: 96px;
  height: 96px;
  overflow: hidden;
  border-radius: 24px;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.55),
    0 12px 24px rgba(32, 34, 58, 0.18);
}

.app-icon img {
  position: absolute;
  display: block;
  pointer-events: none;
  user-select: none;
}

.game-title {
  grid-area: title;
  align-self: end;
  min-width: 0;
  font-size: clamp(1.35rem, 2.4vw, 1.9rem);
  font-weight: 900;
  letter-spacing: 0;
}

.game-note {
  grid-area: note;
  align-self: start;
  min-width: 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.35;
}

.egg-icon {
  background:
    radial-gradient(circle at 74% 20%, rgba(255, 255, 255, 0.72), transparent 16%),
    linear-gradient(150deg, rgba(255, 255, 255, 0.46), transparent 42%),
    linear-gradient(135deg, #54b4ff 0%, #90dcff 48%, #65d885 100%);
}

.trapeze-bar {
  position: absolute;
  z-index: 2;
  top: 16px;
  left: 16px;
  width: 64px;
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(90deg, #6b3f1e, #f0bf66 36%, #7a461f);
  box-shadow: 0 4px 10px rgba(32, 34, 58, 0.2);
}

.trapeze-bar::before,
.trapeze-bar::after {
  content: "";
  position: absolute;
  top: 7px;
  width: 3px;
  height: 35px;
  border-radius: 999px;
  background: linear-gradient(#fff5cf, #8b6d42);
}

.trapeze-bar::before {
  left: 12px;
  transform: rotate(10deg);
}

.trapeze-bar::after {
  right: 12px;
  transform: rotate(-10deg);
}

.egg-icon img {
  z-index: 3;
  left: 25px;
  top: 35px;
  width: 48px;
  height: auto;
  filter: drop-shadow(0 8px 9px rgba(32, 34, 58, 0.24));
}

.egg-icon::after {
  content: "";
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 11px;
  height: 10px;
  border-radius: 50%;
  background: rgba(32, 34, 58, 0.18);
  filter: blur(2px);
}

.asmr-icon {
  background:
    radial-gradient(circle at 70% 22%, rgba(255, 255, 255, 0.22), transparent 18%),
    linear-gradient(135deg, #101213, #282a2d);
}

.asmr-icon img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.idea-section {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(320px, 1fr);
  gap: clamp(24px, 5vw, 48px);
  align-items: start;
  padding: clamp(24px, 5vw, 42px);
  border: 1px solid var(--line);
  border-radius: 28px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.88), rgba(255, 255, 255, 0.66)),
    rgba(255, 255, 255, 0.58);
  box-shadow: var(--strong-shadow);
}

.idea-section h2 {
  max-width: 11ch;
  margin: 0;
  font-size: clamp(2rem, 4.8vw, 4.2rem);
  line-height: 0.98;
  letter-spacing: 0;
}

.idea-copy {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.5;
}

.idea-form {
  display: grid;
  gap: 10px;
}

.idea-form label {
  font-size: 0.9rem;
  font-weight: 850;
  color: #373b56;
}

.idea-form input,
.idea-form textarea {
  width: 100%;
  border: 1px solid rgba(32, 34, 58, 0.16);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.88);
  color: var(--ink);
  font: inherit;
  font-size: 1rem;
  line-height: 1.4;
  outline: none;
}

.idea-form input {
  height: 48px;
  padding: 0 14px;
}

.idea-form textarea {
  min-height: 132px;
  max-height: 320px;
  padding: 13px 14px;
  resize: vertical;
}

.idea-form input:focus,
.idea-form textarea:focus {
  border-color: rgba(53, 99, 129, 0.62);
  box-shadow: 0 0 0 4px rgba(86, 182, 255, 0.18);
}

.idea-form button {
  justify-self: start;
  min-height: 48px;
  margin-top: 4px;
  padding: 0 20px;
  border: 0;
  border-radius: 999px;
  background: #20223a;
  color: #fffaf0;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 12px 24px rgba(32, 34, 58, 0.18);
}

.idea-form button:hover,
.idea-form button:focus-visible {
  background: #356381;
  outline: none;
}

.idea-form button:disabled {
  cursor: wait;
  opacity: 0.72;
}

.form-status {
  min-height: 1.4em;
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.4;
}

.hidden-field {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

@media (max-width: 720px) {
  .site-shell {
    width: min(100% - 28px, 520px);
    align-content: start;
  }

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

  .game-link {
    grid-template-columns: 88px minmax(0, 1fr);
    min-height: 124px;
    padding: 16px;
    border-radius: 20px;
  }

  .app-icon {
    width: 82px;
    height: 82px;
    border-radius: 21px;
  }

  .trapeze-bar {
    top: 13px;
    left: 14px;
    width: 55px;
  }

  .egg-icon img {
    left: 21px;
    top: 31px;
    width: 41px;
  }

  .idea-section {
    grid-template-columns: 1fr;
    padding: 22px;
    border-radius: 22px;
  }

  .idea-section h2 {
    max-width: 12ch;
  }

  .idea-form button {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .game-link {
    transition: none;
  }
}
