.filter-btn.active {
  background: var(--bs-primary)!important;
  border-color: var(--bs-primary)!important;
  color: #070606!important;
}

.form-control::placeholder {
  color: rgba(86, 98, 110, 0.75);
  opacity: 1;
}

.arrow {
  transition: transform .2s;
}

[aria-expanded="true"] .arrow {
  transform: rotate(90deg);
}

.zone-card {
  background: var(--bs-body-bg);
  border: 1px solid var(--bs-border-color);
  border-radius: .5rem;
  margin-bottom: 1rem;
  overflow: hidden;
}

.zone-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: .85rem 1rem;
  background: var(--bs-tertiary-bg);
  border-bottom: 1px solid var(--bs-border-color);
}

.zone-name {
  font-weight: 600;
  font-size: .95rem;
}

.zone-countries {
  font-size: .78rem;
  color: var(--bs-secondary-color);
  margin-top: .15rem;
}

.zone-body {
  padding: .75rem 1rem;
}

.method-row {
  display: flex;
  align-items: center;
  gap: .5rem;
  flex-wrap: wrap;
  padding: .4rem 0;
  border-bottom: 1px solid var(--bs-border-color-translucent);
  font-size: .85rem;
}

.method-row:last-child {
  border-bottom: none;
}

.method-type-badge {
  font-size: .7rem;
  font-weight: 700;
  padding: .15rem .5rem;
  border-radius: 999px;
  text-transform: uppercase;
}

.type-free {
  background: #d1fae5;
  color: #065f46;
}

.type-fixed {
  background: #dbeafe;
  color: #1e40af;
}

.type-weight {
  background: #fef3c7;
  color: #92400e;
}

[data-bs-theme="dark"] .type-free {
  background: #064e3b;
  color: #6ee7b7;
}

[data-bs-theme="dark"] .type-fixed {
  background: #1e3a5f;
  color: #93c5fd;
}

[data-bs-theme="dark"] .type-weight {
  background: #451a03;
  color: #fcd34d;
}

.method-name {
  font-weight: 500;
  flex: 1;
  min-width: 120px;
}

.method-detail {
  color: var(--bs-secondary-color);
  font-size: .8rem;
}

.method-eta {
  color: var(--bs-secondary-color);
  font-size: .75rem;
  font-style: italic;
}

.stat-pill {
  background: var(--bs-primary-bg-subtle);
  color: var(--bs-primary-text-emphasis);
  border-radius: 999px;
  padding: .15rem .6rem;
  font-size: .75rem;
  font-weight: 600;
}

.add-method-btn {
  margin-top: .5rem;
  padding: .4rem .75rem;
  border: 1.5px dashed var(--bs-border-color);
  border-radius: .375rem;
  font-size: .82rem;
  color: var(--bs-secondary-color);
  cursor: pointer;
  display: inline-block;
  transition: border-color .15s;
}

.add-method-btn:hover {
  border-color: var(--bs-primary);
  color: var(--bs-primary);
}

@keyframes slideIn {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

.theme-switcher.N-tsw {
  display: flex;
  bottom: 5%;
  right: 5%;
  position: absolute;
}

/* INDEX */

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  min-height: 100vh;
  background: var(--bg-deep);
  font-family: 'Anta', sans-serif;
  color: var(--text-primary);
  overflow-x: hidden;
}

/* ── Animated mesh background ── */

body::before {
  content: '';
  position: fixed;
  inset: 0;
  /*background: linear-gradient(135deg, var(--bs-danger-bg-subtle) 0%, var(--bs-danger-bg-subtle) 200%);*/
  pointer-events: none;
  z-index: 0;
}

/* Subtle grid overlay */

.InBody::after {
  content: '';
  position: fixed;
  inset: 0;
  background-image: linear-gradient(var(--bs-border-color-translucent) 1px, transparent 1px), linear-gradient(90deg, var(--bs-border-color-translucent) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
  z-index: 0;
}

.page {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 48px 20px;
}

/* ── Header ── */

.header {
  text-align: center;
  margin-bottom: 52px;
  animation: fadeUp 0.6s ease both;
}

.header-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--bs-pink);
  margin-bottom: 14px;
  opacity: 0.9;
}

.header-eyebrow::before, .header-eyebrow::after {
  content: '';
  width: 28px;
  height: 1px;
  background: var(--bs-pink);
  opacity: 0.5;
}

.header h1 {
  font-family: 'Anta', sans-serif;
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
  background: linear-gradient(135deg, #f0f2f7 30%, rgba(240,242,247,0.55));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 10px;
}

.header p {
  font-size: 14px;
  color: var(--text-muted);
  font-weight: 300;
}

/* ── App grid ── */

.app-grid {
  display: grid;
  grid-template-columns: repeat(4, 120px);
  gap: 14px;
  justify-content: center;
  max-width: 580px;
}

.app-grid span {
  color: var(--bs-primary);
}

@media (max-width: 560px) {
  .app-grid {
    grid-template-columns: repeat(3, 100px);
    gap: 12px;
  }
}

@media (max-width: 360px) {
  .app-grid {
    grid-template-columns: repeat(2, 100px);
  }
}

/* ── App card ── */

.app {
  position: relative;
  background: var(--bs-light-bg-subtle);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 18px 10px 14px;
  text-align: center;
  text-decoration: none !important;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  transition: transform 0.25s cubic-bezier(0.34,1.56,0.64,1), background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  animation: fadeUp 0.5s ease both;
  overflow: hidden;
  width: 105px;
  height: 105px;
}

/* Staggered entrance */

.app:nth-child(1) {
  animation-delay: 0.10s;
}

.app:nth-child(2) {
  animation-delay: 0.15s;
}

.app:nth-child(3) {
  animation-delay: 0.20s;
}

.app:nth-child(4) {
  animation-delay: 0.25s;
}

.app:nth-child(5) {
  animation-delay: 0.30s;
}

.app:nth-child(6) {
  animation-delay: 0.35s;
}

.app:nth-child(7) {
  animation-delay: 0.40s;
}

.app:nth-child(8) {
  animation-delay: 0.45s;
}

.app:nth-child(9) {
  animation-delay: 0.50s;
}

.app:nth-child(10) {
  animation-delay: 0.55s;
}

.app:nth-child(11) {
  animation-delay: 0.60s;
}

.app:nth-child(12) {
  animation-delay: 0.65s;
}

/* Shine sweep on hover */

.app::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.07) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.2s ease;
  border-radius: inherit;
}

.app:hover {
  transform: translateY(-5px) scale(1.04);
  background: var(--card-hover);
  border-color: var(--border-hover);
  box-shadow: 0 12px 32px rgba(0,0,0,0.4), 0 0 0 1px rgba(255,255,255,0.06);
}

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

.app:active {
  transform: translateY(-2px) scale(1.01);
}

.app-icon {
  width: 48px;
  height: 48px;
  object-fit: contain;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,0.5));
  transition: filter 0.2s ease, transform 0.2s ease;
}

.app:hover .app-icon {
  filter: drop-shadow(0 4px 12px rgba(79,142,247,0.4));
  transform: scale(1.08);
}

.app-label {
  font-family: 'Anta', sans-serif;
  font-size: 11.5px;
  font-weight: 500;
  color: rgba(247, 188, 255, 0.73);
  line-height: 1.2;
  transition: color 0.2s;
}

.app:hover .app-label {
  color: var(--text-primary);
}

/* ── Footer ── */

.footer {
  margin-top: 52px;
  font-size: 11px;
  color: rgba(255,255,255,0.2);
  letter-spacing: 0.08em;
  animation: fadeUp 0.6s 0.7s ease both;
}

/* ── Keyframes ── */

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

