/* =====================================
   1. IMPORTS AND ROOT VARIABLES
====================================== */
@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&display=swap');
* {
  box-sizing: border-box;
}

:root {
    --primary-color: #3a7afd;
    --secondary-color: #181818;
    --accent-color: #1e1e1e;
    --background-color: linear-gradient(135deg, #121212, #181818);
    --card-background: linear-gradient(145deg, #1e1e1e, #2a2a2a);
    --text-light: #ffffff;
    --text-muted: #b3b3b3;
    --box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.5);
    --border-radius: 12px;
}

/* =====================================
   2. TYPOGRAPHY & BASE STYLES
====================================== */
h2, h3, h4, h5, h6 {
    font-family: var(--font-primary);
    font-weight: var(--font-weight-bold);
    letter-spacing: 1.2px;
    margin: 0 0 15px 0;
}

body {
  margin: 0;
  padding: 0;
  background-color: #0b0f1a;
  color: var(--text-light);
  font-family: 'Space Grotesk', sans-serif;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  min-height: 100vh;
  overflow-x: hidden;
  animation: fadeIn 1.5s ease-in-out;
}

/* =====================================
   3. LAYOUT CONTAINERS
====================================== */
.container {
  background: #1e2026;
  padding: 10px;
  border-radius: 10px;
  box-shadow: 0px 4px 10px rgba(255, 255, 255, 0.1);
  width: 90%;
  max-width: 850px;
  position: relative;
  margin-left: -34%;
  margin-top: 83px;

}

/* =====================================
   4. HEADERS & TITLES
====================================== */
h1 {
  color: #3a7afd;
  font-size: 28px;
  text-transform: uppercase;
  font-weight: bold;
  margin: 100;
  text-align: center;
}

/* =====================================
   5. WALLET STYLES
====================================== */
#wallets {
  margin-top: 20px;
  width: 97%;
  height: 400px;
  overflow-y: auto;
  text-align: left;
  background: #2a2a2a;
  padding: 10px;
  border-radius: 5px;
  border: 1px solid #3a3a3a;
  scrollbar-width: thin;
  scrollbar-color: #f3ba2f #2a2a2a;
}
#wallets::-webkit-scrollbar {
  width: 8px;
}
#wallets::-webkit-scrollbar-track {
  background: #2a2a2a;
  border-radius: 5px;
}
#wallets::-webkit-scrollbar-thumb {
  background: linear-gradient(90deg, #f3ba2f, #d9a626);
  border-radius: 5px;
}
#wallets::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(90deg, #d9a626, #f3ba2f);
}
.wallet-box {
  background: #1e1e1e;
  padding: 15px;
  border-radius: 5px;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 15px;
  border: 1px solid #3a3a3a;
}
.wallet-box img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: #2a2a2a;
}
.wallet-info {
  flex-grow: 1;
}
.wallet-info strong {
  display: block;
  color: #f3ba2f;
  margin-top: 5px;
}
.key-text {
  background: #2a2a2a;
  padding: 8px;
  border-radius: 3px;
  word-break: break-all;
}

/* =====================================
   6. BUTTONS & INPUTS
====================================== */
.buttons {
  margin-top: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
button,
input {
  padding: 12px;
  font-size: 16px;
  border: none;
  border-radius: 5px;
  margin: 5px;
  background: #ddd;
  color: #070000;
  font-weight: bold;
  cursor: pointer;
  transition: 0.3s;
}
input {
  background: #2a2a2a;
  color: #ffffff;
  border: 1px solid #3a3a3a;
  padding: 10px;
  border-radius: 5px;
  text-align: center;
  font-family: 'Space Grotesk', sans-serif;
}
input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
input[type=number] {
  -moz-appearance: textfield;
}

/* =====================================
   7. ERROR & STATUS MESSAGES
====================================== */
.error-message {
  display: block;
  color: #f3ba2f;
  font-size: 14px;
  margin-top: 5px;
  animation: fadeIn 0.5s ease-in-out;
}
#progressText {
  font-size: 16px;
  color: #ffffff;
}
.green-text {
  color: green;
  font-weight: bold;
}

/* =====================================
   8. HEADER & NAVIGATION
====================================== */
.top-bar {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  padding: 12px 12px; 
  background-color: #111827;
  border-bottom: 1px solid #1f2937;
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  z-index: 1000;
  height: 78px;              


}
.logo {
  width: 200px;
  height: auto;
  position: absolute;
  top: -60px;
  left: 20px;
}
.main-nav {
  flex-grow: 1;
  display: flex;
  justify-content: center;
  margin-left: -226px;
}
.nav-links {
  list-style: none;
  display: flex;
  gap: 30px;
  margin: 0;
  padding: 0;
  margin-left: 23px;
}
.nav-links li a {
  color: #ddd;
  text-decoration: none;
  font-weight: 500;
  font-size: 14px;
  padding: 6px 4px;
  transition: color 0.3s ease;
}
.nav-links li a:hover {
  color: #f0b90b;
}

/* === Hamburger & Mobile Nav === */
.hamburger {
  display: none;
  font-size: 26px;
  cursor: pointer;
  color: #f0b90b;
  position: absolute;
  left: 20px;
  top: 18px;
  z-index: 1001;
}
.mobile-nav {
  position: fixed;
  top: 0;
  right: -100vw;
  width: 100vw;
  height: 100%;
  background-color: #1e2026;
  padding-top: 60px;
  transition: right 0.4s ease-in-out;
  z-index: 1000;
}
.mobile-nav.open {
  right: 0;
}
.mobile-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.mobile-nav li {
  border-bottom: 1px solid #333;
}
.mobile-nav li a {
  display: block;
  padding: 30px;
  color: #ffffff;
  text-align: left;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 20px;
  text-decoration: none;
}
.mobile-nav li a:hover {
  background-color: #1f2937;
}
.mobile-connect-btn {
  display: block;
  margin: 350px auto;
  padding: 12px 20px;
  background-color: #ddd;
  color: #000;
  border: none;
  border-radius: 8px;
  font-weight: bold;
  font-size: 14px;
  cursor: pointer;
  width: 80%;
  text-align: center;
}

/* =====================================
   9. FOOTER & SOCIAL
====================================== */
.social-icons {
  display: flex;
  justify-content: center;
  gap: 16px;
  padding: 20px 0 10px;
  margin-top :60px;
}
.social-icons a {
  color: #9ca3af;
  font-size: 20px;
  transition: color 0.3s ease;
}
.social-icons a:hover {
  color: #374151;
}
.footer-note {
  color: #9ca3af;
  font-size: 13px;
  padding: 0 24px 16px;
}
.footer-note.center {
  text-align: center;
}

/* =====================================
   10. INSTRUCTION BOX
====================================== */
.instruction-box {
  background: #1e2026;
  border: 1px solid #333;
  padding: 35px;
  border-radius: 12px;
  box-shadow: 0px 0px 10px rgba(0,0,0,0.3);
  color: rgb(100, 104, 112);
  max-width: 455px;
  position: absolute;
  top: 155px;
  left: 10px;
  z-index: 999;
  font-size: 15px;
  margin-left: 65%;

  
}
.instruction-box h3 {
  color: #f3ba2f;
  font-weight: 600;
  margin-bottom: 16px;
  font-size: 18px;
  font-family: 'Montserrat', sans-serif;
}
.instruction-box ul {
  padding-left: 0;
  list-style: none;
}
.instruction-box li {
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
  line-height: 1.5;
}
.instruction-box i {
  color: #f3ba2f;
  margin-right: 8px;
}
.instruction-note {
  margin-top: 10px;
  font-size: 14px;
  color: #9ca3af;
  display: flex;
  align-items: center;
  gap: 8px;
}
.instruction-note i {
  color: #10b981;
}

#downloadBtn.enabled {
  background: #28a745;
  color: #ffffff;
  border-radius: 5px;
  transform: scale(1.1);
}
/* =====================================
   11. BADGES & LABELS
====================================== */
.free-label {
  font-size: 10px;
  color: #10b981;
  background: rgba(16, 185, 129, 0.1);
  padding: 2px 6px;
  border-radius: 6px;
  display: inline-block;
  margin-top: 2px;
  font-weight: 500;
  letter-spacing: 0.3px;
  animation: pulseFlash 1.8s infinite;
}

/* =====================================
   12. ANIMATIONS
====================================== */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes slideUp {
  from {
    transform: translateY(50px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}
@keyframes pulseFlash {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.4;
    transform: scale(1.05);
  }
}

/* =====================================
   13. MEDIA QUERIES
====================================== */
@media (max-width: 768px) {
  .hamburger {
    position: fixed;
    top: 18px;
    right: 20px;
    left: auto;
    z-index: 1001;
    font-size: 26px;
    cursor: pointer;
    color: #fff;
    display: block;
  }
  .main-nav {
    display: none;
  }
  .logo {
    width: 150px;
    top: -25px;
    left: 5px;
  }
  .container {
    width: 85%;
    margin: 120px auto 20px auto;
    padding: 15px;
    margin-top: 90px;
  }
  .instruction-box {
    position: static;
    width: 90%;
    margin: 25px auto;
    top: unset;
    left: unset;
  }
}
@media (max-width: 768px) {
/* === Top Navigation Bar === */
  .top-bar {
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    height: 115px;              
    padding: 12px 20px;
    gap: 10px;
}
}


