/* reset & base */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
body {
  background-color: #4ad2fa;
  font-family: Arial, sans-serif;
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 100vh;
}

/* full‑screen setup */
html,
body {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  /* background: #22b7e5; */
}
/* gradient water */
.sea {
  position: absolute;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, #22b7e5 0%, #3ecaff 60%, #a6f0ff 100%);
  overflow: hidden;
  z-index: -1;
}
/* wave layers */
.wave {
  position: absolute;
  bottom: 0;
  width: 200%; /* double width for smooth looping */
  height: 30%;
  background-repeat: repeat-x;
  opacity: 0.4;
  animation: drift linear infinite;
}
.wave1 {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 200'><path fill='%23ffffff' opacity='0.2' d='M0 100 C300 150 600 50 900 100 C1200 150 1500 50 1800 100 L1800 200 L0 200 Z'/></svg>");
  animation-duration: 15s;
}
.wave2 {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 200'><path fill='%23ffffff' opacity='0.3' d='M0 80 C400 120 800 40 1200 80 L1200 200 L0 200 Z'/></svg>");
  bottom: 0%;
  opacity: 0.3;
  animation-duration: 20s;
  animation-direction: reverse;
}
@keyframes drift {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}
/* bubbles */
.bubble {
  position: absolute;
  bottom: -50px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.6);
  pointer-events: none;
  animation: rise linear infinite;
}
@keyframes rise {
  from {
    transform: translateY(0) translateX(0);
  }
  to {
    transform: translateY(-120vh) translateX(50px);
  }
}

/* header */
header {
  width: 100%;
  /* max-width: 800px; */
  padding: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  font-size: 1.6rem;
  font-family: "Titan One", sans-serif;
  font-weight: 400;
  font-style: normal;
  letter-spacing: 4px;
  color: #9de2ff;
}
.logo .icon {
  font-size: 2rem;
  margin-right: 12px;
  display: flex;
}

.logo .icon img {
  width: 50px;
  border-radius: 100%;
  opacity: 66%;
  border: 4px solid #9de2ff;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 0.9rem;
}
#address {
  cursor: pointer;
  font-weight: 0;
  opacity: 66%;
  font-family: "Atkinson Hyperlegible Mono", sans-serif;
  font-optical-sizing: auto;
  font-weight: 100;
  font-style: normal;
}
.social-links {
  cursor: pointer;
}

.social-links img {
  width: 30px;
  opacity: 66%;
}

/* main/video area */
main {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 900px;
  padding: 20px;
}

.video-wrapper {
  position: relative;
  width: 100%;
  padding-top: 56.25%; /* 16:9 aspect ratio */
  background-color: #c2f0ff;
  border-radius: 20px;
  /* overflow: hidden; */
}

/* iframe always visible */
#video-iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 20px;
  outline: 6px solid hsla(0, 0%, 0%, 0.263);
}

.video-placeholder,
#video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

#video {
  display: none;
}

:root {
  --float-speed: 3s;
  --float-distance: -15px;
  --float-rotate: 3deg;
}

.wallet-icon {
  position: absolute;
  top: -32px;
  right: -12px;
  z-index: 1;
  animation: float var(--float-speed) ease-in-out infinite;
  animation-delay: calc(var(--float-speed) / -2);
}

@keyframes float {
  0% {
    transform: translateY(0) rotate(0);
  }
  50% {
    transform: translateY(var(--float-distance)) rotate(var(--float-rotate));
  }
  100% {
    transform: translateY(0) rotate(0);
  }
}

.wallet-icon img {
  width: 10vw;
  min-width: 100px;
}

/* buy button */
.buy-button {
  margin-top: 34px;
  /* padding: 12px 40px; */

  /* background: linear-gradient(
    0deg,
    rgba(113, 255, 0, 0.19) 0%,
    rgba(72, 163, 0, 0.33) 100%
  ); */
  /* background-color: #007fff; */
  /* color: #e7ffb2; */
  /* border: 6px solid #0066cc; */
  /* border-radius: 16px; */
  /* box-shadow: 0 4px #0066cc; */
  cursor: pointer;
  background: none;
  border: none;
  width: 200px;

  font-size: 2rem;
  font-family: "Fugaz One", sans-serif;
  font-weight: 400;
  font-style: normal;
  /* letter-spacing: 2px; */
}

.buy-button img {
  width: 100%;
  opacity: 78%;
  transition: scale 0.2s ease, opacity 0.3s ease;
}

.buy-button img:hover {
  scale: 1.06;
  opacity: 100%;
}

.buy-button:active {
  scale: 0.96;
  opacity: 100%;
}

@media (max-width: 600px) {
  #address {
    display: none;
  }

  main {
    padding: 0;
  }

  .video-wrapper {
    border-radius: 0;
  }

  .wallet-icon {
    display: none;
  }

  #video-iframe {
    border-radius: 0;
    outline: 6px solid hsla(0, 0%, 0%, 0.263);
  }
}
