@import url('https://fonts.googleapis.com/css2?family=ABeeZee&display=swap');

body {
  background: linear-gradient(to bottom right, #e4ddd4 , #e4ddd4);
  color: #2b2b2b;
  font-family: 'ABeeZee', sans-serif;
  margin: 0;
  padding: 0;
  min-height: 100vh;
  position: relative;
  padding-top: 160px;
}

#connectWallet {
  position: fixed;
  top: 25px;
  right: 20px;
  background: linear-gradient(to right, #ff5e7e, #ff3366);
  color: white;
  border: none;
  padding: 10px 18px;
  font-size: 15px;
  border-radius: 10px;
  cursor: pointer;
  font-family: 'ABeeZee', sans-serif;
  transition: background 0.3s ease, transform 0.2s ease;
  z-index: 1000;
  display: flex;
  align-items: center;
  gap: 8px;
}

#connectWallet i {
  font-size: 15px;
}

#connectWallet:hover {
  background: linear-gradient(to right, #cf2e2e, #cf2e2e);
  transform: scale(1.05);
}

.page-header {
  position: fixed;
  font-family: 'ABeeZee', sans-serif;
  top: 0;
  left: 0;
  width: 100%;
  background: #e4ddd4;
  text-align: center;
  padding: 25px 20px 20px;
  z-index: 999;
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

.page-header h2 {
  font-size: 28px;
  font-weight: 700;
  color: #5b2329;
  margin-bottom: 10px;
}

.page-header p {
  font-size: 16px;
  color: #555;
  font-weight: 500;
  margin: 0;
}

.page-logo {
  position: fixed;
  top: 12px;
  left: 20px;
  width: 100px;
  height: auto;
  z-index: 1000;
}

.main-wrapper {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  padding: 0 20px 80px;
  justify-items: center;
}

.plan-box {
  text-align: center;
  margin-bottom: 30px;
}

.plan-box h3 {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 12px;
  color: #5b2329;
  background: #fff0f3;
  display: inline-block;
  padding: 6px 16px;
  border-radius: 999px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

.plan-box:nth-child(1) h3 { background: #fceeee; }
.plan-box:nth-child(2) h3 { background: #f5f0ff; }
.plan-box:nth-child(3) h3 { background: #e9f7f6; }
.plan-box:nth-child(4) h3 { background: #fff8e1; }

.container {
  background: #e4ddd4;
  border-radius: 20px;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
  padding: 30px;
  text-align: center;
  width: 100%;
  max-width: 240px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
}

.container::before {
  content: "";
  position: absolute;
  top: -20%;
  right: -20%;
  width: 160%;
  height: 160%;
  background: radial-gradient(circle at top right, #ffe6ed, transparent);
  z-index: 0;
  opacity: 0.25;
}

.container:hover {
  transform: scale(1.02);
  box-shadow: 0 16px 28px rgba(0, 0, 0, 0.12);
}

.container * {
  position: relative;
  z-index: 1;
}

.container h1 {
  font-size: 20px;
  color: #0d0049;
  font-weight: 700;
  margin-top: 12px;
  margin-bottom: 6px;
  letter-spacing: 0.5px;
}

.container p {
  font-size: 15px;
  font-weight: 500;
  margin: 6px 0;
  color: #3a3a3a;
}

.container hr {
  border: none;
  border-top: 1px dashed #bbb;
  margin: 14px 0;
}

.container button {
  background: linear-gradient(to right, #f43a4e, #f43a4e);
  color: #fff;
  border: none;
  font-family: 'ABeeZee', sans-serif;
  padding: 12px 24px;
  font-size: 13px;
  border-radius: 10px;
  margin: 8px 5px;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.2s ease;
}

.container button:hover {
  background: linear-gradient(to right, #cf2e2e, #cf2e2e);
  transform: scale(1.05);
}

button.withdrawButton:disabled {
  background: #e0e0e0 !important;
  color: #999 !important;
  cursor: not-allowed;
  box-shadow: none;
  transform: none;
}

input.stakeInput {
  width: 96%;
  padding: 10px;
  margin: 10px 0 16px;
  border-radius: 8px;
  border: 1px solid #0d0049;
  text-align: center;
  font-size: 14px;
}

.unlockTime,
.stakeStart {
  white-space: nowrap;
  font-size: 14px;
  line-height: 1.4;
}

.countdown {
  font-size: 14px;
  font-weight: bold;
  color: #0300b8;
  white-space: nowrap;
  letter-spacing: 0.5px;
}

/* التوست */
#toastContainer {
  position: fixed;
  bottom: 20px;
  right: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 9999;
}

.toast {
  background-color: #025709;
  color: #fff;
  padding: 12px 20px;
  border-radius: 8px;
  min-width: 200px;
  animation: slideIn 0.5s ease, fadeOut 0.5s ease 2.5s forwards;
}

@keyframes slideIn {
  from { transform: translateX(100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

@keyframes fadeOut {
  to { opacity: 0; transform: translateX(100%); }
}

.footer {
  background: #e4ddd4;
  padding: 40px 20px;
  display: flex;
  flex-direction: row-reverse;
  justify-content: space-between;
  flex-wrap: wrap;
  color: #5b2329;
  font-family: 'ABeeZee', sans-serif;
  border-top: 2px solid #ccc;
}

.footer-column {
  flex: 1;
  min-width: 240px;
  margin: 10px;
}

.footer-column.email-column {
  text-align: right;
}

.footer-column.logo-column {
  text-align: left;
}

.footer-column.center-column {
  text-align: center;
}

.footer-logo {
  width: 90px;
  margin-bottom: 10px;
}

.footer-column h4 {
  margin: 15px 0 10px;
  font-family: 'ABeeZee', sans-serif;
  font-size: 16px;
  color: #5b2329;
}

.useful-links a {
  font-size: 11px;
  color: #5b2329;
  text-decoration: none;
  transition: transform 0.2s ease;
}
.social-icons a {
  margin-right: 10px;
  font-family: 'ABeeZee', sans-serif;
  font-size: 25px;
  color: #5b2329;
  text-decoration: none;
  transition: transform 0.2s ease;
}
.social-icons a:hover,
.useful-links a:hover {
  transform: scale(1.1);
}

.useful-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 10px;
  font-size: 14px;
}

.footer-column input[type="email"] {
  width: 50%;
  padding: 8px;
  margin-top: 10px;
  border: none;
  border-bottom: 2px solid #5b2329;
  background: transparent;
  color: #5b2329;
}

.footer-column label {
  display: block;
  margin: 10px 0;
  font-size: 13px;
}

.footer-column button {
  background: #5b2329;
  color: white;
  border: none;
  padding: 8px 16px;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.3s ease;
}

.footer-column button:hover {
  background: #3c141b;
}

/* Responsive */
@media (max-width: 768px) {
  .main-wrapper {
    grid-template-columns: 1fr;
  }

  .container {
    width: 90%;
    max-width: 100%;
  }

  #connectWallet {
    top: 10px;
    right: 10px;
    padding: 8px 14px;
    font-size: 13px;
  }

  .page-logo {
    width: 80px;
    left: 5px;
    top: 1px;
    display: block;
    margin: 10px auto 10px;
  }

  .footer {
    flex-direction: column;
    text-align: center;
  }

  .footer-column {
    margin-bottom: 20px;
  }

  .footer-column.email-column,
  .footer-column.logo-column {
    text-align: center;
  }

  .useful-links,
  .social-icons {
    justify-content: center;
  }
}
.bottom-bar {
  background: #e4ddd4;
  text-align: center;
  padding: 10px 20px;
  font-size: 12px;
  color: #5b2329;
  border-top: 1px solid #ccc;
}

.bottom-bar a {
  color: #5b2329;
  text-decoration: underline;
  margin-left: 5px;
}
