@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&display=swap');
/* === Global Body Styles === */

* {
  box-sizing: border-box;
}

body {
  background-color: #0b0f1a;
  color: #fff;
  font-family: 'Space Grotesk', sans-serif;
  direction: ltr;
  margin: 0;
  padding: 0;
  animation: fadeIn 1.5s ease-in-out;

}
/* ===== Top Bar ===== */
/* === Top Navigation Bar === */
.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;
}
/* === Wallet Connect Button === */
#connectButton {
  background-color: #fff;
  color: #000;
  padding: 12px 22px;
  margin-right: 20px; 
  text-transform: none !important;
  border: none;
  border-radius: 6px;
  font-weight: bold;
  font-size: 14px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  max-width: fit-content;
  font-family: 'Space Grotesk', sans-serif;
  margin-top: 11px;

}

#connectButton:hover {
  background: #f3ba2f;

}
/* === Main Container === */

.container {
  background-color: #1e1e1e;
  border: 1px solid #333;
  border-radius: 18px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
  padding: 20px;
  max-width: 850px;
  width: 100%;
  margin: 0;
  transform: none;
}

/* === Form Labels === */

label {
  display: block;
  margin-bottom: 5px;
  color: #fff;
  text-align: left;
}
/* === Input and Textarea Fields === */

input, textarea {
  background-color: #262626;
  border: 1px solid #333;
  border-radius: 4px;
  color: #fff;
  padding: 10px;
  margin-bottom: 15px;
  width: 95%;
  font-size: 14px;
  font-family: 'Space Grotesk', sans-serif;

}
/* === General Button Styles === */

button {
  background-color: #eba904;
  border: none;
  border-radius: 8px;
  color: #000000;
  cursor: pointer;
  font-weight: bold;
  padding: 10px 20px;
  font-size: 16px;
  text-transform: uppercase;
  transition: background-color 0.3s ease;
  font-family: 'Space Grotesk', sans-serif;
  width: 100%;
}

button:hover {
  background-color: #ddd;
}
/* === Status Message Box === */

#status {
  margin-top: 20px;
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  padding: 10px;
  border-radius: 5px;
  text-align: center;
}
/* === Logo Styling === */


.logo {
  height: 70px; 
  position: absolute;
  top: 5px;
  left: 20px;
}
/* === Animation: Fade In === */


@keyframes fadeIn {
  from {
      opacity: 0;
  }
  to {
      opacity: 1;
  }
}
/* === Animation: Slide Up === */

@keyframes slideUp {
  from {
      transform: translateY(50px);
      opacity: 0;
  }
  to {
      transform: translateY(0);
      opacity: 1;
  }
}
.green-text {
  color: green;
  font-weight: bold;
}
/* === Logo Styling === */


.logo {
  width: 200px;
  height: auto;
  position: absolute;
  top: -60px;
  left: 20px;
}
/* === Desktop Navigation === */

.main-nav {
  flex-grow: 1;
  display: flex;
  justify-content: center;
  text-transform: none !important;
  transform: translateX(5px); 



}
/* === Navigation Links === */


.nav-links {
  list-style: none;
  display: flex;
  gap: 30px;
  margin: 0;
  padding: 0;
}

.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 and Mobile Nav ===== */
/* === Hamburger Icon for Mobile === */
.hamburger {
  display: none;
  font-size: 26px;
  cursor: pointer;
  color: #f0b90b;
  position: absolute;
  left: 20px;
  top: 18px;
  z-index: 1001;
}
/* === Mobile Navigation Menu === */

.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 Wallet Button === */

.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;
}
/* === Network Selector Component === */


.network-selector {
  position: relative;
  display: inline-block;
  width: 30%;
  padding: 5px;
  font-size: 14px;
  text-align: center;
  border: 1px solid rgb(68, 68, 68);


}
/* === Network Dropdown Button === */

.network-button {
  display: flex;
  align-items: center;
  background: #ffffff;
  color: black;
  padding: 10px 20px;
  border-radius: 8px;
  cursor: pointer;
  border: none;
  font-weight: bold;
}

.network-button img {
  width: 20px;
  height: 20px;
  margin-right: 10px;
}
/* === Network List Dropdown === */

.network-list {
  position: absolute;
  top: 100%;
  left: 0;
  background: white;
  border-radius: 8px;
  box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.2);
  list-style: none;
  padding: 5px 0;
  margin: 0;
  width: 200px;
  display: none;
  z-index: 1000;
}

.network-list li {
  padding: 10px;
  display: flex;
  align-items: center;
  cursor: pointer;
}

.network-list li img {
  width: 20px;
  height: 20px;
  margin-right: 10px;
}

.network-list li:hover {
  background: #f4f4f4;
}

.hidden {
  display: none !important;
}
/* === Network Dropdown Wrapper === */

.network-dropdown {
  position: absolute;
  top: 10px;
  right: 250px; 
}
/* === Network Select Box === */

.network-select {
  background: #111827;
  color: #ffffff;
  padding: 10px 10px;
  border-radius: 12px;
  font-size: 13px;
  cursor: pointer;
  border: 0.25px solid rgb(100, 104, 112);  
  box-shadow: var(--box-shadow);
  font-family: 'Space Grotesk', sans-serif;
  margin-top: 10Px;  
  text-transform: none !important;
  transform: translateX(38px); 
  margin-top: 23px;



}
.network-select:hover {
  background: #1f2937;
  border: 1px solid #f0b90b !important;
  color: #f0b90b;
  transition: all 0.3s ease-in-out;
  
}
/* === Network List Dropdown === */


.network-list {
  display: none;
  position: absolute;
  background: #0b0f1a;
  border-radius: 12px;
  list-style: none;
  padding: 10px 0;
  width: 200px;
  text-align: center;
}

.network-list li {
  display: flex;
  align-items: center;  
  gap: 10px;  
  padding: 10px;
  cursor: pointer;
  color: var(--text-light);
  white-space: nowrap; 
  overflow: hidden;  
  text-overflow: ellipsis;  
  transition: background 0.3s ease-in-out, color 0.3s ease-in-out, border 0.3s ease-in-out;
  border: 2px solid transparent; 
  border-radius: 8px; 
}

.network-list li:hover {
  background: #747474  !important; 
  border: 1px solid #110101 !important; 
  border-radius: 8px; 
}

.network-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;  
  margin-right: 8px; 
  vertical-align: middle;
}

.network-dropdown:hover .network-list {
  display: block;
}
/* === Toast Notification === */
.toast {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background-color: #1f2937;
  color: #f0b90b;
  padding: 16px 24px;
  border-radius: 8px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.3);
  font-size: 14px;
  z-index: 9999;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.toast.show {
  opacity: 1;
  transform: translateY(0);
}
/* === Footer Social Icons === */

.social-icons {
  display: flex;
  justify-content: center;
  gap: 16px;
  padding: 20px 0 10px;
}

.social-icons a {
  color: #9ca3af;
  font-size: 20px;
  transition: color 0.3s ease;
}

.social-icons a:hover {
  color: #374151;
}
/* === Footer Note Text === */

.footer-note {
  color: #9ca3af;
  font-size: 13px;
  padding: 0 24px 16px;
}

.footer-note.center {
  text-align: center;
}
/* === Instruction Box === */

.instruction-box {
  background: #1e2026;
  border: 1px solid #333;
  padding: 35px 25px;
  border-radius: 16px;
  box-shadow: 0 0 12px rgba(0,0,0,0.3);
  color: rgb(100, 104, 112); 
  max-width: 400px;
  font-size: 15px;
  font-family: 'Montserrat', sans-serif;
  transition: all 0.3s ease;
}

.instruction-box h3 {
  color: #f3ba2f;
  margin-bottom: 16px;
  font-size: 18px;
  font-weight: 600;
}
.instruction-box ul {
  padding-left: 0;
  list-style: none;
  text-align: left;
}
.instruction-box li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 14px;
  line-height: 1.6;
}

.instruction-box i {
  color: #f3ba2f;
  margin-top: 3px;
  font-size: 16px;
}
.instruction-note {
  margin-top: 10px;
  font-size: 14px;
  color: #9ca3af;
  display: flex;
  align-items: center;
  gap: 8px;
}
.instruction-note i {
  color: #10b981; 
}
/* === Animation: Pulse Flash === */



@keyframes pulseFlash {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.4;
    transform: scale(1.05);
  }
}
/* === Free Badge Label === */

.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;
}

@media (max-width: 768px) {
/* === Main Container === */
  .container {
    max-width: 750px;
    max-width: 100%;
    padding: 15px;
    transform: translateX(20px);
    margin-left: -25px;

  }
/* === Global Body Styles === */

  body {
    padding-top: 60px;
  }
}

@media (max-width: 768px) {
/* === Hamburger Icon for Mobile === */
  .hamburger {
    position: fixed;
    top: 18px;
    right: 20px;
    left: auto;
    z-index: 1001;
    font-size: 26px;
    cursor: pointer;
    color: #fff;
    display: block;
  }
/* === Desktop Navigation === */

  .main-nav {
    display: none;
  }
/* === Logo Styling === */

  .logo {
    width: 150px;
    top: -25px;
    left: 5px;
  }
}

@media (max-width: 768px) {
/* === Status Message Box === */
  #status {
    margin-top: 20px;
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
    padding: 5px;
    border-radius: 5px;
    text-align: center;
    font-size: 15px;
  }
}

@media (max-width: 768px) {
/* === Instruction Box === */
  .instruction-box {
    position: static;
    width: 90%;
    margin: 25px auto;
    top: unset;
    left: unset;
  }
}

@media (max-width: 768px) {
/* === Wallet Connect Button === */
  #connectButton {
    display: none;
  }
}

@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;
}
}
@media (max-width: 768px) {
  .network-select {
    transform: translateX(150px);
  }
}
@media (max-width: 768px) {

.network-list {

  transform: translateX(100px);
  margin-top: 30px;

}
}
@media (max-width: 768px) {

.network-list {

  transform: translateX(100px);
  margin-top: 30px;

}
}

/* === Wrapper for Form & Instruction === */
.content-wrapper {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 30px;
  margin-top: 130px;
  padding: 20px;
  flex-wrap: wrap;
}
