:root {
  --yellow: #ffc400;
  --yellow-light: #ffe632;
  --yellow-dark: #9b6d00;
  --black: #050505;
  --white: #ffffff;
}

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

html,
body {
  width: 100%;
  min-height: 100%;
}

body {
  background: #d9a600;
  color: var(--black);
  font-family: Arial, Helvetica, sans-serif;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.hero {
  position: relative;
  width: 100%;
  min-height: 100svh;
  overflow: hidden;
  isolation: isolate;

  /* 1280 x 800 IMAGE PLACEHOLDER:
     Put your image beside these files and rename it to hero-bg.jpg. */
  background-image:
    linear-gradient(rgba(255, 194, 0, 0.10), rgba(111, 73, 0, 0.28)),
    url("./hero-bg.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

}
/* CSS fallback shown until hero-bg.jpg is added. */

}

.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 74% 45%, rgba(255, 244, 115, .23), transparent 34%),
    linear-gradient(90deg, rgba(89, 51, 0, .18), transparent 52%, rgba(79, 45, 0, .12));
}

.topbar {
  position: absolute;
  top: clamp(26px, 6.5vh, 52px);
  left: clamp(26px, 6.5vw, 84px);
  right: clamp(26px, 4.7vw, 60px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 10;
}

.brand-logo {
    width: 76px;
    height: 76px;
    border: 4px solid var(--black);
    border-radius: 24px;
    overflow: hidden;
    display: block;
    text-decoration: none;

    background-image: url("./logo.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color: #ffc400;

    box-shadow: 0 4px 0 rgba(0, 0, 0, 0.08);
}

.brand-logo span {
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .08em;
  opacity: .68;
}

.buy-button {
  height: 74px;
  min-width: 244px;
  padding: 0 22px 0 27px;
  border: 4px solid var(--black);
  border-radius: 28px;
  background: var(--white);
  color: var(--black);
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  text-decoration: none;
  font-size: 30px;
  font-weight: 500;
  letter-spacing: -.04em;
  box-shadow: 0 4px 0 rgba(0,0,0,.08);
}

.buy-button svg {
  width: 38px;
  height: 38px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hero-content {
  position: absolute;
  left: clamp(28px, 7.5vw, 96px);
  bottom: clamp(122px, 19vh, 152px);
  width: min(760px, 67vw);
  z-index: 5;
}

h1 {
  color: var(--white);
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: clamp(7rem, 16.6vw, 13.2rem);
  line-height: .78;
  font-weight: 900;
  letter-spacing: -.035em;
  -webkit-text-stroke: clamp(5px, .65vw, 9px) var(--black);
  paint-order: stroke fill;
  text-shadow: 0 5px 0 var(--black);
  transform: scaleX(.93);
  transform-origin: left center;
}

.contract-row {
  margin-top: clamp(46px, 7vh, 70px);
  display: flex;
  align-items: stretch;
  gap: 16px;
}

.contract-box {
  flex: 1;
  min-width: 0;
  height: 92px;
  padding: 8px 10px 8px 30px;
  border: 4px solid var(--black);
  border-radius: 34px;
  background: var(--white);
  display: flex;
  align-items: center;
  gap: 24px;
  box-shadow: 0 4px 0 rgba(0,0,0,.08);
}

.contract-label,
.contract-address,
.copy-button {
  font-size: clamp(22px, 2.25vw, 31px);
  letter-spacing: -.04em;
}

.contract-label {
  font-weight: 500;
  flex: 0 0 auto;
}

.contract-address {
  min-width: 0;
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.copy-button {
  height: 70px;
  min-width: 176px;
  padding: 0 24px;
  border: 3px solid var(--black);
  border-radius: 28px;
  background: var(--yellow);
  color: var(--black);
  cursor: pointer;
  font-family: inherit;
  font-weight: 500;
}

.copy-button:active,
.buy-button:active,
.x-button:active {
  transform: translateY(2px);
}

.x-button {
  width: 104px;
  height: 92px;
  flex: 0 0 104px;
  border: 4px solid var(--black);
  border-radius: 30px;
  background: var(--white);
  display: grid;
  place-items: center;
  text-decoration: none;
  box-shadow: 0 4px 0 rgba(0,0,0,.08);
}

.x-button svg {
  width: 66px;
  height: 66px;
  padding: 7px;
  border: 3px solid var(--black);
  border-radius: 18px;
  fill: var(--black);
  background: var(--yellow);
}

.footer {
  position: absolute;
  right: 24px;
  bottom: 13px;
  z-index: 5;
  color: rgba(0,0,0,.56);
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
}

@media (max-width: 900px) {
  .brand-logo {
    width: 62px;
    border-radius: 20px;
  }

  .buy-button {
    height: 62px;
    min-width: 190px;
    border-radius: 23px;
    font-size: 24px;
  }

  .hero-content {
    width: calc(100% - 48px);
    left: 24px;
    bottom: 100px;
  }

  h1 {
    font-size: clamp(5.8rem, 22vw, 10rem);
  }

  .contract-row {
    margin-top: 38px;
  }

  .contract-box,
  .x-button {
    height: 78px;
  }

  .contract-box {
    padding-left: 22px;
    border-radius: 28px;
    gap: 14px;
  }

  .copy-button {
    height: 60px;
    min-width: 130px;
    border-radius: 23px;
  }

  .x-button {
    width: 88px;
    flex-basis: 88px;
    border-radius: 26px;
  }

  .x-button svg {
    width: 56px;
    height: 56px;
  }
}

@media (max-width: 620px) {
  .topbar {
    top: 20px;
    left: 18px;
    right: 18px;
  }

  .brand-logo {
    width: 54px;
    border-width: 3px;
    border-radius: 17px;
  }

  .buy-button {
    min-width: 154px;
    height: 52px;
    padding: 0 14px 0 18px;
    gap: 12px;
    border-width: 3px;
    border-radius: 20px;
    font-size: 19px;
  }

  .buy-button svg {
    width: 28px;
    height: 28px;
  }

  .hero-content {
    left: 16px;
    width: calc(100% - 32px);
    bottom: 72px;
  }

  h1 {
    font-size: clamp(4.35rem, 23vw, 7.3rem);
    -webkit-text-stroke-width: 4px;
    text-shadow: 0 3px 0 var(--black);
  }

  .contract-row {
    margin-top: 30px;
    gap: 8px;
  }

  .contract-box,
  .x-button {
    height: 66px;
    border-width: 3px;
  }

  .contract-box {
    padding: 6px 6px 6px 15px;
    border-radius: 23px;
    gap: 8px;
  }

  .contract-label,
  .contract-address,
  .copy-button {
    font-size: 16px;
  }

  .contract-address {
    max-width: 122px;
  }

  .copy-button {
    min-width: 82px;
    height: 50px;
    padding: 0 12px;
    border-radius: 18px;
    border-width: 2px;
  }

  .x-button {
    width: 70px;
    flex-basis: 70px;
    border-radius: 22px;
  }

  .x-button svg {
    width: 48px;
    height: 48px;
    border-width: 2px;
    border-radius: 14px;
  }

  .footer {
    right: 14px;
    bottom: 8px;
    font-size: 9px;
  }
}
