* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

html, body {
  width: 100%;
  overflow-x: hidden;
}



/* Header */
/* ---------- Animated Header (matches footer theme) ---------- */

header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  overflow: hidden;
  background: linear-gradient(90deg, #1b0f2e, #120a25);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
  transition: background 0.4s ease, box-shadow 0.4s ease;
}

/* glowing animated background */
header::before {
  content: "";
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(circle at 10% 20%, rgba(139, 92, 246, 0.3), transparent 30%),
    radial-gradient(circle at 90% 60%, rgba(124, 58, 237, 0.25), transparent 25%),
    radial-gradient(circle at 50% 90%, rgba(173, 125, 255, 0.2), transparent 30%);
  filter: blur(50px);
  animation: headerGlow 10s ease-in-out infinite alternate;
  z-index: 0;
  pointer-events: none;
}

@keyframes headerGlow {
  0% {
    transform: translate(0%, 0%) scale(1);
    opacity: 0.85;
  }
  50% {
    transform: translate(3%, -2%) scale(1.1);
    opacity: 1;
  }
  100% {
    transform: translate(-3%, 3%) scale(1.05);
    opacity: 0.9;
  }
}

/* header content layout */
header .container {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

/* logo */
header .logo img {
  height: 45px;
  filter: drop-shadow(0 0 8px rgba(187, 134, 252, 0.6));
  transition: transform 0.3s ease;
}
header .logo img:hover {
  transform: scale(1.07);
}

/* navigation links */
.nav-links {
  display: flex;
  gap: 1.5rem;
}

.nav-links a {
  color: #e2d9ff;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  position: relative;
  transition: color 0.3s ease;
}

.nav-links a::after {
  content: "";
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0%;
  height: 2px;
  background: linear-gradient(90deg, #bb86fc, #8b5cf6);
  transition: width 0.3s ease;
}

.nav-links a:hover {
  color: #bb86fc;
}
.nav-links a:hover::after {
  width: 100%;
}

/* menu toggle for mobile */
.menu-toggle {
  display: none;
  font-size: 1.8rem;
  color: #f5f5f5;
  cursor: pointer;
  user-select: none;
}

/* ---------- Responsive Styles ---------- */
@media (max-width: 900px) {
  .nav-links {
    position: fixed;
    top: 70px;
    right: -100%;
    width: 70%;
    height: calc(100vh - 70px);
    background: rgba(27, 15, 46, 0.95);
    backdrop-filter: blur(15px);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    transition: right 0.4s ease;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.5);
  }

  .nav-links.active {
    right: 0;
  }

  .menu-toggle {
    display: block;
  }

  .nav-links a {
    font-size: 1.2rem;
  }
}
/*hero section*/
.hero-slider {
  position: relative;
  height: 70vh;
  width: 100%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-align: center;
  font-family: "Poppins", sans-serif;
  background: #0b001a;
}

.slide {
  position: absolute;
  width: 100%;
  height: 100%;
  opacity: 0;
  transform: scale(1.05);
  transition: opacity 1.5s ease, transform 2s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.slide.active {
  opacity: 1;
  transform: scale(1);
}

/* ---- SLIDE 1: Deep Purple Nebula ---- */
#slide1 {
  background: radial-gradient(circle at center, #1a0033, #0b001a, #000);
  overflow: hidden;
}
#slide1::before {
  content: "";
  position: absolute;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 1px, transparent 1px);
  background-size: 80px 80px;
  animation: driftStars 40s linear infinite;
}
@keyframes driftStars {
  0% { transform: translate(0, 0); }
  100% { transform: translate(-200px, -200px); }
}

/* ---- SLIDE 2: Dark Shooting Stars ---- */
#slide2 {
  background: linear-gradient(135deg, #12002f, #26004f, #0b001a);
  overflow: hidden;
}
#slide2::before, #slide2::after {
  content: "";
  position: absolute;
  width: 2px;
  height: 2px;
  background: white;
  border-radius: 50%;
  box-shadow: 0 0 8px #fff, 0 0 15px #9d4edd;
  animation: shootingStars 3s linear infinite;
}
#slide2::after {
  animation-delay: 1.8s;
}
@keyframes shootingStars {
  0% { transform: translate(0, 0); opacity: 1; }
  100% { transform: translate(400px, 900px); opacity: 0; }
}

/* ---- SLIDE 3: Dark Aurora Flow ---- */
#slide3 {
  background: radial-gradient(circle at bottom, #1a0033, #100021, #000);
  overflow: hidden;
}
#slide3::before {
  content: "";
  position: absolute;
  width: 200%;
  height: 200%;
  background: conic-gradient(from 180deg, rgba(155, 89, 182, 0.3), rgba(108, 92, 231, 0.2), transparent);
  animation: auroraMove 10s linear infinite;
}
@keyframes auroraMove {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* ---- SLIDE 4: Galaxy Sparkle Field ---- */
#slide4 {
  background: radial-gradient(circle at top left, #1b003a, #0d0024, #000);
  overflow: hidden;
}
#slide4::before {
  content: "";
  position: absolute;
  width: 200%;
  height: 200%;
  background-image: radial-gradient(rgba(255,255,255,0.15) 1px, transparent 1px);
  background-size: 60px 60px;
  animation: twinkle 6s ease-in-out infinite alternate;
}
@keyframes twinkle {
  0% { opacity: 0.5; transform: scale(1); }
  100% { opacity: 1; transform: scale(1.1); }
}

/* ---- TEXT STYLING ---- */
.slide h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
  background: linear-gradient(90deg, #c77dff, #9d4edd, #5a189a);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: fadeInText 2s ease-in;
}
.slide p {
  font-size: 1.3rem;
  max-width: 600px;
  color: #e0e0ff;
  line-height: 1.6;
  animation: fadeInText 2.5s ease-in;
}
@keyframes fadeInText {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ---- RESPONSIVE ---- */
@media (max-width: 768px) {
  .slide h1 { font-size: 2rem; }
  .slide p { font-size: 1rem; padding: 0 1rem; }
}



/*after hero*/
/* === Loan Card Section === */
.loan-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
  background: linear-gradient(135deg, #ffffff, #f3e8ff);
  border-radius: 20px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  padding: 3rem;
  margin: 4rem auto;
  max-width: 1100px;
  overflow: hidden;
  position: relative;
  animation: fadeSlideUp 1s ease forwards;
}

/* Reverse layout for alternating cards */
.loan-card.reverse {
  flex-direction: row-reverse;
  background: linear-gradient(135deg, #f3e8ff, #ffffff);
}

/* Image styling */
.loan-img {
  width: 45%;
  border-radius: 16px;
  box-shadow: 0 8px 25px rgba(107, 17, 255, 0.25);
  object-fit: cover;
  transition: transform 0.4s ease;
}

.loan-card:hover .loan-img {
  transform: scale(1.03);
}

/* Floating animation for images */
.floating {
  animation: floating 4s ease-in-out infinite;
}

@keyframes floating {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-12px); }
  100% { transform: translateY(0px); }
}

/* Loan content styling */
.loan-content {
  flex: 1;
  color: #333;
  animation: fadeIn 1s ease-in-out;
}

.loan-content h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  font-weight: 700;
  color: #3d0066;
}

.loan-content h2 span {
  color: #7c3aed;
  background: linear-gradient(90deg, #7c3aed, #b794f4);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.loan-content p {
  font-size: 1.1rem;
  line-height: 1.7;
  color: #555;
  margin-bottom: 2rem;
}

/* Loan buttons */
.loan-btn {
  display: inline-block;
  padding: 0.9rem 1.8rem;
  background: linear-gradient(90deg, #7c3aed, #b794f4);
  color: #fff;
  font-weight: 600;
  border-radius: 10px;
  text-decoration: none;
  box-shadow: 0 0 15px rgba(124, 58, 237, 0.4);
  transition: all 0.3s ease;
}

.loan-btn:hover {
  background: linear-gradient(90deg, #9f7aea, #d6bcfa);
  transform: translateY(-3px);
  box-shadow: 0 0 25px rgba(156, 81, 255, 0.6);
}

/* === Animations === */
@keyframes fadeSlideUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateX(-25px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* === Responsive Design === */
@media (max-width: 900px) {
  .loan-card,
  .loan-card.reverse {
    flex-direction: column;
    text-align: center;
    padding: 2rem;
  }

  .loan-img {
    width: 100%;
    max-width: 400px;
  }

  .loan-content {
    margin-top: 2rem;
  }

  .loan-content h2 {
    font-size: 1.8rem;
  }

  .loan-content p {
    font-size: 1rem;
  }
}

/* Loan Rates Section */
.loan-rates-section {
  position: relative;
  padding: 60px 20px;
  background: linear-gradient(135deg, #f9f9ff, #ffffff);
  overflow: hidden;
}

.floating-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('floating-bg.png') no-repeat center/cover;
  opacity: 0.05;
  z-index: 0;
}

.rates-container {
  position: relative;
  z-index: 1;
  max-width: 1000px;
  margin: 40px auto;
  background: #fff;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  overflow-x: auto; /* Enables horizontal scroll for table only */
}

.rates-container h2 {
  color: #7b2cbf;
  text-align: center;
  margin-bottom: 20px;
}

.rates-container p {
  text-align: center;
  margin-bottom: 20px;
  color: #555;
}

/* Table Styles */
.rates-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 600px; /* Prevents table from squishing on mobile */
}

.rates-table th, .rates-table td {
  padding: 14px 18px;
  text-align: left;
  border-bottom: 1px solid #ddd;
  color: #333;
}

.rates-table th {
  background-color: #f0e6ff;
  color: #7b2cbf;
  font-weight: 600;
}

.rates-table tr:nth-child(even) {
  background-color: #faf7ff;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
  .rates-container {
    padding: 20px;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.08);
  }

  .rates-container h2 {
    font-size: 1.3rem;
  }

  .rates-table th, .rates-table td {
    padding: 10px;
    font-size: 0.9rem;
  }
}


/* Content Sections */
.content, .loan-rates, .partners {
  padding: 6rem 2rem;
  text-align: center;
  animation: fadeUp 1s ease-in-out;
}

.content h2, .loan-rates h2, .partners h2 {
  font-size: 2rem;
  margin-bottom: 2rem;
  color: #111;
}

.columns {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
}

.column {
  flex: 1;
  min-width: 280px;
  max-width: 320px;
  background: #fff;
  border-radius: 15px;
  padding: 2rem;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
}

.column:hover {
  transform: translateY(-10px);
}

.column img {
  height: 60px;
  margin-bottom: 1rem;
}

.loan-rates table {
  width: 90%;
  margin: auto;
  border-collapse: collapse;
}

.loan-rates th, .loan-rates td {
  padding: 1rem;
  border-bottom: 1px solid #ddd;
}

.loan-rates tr:hover {
  background: #f1f9ff;
}

/* Partners */
.partner-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
}

.partner-logos img {
  height: 60px;
  opacity: 0.8;
  transition: transform 0.3s ease, opacity 0.3s;
}

.partner-logos img:hover {
  transform: scale(1.1);
  opacity: 1;
}

/* Footer */
/* Footer Section */
footer {
  position: relative;
  background: linear-gradient(135deg, #0d021e, #1a0433);
  color: #fff;
  padding: 60px 30px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 30px;
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.6);
  overflow: hidden;
}

footer::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at center, rgba(128, 0, 255, 0.2), transparent 60%),
              radial-gradient(circle at 70% 20%, rgba(0, 200, 255, 0.25), transparent 60%);
  animation: animateBg 10s infinite linear;
  z-index: 0;
  opacity: 0.8;
}

@keyframes animateBg {
  0% { transform: rotate(0deg) scale(1); }
  50% { transform: rotate(180deg) scale(1.1); }
  100% { transform: rotate(360deg) scale(1); }
}

footer .footer-column {
  position: relative;
  z-index: 1;
  flex: 1 1 250px;
  min-width: 250px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(8px);
  transition: transform 0.3s ease;
}

footer .footer-column:hover {
  transform: translateY(-6px);
}

footer h3 {
  color: #c88bff;
  margin-bottom: 15px;
  font-size: 1.3rem;
}

footer a {
  display: block;
  color: #ddd;
  text-decoration: none;
  margin-bottom: 8px;
  font-size: 0.95rem;
  transition: color 0.3s ease;
}

footer a:hover {
  color: #8f5cff;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
  footer {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 50px 20px;
  }

  footer .footer-column {
    width: 100%;
    max-width: 400px;
  }
}
footer form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

footer input[type="email"] {
  padding: 10px;
  border: none;
  border-radius: 8px;
  outline: none;
  font-size: 0.95rem;
}

footer button {
  padding: 10px;
  border: none;
  border-radius: 8px;
  background: linear-gradient(90deg, #8f5cff, #c88bff);
  color: white;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.3s ease;
}

footer button:hover {
  background: linear-gradient(90deg, #c88bff, #8f5cff);
}



/* Animations */
@keyframes fadeIn {
  from {opacity: 0; transform: translateY(30px);}
  to {opacity: 1; transform: translateY(0);}
}

@keyframes fadeUp {
  from {opacity: 0; transform: translateY(40px);}
  to {opacity: 1; transform: translateY(0);}
}

/* Support both class and id targets for the first section */
#collateral-calculator,
section#collateral-loan {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 6rem 2rem;
  background: linear-gradient(135deg, #6b1aff 0%, #b066ff 100%);
  color: #fff;
  animation: fadeUp 1s ease-in-out;
}

/* Collateral Calculator Section */
#collateral-calculator {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 6rem 2rem;
  background: linear-gradient(135deg, #4b0082 0%, #8a2be2 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
}

/* Subtle floating glow background */
#collateral-calculator::before,
#collateral-calculator::after {
  content: "";
  position: absolute;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(186, 85, 211, 0.3), transparent 70%);
  filter: blur(90px);
  animation: pulseGlow 8s ease-in-out infinite alternate;
}

#collateral-calculator::before {
  top: -100px;
  left: -100px;
}
#collateral-calculator::after {
  bottom: -150px;
  right: -150px;
  animation-delay: 2s;
}

/* Container styling */
.calculator-container {
  display: flex;
  flex-wrap: wrap;
  gap: 3rem;
  max-width: 1100px;
  align-items: center;
  justify-content: space-between;
  z-index: 2;
  animation: fadeInUp 1.2s ease-in-out;
}

/* Text section */
.calculator-text {
  flex: 1;
  min-width: 280px;
  animation: slideInLeft 1.2s ease;
}

.calculator-text h2 {
  font-size: 2.4rem;
  color: #fff;
  font-weight: 700;
  margin-bottom: 1rem;
  letter-spacing: 0.5px;
}

.calculator-text p {
  color: #e4d9ff;
  font-size: 1.1rem;
}

/* Box styling */
.calculator-box {
  flex: 1;
  min-width: 320px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  padding: 2rem;
  backdrop-filter: blur(14px);
  position: relative;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  animation: slideInRight 1.2s ease;
}

.calculator-box:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(138, 43, 226, 0.4);
}

/* Ethereum logo */
.eth-logo {
  position: absolute;
  top: -25px;
  right: -25px;
  width: 70px;
  height: 70px;
  opacity: 0.9;
  animation: floatLogo 4s ease-in-out infinite;
}

/* Input groups */
.input-group {
  margin-bottom: 1.5rem;
}

.input-group label {
  display: block;
  color: #fff;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.input-field {
  position: relative;
}

.input-field input {
  width: 100%;
  padding: 0.8rem 3.5rem 0.8rem 1rem;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  color: #333;
  background: #fff;
}

.input-field .currency {
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: #6b1aff;
  font-weight: 700;
}

/* Output field */
.output-field {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #fff;
  padding: 0.8rem 1rem;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: 600;
  color: #111;
}

.output-field .token {
  color: #6b1aff;
  margin-left: 0.5rem;
}

.output-field small {
  color: #777;
  font-weight: normal;
}

/* Button styling */
.interact-button {
  width: 100%;
  padding: 1rem;
  background: linear-gradient(90deg, #b066ff, #7c3aed);
  color: #fff;
  border: none;
  border-radius: 10px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.interact-button:hover {
  background: linear-gradient(90deg, #7c3aed, #b066ff);
  transform: scale(1.03);
  box-shadow: 0 0 15px rgba(186, 85, 211, 0.6);
}

/* Animations */
@keyframes floatLogo {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes slideInLeft {
  from { opacity: 0; transform: translateX(-50px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes slideInRight {
  from { opacity: 0; transform: translateX(50px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes pulseGlow {
  from { opacity: 0.5; transform: scale(1); }
  to { opacity: 1; transform: scale(1.1); }
}

/* Responsive Design */
@media (max-width: 768px) {
  #collateral-calculator {
    padding: 4rem 1.5rem;
  }
  .calculator-container {
    flex-direction: column;
    text-align: center;
  }
  .calculator-text, .calculator-box {
    width: 100%;
  }
  .eth-logo {
    width: 50px;
    height: 50px;
    right: -15px;
    top: -15px;
  }
}



/* === No Collateral Section === */
/* No-Collateral Loan Section */
#no-collateral-calculator {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 6rem 2rem;
  background: linear-gradient(135deg, #faf5ff 0%, #e9d5ff 100%);
  color: #2d0a57;
  position: relative;
  overflow: hidden;
}

/* Soft animated background glow */
#no-collateral-calculator::before,
#no-collateral-calculator::after {
  content: "";
  position: absolute;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.25), transparent 70%);
  filter: blur(100px);
  animation: gentleFloat 10s ease-in-out infinite alternate;
}

#no-collateral-calculator::before {
  top: -100px;
  left: -100px;
}
#no-collateral-calculator::after {
  bottom: -150px;
  right: -150px;
  animation-delay: 3s;
}

/* Container styling */
.no-collateral-container {
  display: flex;
  flex-wrap: wrap;
  gap: 3rem;
  max-width: 1100px;
  align-items: center;
  justify-content: space-between;
  z-index: 2;
  animation: fadeInUp 1.2s ease;
}

/* Text Section */
.no-collateral-text {
  flex: 1;
  min-width: 280px;
  animation: slideInLeft 1.2s ease;
}

.no-collateral-text h2 {
  font-size: 2.4rem;
  color: #6b1aff;
  font-weight: 700;
  margin-bottom: 1rem;
  letter-spacing: 0.5px;
}

.no-collateral-text p {
  color: #4b0c75;
  font-size: 1.1rem;
  line-height: 1.6;
}

/* Box Section */
.no-collateral-box {
  flex: 1;
  min-width: 320px;
  background: rgba(255, 255, 255, 0.85);
  border-radius: 18px;
  box-shadow: 0 10px 30px rgba(107, 26, 255, 0.15);
  padding: 2rem;
  position: relative;
  backdrop-filter: blur(10px);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  animation: slideInRight 1.2s ease;
}

.no-collateral-box:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 40px rgba(139, 92, 246, 0.25);
}

/* Ethereum logo */
#no-collateral-calculator .eth-logo {
  position: absolute;
  top: -25px;
  right: -25px;
  width: 70px;
  height: 70px;
  opacity: 0.85;
  animation: floatLogo 4s ease-in-out infinite;
}

/* Input groups */
.no-collateral-box .input-group {
  margin-bottom: 1.5rem;
}

.no-collateral-box label {
  display: block;
  color: #3a0ca3;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.no-collateral-box .input-field {
  position: relative;
}

.no-collateral-box input {
  width: 100%;
  padding: 0.8rem 3.5rem 0.8rem 1rem;
  border: 1px solid #d1b3ff;
  border-radius: 8px;
  font-size: 1rem;
  color: #333;
  background: #fff;
}

.no-collateral-box .currency {
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: #7c3aed;
  font-weight: 700;
}

/* Output field */
.no-collateral-box .output-field {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #fff;
  padding: 0.8rem 1rem;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: 600;
  color: #111;
  border: 1px solid #d1b3ff;
}

.no-collateral-box .output-field .token {
  color: #7c3aed;
  margin-left: 0.5rem;
}

/* Button styling */
.no-collateral-box .interact-button {
  width: 100%;
  padding: 1rem;
  background: linear-gradient(90deg, #7c3aed, #b066ff);
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.no-collateral-box .interact-button:hover {
  background: linear-gradient(90deg, #b066ff, #7c3aed);
  transform: scale(1.03);
  box-shadow: 0 0 15px rgba(124, 58, 237, 0.4);
}

/* Animations */
@keyframes floatLogo {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes slideInLeft {
  from { opacity: 0; transform: translateX(-50px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes slideInRight {
  from { opacity: 0; transform: translateX(50px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes gentleFloat {
  0% { transform: translateY(0) translateX(0); }
  100% { transform: translateY(40px) translateX(40px); }
}

/* Responsive */
@media (max-width: 768px) {
  #no-collateral-calculator {
    padding: 4rem 1.5rem;
  }
  .no-collateral-container {
    flex-direction: column;
    text-align: center;
  }
  .no-collateral-text, .no-collateral-box {
    width: 100%;
  }
  #no-collateral-calculator .eth-logo {
    width: 50px;
    height: 50px;
    right: -15px;
    top: -15px;
  }
}


html {
  scroll-behavior: smooth;
}
