body {
  font-family: "Poppins", sans-serif;
  background: #f7f9fc;
  margin: 0;
  padding: 0;
}

/* 🌟 HEADER */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: white;
  color: black;
  padding: 14px;
  text-align: center;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
  z-index: 10;
}

.header h1 {
  margin: 0;
  font-size: 22px;
}

.header .small {
  font-size: 13px;
  margin-top: 4px;
}

.settings-icon {
  position: absolute;
  left: 16px;
  top: 20px;
  font-size: 34px;
  color: #fff;
  text-decoration: none;
  transition: 0.3s;
}
.settings-icon:hover {
  color: #ffeb3b;
  transform: rotate(30deg);
}

/* 🔹 TOKEN BOX */
.token-box {
  background: #fff;
  color: black;
  display: inline-block;
  padding: 4px 10px;
  border-radius: 5px;
  margin-top: 6px;
  font-weight: 500;
}
.token-highlight {
  color: green;
  font-weight: 900;
  font-size: 20px;
  letter-spacing: 0.5px;
}

/* 🌟 MAIN CONTENT */
.wrap {
  padding: 120px 16px 100px;
  max-width: 480px;
  margin: auto;
}

.card {
  background: #fff;
  padding: 16px;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
}

.small {
  font-size: 13px;
  color: #555;
}

.btn-on, .btn-off {
  padding: 10px 16px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
}
.btn-on {
  background: #28a745;
  color: #fff;
}
.btn-off {
  background: #dc3545;
  color: #fff;
  margin-left: 10px;
}

/* 🔹 RECHARGE BUTTON */
.recharge {
  position: fixed;
  top: 50px;
  left: 5px;
  background: white;
  color: #000;
  padding: 8px 10px;
  border-radius: 5px;
  cursor: pointer;
  font-weight: 600;
  display: none;
  animation: cursorBlink 1s infinite;
  z-index: 999; /* ताकि बाकी सबके ऊपर रहे */
}

/* 🔸 Typing cursor जैसी blink animation */
@keyframes cursorBlink {
  0%, 49% { opacity: 1; }
  50%, 100% { opacity: 0; }
}

.flex {
  display: flex;
  align-items: center;
  justify-content: center; 
  gap: 50px; 
  flex-wrap: wrap;
}

/* 🌟 TIMER */
.timerBox {
  font-size: 15px;
  font-weight: 700;
  color: #0072ff;
  text-align: center;
  margin: 10px 0;
}

/* 🌟 FOOTER (fixed position + perfect spacing) */
.footer {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: #fff;
  padding: 12px 0;
  text-align: center;
  box-shadow: 0 -2px 6px rgba(0,0,0,0.15);
  z-index: 9;
}

/* ⚡ Recharge Button */
.footer button {
  background: green;
  color: #fff;
  padding: 10px 22px;
  border: none;
  border-radius: 10px;
  font-weight: 900;
  cursor: pointer;
  font-size: 20px;
  animation: glow 1.8s infinite;
}


@keyframes glow {
  0% { box-shadow: 0 0 5px green; }
  50% { box-shadow: 0 0 15px limegreen; }
  100% { box-shadow: 0 0 5px green; }
}
/* 🔥 install button ki css */
.install-wrap{
  position: fixed;
  top: 15px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 9999;
  display: none;
}

.install-btn{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  border-radius: 28px;
  background: linear-gradient(90deg,#0b74ff,#1e9bff);
  color: #fff;
  box-shadow: 0 8px 22px rgba(11,116,255,0.22);
  font-weight: 600;
  font-size: 16px;
  border: 0;
  cursor: pointer;
  outline: none;
  opacity: 0;
  transform: translateY(-30px);
}

.show{
  animation: slideDown 0.5s ease-out forwards;
}
.hide{
  animation: slideUp 0.5s ease-in forwards;
}

.install-icon{
  width:20px;height:20px;
  display:inline-block;
  flex:0 0 20px;
  filter:drop-shadow(0 2px 6px rgba(0,0,0,0.15));
}

@keyframes slideDown{
  from{opacity:0; transform:translateY(-30px)}
  to{opacity:1; transform:translateY(0)}
}
@keyframes slideUp{
  from{opacity:1; transform:translateY(0)}
  to{opacity:0; transform:translateY(-30px)}
}

