/* FanFuel UI */

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

:root {
  /* Brand */
  --accent: #FA5D49;
  --accent-hover: #e84d3a;
  --accent-soft: rgba(250, 93, 73, 0.12);
  --accent-softer: rgba(250, 93, 73, 0.06);

  /* Dark theme palette */
  --bg-body: #18191c;
  --bg-card: #1f2024;
  --bg-card-hover: #262730;
  --bg-elevated: #26272c;
  --bg-input: #1b1c20;
  --bg-nav: rgba(24, 25, 28, 0.9);

  --text-primary: #eaeaec;
  --text-secondary: #a1a1a8;
  --text-muted: #6b6b73;

  --border: #2e2f35;
  --border-light: #383941;

  --success: #34d399;
  --success-bg: rgba(52, 211, 153, 0.1);
  --error: #f87171;
  --error-bg: rgba(248, 113, 113, 0.1);

  --shadow-sm: 0 1px 3px rgba(0,0,0,0.2);
  --shadow-md: 0 3px 12px rgba(0,0,0,0.25);
  --shadow-lg: 0 6px 24px rgba(0,0,0,0.3);

  --radius: 7px;
  --radius-lg: 10px;
  --radius-xl: 12px;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --transition: 0.15s ease;
}

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

body {
  font-family: var(--font);
  color: var(--text-primary);
  background: var(--bg-body);
  line-height: 1.5;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--accent); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--accent-hover); }
img { max-width: 100%; display: block; }
img.avatar-md, img.avatar-lg, img.avatar { max-width: none; }
h1,h2,h3,h4 { color: var(--text-primary); line-height: 1.25; font-weight: 700; }

::selection { background: var(--accent-soft); color: var(--text-primary); }

/* ===== NAV ===== */
.nav {
  background: var(--bg-nav);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
}

.nav-logo-img { height: 38px; width: auto; object-fit: contain; }

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

.nav-links a {
  color: var(--text-secondary);
  font-weight: 500;
  font-size: 0.9rem;
  padding: 8px 14px;
  border-radius: var(--radius);
  transition: all var(--transition);
}

.nav-links a:hover {
  color: var(--text-primary);
  background: rgba(255,255,255,0.06);
}

.nav-links .btn {
  padding: 7px 16px;
  font-size: 0.86rem;
  color: #fff !important;
}

.nav-links .btn:hover {
  color: #fff !important;
  background: var(--accent-hover);
}

/* ===== MAIN ===== */
.main {
  flex: 1;
  max-width: 1040px;
  width: 100%;
  margin: 0 auto;
  padding: 28px 20px 48px;
}

/* ===== FOOTER ===== */
.footer {
  text-align: center;
  padding: 20px;
  color: var(--text-muted);
  font-size: 0.78rem;
  border-top: 1px solid var(--border);
}

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

.footer-links a {
  color: var(--text-muted);
  font-size: 0.78rem;
  font-weight: 500;
  transition: color var(--transition);
}

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

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 7px 16px;
  font-size: 0.84rem;
  font-weight: 600;
  font-family: inherit;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  text-align: center;
  transition: all var(--transition);
  color: #fff !important;
  background: var(--accent);
  line-height: 1.4;
}

.btn:hover {
  background: var(--accent-hover);
  color: #fff !important;
  transform: translateY(-1px);
  box-shadow: 0 3px 10px rgba(250, 93, 73, 0.28);
}

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

.btn-danger { background: #dc2626; color: #fff !important; }
.btn-danger:hover { background: #b91c1c; color: #fff !important; box-shadow: 0 3px 10px rgba(220, 38, 38, 0.28); }

.btn-secondary {
  background: var(--bg-elevated);
  color: var(--text-primary) !important;
  border: 1px solid var(--border);
}

.btn-secondary:hover {
  background: var(--bg-card-hover);
  color: var(--text-primary) !important;
  box-shadow: none;
  transform: translateY(-1px);
}

.btn-block { width: 100%; }
.btn-sm { padding: 5px 10px; font-size: 0.78rem; }
.btn-lg { padding: 9px 20px; font-size: 0.88rem; }

/* ===== HERO ===== */
.hero {
  text-align: center;
  padding: 48px 20px 36px;
}

.hero-badge {
  display: inline-block;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 16px;
  letter-spacing: 0.02em;
}

.hero h1 {
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 12px;
  letter-spacing: -0.03em;
  line-height: 1.12;
}

.hero p {
  font-size: 0.98rem;
  color: var(--text-secondary);
  max-width: 480px;
  margin: 0 auto 24px;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ===== SOCIAL PROOF ===== */
.social-proof { font-size: 0.72rem; color: var(--text-muted); margin-top: 4px; }
.social-proof span { color: var(--accent); font-weight: 700; }

/* ===== FEATURES ===== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 16px 0 0;
}

.feature-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 18px;
  border: 1px solid var(--border);
  transition: all var(--transition);
}

.feature-card:hover {
  border-color: var(--border-light);
  background: var(--bg-card-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.feature-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: var(--accent-soft);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}

.feature-icon svg { width: 18px; height: 18px; }

.feature-card h3 { font-size: 0.95rem; font-weight: 700; margin-bottom: 6px; }
.feature-card p { color: var(--text-secondary); font-size: 0.82rem; line-height: 1.55; }

/* ===== CTA ===== */
.cta {
  text-align: center;
  padding: 40px 24px;
  background: var(--bg-card);
  border-radius: var(--radius-xl);
  border: 1px solid var(--border);
  margin-top: 16px;
}

.cta h2 { font-size: 1.35rem; margin-bottom: 6px; }
.cta p { color: var(--text-secondary); margin-bottom: 18px; font-size: 0.9rem; }

/* ===== HOW IT WORKS ===== */
.how-it-works {
  padding: 40px 20px 28px;
  max-width: 640px;
  margin: 0 auto;
}

.how-it-works h2 { text-align: center; font-size: 1.3rem; margin-bottom: 24px; }

.steps { display: flex; flex-direction: column; gap: 14px; }

.step {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 16px;
}

.step-num {
  width: 32px;
  height: 32px;
  min-width: 32px;
  border-radius: 8px;
  background: var(--accent);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
}

.step-text h3 { font-size: 0.92rem; margin-bottom: 2px; }
.step-text p { color: var(--text-secondary); font-size: 0.83rem; line-height: 1.5; }

/* ===== FORMS ===== */
.form-wrap {
  max-width: 380px;
  margin: 0 auto;
}

.form-wrap h1 { text-align: center; font-size: 1.25rem; margin-bottom: 4px; }
.form-wrap .form-sub { text-align: center; color: var(--text-secondary); font-size: 0.85rem; margin-bottom: 22px; }

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

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

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 9px 12px;
  font-size: 0.86rem;
  font-family: inherit;
  color: var(--text-primary);
  background: var(--bg-input);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  transition: border-color var(--transition);
  outline: none;
}

.form-group textarea { resize: vertical; min-height: 76px; }

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--accent);
  outline: none;
  box-shadow: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--text-muted); }

.form-group .hint { font-size: 0.73rem; color: var(--text-muted); margin-top: 5px; line-height: 1.45; }

.form-check { display: flex; align-items: center; gap: 8px; margin-bottom: 14px; }
.form-check input[type="checkbox"] { width: 16px; height: 16px; accent-color: var(--accent); }
.form-check label { font-weight: 500; font-size: 0.84rem; color: var(--text-primary); }

.form-footer { text-align: center; margin-top: 18px; font-size: 0.83rem; color: var(--text-secondary); }

/* ===== ALERTS ===== */
.alert {
  padding: 10px 14px;
  border-radius: var(--radius);
  margin-bottom: 16px;
  font-size: 0.83rem;
  font-weight: 500;
}

.alert-success { background: var(--success-bg); color: var(--success); }
.alert-error { background: var(--error-bg); color: var(--error); }

/* ===== 404 ===== */
.not-found { text-align: center; padding: 64px 20px; }

.not-found-code {
  font-size: 5.5rem;
  font-weight: 800;
  color: var(--border);
  line-height: 1;
  margin-bottom: 6px;
  letter-spacing: -0.04em;
}

.not-found h1 { font-size: 1.3rem; margin-bottom: 8px; }
.not-found p { color: var(--text-secondary); margin-bottom: 20px; font-size: 0.9rem; }

/* ===== DASHBOARD ===== */
.dash-header { margin-bottom: 24px; }
.dash-header h1 { font-size: 1.4rem; margin-bottom: 6px; }
.dash-header p { color: var(--text-secondary); font-size: 0.86rem; }

.page-url {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: var(--accent-softer);
  color: var(--accent);
  padding: 3px 10px;
  border-radius: 6px;
  font-size: 0.78rem;
  font-weight: 600;
}

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

.stat-box {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 16px;
  border: 1px solid var(--border);
  text-align: center;
}

.stat-box .stat-num {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--accent);
  display: block;
  line-height: 1.2;
}

.stat-box .stat-label {
  font-size: 0.7rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 600;
  margin-top: 3px;
}

.dash-section { margin-bottom: 24px; }

.dash-section-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.dash-section-head h2 { font-size: 1.02rem; }

.sub-info {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 16px 18px;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}

.sub-info .sub-title { font-size: 0.96rem; font-weight: 700; margin-bottom: 2px; }
.sub-info .sub-price { font-size: 0.98rem; color: var(--accent); font-weight: 700; }
.sub-info .sub-status { font-size: 0.78rem; margin-top: 3px; }

.status-active { color: var(--success); font-weight: 700; }
.status-inactive { color: var(--text-muted); font-weight: 600; }

.status-badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 9px;
  border-radius: 20px;
  font-size: 0.72rem;
  font-weight: 600;
}

.status-badge.active { background: var(--success-bg); color: var(--success); }
.status-badge.inactive { background: rgba(255,255,255,0.05); color: var(--text-muted); }

/* ===== ITEMS GRID ===== */
.items-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 12px;
}

.item-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: all var(--transition);
}

.item-card:hover {
  border-color: var(--border-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.item-card img { width: 100%; height: 150px; object-fit: cover; background: var(--bg-elevated); }

.item-card .item-body { padding: 12px; }
.item-card .item-title { font-weight: 700; font-size: 0.88rem; margin-bottom: 3px; }
.item-card .item-price { color: var(--accent); font-weight: 700; font-size: 0.9rem; margin-bottom: 10px; }

/* ===== SUPPORTERS TABLE ===== */
.supporters-wrap {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
}

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

.supporters-table th,
.supporters-table td { text-align: left; padding: 8px 12px; font-size: 0.78rem; }

.supporters-table th {
  background: var(--bg-elevated);
  font-weight: 700;
  color: var(--text-muted);
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.supporters-table td { border-top: 1px solid var(--border); color: var(--text-secondary); }
.supporters-table tr:hover td { background: var(--bg-elevated); }

.empty-msg { color: var(--text-muted); padding: 24px 0; text-align: center; font-size: 0.84rem; }

/* ===== AVATAR ===== */
.avatar { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; background: var(--bg-elevated); }

.avatar-lg {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--bg-elevated);
  border: 2px solid var(--border);
}

.avatar-placeholder {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 38px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  text-transform: uppercase;
  border: 3px solid var(--border);
}

.avatar-md {
  width: 88px !important;
  height: 88px !important;
  min-width: 88px;
  min-height: 88px;
  max-width: 88px !important;
  max-height: 88px !important;
  border-radius: 50% !important;
  object-fit: cover !important;
  background: var(--bg-elevated);
  border: 3px solid var(--border);
  display: block;
  overflow: hidden;
}

.avatar-preview {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 8px;
  border: 2px solid var(--border);
}

/* ===== CREATOR PAGE ===== */
.creator-page { max-width: 580px; margin: 0 auto; }

.creator-header { text-align: center; margin-bottom: 36px; }
.creator-header .avatar-lg,
.creator-header .avatar-placeholder,
.creator-header .avatar-md { margin: 0 auto 16px; }

.creator-header h1 { font-size: 1.5rem; margin-bottom: 6px; font-weight: 800; }

.creator-header .creator-bio {
  color: var(--text-secondary);
  max-width: 440px;
  margin: 0 auto 14px;
  white-space: pre-line;
  font-size: 0.88rem;
  line-height: 1.6;
}

/* ===== CREATOR STATS ===== */
.creator-stats { display: flex; gap: 24px; justify-content: center; margin: 14px 0 0; }
.creator-stat { text-align: center; }
.creator-stat-num { font-size: 1.2rem; font-weight: 800; color: var(--text-primary); display: block; }
.creator-stat-label { font-size: 0.72rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.04em; }

.creator-socials { display: flex; gap: 6px; justify-content: center; flex-wrap: wrap; }

.creator-socials a {
  font-size: 0.76rem;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 20px;
  background: var(--bg-elevated);
  color: var(--text-secondary);
  border: 1px solid var(--border);
  transition: all var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.creator-socials a:hover { background: var(--accent-soft); color: var(--accent); border-color: transparent; }
.creator-socials a svg { width: 13px; height: 13px; }

.creator-section { margin-bottom: 32px; }
.creator-section h2 { font-size: 1.08rem; margin-bottom: 14px; text-align: center; }

.sub-card {
  text-align: center;
  background: var(--bg-card);
  border-radius: var(--radius-xl);
  padding: 28px 24px;
  border: 1px solid var(--border);
}

.sub-card h3 { font-size: 1.05rem; margin-bottom: 6px; }
.sub-card p { color: var(--text-secondary); margin-bottom: 10px; font-size: 0.86rem; }

.sub-card .price {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--text-primary);
  display: block;
  margin-bottom: 18px;
  line-height: 1.2;
}

.sub-card .price span { font-size: 0.8rem; font-weight: 500; color: var(--text-muted); }

.sub-toggle {
  display: inline-flex;
  background: var(--bg-elevated);
  border-radius: var(--radius);
  padding: 3px;
  margin-bottom: 14px;
  border: 1px solid var(--border);
}

.sub-toggle-btn {
  padding: 6px 16px;
  font-size: 0.78rem;
  font-weight: 600;
  font-family: inherit;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  background: transparent;
  color: var(--text-muted);
  transition: all var(--transition);
}

.sub-toggle-btn.active {
  background: var(--accent);
  color: #fff;
}

.shop-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 14px;
}

.shop-item {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: all var(--transition);
}

.shop-item:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--border-light);
}

.shop-item img { width: 100%; height: 180px; object-fit: cover; background: var(--bg-elevated); }

.shop-item-body { padding: 14px; }
.shop-item-body h4 { font-size: 0.92rem; font-weight: 700; margin-bottom: 4px; }
.shop-item-body p { font-size: 0.82rem; color: var(--text-secondary); margin-bottom: 8px; white-space: pre-line; line-height: 1.5; }
.shop-item-body .price { font-weight: 800; font-size: 1rem; color: var(--accent); display: block; margin-bottom: 10px; }

.payments-note {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.82rem;
  margin-bottom: 24px;
  padding: 14px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

/* ===== MODAL ===== */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 1000;
  padding: 20px;
  overflow-y: auto;
}

.modal-overlay.open {
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.15s ease;
}

@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

.modal-box {
  background: var(--bg-card);
  border-radius: var(--radius-xl);
  max-width: 360px;
  width: 100%;
  padding: 22px;
  position: relative;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
}

.modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  font-size: 1rem;
  cursor: pointer;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
  line-height: 1;
}

.modal-close:hover { background: var(--bg-card-hover); color: var(--text-primary); }

.modal-box h3 { font-size: 1.02rem; margin-bottom: 4px; padding-right: 32px; }
.modal-sub { color: var(--text-secondary); font-size: 0.82rem; margin-bottom: 16px; }

.modal-field { margin-bottom: 12px; }
.modal-field label { display: block; font-size: 0.76rem; font-weight: 600; margin-bottom: 4px; color: var(--text-secondary); }

.modal-field input,
.modal-field textarea {
  width: 100%;
  padding: 9px 12px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.84rem;
  font-family: inherit;
  background: var(--bg-input);
  color: var(--text-primary);
  transition: all var(--transition);
}

.modal-field input:focus,
.modal-field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: none;
}

.modal-field textarea { resize: vertical; min-height: 52px; }

.paypal-container { margin-top: 10px; min-height: 44px; }
.modal-error { color: var(--error); font-size: 0.78rem; font-weight: 500; margin-bottom: 10px; display: none; }

.thank-you { text-align: center; padding: 24px 0; }
.thank-you h3 { color: var(--success); margin-bottom: 6px; font-size: 1.08rem; }
.thank-you p { color: var(--text-secondary); font-size: 0.84rem; }

/* ===== LEGAL PAGES ===== */
.legal-page {
  max-width: 660px;
  margin: 0 auto;
}

.legal-page h1 {
  font-size: 1.45rem;
  margin-bottom: 5px;
}

.legal-updated {
  color: var(--text-muted);
  font-size: 0.78rem;
  margin-bottom: 24px;
}

.legal-page h2 {
  font-size: 0.96rem;
  margin-top: 24px;
  margin-bottom: 6px;
  color: var(--text-primary);
}

.legal-page p {
  color: var(--text-secondary);
  font-size: 0.86rem;
  line-height: 1.6;
  margin-bottom: 10px;
}

/* ===== DASH LINKS ===== */
.dash-links {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  display: flex;
  gap: 8px;
}

.delete-form { margin-top: 16px; text-align: center; }

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .nav-inner { padding: 0 14px; height: 50px; }
  .nav-links { gap: 2px; }
  .nav-links a { padding: 6px 8px; font-size: 0.8rem; }
  .nav-links .btn { padding: 5px 10px; }

  .main { padding: 20px 14px 40px; }

  .hero { padding: 32px 14px 28px; }
  .hero h1 { font-size: 1.6rem; }
  .hero p { font-size: 0.9rem; margin-bottom: 20px; }

  .features-grid { grid-template-columns: 1fr; gap: 10px; }
  .feature-card { padding: 16px; }

  .how-it-works { padding: 28px 14px 16px; }
  .step { padding: 14px; }

  .cta { padding: 28px 18px; margin-top: 10px; }
  .cta h2 { font-size: 1.2rem; }

  .form-wrap { max-width: 100%; }

  .dash-header h1 { font-size: 1.25rem; }

  .stats-row { grid-template-columns: 1fr 1fr; gap: 10px; }
  .stat-box { padding: 14px; }
  .stat-box .stat-num { font-size: 1.45rem; }

  .dash-section-head { flex-direction: column; align-items: flex-start; gap: 8px; }

  .items-grid { grid-template-columns: 1fr; gap: 10px; }
  .sub-info { flex-direction: column; align-items: flex-start; }
  .supporters-wrap { overflow-x: auto; }
  .supporters-table { min-width: 460px; }

  .creator-header h1 { font-size: 1.3rem; }
  .creator-stats { gap: 12px; }
  .sub-card { padding: 20px; }
  .sub-card .price { font-size: 1.3rem; }
  .shop-grid { grid-template-columns: 1fr; gap: 12px; }
  .modal-box { padding: 18px; }

  .not-found { padding: 48px 14px; }
  .not-found-code { font-size: 4.5rem; }

  .dash-links { flex-direction: column; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 1.6rem; }
  .items-grid { grid-template-columns: 1fr; }
  .shop-grid { grid-template-columns: 1fr; }
  .stats-row { grid-template-columns: 1fr; }
}
