/* staking.css */

/* ===== Staking Plans Page ===== */

.staking-plans-section {
  min-height: calc(100vh - 60px);
  padding: 40px 20px;
  background: linear-gradient(135deg, #0d1117 0%, #1a222e 100%);
  box-sizing: border-box;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.staking-plans-title {
  font-size: 2rem;
  font-weight: 700;
  color: #00ffcc;
  margin-bottom: 28px;
  text-align: center;
  text-shadow:
    0 0 8px #00ffccbb,
    0 0 25px #00ffccbb;
  animation: staking-glowText 2.5s ease-in-out infinite alternate;
}

.staking-plans-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  width: 100%;
  max-width: 1200px;
}

.staking-plan-card {
  background: #161b22;
  border-radius: 16px;
  padding: 20px;
  box-shadow:
    0 0 12px #00ffcc99,
    0 0 28px #00ffcc66,
    0 14px 40px rgba(0, 255, 204, 0.3);
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: box-shadow 0.4s ease, transform 0.3s ease;
}

.staking-plan-card:hover {
  box-shadow:
    0 0 22px #00ffcccc,
    0 0 52px #00ffccaa,
    0 20px 60px rgba(0, 255, 204, 0.45);
  transform: translateY(-6px);
}

.staking-plan-image {
  width: 100%;
  max-height: 150px;
  object-fit: contain;
  border-radius: 12px;
  margin-bottom: 14px;
}

.staking-plan-name {
  font-size: 1.3rem;
  font-weight: 700;
  color: #00ffcc;
  margin-bottom: 8px;
  text-align: center;
}

.staking-plan-price,
.staking-plan-duration,
.staking-plan-power,
.staking-plan-profit {
  color: #94a3b8;
  font-weight: 500;
  margin: 2px 0;
  font-size: 1rem;
  text-align: center;
}

.staking-plan-profit {
  color: #00ffcc;
  font-weight: 700;
  margin-top: 6px;
}

.staking-plan-details-button {
  margin-top: auto;
  padding: 12px 20px;
  border: none;
  border-radius: 14px;
  background: linear-gradient(90deg, #00ffc3, #00d8af);
  color: #0d1117;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  box-shadow: 0 8px 25px #00ffccaa;
  transition: background 0.4s ease, box-shadow 0.4s ease;
  text-align: center;
  text-decoration: none;
  user-select: none;
}

.staking-plan-details-button:hover {
  background: linear-gradient(90deg, #00d8af, #00ffc3);
  box-shadow: 0 12px 35px #00ffccdd;
}

/* ===== Staking Details Page ===== */

.staking-details-section {
  min-height: calc(100vh - 60px);
  padding: 40px 20px;
  background: linear-gradient(135deg, #0d1117 0%, #1a222e 100%);
  display: flex;
  justify-content: center;
  box-sizing: border-box;
  width: 100%;
}

.staking-details-card {
  background: #161b22;
  max-width: 600px;
  width: 100%;
  border-radius: 18px;
  padding: 30px 30px;
  box-shadow:
    0 0 15px #00ffccaa,
    0 0 40px #00ffcc88,
    0 18px 60px rgba(0, 255, 204, 0.4);
  transition: box-shadow 0.4s ease, transform 0.3s ease;
}

.staking-details-card:hover {
  box-shadow:
    0 0 25px #00ffcccc,
    0 0 55px #00ffccbb,
    0 25px 75px rgba(0, 255, 204, 0.6);
  transform: translateY(-6px);
}

.staking-details-title {
  font-size: 2rem;
  font-weight: 800;
  text-align: center;
  color: #00ffcc;
  margin-bottom: 20px;
  text-shadow:
    0 0 12px #00ffccdd,
    0 0 35px #00ffccbb;
  animation: staking-glowText 2.5s ease-in-out infinite alternate;
}

.staking-details-image {
  display: block;
  max-width: 100%;
  max-height: 250px;
  margin: 0 auto 24px;
  border-radius: 14px;
  object-fit: contain;
  box-shadow:
    0 0 20px #00ffcc99,
    0 0 50px #00ffcc88;
}

.staking-details-info p {
  font-size: 1.1rem;
  margin: 8px 0;
  color: #94a3b8;
  font-weight: 600;
}

.staking-details-info strong {
  color: #00ffcc;
}

.staking-details-description {
  margin-top: 24px;
  font-size: 1rem;
  color: #c0fefd;
  line-height: 1.5;
  white-space: pre-wrap;
}

.staking-details-back-button,
.staking-details-order-button {
  display: inline-block;
  margin-top: 30px;
  padding: 14px 28px;
  font-weight: 700;
  font-size: 1.1rem;
  border-radius: 16px;
  text-decoration: none;
  cursor: pointer;
  user-select: none;
  transition: background 0.4s ease, box-shadow 0.4s ease;
}

.staking-details-back-button {
  background-color: transparent;
  border: 2px solid #00ffcc;
  color: #00ffcc;
  margin-right: 15px;
}

.staking-details-back-button:hover {
  background-color: #00ffcc;
  color: #0d1117;
  box-shadow: 0 0 20px #00ffccaa;
}

.staking-details-order-button {
  background: linear-gradient(90deg, #00ffc3, #00d8af);
  color: #0d1117;
  border: none;
  box-shadow: 0 8px 30px #00ffccaa;
}

.staking-details-order-button:hover {
  background: linear-gradient(90deg, #00d8af, #00ffc3);
  box-shadow: 0 12px 40px #00ffccdd;
}

/* Animations */
@keyframes staking-glowText {
  0% {
    text-shadow: 0 0 8px #00ffccbb, 0 0 20px #00ffcc88;
  }
  100% {
    text-shadow: 0 0 25px #00ffccdd, 0 0 60px #00ffcccc;
  }
}

/* Responsive */

/* Medium tablets and below */
@media (max-width: 992px) {
  .staking-plans-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .staking-details-card {
    max-width: 480px;
    padding: 24px 24px;
  }
}

/* Mobile phones */
@media (max-width: 480px) {
  .staking-plans-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .staking-plan-card {
    padding: 16px;
  }

  .staking-details-card {
    max-width: 100%;
    padding: 20px 15px;
    border-radius: 12px;
  }

  .staking-details-title {
    font-size: 1.5rem;
  }

  .staking-details-info p {
    font-size: 1rem;
  }

  .staking-details-description {
    font-size: 0.9rem;
  }

  .staking-details-back-button,
  .staking-details-order-button {
    width: 100%;
    text-align: center;
    padding: 12px;
    font-size: 1rem;
    margin-top: 12px;
  }
}
