/* ============================================
   惠州市趣球科技有限公司 - 全站样式
   软件开发信息发布平台
   ============================================ */

:root {
  --primary: #1a73e8;
  --primary-dark: #1558b0;
  --primary-light: #e8f0fe;
  --accent: #00c853;
  --bg-primary: #0d1117;
  --bg-secondary: #161b22;
  --bg-card: #1c2333;
  --bg-card-hover: #242d40;
  --border-color: #30363d;
  --text-primary: #e6edf3;
  --text-secondary: #8b949e;
  --text-muted: #6e7681;
  --shadow: 0 4px 12px rgba(0,0,0,0.35);
  --shadow-lg: 0 8px 32px rgba(0,0,0,0.5);
  --radius: 10px;
  --radius-lg: 16px;
  --transition: all 0.25s ease;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  min-height: 100vh;
}

a { color: var(--primary); text-decoration: none; transition: var(--transition); }
a:hover { color: #58a6ff; }

img { max-width: 100%; display: block; }

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

/* ---- Header / Navigation ---- */
.header {
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border-color);
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(12px);
  background: rgba(22,27,34,0.92);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.logo-area {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text-primary);
}

.logo-svg {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
}

.logo-text {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.5px;
  white-space: nowrap;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}

.nav-links a {
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 500;
  position: relative;
  padding: 4px 0;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width 0.25s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text-primary);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 18px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  border: 1px solid var(--border-color);
  background: transparent;
  color: var(--text-secondary);
  white-space: nowrap;
}

.nav-btn:hover {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

.nav-btn.primary {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

.nav-btn.primary:hover {
  background: var(--primary-dark);
}

.auth-state {
  flex-shrink: 0;
  min-width: fit-content;
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-btn-logout {
  border-color: #4a3a2a;
  color: #c9a86c;
}
.nav-btn-logout:hover {
  background: #4a3a2a;
  color: #fff;
  border-color: #6b5435;
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: var(--text-primary);
  cursor: pointer;
  padding: 8px;
}

/* ---- Hero Section ---- */
.hero {
  padding: 80px 0 60px;
  text-align: center;
  background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-primary) 50%, #0a1628 100%);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at 30% 40%, rgba(26,115,232,0.08) 0%, transparent 50%),
              radial-gradient(circle at 70% 60%, rgba(0,200,83,0.05) 0%, transparent 50%);
  animation: heroGlow 15s ease-in-out infinite alternate;
}

@keyframes heroGlow {
  0% { transform: translate(0, 0); }
  100% { transform: translate(-5%, -5%); }
}

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

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 16px;
  background: rgba(26,115,232,0.15);
  border: 1px solid rgba(26,115,232,0.3);
  border-radius: 20px;
  font-size: 13px;
  color: #58a6ff;
  margin-bottom: 24px;
}

.hero h1 {
  font-size: 42px;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 16px;
  background: linear-gradient(135deg, #fff 30%, #8ab4f8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p {
  font-size: 17px;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto 32px;
  line-height: 1.7;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  text-decoration: none;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 4px 14px rgba(26,115,232,0.35);
}

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(26,115,232,0.45);
  color: #fff;
}

.btn-outline {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border-color);
}

.btn-outline:hover {
  background: var(--bg-card);
  border-color: var(--text-muted);
  color: #fff;
}

.btn-sm {
  padding: 8px 18px;
  font-size: 13px;
}

.btn-success {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 4px 14px rgba(0,200,83,0.3);
}

.btn-success:hover {
  background: #00b248;
  transform: translateY(-1px);
  color: #fff;
}

/* ---- Category Section ---- */
.section {
  padding: 60px 0;
}

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

.section-header h2 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 10px;
}

.section-header p {
  color: var(--text-secondary);
  font-size: 15px;
}

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

.category-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 28px 16px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  color: var(--text-primary);
}

.category-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--primary);
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  color: var(--text-primary);
}

.category-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(26,115,232,0.12);
  border-radius: 12px;
  flex-shrink: 0;
}

.category-icon svg {
  width: 26px;
  height: 26px;
  stroke: var(--primary);
}

.category-card span {
  font-size: 14px;
  font-weight: 600;
}

.category-count {
  font-size: 12px;
  color: var(--text-muted);
}

/* ---- Info Cards Grid ---- */
.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}

.info-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  color: var(--text-primary);
  display: block;
}

.info-card:hover {
  border-color: var(--primary);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  color: var(--text-primary);
}

.card-img-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16/10;
  background: var(--bg-secondary);
}

.card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.info-card:hover .card-img-wrap img {
  transform: scale(1.05);
}

.card-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 4px 12px;
  background: rgba(26,115,232,0.9);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  border-radius: 4px;
  letter-spacing: 0.3px;
}

.card-body {
  padding: 16px;
}

.card-title {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 8px;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-desc {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 12px;
}

.card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  color: var(--text-muted);
}

.card-category {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 8px;
  background: rgba(26,115,232,0.1);
  border-radius: 4px;
  color: #58a6ff;
  font-size: 11px;
  font-weight: 500;
}

/* ---- Detail Page ---- */
.detail-page {
  padding: 30px 0 60px;
}

.detail-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--text-secondary);
  font-size: 14px;
  margin-bottom: 24px;
  cursor: pointer;
  transition: var(--transition);
}

.detail-back:hover {
  color: var(--primary);
}

.detail-container {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 28px;
  align-items: start;
}

.detail-main {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.detail-img {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
  display: block;
}

.detail-body {
  padding: 28px;
}

.detail-title {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 12px;
  line-height: 1.35;
}

.detail-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.detail-tag {
  padding: 4px 12px;
  background: rgba(26,115,232,0.12);
  border-radius: 4px;
  font-size: 12px;
  color: #58a6ff;
  font-weight: 500;
}

.detail-desc {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 24px;
}

.detail-section-title {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border-color);
}

.detail-info-list {
  list-style: none;
}

.detail-info-list li {
  display: flex;
  padding: 10px 0;
  border-bottom: 1px solid rgba(48,54,61,0.5);
  font-size: 14px;
}

.detail-info-list li:last-child {
  border-bottom: none;
}

.info-label {
  color: var(--text-muted);
  width: 90px;
  flex-shrink: 0;
}

.info-value {
  color: var(--text-primary);
}

.detail-sidebar {
  position: sticky;
  top: 84px;
}

.sidebar-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin-bottom: 20px;
}

.sidebar-card h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 16px;
}

.publisher-info {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.publisher-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  flex-shrink: 0;
}

.publisher-name {
  font-weight: 600;
  font-size: 14px;
}

.publisher-date {
  font-size: 12px;
  color: var(--text-muted);
}

.contact-btn {
  width: 100%;
  padding: 11px;
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  margin-top: 8px;
}

.contact-btn:hover {
  background: var(--primary-dark);
}

/* 发布方详情信息 */
.publisher-detail {
  margin-top: 14px;
  padding: 14px;
  background: var(--bg-secondary);
  border-radius: 8px;
  border: 1px solid var(--border-color);
}

.publisher-detail-row {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.7;
  padding: 5px 0;
}

.publisher-detail-row svg {
  width: 15px;
  height: 15px;
  stroke-width: 1.8;
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--primary);
}

.publisher-detail-row span {
  word-break: break-all;
}

/* ---- Publish Page ---- */
.publish-page {
  padding: 40px 0 60px;
  min-height: calc(100vh - 64px - 240px);
}

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

.publish-header {
  text-align: center;
  margin-bottom: 36px;
}

.publish-header h1 {
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 8px;
}

.publish-header p {
  color: var(--text-secondary);
  font-size: 14px;
}

.form-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 36px;
}

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

.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text-primary);
}

.form-group label .required {
  color: #f85149;
  margin-left: 3px;
}

.form-control {
  width: 100%;
  padding: 11px 14px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  color: var(--text-primary);
  font-size: 14px;
  font-family: inherit;
  transition: var(--transition);
  outline: none;
}

.form-control:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(26,115,232,0.2);
}

textarea.form-control {
  min-height: 120px;
  resize: vertical;
}

select.form-control {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%238b949e' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 34px;
}

.form-hint {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 6px;
}

.checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 24px 0;
  padding: 16px;
  background: rgba(26,115,232,0.06);
  border: 1px solid rgba(26,115,232,0.2);
  border-radius: 8px;
}

.checkbox-group input[type="checkbox"] {
  margin-top: 4px;
  accent-color: var(--primary);
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.checkbox-group label {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.6;
  cursor: pointer;
}

.checkbox-group label a {
  color: var(--primary);
  text-decoration: underline;
}

.submit-row {
  text-align: center;
  margin-top: 28px;
}

.submit-btn {
  padding: 13px 48px;
  font-size: 16px;
}

/* ---- Login/Register Page ---- */
.auth-page {
  min-height: calc(100vh - 64px - 200px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
}

.auth-container {
  width: 100%;
  max-width: 420px;
}

.auth-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 40px 36px;
}

.auth-header {
  text-align: center;
  margin-bottom: 32px;
}

.auth-header .logo-area {
  justify-content: center;
  margin-bottom: 20px;
}

.auth-tabs {
  display: flex;
  border-bottom: 1px solid var(--border-color);
  margin-bottom: 28px;
}

.auth-tab {
  flex: 1;
  text-align: center;
  padding: 12px;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  transition: var(--transition);
  background: none;
  border-top: none;
  border-left: none;
  border-right: none;
}

.auth-tab.active {
  color: var(--primary);
  border-bottom-color: var(--primary);
}

.auth-form { display: none; }
.auth-form.active { display: block; }

/* ---- Privacy/Terms Page ---- */
.legal-page {
  padding: 40px 0 60px;
  min-height: calc(100vh - 64px - 200px);
}

.legal-container {
  max-width: 780px;
  margin: 0 auto;
}

.legal-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 44px;
}

.legal-card h1 {
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 8px;
}

.legal-card .update-time {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 28px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border-color);
}

.legal-card h2 {
  font-size: 18px;
  font-weight: 700;
  margin: 28px 0 12px;
  color: var(--text-primary);
}

.legal-card p,
.legal-card li {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 10px;
}

.legal-card ul {
  padding-left: 20px;
  margin-bottom: 14px;
}

/* ---- About/Company Section ---- */
.about-section {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.about-content h2 {
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 16px;
}

.about-content p {
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.8;
  margin-bottom: 12px;
}

.about-stats {
  display: flex;
  gap: 32px;
  margin-top: 24px;
}

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

.stat-num {
  font-size: 28px;
  font-weight: 800;
  color: var(--primary);
}

.stat-label {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 4px;
}

.about-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.about-visual svg {
  width: 260px;
  height: 260px;
}

/* ---- Footer ---- */
.footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  padding: 40px 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 36px;
  margin-bottom: 32px;
}

.footer-brand p {
  color: var(--text-secondary);
  font-size: 13px;
  line-height: 1.7;
  margin-top: 12px;
  max-width: 300px;
}

.footer-col h4 {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text-primary);
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 5px;
  line-height: 1.4;
}

.footer-col ul li a,
.footer-col ul li {
  color: var(--text-secondary);
  font-size: 13px;
  transition: var(--transition);
}

.footer-col ul li a:hover {
  color: var(--text-primary);
}

/* 页脚联系方式列图标紧凑 */
.footer-col ul li svg {
  width: 14px;
  height: 14px;
  vertical-align: middle;
  margin-right: 4px;
  stroke-width: 1.8;
}

/* 页脚联系方式列 */
.footer-col:last-child ul li {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  line-height: 1.6;
}

.footer-col:last-child ul li svg {
  width: 14px;
  height: 14px;
  stroke-width: 1.8;
  flex-shrink: 0;
  margin-top: 3px;
}

.footer-bottom {
  border-top: 1px solid var(--border-color);
  padding-top: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

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

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

.footer-icp a {
  color: var(--text-secondary);
}

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

.footer-admin {
  font-size: 11px;
  color: transparent;
}
.footer-admin a {
  color: rgba(120, 130, 150, 0.45);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-admin a:hover {
  color: var(--text-secondary);
}

/* ---- Toast Notification ---- */
.toast {
  position: fixed;
  top: 80px;
  left: 50%;
  transform: translateX(-50%) translateY(-20px);
  padding: 12px 24px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  color: var(--text-primary);
  font-size: 14px;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-lg);
}

.toast.show {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.toast.success { border-left: 3px solid var(--accent); }
.toast.error { border-left: 3px solid #f85149; }

/* ---- Filter Bar ---- */
.filter-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 7px 16px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

/* ---- Responsive ---- */
@media (max-width: 900px) {
  .detail-container {
    grid-template-columns: 1fr;
  }
  .detail-sidebar {
    position: static;
  }
  .about-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .about-stats { justify-content: center; }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .mobile-menu-btn { display: block; }
  .hero h1 { font-size: 28px; }
  .hero p { font-size: 14px; }
  .category-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .info-grid {
    grid-template-columns: 1fr;
  }
  .form-card { padding: 24px 20px; }
  .auth-card { padding: 28px 20px; }
  .legal-card { padding: 28px 20px; }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .category-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .hero-actions { flex-direction: column; align-items: center; }
  .btn { width: 100%; justify-content: center; }
}
