/* SoftballBatPro / Bigfoot Slugger - site.css */

:root {
  --bg: #05060a;
  --bg-alt: #0a0d16;
  --bg-light: #f5f7ff;
  --bg-light-alt: #ffffff;
  --text: #f9fafb;
  --muted: #94a3b8;
  --accent: #22c55e;
  --accent-alt: #0ea5e9;
  --accent-pink: #ec4899;
  --card: #0f172a;
  --border: #1e293b;
  --radius-lg: 18px;
  --radius-xl: 24px;
  --shadow-soft: 0 18px 45px rgba(15,23,42,0.65);
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text", sans-serif;
  background: var(--bg-light);
  color: #0f172a;
  -webkit-font-smoothing: antialiased;
}

@media (prefers-color-scheme: dark) {
  body {
    background: radial-gradient(circle at top, #020617 0, #020617 40%, #000 100%);
    color: var(--text);
  }
}

a {
  color: var(--accent-alt);
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}

.sbp-body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Header */
.sbp-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(18px);
  background: linear-gradient(to right, rgba(15,23,42,0.96), rgba(15,23,42,0.9));
  border-bottom: 1px solid rgba(148,163,184,0.35);
}
@media (prefers-color-scheme: light) {
  .sbp-header {
    background: rgba(15,23,42,0.98);
    color: var(--text);
  }
}

.sbp-header-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0.65rem 1rem;
  display: flex;
  gap: 1rem;
  align-items: center;
}

.logo-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--text);
}

.logo-mark {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  background: radial-gradient(circle at 30% 0%, #4ade80, #0ea5e9);
  box-shadow: 0 0 20px rgba(34,197,94,0.9);
  object-fit: cover;
}

.logo-text span {
  display: block;
  font-size: 0.7rem;
  text-transform: none;
  font-weight: 500;
  color: var(--muted);
}

.sbp-nav {
  margin-left: auto;
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.sbp-nav a {
  font-size: 0.85rem;
  padding: 0.35rem 0.6rem;
  border-radius: 999px;
  color: #e5e7eb;
  border: 1px solid transparent;
}
.sbp-nav a:hover {
  border-color: rgba(148,163,184,0.6);
  background: rgba(15,23,42,0.9);
  text-decoration: none;
}
.sbp-nav a.active {
  border-color: rgba(34,197,94,0.8);
  background: radial-gradient(circle at top, rgba(34,197,94,0.15), rgba(14,165,233,0.08));
}

/* Search bar */
.header-search {
  position: relative;
  flex: 0 0 220px;
  max-width: 220px;
  display: flex;
  align-items: center;
}
.header-search input {
  width: 100%;
  padding: 0.35rem 0.7rem;
  padding-left: 1.8rem;
  font-size: 0.78rem;
  border-radius: 999px;
  border: 1px solid rgba(148,163,184,0.6);
  background: rgba(15,23,42,0.9);
  color: var(--text);
}
.header-search input::placeholder {
  color: #64748b;
}
.header-search-icon {
  position: absolute;
  left: 0.55rem;
  font-size: 0.78rem;
  color: #64748b;
}

@media (max-width: 880px) {
  .sbp-header-inner {
    flex-wrap: wrap;
    justify-content: space-between;
  }
  .sbp-nav {
    order: 3;
    width: 100%;
    justify-content: space-between;
    overflow-x: auto;
  }
  .header-search {
    order: 2;
    flex: 1 1 100%;
    max-width: none;
    margin-top: 0.4rem;
  }
}

main { flex: 1; }

.section {
  max-width: 1120px;
  margin: 2.5rem auto;
  padding: 0 1rem;
}
.section--tight { margin-top: 1.5rem; }
.section--dark {
  border-radius: 32px;
  background: radial-gradient(circle at top left, rgba(34,197,94,0.18), rgba(15,23,42,1));
  box-shadow: var(--shadow-soft);
  padding: 2rem 1.5rem;
}
.section-header {
  margin-bottom: 1.5rem;
}
.section-header h1,
.section-header h2 {
  margin: 0 0 0.3rem;
  font-size: 1.5rem;
}
.section-header p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

/* Hero */
.hero {
  max-width: 1120px;
  margin: 1.8rem auto 0;
  padding: 0 1rem;
}
.hero--split {
  display: grid;
  gap: 1.8rem;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  align-items: center;
}
.hero--center {
  text-align: center;
  padding-top: 2rem;
}
.hero h1 { font-size: 2rem; margin-bottom: 0.5rem; }
.hero-lead {
  margin: 0.25rem 0 0.75rem;
  font-size: 0.95rem;
  color: var(--muted);
}
.hero-bullets {
  list-style: none;
  padding: 0;
  margin: 0.8rem 0 1rem;
  font-size: 0.88rem;
  color: var(--muted);
}
.hero-bullets li::before {
  content: "• ";
  color: var(--accent);
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 0.75rem;
}
.hero-note {
  margin: 0;
  font-size: 0.8rem;
  color: var(--muted);
}

.hero-media { display: flex; justify-content: center; }
.hero-card {
  border-radius: 28px;
  background: radial-gradient(circle at top, rgba(56,189,248,0.35), rgba(15,23,42,1));
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  border: 1px solid rgba(148,163,184,0.6);
}
.hero-card-img {
  display: block;
  width: 100%;
  max-height: 280px;
  object-fit: cover;
}
.hero-card-caption {
  padding: 0.75rem 1rem;
  font-size: 0.8rem;
  color: var(--muted);
}

.hero-logo-lg {
  width: 96px;
  height: 96px;
  border-radius: 999px;
  background: radial-gradient(circle at 30% 0%, #22c55e, #0ea5e9);
  box-shadow: 0 0 32px rgba(34,197,94,0.9);
  object-fit: cover;
  margin-bottom: 0.6rem;
}

@media (max-width: 768px) {
  .hero--split { grid-template-columns: minmax(0, 1fr); }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.45rem 0.95rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(135deg, #22c55e, #0ea5e9);
  color: #020617;
  box-shadow: 0 12px 30px rgba(34,197,94,0.65);
}
.btn-primary:hover { text-decoration: none; filter: brightness(1.08); }
.btn-secondary {
  background: rgba(15,23,42,0.9);
  border-color: rgba(148,163,184,0.6);
  color: #e5e7eb;
}
.btn-secondary:hover {
  background: rgba(15,23,42,1);
  text-decoration: none;
}
.btn-ghost {
  background: transparent;
  border-color: rgba(148,163,184,0.5);
  color: #e5e7eb;
}
.btn-ghost:hover {
  background: rgba(15,23,42,0.9);
  text-decoration: none;
}

/* Cards & grid */
.card-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}

.card {
  border-radius: var(--radius-lg);
  background: rgba(15,23,42,0.98);
  border: 1px solid rgba(30,64,175,0.65);
  box-shadow: 0 16px 36px rgba(15,23,42,0.65);
  padding: 0.9rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}
@media (prefers-color-scheme: light) {
  .card {
    background: #0f172a;
    color: #e5e7eb;
  }
}

.card-thumb {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: 0.5rem;
}
.card-thumb img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  display: block;
}
.card-tag {
  position: absolute;
  left: 0.55rem;
  top: 0.55rem;
  padding: 0.18rem 0.45rem;
  font-size: 0.7rem;
  border-radius: 999px;
  background: rgba(15,23,42,0.92);
  color: #e5e7eb;
  border: 1px solid rgba(148,163,184,0.7);
}

.card-title { margin: 0; font-size: 0.95rem; }
.card-meta {
  margin: 0;
  font-size: 0.8rem;
  color: var(--muted);
}
.card-price {
  margin: 0.1rem 0 0.35rem;
  font-size: 0.85rem;
  color: var(--accent-alt);
}
.card-actions {
  margin-top: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

/* Merch preview */
.merch-preview-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 1.5rem;
  align-items: center;
}
.merch-preview-img {
  width: 100%;
  border-radius: 26px;
  display: block;
  border: 1px solid rgba(148,163,184,0.65);
}
.merch-preview-copy {
  font-size: 0.88rem;
  color: #e5e7eb;
}
.bullet-list {
  list-style: none;
  padding: 0;
  margin: 0.4rem 0 0.9rem;
  font-size: 0.85rem;
  color: var(--muted);
}
.bullet-list li::before {
  content: "• ";
  color: var(--accent);
}

@media (max-width: 880px) {
  .merch-preview-grid { grid-template-columns: minmax(0, 1fr); }
}

/* Brand pills */
.brand-pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.brand-pill {
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(148,163,184,0.7);
  font-size: 0.8rem;
  color: #e5e7eb;
  background: rgba(15,23,42,0.9);
}

/* Tables */
.table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
}
.table th,
.table td {
  padding: 0.5rem 0.6rem;
  border-bottom: 1px solid rgba(51,65,85,0.8);
}
.table th {
  text-align: left;
  color: var(--muted);
  font-weight: 500;
}

/* Forms */
.form-grid { display: grid; gap: 0.8rem; }
.form-row {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  font-size: 0.85rem;
}
.form-row label { font-weight: 500; }
.form-row input,
.form-row textarea,
.form-row select {
  border-radius: 12px;
  border: 1px solid rgba(148,163,184,0.7);
  padding: 0.45rem 0.55rem;
  font-size: 0.85rem;
  background: rgba(15,23,42,0.9);
  color: var(--text);
}
.form-row textarea {
  min-height: 110px;
  resize: vertical;
}
@media (prefers-color-scheme: light) {
  .form-row input,
  .form-row textarea,
  .form-row select {
    background: #020617;
    color: #e5e7eb;
  }
}

/* Downloads */
.download-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
}
.download-thumb {
  width: 100%;
  height: 150px;
  border-radius: 16px;
  object-fit: cover;
  border: 1px solid rgba(148,163,184,0.7);
}

/* Footer */
.sbp-footer {
  border-top: 1px solid rgba(30,64,175,0.7);
  background: radial-gradient(circle at top, #020617 0, #000 60%);
  color: var(--muted);
  font-size: 0.78rem;
}
.sbp-footer-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}
.footer-links a { color: var(--muted); }
.footer-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  justify-content: space-between;
}
