/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Helvetica", "Arial", sans-serif;
  background-color: #ffffff;
  color: #000000;
}

/* Soft Pulse Animation */
@keyframes soft-pulse {
  0%,
  100% {
    opacity: 0.95;
  }
  50% {
    opacity: 1;
  }
}

/* Navbar */
.navbar {
  height: 64px;
  width: 100%;
  background-color: #ffffff;
  border-bottom: 1px solid #ebebeb;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.navbar-container {
  height: 100%;
  max-width: 100%;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.navbar-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo {
  width: 32px;
  height: 32px;
}

.logo-text {
  font-size: 18px;
  font-weight: 600;
}

.navbar-center {
  display: none;
  gap: 24px;
}

.nav-link {
  font-size: 14px;
  font-weight: 500;
  color: #000000;
  text-decoration: none;
  transition: color 0.2s ease;
}

.nav-link:hover {
  color: #0052ff;
}

.navbar-right {
  display: none;
}

.btn-primary {
  background-color: #0052ff;
  color: #ffffff;
  font-size: 14px;
  font-weight: 600;
  padding: 10px 24px;
  border: none;
  border-radius: 9999px;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.btn-primary:hover {
  background-color: #0046d8;
}

/* Main Content */
.main-content {
  display: flex;
  justify-content: center;
  padding: 48px 24px;
}

.content-container {
  max-width: 896px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* Title */
.title {
  font-size: 20px;
  font-weight: bold;
  text-align: center;
  animation: soft-pulse 3s ease-in-out infinite;
}

/* Main GIF */
.main-gif {
  width: 100%;
  aspect-ratio: 16 / 9;
  background-image: url("https://i.postimg.cc/DyXMgzNB/1-9LSh5QR4e-SK2j5og-Wzwv-A.gif");
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: 8px;
}

/* Mobile Button */
.btn-mobile {
  display: block;
  width: 100%;
  background-color: #0052ff;
  color: #ffffff;
  font-size: 16px;
  font-weight: bold;
  padding: 10px 24px;
  border: none;
  border-radius: 9999px;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.btn-mobile:hover {
  background-color: #0046d8;
}

/* Second GIF (Mobile only) */
.second-gif {
  display: block;
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin: 0 auto;
}

/* Footer */
.footer {
  width: 100%;
  background-color: #ffffff;
  border-top: 1px solid #ebebeb;
  padding: 24px;
}

.footer-container {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
}

.footer-left p {
  font-size: 14px;
  color: #8e8e8e;
}

.footer-right {
  display: flex;
  gap: 24px;
}

.footer-link {
  font-size: 14px;
  color: #8e8e8e;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-link:hover {
  color: #0052ff;
}

/* Tablet and Desktop (≥ 768px) */
@media (min-width: 768px) {
  /* Show navbar center and right */
  .navbar-center {
    display: flex;
  }

  .navbar-right {
    display: block;
  }

  /* Hide mobile button and second GIF */
  .btn-mobile {
    display: none;
  }

  .second-gif {
    display: none;
  }

  /* Title larger font */
  .title {
    font-size: 24px;
  }

  /* Footer row layout */
  .footer-container {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

/* Modal Styles */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 2000;
  justify-content: center;
  align-items: center;
  padding: 24px;
}

.modal-content {
  background-color: #ffffff;
  border-radius: 12px;
  max-width: 420px;
  width: 100%;
  padding: 24px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
  text-align: center;
}

/* Updated modal title styling to match Coinbase design */
.modal-title {
  font-size: 22px;
  font-weight: 700;
  color: #000000;
  text-align: center;
  margin-bottom: 16px;
}

.modal-text {
  font-size: 14px;
  font-weight: 400;
  color: #6e6e6e;
  line-height: 1.6;
  text-align: center;
  margin-bottom: 24px;
}

.modal-helper {
  font-size: 14px;
  color: #6e6e6e;
  line-height: 1.5;
  text-align: left;
  margin-bottom: 20px;
}

/* Enhanced modal input styling for better Coinbase match */
.modal-input {
  width: 100%;
  padding: 14px 16px;
  font-size: 16px;
  border: 1px solid #d4d4d4;
  border-radius: 8px;
  margin-bottom: 20px;
  outline: none;
  transition: border-color 0.2s ease;
  font-family: inherit;
  background-color: #ffffff;
}

.modal-input:focus {
  border-color: #0052ff;
}

/* Enhanced button styling with connect-btn class support */
.interact-button,
.connect-btn {
  width: 100%;
  background-color: #0052ff;
  color: #ffffff;
  font-size: 16px;
  font-weight: 600;
  padding: 14px 24px;
  border: none;
  border-radius: 9999px;
  cursor: pointer;
  transition: background-color 0.2s ease;
  font-family: inherit;
}

.interact-button:hover,
.connect-btn:hover {
  background-color: #0046d8;
}
