/* Jeff's Digital Collectibles - Storefront Styles */

:root {
  --color-bg: #f5f3fa;
  --color-bg-raised: #ffffff;
  --color-bg-card: #ffffff;
  --color-bg-hover: #f0edf7;
  --color-border: #e2dff0;
  --color-border-subtle: #ebe8f4;
  --color-blue: #4a7fc7;
  --color-blue-dim: #3a6aab;
  --color-blue-glow: rgba(74, 127, 199, 0.12);
  --color-orange: #e8943a;
  --color-orange-dim: #d07e2a;
  --color-purple: #7c5cbf;
  --color-purple-glow: rgba(124, 92, 191, 0.1);
  --color-text: #2d2b3a;
  --color-text-muted: #6b6880;
  --color-text-dim: #9895a8;
  --color-white: #ffffff;
  --color-success: #2da862;
  --color-error: #e05252;
  --font-display: 'Nunito', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --shadow-card: 0 2px 8px rgba(45, 43, 58, 0.06), 0 1px 3px rgba(45, 43, 58, 0.04);
  --shadow-hover: 0 8px 24px rgba(45, 43, 58, 0.1), 0 0 0 1px var(--color-blue);
  --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.6;
  min-height: 100vh;
}

/* ============================================
   NAV
   ============================================ */

.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 0 32px;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--color-border-subtle);
  transition: background var(--transition), box-shadow var(--transition);
}

.site-nav.scrolled {
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 1px 8px rgba(45, 43, 58, 0.06);
  border-bottom-color: var(--color-border);
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}

.nav-logo-img {
  height: 42px;
  width: auto;
  flex-shrink: 0;
}

.nav-brand-text {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  color: var(--color-text);
  letter-spacing: -0.01em;
}

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

.nav-link {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  color: var(--color-text-muted);
  text-decoration: none;
  transition: color var(--transition);
  white-space: nowrap;
}

.nav-link:hover {
  color: var(--color-blue);
}

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  background: none;
  border: none;
  cursor: pointer;
}

.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--color-text-muted);
  border-radius: 2px;
  transition: all var(--transition);
}

.nav-hamburger.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav-hamburger.open span:nth-child(2) {
  opacity: 0;
}

.nav-hamburger.open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ============================================
   HERO
   ============================================ */

.hero {
  position: relative;
  padding: 130px 32px 70px;
  text-align: center;
  overflow: hidden;
  background: #ffffff;
}

.hero-logo {
  margin-bottom: 20px;
  position: relative;
}

.hero-logo-img {
  max-width: 280px;
  height: auto;
  animation: logo-fade-in 0.8s ease-out;
}

@keyframes logo-fade-in {
  from { opacity: 0; transform: scale(0.9) translateY(10px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 100px;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 600;
  color: var(--color-text-muted);
  margin-bottom: 28px;
  box-shadow: 0 1px 4px rgba(45, 43, 58, 0.04);
}

.hero-badge-dot {
  width: 7px;
  height: 7px;
  background: var(--color-success);
  border-radius: 50%;
  animation: pulse-dot 2s ease-in-out infinite;
}

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

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(36px, 6vw, 60px);
  font-weight: 800;
  color: var(--color-text);
  line-height: 1.1;
  margin-bottom: 18px;
  position: relative;
}

.hero h1 span {
  color: var(--color-blue);
}

.hero-sub {
  font-size: clamp(15px, 2vw, 18px);
  color: var(--color-text-muted);
  max-width: 520px;
  margin: 0 auto 36px;
  line-height: 1.65;
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 48px;
  margin-top: 40px;
}

.hero-stat {
  text-align: center;
}

.hero-stat-value {
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 800;
  color: var(--color-text);
  line-height: 1;
}

.hero-stat-label {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 600;
  color: var(--color-text-dim);
  margin-top: 6px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* ============================================
   SECTION COMMON
   ============================================ */

.section {
  padding: 80px 32px;
  max-width: 1240px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 48px;
}

.section-label {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-purple);
  margin-bottom: 10px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(26px, 4vw, 38px);
  font-weight: 800;
  color: var(--color-text);
  letter-spacing: -0.01em;
}

.section-subtitle {
  font-size: 15px;
  color: var(--color-text-muted);
  margin-top: 10px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

/* ============================================
   COLLECTION FILTER
   ============================================ */

.collection-filter {
  margin-top: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.filter-label {
  font-family: var(--font-display);
  font-size: 14px;
  color: var(--color-text-muted);
  font-weight: 600;
}

.filter-select {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  color: var(--color-text);
  background: var(--color-white);
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: 10px 36px 10px 14px;
  cursor: pointer;
  transition: border-color var(--transition), box-shadow var(--transition);
  appearance: none;
  -webkit-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='%236b6880' d='M2 4l4 4 4-4'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  box-shadow: 0 1px 3px rgba(45, 43, 58, 0.04);
}

.filter-select:hover,
.filter-select:focus {
  border-color: var(--color-blue);
  outline: none;
  box-shadow: 0 0 0 3px var(--color-blue-glow);
}

.filter-select option {
  background: var(--color-white);
  color: var(--color-text);
}

/* ============================================
   COLLECTION GRID
   ============================================ */

.collection-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}

.card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  cursor: default;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: var(--color-blue);
}

.card-image-wrap {
  position: relative;
  width: 100%;
  padding-top: 100%;
  background: var(--color-bg);
  overflow: hidden;
}

.card-image-wrap img,
.card-image-wrap video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 16px;
  transition: transform 0.4s ease;
}

.card:hover .card-image-wrap img,
.card:hover .card-image-wrap video {
  transform: scale(1.05);
}

.card-image-shimmer {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(110deg, var(--color-bg) 30%, var(--color-border-subtle) 50%, var(--color-bg) 70%);
  background-size: 200% 100%;
  animation: shimmer 1.5s ease-in-out infinite;
}

@keyframes shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

.card-image-placeholder {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-dim);
  font-size: 14px;
}

.card-body {
  padding: 20px;
}

.card-collection {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-purple);
  background: var(--color-purple-glow);
  padding: 3px 10px;
  border-radius: 100px;
  margin-bottom: 10px;
}

.card-name {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  color: var(--color-text);
  line-height: 1.3;
  margin-bottom: 6px;
}

.card-asset-id {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--color-text-dim);
  margin-bottom: 14px;
}

.card-meta {
  font-size: 12px;
  color: var(--color-text-muted);
  margin-bottom: 8px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.card-rarity {
  color: var(--color-orange);
  font-weight: 600;
}

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

.card-qty {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--color-success);
  font-weight: 500;
  margin-bottom: 10px;
}

.card-note {
  font-size: 13px;
  color: var(--color-text-muted);
  margin-bottom: 14px;
  font-style: italic;
}

.card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  border-top: 1px solid var(--color-border-subtle);
}

.card-price {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 800;
  color: var(--color-text);
}

.card-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 20px;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  color: var(--color-white);
  background: var(--color-blue);
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  text-decoration: none;
  transition: all var(--transition);
}

.card-cta:hover {
  background: var(--color-blue-dim);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(74, 127, 199, 0.3);
}

/* ============================================
   HOW TO BUY
   ============================================ */

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

.how-card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border-subtle);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  text-align: center;
  box-shadow: var(--shadow-card);
}

.how-number {
  width: 48px;
  height: 48px;
  background: var(--color-blue-glow);
  border: 2px solid var(--color-blue);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 800;
  color: var(--color-blue);
  margin-bottom: 16px;
}

.how-card h3 {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 8px;
}

.how-card p {
  font-size: 14px;
  color: var(--color-text-muted);
  line-height: 1.65;
}

/* ============================================
   ENQUIRY MODAL
   ============================================ */

.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(45, 43, 58, 0.5);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.modal-overlay.open {
  opacity: 1;
  pointer-events: all;
}

.modal-box {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: 32px;
  max-width: 480px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 16px 48px rgba(45, 43, 58, 0.15);
}

.modal-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 20px;
}

.modal-title {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 800;
  color: var(--color-text);
}

.modal-close {
  background: none;
  border: none;
  color: var(--color-text-dim);
  font-size: 28px;
  cursor: pointer;
  padding: 0;
  line-height: 1;
  transition: color var(--transition);
}

.modal-close:hover {
  color: var(--color-text);
}

.modal-item-info {
  background: var(--color-bg);
  border: 1px solid var(--color-border-subtle);
  border-radius: var(--radius-md);
  padding: 16px;
  margin-bottom: 20px;
}

.modal-item-collection {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-purple);
  margin-bottom: 4px;
}

.modal-item-name {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  color: var(--color-text);
}

.modal-item-id {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--color-text-dim);
  margin-top: 4px;
}

.modal-desc {
  font-size: 14px;
  color: var(--color-text-muted);
  margin-bottom: 20px;
  line-height: 1.5;
}

.modal-label {
  display: block;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  color: var(--color-text-muted);
  margin-bottom: 6px;
}

.modal-input {
  width: 100%;
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--color-text);
  background: var(--color-white);
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  margin-bottom: 16px;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.modal-input:focus {
  outline: none;
  border-color: var(--color-blue);
  box-shadow: 0 0 0 3px var(--color-blue-glow);
}

.modal-input::placeholder {
  color: var(--color-text-dim);
}

.modal-checkbox-wrap {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-bottom: 24px;
  cursor: pointer;
}

.modal-checkbox-wrap input[type="checkbox"] {
  margin-top: 3px;
  flex-shrink: 0;
  accent-color: var(--color-blue);
  width: 16px;
  height: 16px;
}

.modal-checkbox-text {
  font-size: 12px;
  color: var(--color-text-muted);
  line-height: 1.5;
}

.modal-checkbox-text a {
  color: var(--color-blue);
  text-decoration: none;
}

.modal-checkbox-text a:hover {
  text-decoration: underline;
}

.modal-actions {
  display: flex;
  gap: 12px;
}

.modal-btn {
  flex: 1;
  padding: 12px 20px;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  border-radius: var(--radius-sm);
  cursor: pointer;
  text-decoration: none;
  text-align: center;
  transition: all var(--transition);
  border: none;
}

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

.modal-btn-primary:hover:not(:disabled) {
  background: var(--color-blue-dim);
  box-shadow: 0 4px 12px rgba(74, 127, 199, 0.3);
}

.modal-btn-primary:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.modal-btn-secondary {
  background: var(--color-bg);
  color: var(--color-text-muted);
  border: 1.5px solid var(--color-border);
}

.modal-btn-secondary:hover {
  color: var(--color-text);
  border-color: var(--color-text-dim);
}

.modal-confirm {
  text-align: center;
}

.modal-check-icon {
  margin-bottom: 16px;
}

.modal-check-icon svg circle {
  fill: rgba(74, 127, 199, 0.12);
}

.modal-check-icon svg path {
  stroke: var(--color-blue);
}

.modal-confirm .modal-desc {
  max-width: 320px;
  margin-left: auto;
  margin-right: auto;
}

/* ============================================
   STATES: LOADING, EMPTY, ERROR
   ============================================ */

.state-message {
  text-align: center;
  padding: 80px 32px;
}

.state-message h3 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 8px;
}

.state-message p {
  font-size: 14px;
  color: var(--color-text-muted);
}

.loading-spinner {
  width: 36px;
  height: 36px;
  border: 3px solid var(--color-border);
  border-top-color: var(--color-blue);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin: 0 auto 20px;
}

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

/* ============================================
   FOOTER
   ============================================ */

.site-footer {
  border-top: 1px solid var(--color-border);
  padding: 40px 32px;
  text-align: center;
  background: var(--color-white);
}

.footer-logo-img {
  height: 56px;
  width: auto;
  margin-bottom: 12px;
  opacity: 0.7;
}

.footer-brand {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 8px;
}

.footer-note {
  font-size: 13px;
  color: var(--color-text-muted);
  margin-bottom: 16px;
}

.footer-links {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.footer-links a {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  color: var(--color-text-muted);
  text-decoration: none;
  transition: color var(--transition);
}

.footer-links a:hover {
  color: var(--color-blue);
}

.footer-wallet {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--color-text-dim);
  margin-bottom: 16px;
}

.footer-legal {
  font-size: 11px;
  color: var(--color-text-dim);
  margin-bottom: 8px;
  padding-top: 16px;
  border-top: 1px solid var(--color-border-subtle);
}

.footer-copy {
  font-size: 12px;
  color: var(--color-text-dim);
}

/* ============================================
   PAGINATION
   ============================================ */

.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 40px;
  flex-wrap: wrap;
}

.page-btn {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  color: var(--color-text-muted);
  background: var(--color-white);
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: 8px 14px;
  cursor: pointer;
  transition: all var(--transition);
}

.page-btn:hover:not(.disabled):not(.active) {
  color: var(--color-text);
  border-color: var(--color-blue);
  background: var(--color-blue-glow);
}

.page-btn.active {
  color: var(--color-white);
  background: var(--color-blue);
  border-color: var(--color-blue);
  font-weight: 700;
}

.page-btn.disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.page-ellipsis {
  color: var(--color-text-dim);
  padding: 0 4px;
  font-size: 14px;
}

.page-info {
  font-size: 13px;
  color: var(--color-text-dim);
  margin-left: 12px;
}

/* ============================================
   LEGAL PAGES
   ============================================ */

.legal-page {
  max-width: 720px;
  margin: 0 auto;
  padding: 120px 32px 80px;
}

.legal-page h1 {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 800;
  color: var(--color-text);
  margin-bottom: 8px;
}

.legal-page .legal-effective,
.legal-page .legal-updated {
  font-size: 13px;
  color: var(--color-text-dim);
  margin-bottom: 40px;
}

.legal-page h2 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--color-text);
  margin-top: 32px;
  margin-bottom: 12px;
}

.legal-page p {
  font-size: 15px;
  color: var(--color-text-muted);
  line-height: 1.7;
  margin-bottom: 16px;
}

.legal-page ul {
  list-style: disc;
  padding-left: 24px;
  margin-bottom: 16px;
}

.legal-page li {
  font-size: 15px;
  color: var(--color-text-muted);
  line-height: 1.7;
  margin-bottom: 6px;
}

.legal-page a {
  color: var(--color-blue);
  text-decoration: none;
}

.legal-page a:hover {
  text-decoration: underline;
}

.legal-page .legal-contact {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 20px;
  margin-top: 24px;
  box-shadow: var(--shadow-card);
}

.legal-page .legal-contact h3 {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 8px;
}

.legal-page .legal-contact p {
  margin-bottom: 4px;
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 768px) {
  .site-nav {
    padding: 0 16px;
    flex-wrap: wrap;
  }

  .nav-hamburger {
    display: flex;
  }

  .nav-links {
    display: none;
    width: 100%;
    flex-direction: column;
    gap: 0;
    padding: 8px 0 16px;
    order: 3;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-link {
    padding: 10px 0;
    font-size: 14px;
    border-bottom: 1px solid var(--color-border-subtle);
    width: 100%;
  }

  .nav-link:last-child {
    border-bottom: none;
  }

  .site-nav {
    height: auto;
    min-height: 68px;
  }

  .hero {
    padding: 120px 20px 60px;
  }

  .hero-logo-img {
    max-width: 200px;
  }

  .hero-stats {
    gap: 24px;
  }

  .hero-stat-value {
    font-size: 24px;
  }

  .section {
    padding: 60px 20px;
  }

  .collection-grid {
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 16px;
  }

  .card-body {
    padding: 16px;
  }

  .card-footer {
    flex-direction: column;
    gap: 12px;
    align-items: stretch;
  }

  .card-cta {
    text-align: center;
    justify-content: center;
  }

  .modal-box {
    padding: 24px;
    margin: 16px;
  }

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

  .legal-page {
    padding: 100px 20px 60px;
  }
}

@media (max-width: 480px) {
  .collection-grid {
    grid-template-columns: 1fr;
  }

  .hero h1 {
    font-size: 28px;
  }

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

  .nav-brand-text {
    font-size: 14px;
  }

  .nav-logo-img {
    height: 36px;
  }
}
