/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* ROOT */
html {
  font-size: 16px;
}

/* BODY */
body {
  font-family: Arial, sans-serif;
  background: radial-gradient(circle at top, #0d1b3e 0%, #050a18 100%);
  color: white;

  min-height: 100vh;
  min-height: 100dvh;

  overflow-x: hidden;
}

/* CONTAINER */
.container {
  min-height: 100vh;
  min-height: 100dvh;

  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;

  gap: 18px;
  text-align: center;
  padding: 20px;

  animation: fadeIn 1s ease-in-out;
}

/* LOGO */
.logo {
  width: 180px;
  max-width: 90%;
  margin-bottom: 10px;

  filter: drop-shadow(0 0 25px rgba(34, 197, 94, 0.5));
  animation: float 3s ease-in-out infinite;
}

/* TITLE */
h1 {
  font-size: 36px;
  font-weight: bold;
}

/* COLORS */
.green {
  color: #22c55e;
}

.blue {
  color: #5dade2;
  margin-left: 5px;
}

/* TAGLINE */
.tagline {
  font-size: 15px;
  opacity: 0.75;
}

/* BUTTON */
.start-btn {
  margin-top: 20px;
  padding: 12px 25px;

  font-size: 16px;
  border: none;
  border-radius: 30px;
  cursor: pointer;

  background: linear-gradient(135deg, #22c55e, #5dade2);
  color: white;
  font-weight: bold;

  transition: all 0.3s ease;
}

/* TOUCH */
.start-btn:active {
  transform: scale(0.96);
}

/* HOVER */
@media (hover: hover) {
  .start-btn:hover {
    transform: scale(1.05);
    opacity: 0.9;
  }
}

/* ========================= */
/* GLOBAL APP UI */
/* ========================= */

/* HEADER */
.header {
  padding: 20px;
}

/* CARD */
.card {
  margin: 20px;
  padding: 20px;
  border-radius: 15px;
  background: rgba(255,255,255,0.08);
}

/* BUTTON BLOCK */
.btn {
  margin: 10px 20px;
  padding: 15px;
  background: #3cff9b;
  color: black;
  border-radius: 12px;
  text-align: center;
  cursor: pointer;
}

/* TRANSACTIONS */
.transactions {
  padding: 20px;
}

/* NAV BAR */
.nav {
  position: fixed;
  bottom: 0;
  width: 100%;
  display: flex;
  justify-content: space-around;
  background: #111;
  padding: 10px 0;
}

/* ========================= */
/* ANIMATIONS */
/* ========================= */

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(25px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}




:root {
  --bg-color: #050a18;
  --accent-green: #2ecc71;
  --glass: rgba(255, 255, 255, 0.08);
}

/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* BODY */
body {
  font-family: 'Segoe UI', sans-serif;
  background: radial-gradient(circle at center, #0d1b3e 0%, #050a18 100%);
  color: white;

  min-height: 100vh;
  min-height: 100dvh;

  overflow-x: hidden;
}

/* ========================= */
/* ✅ CENTER PAGES ONLY */
/* ========================= */
.container {
  width: 100%;
  max-width: 360px;
  margin: auto;

  text-align: center;
  padding: 20px;

  /* 🔥 FIX: center ONLY when needed */
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 100vh;
}

/* ========================= */
/* LOCK PAGE */
/* ========================= */

.brand-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 40px;
}

/* LOGO GLOW */
.logo-glow {
  position: relative;
  width: 100px;
  height: 100px;
  margin-bottom: 15px;
}

.logo-glow::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);

  width: 120%;
  height: 120%;

  background: var(--accent-green);
  filter: blur(35px);
  opacity: 0.25;
  z-index: -1;
}

.app-logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 20px;
}

/* TEXT */
.tagline {
  font-size: 14px;
  opacity: 0.6;
}

/* LOCK AREA */
.lock-icon {
  font-size: 28px;
  margin-bottom: 10px;
}

h2 {
  font-size: 22px;
  margin-bottom: 25px;
}

/* INPUT */
.input-container {
  background: var(--glass);
  border-radius: 18px;
  padding: 15px 20px;

  display: flex;
  align-items: center;

  margin-bottom: 20px;
}

#pinInput {
  background: transparent;
  border: none;

  color: white;
  font-size: 24px;

  letter-spacing: 12px;
  width: 100%;

  outline: none;
  text-align: center;
}

/* TOGGLE */
.toggle-btn {
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  cursor: pointer;
}

/* BUTTON */
.unlock-btn {
  background: var(--accent-green);
  color: white;

  border: none;
  width: 100%;
  padding: 16px;

  border-radius: 30px;
  font-size: 18px;

  cursor: pointer;
}

.unlock-btn:active {
  transform: scale(0.97);
}

/* MESSAGE */
.message {
  margin-top: 15px;
  font-size: 14px;
  height: 20px;
}

/* FORGOT */
.forgot-btn {
  background: none;
  border: none;
  color: rgba(255,255,255,0.4);
  margin-top: 20px;
  cursor: pointer;
}

/* ========================= */
/* ✅ GLOBAL APP UI (FIX FOR HOME BREAK) */
/* ========================= */

.header {
  padding: 20px;
}

.card {
  margin: 20px;
  padding: 20px;
  border-radius: 15px;
  background: rgba(255,255,255,0.08);
}

.btn {
  margin: 10px 20px;
  padding: 15px;
  border-radius: 12px;
  background: var(--accent-green);
  color: black;
  text-align: center;
  cursor: pointer;
}

.transactions {
  padding: 20px;
}

.nav {
  position: fixed;
  bottom: 0;
  width: 100%;
  display: flex;
  justify-content: space-around;
  background: #111;
  padding: 10px 0;
}

/* ========================= */
/* ANIMATION */
/* ========================= */

@keyframes shake {
  0%,100% { transform: translateX(0); }
  25% { transform: translateX(-8px); }
  75% { transform: translateX(8px); }
}

.shake {
  animation: shake 0.3s ease-in-out;
}