/* ============================================
   COMPONENTS — Buttons, Cards, Shared UI
   ============================================ */

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 32px;
  border-radius: var(--radius-full);
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}

.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.18), transparent);
  opacity: 0;
  transition: opacity var(--transition-base);
}

.btn:hover::before {
  opacity: 1;
}

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

/* Primary — solid green */
.btn-primary {
  background: var(--gradient-green);
  color: var(--white);
  box-shadow: var(--shadow-green);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 44px rgba(46,125,50,0.45);
}

/* Secondary — glass */
.btn-secondary {
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  border: 1.5px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(12px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.35);
  transform: translateY(-3px);
}

/* Outline */
.btn-outline {
  background: transparent;
  color: var(--green-700);
  border: 2px solid var(--green-200);
}

.btn-outline:hover {
  background: var(--green-50);
  border-color: var(--green-400);
  transform: translateY(-3px);
}

/* White CTA — used in dark sections */
.btn-white {
  background: var(--white);
  color: var(--green-900);
  box-shadow: var(--shadow-lg);
}

.btn-white:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-xl);
}

/* Sizes */
.btn-lg {
  padding: 18px 40px;
  font-size: 1rem;
}

.btn-sm {
  padding: 10px 22px;
  font-size: 0.82rem;
}

/* Icons inside buttons */
.btn svg,
.btn img {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.btn-lg svg,
.btn-lg img {
  width: 22px;
  height: 22px;
}

/* Play Store icon */
.icon-playstore {
  width: 20px;
  height: 20px;
}
