@font-face {
  font-family: "HelveticaNeue";
  src: url("fonts/HelveticaNeueUltraLight.otf") format("opentype");
  font-weight: 100;
}
@font-face {
  font-family: "HelveticaNeue";
  src: url("fonts/HelveticaNeueThin.otf") format("opentype");
  font-weight: 200;
}
@font-face {
  font-family: "HelveticaNeue";
  src: url("fonts/HelveticaNeueLight.otf") format("opentype");
  font-weight: 300;
}
@font-face {
  font-family: "HelveticaNeue";
  src: url("fonts/HelveticaNeueRoman.otf") format("opentype");
  font-weight: 400;
}
@font-face {
  font-family: "HelveticaNeue";
  src: url("fonts/HelveticaNeueItalic.ttf") format("truetype");
  font-weight: 400;
  font-style: italic;
}
@font-face {
  font-family: "HelveticaNeue";
  src: url("fonts/HelveticaNeueMedium.otf") format("opentype");
  font-weight: 500;
}
@font-face {
  font-family: "HelveticaNeue";
  src: url("fonts/HelveticaNeueBold.otf") format("opentype");
  font-weight: 700;
}
@font-face {
  font-family: "HelveticaNeue";
  src: url("fonts/HelveticaNeueHeavy.otf") format("opentype");
  font-weight: 800;
}
@font-face {
  font-family: "HelveticaNeue";
  src: url("fonts/HelveticaNeueBlack.otf") format("opentype");
  font-weight: 900;
}

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

body {
  font-family: "HelveticaNeue", "Helvetica Neue", Arial, sans-serif;
  background-color: #011738;
  color: #fff;
  min-height: 100vh;
}

.hero {
  min-height: 100vh;
  background-image: url("images/bitnetInfoLightEffect.png");
  background-repeat: no-repeat;
  background-position: top left;
  background-size: 40%;
}

.container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 100vh;
  max-width: 1440px;
  margin: 0 auto;
  padding: 60px 80px 60px 100px;
}

.content {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 520px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-img {
  width: 170px;
  display: block;
}

.heading {
  color: #ffd387;
  font-family: "HelveticaNeue", "Helvetica Neue", Arial, sans-serif;
  font-size: 74px;
  width: 1000px;
  margin-top: 32px;
}

.subtext {
  font-size: 20px;
  color: #cdd8e8;
  font-weight: 400;
}

.cta-btn {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 10px;
  width: 300px;
  height: 60px;
  padding: 14px 20px;
  background: #3a5de8;
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  margin-top: 32px;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition:
    background 0.2s ease,
    transform 0.15s ease;
}

.cta-btn:hover {
  background: #2f4fd4;
  transform: translateY(-2px);
}

.coins-area {
  display: contents;
}

.coins-img {
  position: fixed;
  bottom: 0;
  right: 0;
  max-width: 1600px;
  object-fit: contain;
  display: block;
  pointer-events: none;
}

/* mobile coins image — hidden on desktop */
.coins-img-mobile {
  display: none;
}

@media (min-width: 681px) and (max-width: 1280px) {
  .coins-img {
    max-width: 900px;
  }
}

@media (max-width: 680px) {
  html,
  body {
    height: 100%;
    overflow: hidden;
  }

  .hero {
    min-height: unset;
    height: 100vh;
    overflow: hidden;
    background-size: 70%;
  }

  .container {
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    height: 100%;
    min-height: unset;
    padding: 40px 24px 100px;
    gap: 0;
  }

  .content {
    gap: 12px;
    max-width: 100%;
    width: 100%;
    flex-shrink: 0;
  }

  .heading {
    font-size: clamp(2.6rem, 11vw, 3.2rem);
    width: auto;
    margin-top: 16px;
    line-height: 1.1;
  }

  .subtext {
    font-size: 16px;
  }

  /* hide desktop coins */
  .coins-area {
    display: none;
  }

  .coins-img {
    display: none;
  }

  /* show mobile coins */
  .coins-img-mobile {
    display: block;
    width: 500px;
    flex: 1;
    min-height: 0;
    object-fit: contain;
    margin-top: 20px;
    pointer-events: none;
    align-self: center;
  }

  /* button fixed to bottom */
  .cta-btn {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 48px);
    max-width: 440px;
    margin-top: 0;
  }

  .cta-btn:hover {
    transform: translateX(-50%) translateY(-2px);
  }
}
