/* RESET & BASE */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: clamp(14px, 2vw, 18px);
  scroll-behavior: smooth;
}

body {
  background-color: #000;
  color: #fff;
  font-family: Arial, sans-serif;
  text-align: center;
  line-height: 1.6;
  padding-bottom: 60px;
}

/* HEADER */
/* Header logo */
header {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 999;
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Hamburger icon */
.hamburger {
  width: 30px;
  height: 25px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
}
.hamburger span {
  height: 4px;
  background: black;
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* Navigation menu */
.menu {
  position: fixed;
  top: 100px;
  left: 10px;
  background-color: rgba(0, 0, 0, 0.95);
  padding: 15px;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  opacity: 0;
  transform: translateY(-10px);
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
  z-index: 998;
}
.menu a {
  color: white;
  text-decoration: none;
  font-weight: bold;
}

/* Show menu */
.menu.show {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

/* Hidden fallback class (non-animated) */
.hidden {
  display: none;
}
header img {
  width: 80px;
  height: 80px;
  object-fit: contain;
  cursor: pointer;
}

/* HERO */
.hero {
  margin-top: 120px;
  padding: 5vh 0;
  border-bottom: 1px solid #222;
}

.hero img {
  width: 75%;
  max-width: 600px;
  height: auto;
}

/* HEADINGS & PROMPT */
h1 {
  font-size: 2em;
  margin: 20px 10px 10px;
}

.prompt {
  font-size: 1.2em;
  margin-bottom: 30px;
}

/* BUTTON GROUPS */
.buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin: 40px 5vw;
  flex-wrap: wrap;
}

.btn {
  padding: 14px 24px;
  border: 1px solid #0f0;
  border-radius: 8px;
  background: none;
  color: #0f0;
  cursor: pointer;
  font-weight: bold;
  transition: background 0.3s, transform 0.2s;
}

.btn:hover {
  background: rgba(0, 255, 0, 0.1);
  transform: scale(1.05);
}

/* SECTIONS */
.section {
  margin: 8vh 5vw;
  padding-top: 20px;
  border-top: 1px solid #222;
}

/* MICROCOPY & TWEETS */
.microcopy {
  font-style: italic;
  color: #aaa;
  margin-bottom: 10px;
}

.tweet-preview {
  border: 1px solid #444;
  border-radius: 10px;
  padding: 15px;
  margin: 20px auto;
  width: 90%;
  max-width: 500px;
  background-color: #111;
}

/* FORM */
.form input,
.form textarea {
  display: block;
  width: 90%;
  max-width: 400px;
  margin: 12px auto;
  padding: 12px;
  border-radius: 6px;
  border: none;
  font-size: 1em;
}

.form button {
  padding: 12px 24px;
  background-color: #0f0;
  border: none;
  border-radius: 6px;
  color: #000;
  font-weight: bold;
  font-size: 1em;
  cursor: pointer;
  margin-top: 10px;
}

/* WALLET DISPLAY */
.wallet {
  border: 1px solid #0f0;
  padding: 20px;
  margin: 20px auto;
  width: 90%;
  max-width: 500px;
  border-radius: 10px;
  word-wrap: break-word;
  font-size: 0.95em;
}

.wallet.hidden {
  display: none;
}

/* DROPDOWN LOGIC */
.dropdown-content {
  display: none;
  margin: 20px 0;
  padding: 15px;
  background-color: #111;
  border: 1px solid #0f0;
  border-radius: 10px;
  color: #0f0;
  transition: all 0.3s ease;
}

.dropdown-content.show {
  display: block;
  animation: slideDown 0.4s ease forwards;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* CRYPTO ICONS */
.crypto-icons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 20px;
  flex-wrap: wrap;
}

.crypto-icon {
  width: 64px;
  height: 64px;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
}

.crypto-icon:hover {
  transform: scale(1.1);
  box-shadow: 0 0 8px #0f0;
}

/* COPY BUTTONS */
.copy-btn {
  margin-top: 10px;
  padding: 8px 16px;
  background-color: #0f0;
  color: #000;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-weight: bold;
}

.copy-confirm {
  margin-top: 10px;
  font-size: 1em;
  color: #0f0;
}

.copy-confirm.hidden {
  display: none;
}

/* FOOTER */
footer {
  margin-top: 10vh;
  font-size: 0.95em;
  padding-top: 20px;
  border-top: 1px solid #222;
}

footer a {
  color: #0f0;
  text-decoration: none;
  margin: 0 10px;
}

/* MOBILE */
@media (max-width: 480px) {
  h1 {
    font-size: 1.5em;
  }

  .btn {
    width: 100%;
    font-size: 1em;
  }

  .buttons {
    flex-direction: column;
    gap: 10px;
  }

  .hero img {
    width: 90%;
  }

  .tweet-preview,
  .wallet,
  .form input,
  .form textarea {
    width: 95%;
  }
}