/* ===== Reset & Base ===== */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary: #0e7c61;
  --primary-light: #12a37f;
  --primary-dark: #095e49;
  --primary-bg: #f0faf6;
  --gold: #c8960c;
  --gold-light: #fef7e0;
  --silver: #8b95a2;
  --amber: #d97706;
  --blue: #2563eb;
  --purple: #7c3aed;
  --teal: #0891b2;
  --red: #dc2626;
  --green: #16a34a;
  --bg: #f8fafb;
  --surface: #ffffff;
  --surface-hover: #f9fafb;
  --border: #e5e7eb;
  --border-light: #f3f4f6;
  --text: #111827;
  --text-secondary: #6b7280;
  --text-muted: #9ca3af;
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.06);
  --shadow-lg: 0 8px 30px rgba(0,0,0,0.08);
  --radius: 16px;
  --radius-sm: 10px;
  --radius-xs: 6px;
  --transition: 0.25s ease;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

.bg-pattern {
  position: fixed;
  inset: 0;
  z-index: -1;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%230e7c61' fill-opacity='1'%3E%3Cpath d='M40 0l40 40-40 40L0 40z' /%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  background-size: 80px 80px;
}

.container {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ===== Header ===== */
.header {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(12px);
  background: rgba(255,255,255,0.92);
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  gap: 16px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-icon {
  width: 40px;
  height: 40px;
  color: var(--primary);
  flex-shrink: 0;
}

.logo-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.02em;
}

.logo-arabic {
  font-family: 'Amiri', serif;
  font-weight: 400;
  font-size: 1.05rem;
  color: var(--primary);
  margin-left: 6px;
  direction: rtl;
  unicode-bidi: bidi-override;
}

.logo-subtitle {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 400;
}

.nisab-badge {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
}

.nisab-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  font-weight: 600;
}

.nisab-value {
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary);
}

/* ===== Hero ===== */
.hero {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, var(--primary-light) 100%);
  color: white;
  padding: 40px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='50' cy='50' r='40' fill='none' stroke='white' stroke-opacity='0.06' stroke-width='0.5'/%3E%3C/svg%3E");
  background-size: 60px;
}

.hero-inner {
  position: relative;
  z-index: 1;
}

.arabic-verse {
  font-family: 'Amiri', serif;
  font-size: 1.65rem;
  line-height: 2;
  margin-bottom: 12px;
  opacity: 0.95;
  direction: rtl;
}

.verse-translation {
  font-size: 0.85rem;
  opacity: 0.8;
  max-width: 500px;
  margin: 0 auto;
  font-style: italic;
  line-height: 1.6;
}

/* ===== Cards ===== */
.card {
  background: var(--surface);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  margin-bottom: 16px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition);
  overflow: hidden;
}

.card:hover {
  box-shadow: var(--shadow-md);
}

.card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  cursor: pointer;
  user-select: none;
  transition: background var(--transition);
}

.card-header:hover {
  background: var(--surface-hover);
}

.card-header-left {
  display: flex;
  align-items: center;
  gap: 14px;
  flex: 1;
  min-width: 0;
}

.card-header-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.card-icon {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary-bg);
  color: var(--primary);
  flex-shrink: 0;
}

.card-icon svg {
  width: 20px;
  height: 20px;
}

.card-icon.green { background: #f0fdf4; color: var(--green); }
.card-icon.amber { background: #fffbeb; color: var(--amber); }
.card-icon.blue { background: #eff6ff; color: var(--blue); }
.card-icon.purple { background: #f5f3ff; color: var(--purple); }
.card-icon.teal { background: #ecfeff; color: var(--teal); }
.card-icon.red { background: #fef2f2; color: var(--red); }

.card-title {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
  line-height: 1.3;
}

.card-description {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 2px;
}

.section-total {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary);
  background: var(--primary-bg);
  padding: 4px 12px;
  border-radius: 20px;
  white-space: nowrap;
}

.section-total.negative {
  color: var(--red);
  background: #fef2f2;
}

.card-toggle {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: transform var(--transition);
  flex-shrink: 0;
}

.card-toggle svg {
  width: 18px;
  height: 18px;
}

.card-toggle.open {
  transform: rotate(180deg);
}

.card-body {
  padding: 0 24px 24px;
  display: none;
}

.card-body.show {
  display: block;
}

/* ===== Nisab Toggle ===== */
.nisab-standard-toggle {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
}

.nisab-btn {
  flex: 1;
  padding: 12px 16px;
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: inherit;
}

.nisab-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.nisab-btn.active {
  border-color: var(--primary);
  background: var(--primary-bg);
  color: var(--primary);
  font-weight: 600;
}

.metal-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}

.silver-dot { background: linear-gradient(135deg, #c0c0c0, #8b95a2); }
.gold-dot { background: linear-gradient(135deg, #ffd700, #c8960c); }

/* ===== Live Price Bar ===== */
.live-price-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  background: linear-gradient(135deg, #ecfdf5, #f0fdf4);
  border: 1px solid rgba(14, 124, 97, 0.15);
  border-radius: var(--radius-sm);
  margin-bottom: 16px;
}

.live-price-bar.error {
  background: linear-gradient(135deg, #fef2f2, #fff1f2);
  border-color: rgba(220, 38, 38, 0.15);
}

.live-price-bar.loading {
  background: linear-gradient(135deg, #fffbeb, #fef3c7);
  border-color: rgba(217, 119, 6, 0.15);
}

.live-price-status {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  color: var(--primary-dark);
  font-weight: 500;
}

.live-price-bar.error .live-price-status {
  color: var(--red);
}

.live-price-bar.loading .live-price-status {
  color: var(--amber);
}

.live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  flex-shrink: 0;
  animation: pulse 2s infinite;
}

.live-price-bar.error .live-dot {
  background: var(--red);
  animation: none;
}

.live-price-bar.loading .live-dot {
  background: var(--amber);
  animation: pulse 1s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.btn-refresh {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border: 1px solid rgba(14, 124, 97, 0.2);
  border-radius: var(--radius-xs);
  background: white;
  color: var(--primary);
  font-size: 0.78rem;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition);
  font-family: inherit;
}

.btn-refresh:hover {
  background: var(--primary-bg);
  border-color: var(--primary);
}

.btn-refresh:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.btn-refresh svg {
  width: 14px;
  height: 14px;
}

.btn-refresh.spinning svg {
  animation: spin 1s linear infinite;
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* ===== Info Box ===== */
.info-box {
  display: flex;
  gap: 10px;
  padding: 14px 16px;
  background: var(--primary-bg);
  border-radius: var(--radius-sm);
  margin-bottom: 20px;
  border: 1px solid rgba(14, 124, 97, 0.1);
}

.info-box svg {
  width: 18px;
  height: 18px;
  color: var(--primary);
  flex-shrink: 0;
  margin-top: 1px;
}

.info-box p {
  font-size: 0.8rem;
  color: var(--primary-dark);
  line-height: 1.5;
}

/* ===== Forms ===== */
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  margin-bottom: 16px;
}

.form-group:last-child {
  margin-bottom: 0;
}

.form-group label {
  display: block;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: 6px;
}

.input-with-prefix {
  display: flex;
  align-items: stretch;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-xs);
  overflow: hidden;
  transition: border-color var(--transition), box-shadow var(--transition);
  background: var(--surface);
}

.input-with-prefix:focus-within {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(14, 124, 97, 0.1);
}

.input-prefix {
  display: flex;
  align-items: center;
  padding: 0 12px;
  background: var(--border-light);
  color: var(--text-muted);
  font-size: 0.85rem;
  font-weight: 600;
  border-right: 1.5px solid var(--border);
  min-width: 42px;
  justify-content: center;
}

input[type="number"] {
  flex: 1;
  padding: 11px 14px;
  border: none;
  background: transparent;
  font-size: 0.95rem;
  font-family: inherit;
  color: var(--text);
  outline: none;
  width: 100%;
  -moz-appearance: textfield;
}

input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

select {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-xs);
  background: var(--surface);
  font-size: 0.9rem;
  font-family: inherit;
  color: var(--text);
  cursor: pointer;
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition);
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%239ca3af' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 40px;
}

select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(14, 124, 97, 0.1);
}

.helper-text {
  display: block;
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 4px;
}

/* ===== Livestock Section ===== */
.card-icon.olive { background: #f5f5dc; color: #6b7821; }

.subsection-title {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text);
  margin: 20px 0 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border-light);
}

.subsection-title:first-of-type {
  margin-top: 4px;
}

.livestock-result {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  background: var(--border-light);
  border-radius: var(--radius-xs);
  margin-bottom: 8px;
}

.livestock-due-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 500;
}

.livestock-due-value {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.livestock-due-value.has-zakat {
  color: var(--primary);
}

.livestock-total-box {
  margin-top: 20px;
  padding: 16px;
  background: linear-gradient(135deg, var(--primary-bg), #e0f5ee);
  border-radius: var(--radius-sm);
  border: 1px solid rgba(14, 124, 97, 0.15);
}

.livestock-total-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.livestock-total-row span:first-child {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--primary-dark);
}

.livestock-total-value {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary);
}

.livestock-reference {
  margin-top: 20px;
}

.livestock-reference details {
  border: 1px solid var(--border);
  border-radius: var(--radius-xs);
  overflow: hidden;
}

.livestock-reference summary {
  padding: 12px 16px;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-secondary);
  cursor: pointer;
  background: var(--surface-hover);
  user-select: none;
  transition: background var(--transition);
}

.livestock-reference summary:hover {
  background: var(--border-light);
}

.reference-tables {
  padding: 16px;
  display: grid;
  gap: 20px;
}

.ref-table h4 {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 8px;
}

.ref-table table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.78rem;
}

.ref-table th {
  text-align: left;
  padding: 8px 10px;
  background: var(--border-light);
  color: var(--text-secondary);
  font-weight: 600;
  border-bottom: 1px solid var(--border);
}

.ref-table td {
  padding: 7px 10px;
  border-bottom: 1px solid var(--border-light);
  color: var(--text-secondary);
}

.ref-table tr:last-child td {
  border-bottom: none;
}

/* ===== Results ===== */
.results-card {
  background: var(--surface);
  border-radius: var(--radius);
  border: 2px solid var(--primary);
  margin: 32px 0;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.results-header {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  color: white;
  padding: 24px 28px;
}

.results-header h2 {
  font-size: 1.15rem;
  font-weight: 600;
}

.results-body {
  padding: 28px;
}

.results-breakdown {
  margin-bottom: 24px;
}

.result-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid var(--border-light);
}

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

.result-row span:first-child {
  font-size: 0.88rem;
  color: var(--text-secondary);
}

.result-value {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
}

.result-value.negative {
  color: var(--red);
}

.result-row.highlight {
  background: var(--primary-bg);
  margin: 8px -16px;
  padding: 14px 16px;
  border-radius: var(--radius-xs);
  border: none;
}

.result-row.highlight span:first-child {
  font-weight: 600;
  color: var(--primary-dark);
}

.result-row.highlight .result-value {
  color: var(--primary);
  font-size: 1.05rem;
}

/* Nisab Check */
.nisab-check {
  padding: 20px;
  background: #fafafa;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  margin-bottom: 20px;
}

.nisab-check-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.nisab-check-label {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nisab-check-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 700;
  background: var(--border-light);
  color: var(--text-muted);
  flex-shrink: 0;
}

.nisab-check-icon.pass {
  background: var(--primary-bg);
  color: var(--primary);
}

.nisab-check-icon.fail {
  background: #fef3c7;
  color: var(--amber);
}

.nisab-check-title {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text);
}

.nisab-check-hint {
  display: block;
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-top: 1px;
}

.nisab-progress-wrap {
  margin-bottom: 12px;
}

.nisab-progress-bar {
  height: 8px;
  background: var(--border-light);
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 6px;
}

.nisab-progress-fill {
  height: 100%;
  border-radius: 4px;
  background: var(--primary);
  transition: width 0.4s ease, background 0.3s ease;
  min-width: 0;
  max-width: 100%;
}

.nisab-progress-fill.below {
  background: var(--amber);
}

.nisab-progress-labels {
  display: flex;
  justify-content: space-between;
  font-size: 0.7rem;
  color: var(--text-muted);
}

.nisab-check-explain {
  font-size: 0.78rem;
  color: var(--text-secondary);
  line-height: 1.5;
  padding: 10px 12px;
  background: white;
  border-radius: var(--radius-xs);
  border: 1px solid var(--border-light);
}

.nisab-check-explain strong {
  color: var(--primary-dark);
}

/* Nisab Status */
.nisab-status {
  text-align: center;
  padding: 20px;
  margin-bottom: 20px;
  border-radius: var(--radius-sm);
  background: var(--border-light);
}

.status-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 12px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.status-icon svg {
  width: 28px;
  height: 28px;
}

.status-icon.below {
  background: #fef3c7;
  color: var(--amber);
}

.status-icon.above {
  background: var(--primary-bg);
  color: var(--primary);
}

.status-text {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* Zakat Amount */
.zakat-amount-box {
  text-align: center;
  padding: 28px;
  background: linear-gradient(135deg, var(--primary-bg), #e0f5ee);
  border-radius: var(--radius-sm);
  border: 1px solid rgba(14, 124, 97, 0.15);
  margin-bottom: 24px;
}

.zakat-label {
  display: block;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--primary-dark);
  font-weight: 600;
  margin-bottom: 8px;
}

.zakat-amount {
  display: block;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.zakat-formula {
  display: block;
  font-size: 0.8rem;
  color: var(--primary-dark);
  opacity: 0.75;
  margin-top: 6px;
}

.zakat-breakdown {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px dashed rgba(14, 124, 97, 0.2);
}

.zakat-breakdown span {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--primary-dark);
}

/* Actions */
.results-actions {
  display: flex;
  gap: 12px;
}

.btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: var(--radius-xs);
  font-size: 0.88rem;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition);
  border: none;
  font-family: inherit;
}

.btn svg {
  width: 18px;
  height: 18px;
}

.btn-outline {
  background: var(--surface);
  border: 1.5px solid var(--border);
  color: var(--text-secondary);
}

.btn-outline:hover {
  border-color: var(--text-muted);
  color: var(--text);
  background: var(--surface-hover);
}

.btn-primary {
  background: var(--primary);
  color: white;
}

.btn-primary:hover {
  background: var(--primary-dark);
  box-shadow: 0 4px 12px rgba(14, 124, 97, 0.3);
}

/* ===== Footer ===== */
.footer {
  padding: 32px 0;
  text-align: center;
  border-top: 1px solid var(--border);
  margin-top: 20px;
}

.footer-content {
  max-width: 500px;
  margin: 0 auto;
}

.footer-note {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 8px;
}

.footer-copy {
  font-size: 0.75rem;
  color: var(--text-muted);
  opacity: 0.7;
}

/* ===== Main spacing ===== */
.main {
  padding: 28px 0 0;
}

.settings-card {
  margin-bottom: 28px;
}

/* ===== Responsive ===== */
@media (max-width: 640px) {
  .container {
    padding: 0 16px;
  }

  .header-content {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .nisab-badge {
    align-items: flex-start;
  }

  .hero {
    padding: 28px 0;
  }

  .arabic-verse {
    font-size: 1.3rem;
  }

  .logo-arabic {
    display: none;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .card-header {
    padding: 16px 18px;
  }

  .card-body {
    padding: 0 18px 18px;
  }

  .results-body {
    padding: 20px;
  }

  .zakat-amount {
    font-size: 2rem;
  }

  .results-actions {
    flex-direction: column;
  }

  .card-description {
    display: none;
  }
}

/* ===== Print Styles ===== */
@media print {
  .header, .hero, .footer, .settings-card, .btn, .card-toggle {
    display: none !important;
  }

  .card-body {
    display: block !important;
  }

  .card {
    break-inside: avoid;
    box-shadow: none;
    border: 1px solid #ddd;
  }

  .results-card {
    box-shadow: none;
  }

  body {
    background: white;
  }

  .bg-pattern {
    display: none;
  }
}

/* ===== Animations ===== */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.card, .results-card {
  animation: fadeIn 0.4s ease both;
}

.card:nth-child(2) { animation-delay: 0.05s; }
.card:nth-child(3) { animation-delay: 0.1s; }
.card:nth-child(4) { animation-delay: 0.15s; }
.card:nth-child(5) { animation-delay: 0.2s; }
.card:nth-child(6) { animation-delay: 0.25s; }
.card:nth-child(7) { animation-delay: 0.3s; }
