/* ═══════════════════════════════════════════════
   MemeDex — GhostGuard Design System
   Exact port of ghostguard-dashboard.duckdns.org
   ═══════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

:root {
  color-scheme: dark;
  --ink: #0a0b0f;
  --ink-light: #101118;
  --panel: rgba(22, 24, 35, 0.7);
  --panel-solid: #161823;
  --line: rgba(255, 255, 255, 0.06);
  --line-hover: rgba(255, 255, 255, 0.12);
  --ghost: #a78bfa;
  --ghost-bright: #c4b5fd;
  --mint: #34d399;
  --mint-bright: #6ee7b7;
  --danger: #fb7185;
  --danger-dim: #9f1239;
  --warn: #fbbf24;
  --glass: rgba(255, 255, 255, 0.03);
  --glass-border: rgba(255, 255, 255, 0.08);
  --text: #f7f2ff;
  --text-dim: #a1a1aa;
  --shadow-glow: 0 0 40px rgba(167, 139, 250, 0.15);
  --shadow-glow-mint: 0 0 40px rgba(52, 211, 153, 0.15);
  --shadow-glass: 0 8px 32px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  --shadow-glass-lg: 0 16px 64px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

* {
  box-sizing: border-box;
  margin: 0;
}

html {
  min-height: 100%;
}

body {
  min-height: 100vh;
  overflow-x: hidden;
  color: var(--text);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 15px;
  line-height: 1.6;
  background: var(--ink);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  animation: page-enter 0.5s ease-out both;
}

button, input, select, textarea {
  font: inherit;
}

/* ─── Glass Components ─── */

.glass {
  background: var(--glass);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-glass);
}

.glass-hover {
  transition: all 0.3s ease;
}

.glass-hover:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--line-hover);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transform: translateY(-2px);
}

/* ─── Orbs ─── */

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  will-change: transform;
}

.orb-purple {
  background: rgba(167, 139, 250, 0.15);
}

.orb-mint {
  background: rgba(52, 211, 153, 0.12);
}

.orb-blue {
  background: rgba(96, 165, 250, 0.1);
}

/* ─── Gradient Text ─── */

.gradient-text {
  background: linear-gradient(135deg, #c4b5fd 0%, #a78bfa 30%, #34d399 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.gradient-text-mint {
  background: linear-gradient(135deg, #34d399 0%, #6ee7b7 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.gradient-border {
  position: relative;
}

.gradient-border::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(167, 139, 250, 0.3), rgba(52, 211, 153, 0.3));
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  -webkit-mask-composite: xor;
  pointer-events: none;
}

/* ─── Navigation ─── */

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 0 clamp(18px, 5vw, 56px);
  height: 60px;
  background: rgba(10, 11, 15, 0.85);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  text-decoration: none;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.brand::before {
  content: "";
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: url("/public/memedex-icon.png") center / cover no-repeat;
  flex-shrink: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav a,
.nav button {
  display: inline-flex;
  align-items: center;
  height: 36px;
  padding: 0 14px;
  color: var(--text-dim);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 0.75rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.nav a:hover,
.nav button:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
}

.nav .btn-primary {
  color: var(--ink);
  background: linear-gradient(135deg, var(--ghost), #8b5cf6);
  font-weight: 600;
  border: 0;
  box-shadow: 0 4px 16px rgba(167, 139, 250, 0.25);
}

.nav .btn-primary:hover {
  background: linear-gradient(135deg, var(--ghost-bright), var(--ghost));
  box-shadow: 0 6px 24px rgba(167, 139, 250, 0.35);
}

/* ─── Layout ─── */

main {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 48px 0 64px;
}

/* ─── Typography ─── */

h1, h2, h3 {
  margin: 0;
  color: #fff;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

h1 {
  font-size: clamp(48px, 7vw, 80px);
}

h2 {
  font-size: clamp(28px, 4vw, 40px);
}

h3 {
  font-size: 20px;
}

p {
  color: #a1a1aa;
  line-height: 1.7;
}

/* ─── Pills & Chips ─── */

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--glass);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: var(--shadow-glass);
}

.pill .dot-wrap {
  position: relative;
  display: flex;
  width: 8px;
  height: 8px;
}

.pill .dot-ping {
  position: absolute;
  inset: 0;
  border-radius: 999px;
  background: var(--mint);
  opacity: 0.75;
  animation: ping 1.5s cubic-bezier(0, 0, 0.2, 1) infinite;
}

.pill .dot {
  position: relative;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--mint);
}

.pill .pill-label {
  color: var(--mint);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

@keyframes ping {
  75%, 100% {
    transform: scale(2);
    opacity: 0;
  }
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.chip {
  display: inline-flex;
  align-items: center;
  height: 32px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--glass);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  color: #d4d4d8;
  font-size: 13px;
  font-weight: 500;
}

/* ─── Buttons ─── */

.actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.btn,
button.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 42px;
  padding: 0 20px;
  border: 0;
  border-radius: 0.75rem;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  transition: all 0.2s ease;
}

.btn.primary {
  color: var(--ink);
  background: linear-gradient(135deg, var(--ghost), #8b5cf6);
  box-shadow: 0 4px 16px rgba(167, 139, 250, 0.25);
}

.btn.primary:hover {
  background: linear-gradient(135deg, var(--ghost-bright), var(--ghost));
  box-shadow: 0 6px 24px rgba(167, 139, 250, 0.35);
  transform: translateY(-1px);
}

.btn.primary:active {
  transform: translateY(0);
}

.btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--glass-border);
  color: #e4e4e7;
  font-weight: 500;
}

.btn:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.15);
}

.btn.gold {
  color: var(--ink);
  background: linear-gradient(135deg, #fbbf24, #f59e0b);
  border: 0;
  box-shadow: 0 4px 16px rgba(251, 191, 36, 0.25);
}

.btn.gold:hover {
  box-shadow: 0 6px 24px rgba(251, 191, 36, 0.35);
  transform: translateY(-1px);
}

.btn.gold:active {
  transform: translateY(0);
}

.btn.danger {
  background: rgba(251, 113, 133, 0.1);
  border: 1px solid rgba(251, 113, 133, 0.2);
  color: var(--danger);
}

.btn.danger:hover {
  background: rgba(251, 113, 133, 0.15);
  border-color: rgba(251, 113, 133, 0.3);
}

/* ─── Hero Section ─── */

.hero {
  position: relative;
  min-height: calc(100vh - 60px - 96px);
  display: grid;
  align-items: center;
  overflow: hidden;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.65fr);
  gap: clamp(32px, 6vw, 72px);
  align-items: center;
  position: relative;
  z-index: 10;
}

.hero-copy {
  max-width: 640px;
  animation: slide-up 0.5s ease-out both;
}

.hero-copy h1 {
  margin-top: 24px;
}

.hero-copy p {
  margin-top: 20px;
  font-size: clamp(16px, 1.8vw, 18px);
  max-width: 520px;
  line-height: 1.8;
}

.hero-copy .actions {
  margin-top: 32px;
}

.hero-copy .chips {
  margin-top: 28px;
}

/* ─── Card Showcase ─── */

.hero-showcase {
  position: relative;
  min-height: 440px;
  animation: fade-in 0.5s ease-out 0.2s both;
}

.card-stack {
  position: sticky;
  top: 80px;
  min-height: 420px;
}

.meme-card-card {
  border: 1px solid var(--line);
  background: var(--panel);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: var(--shadow-glass-lg);
}

.meme-card-card.rare {
  position: absolute;
  right: 24px;
  top: 16px;
  width: min(300px, 100%);
  min-height: 380px;
  padding: 20px;
  border-radius: 1.25rem;
}

.card-topline {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: var(--text-dim);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.meme-art {
  display: grid;
  place-items: center;
  height: 190px;
  margin-top: 14px;
  border-radius: 1rem;
  color: rgba(255, 255, 255, 0.9);
  font-size: 38px;
  font-weight: 700;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, #a78bfa, #34d399 100%);
}

.meme-card-card h2 {
  margin-top: 14px;
  font-size: 26px;
}

.meme-card-card p {
  margin: 4px 0 0;
}

.coin-value,
.coin-line {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.coin-icon {
  width: 28px;
  height: 28px;
  object-fit: contain;
  flex-shrink: 0;
}

.coin-icon.small {
  width: 18px;
  height: 18px;
}

.meme-card-card.mini {
  position: absolute;
  left: 0;
  width: 190px;
  padding: 16px;
  border-radius: 1rem;
}

.meme-card-card.mini span {
  color: var(--ghost);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.meme-card-card.mini strong {
  display: block;
  margin-top: 6px;
  font-size: 18px;
  line-height: 1.1;
  color: #fff;
}

.meme-card-card.mini.one {
  top: 80px;
  transform: rotate(-4deg);
}

.meme-card-card.mini.two {
  bottom: 48px;
  left: 40px;
  transform: rotate(3deg);
}

/* ─── Surface Components ─── */

.surface-band,
.panel {
  border: 1px solid var(--line);
  border-radius: 1.25rem;
  background: var(--panel);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: var(--shadow-glass);
}

.surface-band {
  padding: clamp(24px, 4vw, 40px);
}

.section-heading {
  max-width: 640px;
}

.section-heading h2 {
  margin-top: 14px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 24px;
}

.feature {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: var(--panel-solid);
  transition: all 0.3s ease;
}

.feature:hover {
  border-color: var(--line-hover);
  background: rgba(255, 255, 255, 0.04);
  transform: translateY(-2px);
}

.feature strong {
  display: block;
  font-size: 18px;
  color: #fff;
  letter-spacing: -0.01em;
}

.feature span {
  display: block;
  margin-top: 8px;
  color: #a1a1aa;
  font-size: 14px;
  line-height: 1.5;
}

.metrics,
.stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 24px;
}

.metric,
.stats div {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: var(--panel-solid);
  transition: all 0.3s ease;
}

.metric:hover,
.stats div:hover {
  border-color: var(--line-hover);
  transform: translateY(-2px);
}

.metric strong,
.stats strong {
  display: block;
  color: #fff;
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
  overflow-wrap: anywhere;
}

.metric strong.coin-value,
.stats strong.coin-value,
.perk-list strong.coin-value {
  display: flex;
  align-items: center;
  gap: 8px;
}

.metric span,
.stats span {
  display: block;
  margin-top: 8px;
  color: var(--text-dim);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* ─── Dashboard ─── */

.dashboard-shell {
  display: grid;
  gap: 16px;
}

.panel {
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  padding: clamp(24px, 4vw, 40px);
}

.dashboard-panel {
  max-width: none;
}

.dashboard-stats {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.dashboard-stats div {
  min-height: auto;
}

.dashboard-title,
.premium-price {
  font-size: clamp(36px, 6vw, 64px);
}

.profile-head {
  display: flex;
  align-items: center;
  gap: 16px;
}

.avatar {
  width: 64px;
  height: 64px;
  border: 1px solid var(--line);
  border-radius: 1rem;
}

.badge {
  display: inline-flex;
  align-items: center;
  width: max-content;
  border-radius: 999px;
  padding: 5px 12px;
  color: var(--text-dim);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: 1px solid var(--line);
  background: var(--glass);
}

.badge.premium {
  color: var(--ghost-bright);
  border-color: rgba(167, 139, 250, 0.3);
  background: rgba(167, 139, 250, 0.1);
}

.section-gap {
  margin-top: 20px;
}

/* ─── Premium Layout ─── */

.premium-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 400px);
  gap: clamp(24px, 5vw, 48px);
  align-items: start;
}

.premium-copy p {
  max-width: 520px;
}

.premium-price {
  margin-top: 16px;
}

.perk-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 24px;
}

.perk-list div {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: var(--panel-solid);
  transition: all 0.3s ease;
}

.perk-list div:hover {
  border-color: var(--line-hover);
  transform: translateY(-2px);
}

.perk-list strong {
  display: block;
  color: #fff;
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.perk-list span {
  display: block;
  margin-top: 4px;
  color: #a1a1aa;
  font-size: 13px;
  font-weight: 500;
}

.checkout-card {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 1.25rem;
  background: var(--panel);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: var(--shadow-glass);
  position: sticky;
  top: 80px;
}

.checkout-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

.checkout-top span {
  color: var(--text-dim);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.checkout-top strong {
  font-size: 32px;
  line-height: 1;
  letter-spacing: -0.03em;
  color: #fff;
}

.paypal-buttons {
  width: min(360px, 100%);
}

.muted {
  color: var(--text-dim);
}

/* ─── Grid Layouts ─── */

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 12px;
  margin-top: 24px;
}

.grid.two {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  align-items: start;
}

.grid.two .panel {
  margin: 0;
  padding: 24px;
  border-radius: 1.25rem;
}

/* ─── Forms ─── */

input,
select,
textarea {
  width: 100%;
  margin: 6px 0;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 0.75rem;
  background: rgba(10, 11, 15, 0.6);
  color: var(--text);
  font-family: inherit;
  font-size: 14px;
  outline: none;
  transition: all 0.2s ease;
}

input::placeholder,
textarea::placeholder {
  color: rgba(255, 255, 255, 0.25);
}

textarea {
  min-height: 80px;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: rgba(167, 139, 250, 0.4);
  box-shadow: 0 0 0 3px rgba(167, 139, 250, 0.1);
}

select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2371717a' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 32px;
}

/* ─── Tables ─── */

table {
  width: 100%;
  border-collapse: collapse;
}

td,
th {
  padding: 10px 12px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  font-size: 14px;
}

th {
  color: var(--text-dim);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

td {
  color: var(--text);
}

ul {
  color: var(--text);
  padding-left: 18px;
}

ul li {
  padding: 4px 0;
  font-size: 14px;
  line-height: 1.5;
}

/* ─── Status Pages ─── */

.status-page {
  min-height: calc(100vh - 60px - 96px);
  display: grid;
  place-items: center;
  text-align: center;
}

.status-page .content {
  max-width: 480px;
  animation: slide-up 0.5s ease-out both;
}

.status-page h1 {
  margin-top: 16px;
  font-size: clamp(36px, 6vw, 56px);
}

.status-page p {
  margin-top: 12px;
  font-size: 16px;
}

.status-page .actions {
  margin-top: 28px;
  justify-content: center;
}

/* ─── Animations ─── */

@keyframes page-enter {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes fade-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes slide-up {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slide-in-left {
  from {
    opacity: 0;
    transform: translateX(-10px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes scale-in {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

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

@keyframes float-slow {
  0%, 100% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-30px) rotate(3deg);
  }
}

@keyframes pulse-glow {
  0%, 100% {
    opacity: 0.4;
  }
  50% {
    opacity: 0.8;
  }
}

/* ─── Scrollbar ─── */

::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.15);
}

::selection {
  background: rgba(167, 139, 250, 0.3);
  color: var(--text);
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

/* ─── Responsive ─── */

@media (max-width: 980px) {
  .hero-inner,
  .premium-layout {
    grid-template-columns: 1fr;
  }

  .hero-showcase {
    min-height: 360px;
  }

  .card-stack {
    position: relative;
    top: auto;
    min-height: 360px;
  }

  .dashboard-stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .checkout-card {
    position: static;
  }
}

@media (max-width: 720px) {
  .nav {
    position: relative;
    height: auto;
    padding: 12px 16px;
    flex-wrap: wrap;
    gap: 8px;
  }

  .nav-links {
    width: 100%;
    justify-content: flex-end;
  }

  main {
    width: min(100% - 24px, 1120px);
    padding: 28px 0 48px;
  }

  .hero {
    min-height: auto;
  }

  h1 {
    font-size: clamp(36px, 12vw, 56px);
  }

  .hero-showcase {
    min-height: 300px;
  }

  .meme-card-card.rare {
    right: 0;
    width: min(280px, 92%);
    min-height: 340px;
  }

  .meme-art {
    height: 160px;
  }

  .meme-card-card.mini {
    width: 160px;
  }

  .meme-card-card.mini.two {
    bottom: 8px;
    left: 8px;
  }

  .metrics,
  .stats,
  .dashboard-stats,
  .perk-list {
    grid-template-columns: repeat(2, 1fr);
  }

  .profile-head {
    align-items: flex-start;
  }

  .actions {
    align-items: stretch;
    flex-direction: column;
  }

  .btn,
  .paypal-buttons {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .metrics,
  .stats,
  .dashboard-stats,
  .perk-list {
    grid-template-columns: 1fr;
  }
}
