* { box-sizing: border-box; margin: 0; }
html, body { height: 100%; }
body { background: #2a2f26; color: #fbf4e4; font: 500 17px/1.5 system-ui, -apple-system, "Segoe UI", sans-serif; }
.im { position: relative; min-height: 100svh; display: grid; align-items: end; overflow: hidden; }
.im-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 66% 50%; }
.im::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(34, 38, 30, .9) 0, rgba(34, 38, 30, .5) 40%, rgba(34, 38, 30, 0) 66%); }
.im-card { position: relative; z-index: 1; max-width: 720px; padding: 48px clamp(16px, 5vw, 72px) clamp(40px, 9vh, 96px); }
.im-logo { width: 96px; height: 96px; border-radius: 50%; border: 3px solid #fbf4e4; box-shadow: 0 8px 24px rgba(0, 0, 0, .35); }
.im-tick { margin-top: 18px; font-size: 13px; font-weight: 700; letter-spacing: .18em; color: #ffd98a; }
h1 { margin-top: 10px; font: 800 clamp(42px, 7vw, 84px)/1 system-ui, -apple-system, "Segoe UI", sans-serif; letter-spacing: -.02em; }
h1 em { display: block; font-style: normal; color: #ffc65c; }
.im-sub { margin-top: 16px; max-width: 36ch; font-size: 18px; }
.im-fine { margin-top: 18px; font-size: 13px; opacity: .85; }
@media (max-width: 699px) {
  .im-bg { object-position: 64% 50%; }
  .im-card { padding-top: 34svh; }
  .im::after { background: linear-gradient(0deg, rgba(34, 38, 30, .96) 0, rgba(34, 38, 30, .7) 45%, rgba(34, 38, 30, 0) 75%); }
}
.im-ca { margin-top: 22px; display: grid; grid-template-columns: 1fr auto; gap: 4px 14px; align-items: center; max-width: 560px; padding: 14px 16px; border-radius: 16px; background: rgba(253, 248, 238, .95); color: #2a2f26; box-shadow: 0 10px 30px rgba(0, 0, 0, .3); }
.im-ca-l { grid-column: 1; font-size: 12px; font-weight: 700; letter-spacing: .16em; color: #5a5a46; }
.im-ca-v { grid-column: 1; font: 600 15px/1.35 ui-monospace, Consolas, monospace; overflow-wrap: anywhere; }
.im-copy { grid-column: 2; grid-row: 1 / span 2; min-height: 44px; padding: 0 18px; border: 0; border-radius: 999px; background: #2a2f26; color: #fbf4e4; font: 700 15px/1 system-ui, sans-serif; cursor: pointer; }
.im-copy:focus-visible, .im-row a:focus-visible { outline: 3px solid #ffd98a; outline-offset: 3px; }
.im-row { margin-top: 16px; display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.im-row a { display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 20px; border-radius: 999px; font: 700 16px/1 system-ui, sans-serif; text-decoration: none; }
.im-row img { flex: none; }
.im-buy { background: #ffc65c; color: #1b1206; box-shadow: 0 8px 22px rgba(255, 198, 92, .35); }
.im-buy img { width: 26px; height: 26px; padding: 3px; border-radius: 50%; background: #fff; }
.im-pill { background: rgba(34, 38, 30, .55); color: #fbf4e4; border: 2px solid rgba(253, 248, 238, .75); }
.im-pill img.inv { filter: invert(1); }
.im-x { width: 52px; justify-content: center; padding: 0; }
.im-toast { position: fixed; left: 50%; bottom: 24px; z-index: 5; transform: translate(-50%, 20px); padding: 12px 18px; border-radius: 999px; background: #fbf4e4; color: #2a2f26; font-weight: 700; opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; }
.im-toast.on { opacity: 1; transform: translate(-50%, 0); }
@media (max-width: 699px) {
  .im-card { padding-top: 32svh; }
  .im-logo { width: 72px; height: 72px; }
  .im-ca-v { font-size: 13.5px; }
  .im-row { flex-wrap: nowrap; gap: 8px; }
  .im-row a { min-height: 48px; padding: 0 13px; gap: 8px; font-size: 15px; white-space: nowrap; }
  .im-buy img { width: 24px; height: 24px; }
  .im-x { width: 48px; }
}
@media (max-width: 389px) {
  .im-row a { padding: 0 10px; gap: 6px; font-size: 14.5px; }
  .im-row .im-x { width: 46px; min-height: 46px; padding: 0; }
}
