/* استایل تکمیلی — glassmorphism و گرادیان تیل هم‌خانواده با سایت مهامد */

body {
  background: radial-gradient(circle at 20% 0%, #0f766e 0%, #042f2e 45%, #021917 100%);
  background-attachment: fixed;
}

.glass {
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
}

.glass-input {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.14);
  transition: border-color .2s ease, background .2s ease;
}
.glass-input:focus {
  background: rgba(255, 255, 255, 0.11);
  border-color: #2dd4bf;
  outline: none;
}

.btn-glow {
  box-shadow: 0 0 0 0 rgba(45, 212, 191, 0.5);
  transition: box-shadow .3s ease, transform .15s ease;
}
.btn-glow:hover { box-shadow: 0 0 30px 4px rgba(45, 212, 191, 0.35); }
.btn-glow:active { transform: scale(0.97); }

.punch-btn {
  width: 200px;
  height: 200px;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 6px;
  font-weight: 800;
  font-size: 18px;
  transition: transform .2s ease, box-shadow .3s ease;
  cursor: pointer;
  border: none;
}
.punch-btn:active { transform: scale(0.95); }
.punch-btn--in {
  background: radial-gradient(circle at 35% 30%, #2dd4bf, #0d9488 70%);
  box-shadow: 0 0 50px 6px rgba(45, 212, 191, 0.4), inset 0 0 30px rgba(255,255,255,.15);
  color: #042f2e;
}
.punch-btn--out {
  background: radial-gradient(circle at 35% 30%, #fb923c, #ea580c 70%);
  box-shadow: 0 0 50px 6px rgba(251, 146, 60, 0.35), inset 0 0 30px rgba(255,255,255,.12);
  color: #431407;
}
.punch-btn--done {
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,.5);
  box-shadow: none;
  cursor: default;
}

@keyframes pulse-ring {
  0% { box-shadow: 0 0 0 0 rgba(45, 212, 191, 0.5); }
  100% { box-shadow: 0 0 0 24px rgba(45, 212, 191, 0); }
}
.pulse-ring { animation: pulse-ring 2s ease-out infinite; }

@keyframes toastIn { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }
.toast { animation: toastIn .25s ease both; }

@keyframes fadeUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
.fade-up { animation: fadeUp .35s ease both; }

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-thumb { background: rgba(255,255,255,.15); border-radius: 8px; }
