
* {
  box-sizing: border-box;
}

:root {
  --green: #00ff52;
  --dark: #17191f;
}

html, body {
  margin: 0;
  min-height: 100%;
  font-family: Arial, Helvetica, sans-serif;
}

body {
  min-height: 100vh;
  background: #cecece;
  color: #fff;
}

button {
  font: inherit;
  cursor: pointer;
}

.phone-page {
  width: min(100%, 545px);
  min-height: 100vh;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  background:
    radial-gradient(ellipse at 50% 67%, #086c60 0%, transparent 38%),
    radial-gradient(ellipse at 10% 45%, #073d37 0%, transparent 30%),
    linear-gradient(160deg, #191c23 0%, #11151e 52%, #173a4b 100%);
}

.phone-page::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  opacity: .75;
  background:
    repeating-linear-gradient(
      155deg,
      transparent 0 42px,
      #29404d30 43px 46px,
      transparent 47px 75px
    );
}

.phone-page::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: linear-gradient(
    to bottom,
    #17191f 0%,
    #17191f 15%,
    #17191f0a 37%,
    #071a2555 75%,
    #10273335 100%
  );
}

.topbar {
  position: relative;
  height: 75px;
  display: flex;
  justify-content: flex-end;
  align-items: flex-start;
  padding: 17px 35px 0;
  z-index: 5;
}

.language {
  min-width: 116px;
  padding: 12px 17px;
  border: 0;
  border-radius: 2px;
  background: #35363a;
  color: #fff;
  font-size: 16px;
  font-weight: 600;
}

.arrow {
  margin-left: 5px;
  color: #999;
  font-size: 11px;
}

.language-menu {
  position: absolute;
  top: 62px;
  right: 35px;
  width: 155px;
  overflow: hidden;
  border: 1px solid #414650;
  border-radius: 7px;
  background: #222630;
  box-shadow: 0 8px 25px #0008;
}

.language-menu button {
  display: block;
  width: 100%;
  padding: 12px;
  text-align: left;
  border: 0;
  color: white;
  background: transparent;
}

.language-menu button:hover {
  background: #343b46;
}

.hero {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 43px 12px 0;
}

.hero h1 {
  margin: 0;
  font-size: clamp(31px, 6vw, 43px);
  font-weight: 750;
  letter-spacing: -.8px;
  line-height: 1.2;
}

.subtitle {
  margin: 20px 0 0;
  color: #999a9f;
  font-size: clamp(18px, 4.1vw, 25px);
  font-weight: 600;
  letter-spacing: -.4px;
}

.illustration {
  position: relative;
  flex: 1;
  min-height: 470px;
  margin-top: 5px;
  overflow: hidden;
  perspective: 800px;
}

/* Decorative market charts */

.chart {
  position: absolute;
  filter: drop-shadow(0 0 12px #00ff5130);
  opacity: .85;
}

.chart svg {
  display: block;
  width: 100%;
}

.chart-left {
  left: -17px;
  top: 5%;
  width: 45%;
  transform: rotate(-4deg);
}

.chart-right {
  right: -12px;
  top: 25%;
  width: 39%;
  padding: 8px;
  border: 3px solid #27b99c;
  border-radius: 8px;
  background: #062a2cce;
  box-shadow: 0 0 20px #00ff5220;
  transform: rotate(7deg);
}

.chart-title {
  color: #a2f8db;
  font-size: 9px;
  font-weight: 700;
  margin-bottom: 7px;
}

.circuit {
  position: absolute;
  height: 8px;
  border-radius: 10px;
  background: linear-gradient(90deg, #0c4c49, #00ff52, #146e68);
  box-shadow: 0 0 15px #00ff523b;
  opacity: .8;
}

.circuit-one {
  top: 29%;
  left: 4%;
  width: 48%;
  transform: rotate(16deg);
}

.circuit-two {
  top: 53%;
  right: -5%;
  width: 44%;
  transform: rotate(-28deg);
}

.circuit-three {
  bottom: 10%;
  left: 3%;
  width: 70%;
  height: 3px;
  transform: rotate(-12deg);
}

/* Floating green technology cube */

.floating-cube {
  position: absolute;
  top: 37%;
  left: 15%;
  width: 55px;
  height: 62px;
  filter: drop-shadow(0 0 15px #00ff5266);
  transform: perspective(300px) rotateY(-18deg);
}

.cube-front {
  position: absolute;
  inset: 10px 0 0;
  background: linear-gradient(135deg, #1aff51, #00ae50);
  border-radius: 4px;
  transform: skewY(-4deg);
}

.cube-top {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 14px;
  background: #67ff8a;
  transform: skewY(-18deg);
  border-radius: 3px;
}

/* Shield illustration */

.shield-scene {
  position: absolute;
  z-index: 3;
  top: 27%;
  left: 50%;
  width: 53%;
  max-width: 280px;
  aspect-ratio: .82;
  transform: translateX(-50%) rotate(-3deg);
  filter: drop-shadow(8px 15px 8px #0008);
}

.shield {
  position: absolute;
  inset: 0;
  padding: 12px;
  background: linear-gradient(125deg, #fff 0%, #e6f0ff 30%, #9aaac0 76%, #f9ffff 100%);
  clip-path: polygon(50% 0%, 67% 7%, 94% 12%, 93% 53%,
    85% 76%, 67% 91%, 50% 100%, 33% 91%, 15% 76%,
    7% 53%, 6% 12%, 33% 7%);
}

.shield-inner {
  position: absolute;
  inset: 12px;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, #08f537, #00dc25 65%, #00a82c);
  clip-path: polygon(50% 0%, 67% 7%, 94% 12%, 93% 53%,
    85% 76%, 67% 91%, 50% 100%, 33% 91%, 15% 76%,
    7% 53%, 6% 12%, 33% 7%);
  box-shadow: inset 0 0 18px #ffffff70;
}

.bitcoin {
  font-family: Arial, sans-serif;
  font-size: clamp(105px, 26vw, 160px);
  font-weight: 800;
  color: #f7f8ff;
  text-shadow: 3px 5px 0 #a8b3c3, 6px 9px 8px #005d19;
  transform: rotate(3deg);
}

/* Circular holographic platform */

.platform {
  position: absolute;
  left: 50%;
  bottom: 8%;
  width: 73%;
  max-width: 380px;
  height: 135px;
  transform: translateX(-50%);
}

.platform-base {
  position: absolute;
  bottom: 0;
  left: 5%;
  width: 90%;
  height: 65%;
  border: 5px solid #83e7d5;
  border-radius: 12px 12px 42px 42px;
  background: linear-gradient(160deg, #68edc8, #164d58 65%, #091f32);
  transform: perspective(350px) rotateX(48deg);
  box-shadow: 0 0 28px #00ffc755, inset 0 0 15px #ffffff65;
}

.platform-core {
  position: absolute;
  bottom: 13%;
  left: 17%;
  width: 66%;
  height: 65%;
  border: 5px solid #b8fff2;
  border-radius: 50%;
  background: radial-gradient(ellipse, #c1fff0, #4cdbc2 65%, #168d89);
  box-shadow: 0 0 28px #20ffe566;
}

.platform-ring {
  position: absolute;
  left: 9%;
  width: 82%;
  height: 63%;
  border: 6px solid #d9fff9;
  border-radius: 50%;
}

.ring-one {
  bottom: 19%;
  transform: rotateX(52deg);
  box-shadow: 0 0 14px #a5fff5;
}

.ring-two {
  bottom: 7%;
  border-color: #54d7c2;
  transform: rotateX(52deg);
}

.actions {
  position: relative;
  z-index: 4;
  display: grid;
  gap: 21px;
  padding: 0 7.8% 32px;
}

.primary-button,
.secondary-button {
  min-height: 72px;
  width: 100%;
  border-radius: 45px;
  font-size: 23px;
  font-weight: 750;
  letter-spacing: -.3px;
  transition: transform .15s, filter .15s;
}

.primary-button {
  border: 0;
  color: white;
  background: #111111;
}

.secondary-button {
  border: 0;
  color: #111;
  background: #fff;
}

.primary-button:hover,
.secondary-button:hover {
  filter: brightness(1.1);
}

.primary-button:active,
.secondary-button:active {
  transform: scale(.98);
}

.notice {
  position: relative;
  z-index: 5;
  margin: 0 8% 15px;
  padding: 12px;
  border: 1px solid #507d6b;
  border-radius: 9px;
  background: #132b25;
  color: #b8ffda;
  text-align: center;
  font-size: 13px;
}

footer {
  position: relative;
  z-index: 2;
  padding: 0 12px 12px;
  text-align: center;
  color: #b2c1c7;
  font-size: 10px;
}

@media (min-width: 546px) {
  .phone-page {
    box-shadow: 0 0 30px #0002;
  }
}

@media (max-width: 380px) {
  .topbar {
    height: 65px;
    padding: 12px 20px 0;
  }

  .hero {
    padding-top: 35px;
  }

  .subtitle {
    margin-top: 14px;
  }

  .illustration {
    min-height: 420px;
  }

  .primary-button,
  .secondary-button {
    min-height: 62px;
    font-size: 20px;
  }

  .actions {
    gap: 15px;
    padding-bottom: 23px;
  }
}

@media (max-height: 760px) and (min-width: 381px) {
  .hero {
    padding-top: 18px;
  }

  .illustration {
    min-height: 360px;
  }

  .shield-scene {
    top: 23%;
  }

  .platform {
    bottom: 3%;
  }

  .primary-button,
  .secondary-button {
    min-height: 58px;
  }

  .actions {
    gap: 12px;
    padding-bottom: 20px;
  }
}
