button {
  outline: none;
  -webkit-tap-highlight-color: transparent;
}

body {
  margin: 0;
  min-height: 100svh;
  background: linear-gradient(135deg, #141e30, #243b55);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.container {
  width: 100%;
  max-width: 420px;
  padding: 16px;
}

.card-ui {
  background: #fff;
  border-radius: 22px;
  padding: 26px 22px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.25);
}

.header {
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
}

.brand-name {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 20px;
  font-weight: 800;
  color: #ff0000;
}

/* INPUT */
.search-box {
  position: relative;
  margin-bottom: 14px;
}

.search-icon {
  position: absolute;
  top: 50%;
  left: 18px;
  transform: translateY(-50%);
  color: #ff4b2b;
}

.search-box input {
  width: 60%;
  height: 52px;
  padding: 0 52px;
  border-radius: 999px;
  border: 1px solid #cfd4da;
  background: #f1f3f5;
  transition: all 0.25s ease;
}

.search-box input:focus {
  background: #fff;
  border-color: #ff4b2b;
  box-shadow:
    0 0 0 4px rgba(255,75,43,0.25),
    0 8px 20px rgba(255,75,43,0.35);
}

/* CLEAR */
.clear-btn {
  position: absolute;
  top: 50%;
  right: 14px;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: none;
  background: linear-gradient(135deg, #ff416c, #ff4b2b);
  color: #fff;
  display: none;
  cursor: pointer;
}

/* 🔥 HEAVY ANIMATED BUTTON */
.btn-search {
  margin-top: 18px;
  width: 72%;
  height: 48px;
  border-radius: 999px;
  border: none;
  font-weight: 700;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-left: auto;
  margin-right: auto;
  cursor: pointer;
  color: #fff;
  background: linear-gradient(135deg, #ff416c, #ff4b2b);
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 20px rgba(255,75,43,0.45);
}

.glow-btn::before {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: inherit;
  background: linear-gradient(120deg,#ff416c,#ff4b2b,#ff416c);
  opacity: 0.6;
  filter: blur(12px);
  animation: glowMove 2.5s linear infinite;
}

@keyframes glowMove {
  to { transform: rotate(360deg); }
}

.btn-search:active {
  transform: scale(0.96);
}

.app-only {
  font-size: 12px;
  opacity: 0.8;
}

.footer-text {
  text-align: center;
  font-size: 12px;
  opacity: 0.6;
  margin-top: 18px;
}

/* POPUP */
.popup-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.55);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.popup-box {
  background: #fff;
  padding: 22px;
  border-radius: 16px;
  width: 85%;
  max-width: 300px;
  text-align: center;
  position: relative;
}

.popup-close {
  position: absolute;
  top: 8px;
  right: 10px;
  border: none;
  background: none;
  font-size: 18px;
  cursor: pointer;
}