/* Basic site stylesheet (no frameworks) */
/* Theme variables are provided by /theme.css (linked in base). Fallback: */
@import url("theme.css");
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  font-family:
    system-ui,
    -apple-system,
    Segoe UI,
    Roboto,
    Helvetica,
    Arial,
    "Apple Color Emoji",
    "Segoe UI Emoji";
  background: var(--bg);
  color: var(--text);
  padding-top: 60px; /* Adjust this value based on your nav height */
}
.container {
  max-width: 960px;
  margin: 0 auto;
  padding: 24px;
}
.nav {
  background: var(--banner);
  border-bottom: 1px solid var(--line);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10000;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.nav-inner {
  max-width: 960px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 24px;
}
.nav-left,
.nav-center,
.nav-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.nav-center {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.brand {
  font-weight: 700;
  color: #fff;
  text-decoration: none;
  font-size: 18px;
}
.nav a {
  color: #fff;
  text-decoration: none;
  padding: 6px 10px;
  border-radius: 6px;
}
.nav a:hover {
  background: rgba(255, 255, 255, 0.15);
}

.nav-search {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  transition: background-color 0.2s ease;
}

.nav-search svg {
  color: #fff;
}
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 1px 2px rgba(16, 24, 40, 0.04);
  padding: 24px;
}
h1.title {
  font-size: 40px;
  line-height: 1.1;
  margin: 0 0 12px;
}
p.lead {
  color: var(--muted);
  font-size: 18px;
  margin: 0 0 16px;
}
.progress {
  height: 12px;
  background: #f1f5f9;
  border-radius: 999px;
  overflow: hidden;
}
.bar {
  height: 100%;
  background: linear-gradient(90deg, var(--brand), var(--brand-dark));
  width: 42%;
  transition: width 0.3s ease;
}
.stats {
  display: flex;
  gap: 16px;
  margin: 12px 0 0;
  color: #374151;
  font-size: 14px;
  flex-wrap: wrap;
}
.amount {
  font-weight: 700;
  color: var(--brand);
}
.btn {
  display: inline-block;
  background: var(--brand);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  padding: 10px 16px;
  border-radius: 8px;
  border: 1px solid transparent;
  cursor: pointer;
  box-shadow: 0 1px 2px rgba(16, 24, 40, 0.08);
}
.btn:hover {
  background: var(--brand-dark);
}

/* Social provider buttons */
.provider-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: #fff;
  width: 100%;
}
.provider-google {
  background: #4285f4;
}
.provider-google:hover {
  background: #3367d6;
}
.provider-facebook {
  background: #1877f2;
}
.provider-facebook:hover {
  background: #145dbf;
}
.provider-twitter {
  background: #000000;
}
.provider-twitter:hover {
  background: #111111;
}
.provider-linkedin_oauth2 {
  background: #0a66c2;
}
.provider-linkedin_oauth2:hover {
  background: #084f99;
}
.grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.muted {
  color: var(--muted);
}
.footer {
  color: #6b7280;
  font-size: 14px;
  padding: 24px 0;
  border-top: 1px solid var(--line);
  margin-top: 24px;
}
@media (max-width: 860px) {
  .hero {
    grid-template-columns: 1fr !important;
  }
  .grid {
    grid-template-columns: 1fr;
  }
}
.hero {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 24px;
  align-items: center;
  padding: 32px 0;
}
form .row {
  display: flex;
  gap: 12px;
  margin: 8px 0;
  flex-wrap: wrap;
}
input,
select {
  width: 100%;
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: #fff;
}
.notice {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  color: #166534;
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 14px;
}
.list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.list li {
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}
.progress-sm {
  height: 8px;
}

/* GoFundMe-like sections */
.hero-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 1px 2px rgba(16, 24, 40, 0.04);
  padding: 24px;
}
.hero-wide {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 1px 2px rgba(16, 24, 40, 0.04);
  padding: 48px 0;
  text-align: center;
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  position: relative;
}

.hero-wide > * {
  max-width: 960px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}
.hero-title {
  text-align: center;
  font-size: 60px;
  line-height: 1.1;
  margin: 0 auto 8px;
  display: block;
  width: 100%;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.02em;
  animation: fadeInUp 1.2s ease-out;
}

.hero-title span {
  font-size: inherit;
  font-weight: 900;
  position: relative;
  display: inline-block;
  color: var(--banner);
  background: none;
  padding: 4px 8px;
  border-radius: 8px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.hero-title span::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--brand), var(--banner));
  border-radius: 2px;
  transform: scaleX(0);
  animation: underlineGrow 1.5s ease-out 0.5s forwards;
}

@keyframes underlineGrow {
  0% {
    transform: scaleX(0);
  }
  100% {
    transform: scaleX(1);
  }
}

@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}
.hero-sub {
  text-align: center;
  font-size: 18px;
  color: var(--muted);
  margin: 0 auto 8px;
}
.search {
  display: flex;
  gap: 8px;
}
.search input {
  flex: 1;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
}
.pill {
  display: inline-block;
  padding: 6px 10px;
  border-radius: 999px;
  background: #eef2ff;
  color: var(--banner);
  font-weight: 600;
  font-size: 12px;
}
.categories {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
}
.cat {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px;
  text-align: center;
  font-weight: 600;
}
.cat:hover {
  box-shadow: 0 2px 6px rgba(16, 24, 40, 0.08);
}
@media (max-width: 1024px) {
  .categories {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (max-width: 640px) {
  .categories {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
.trust {
  display: flex;
  gap: 16px;
  align-items: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 16px;
}
.step-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.step {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 16px;
}

.nav-right button {
  background: transparent;
  border: none;
  color: #fff;
  padding: 6px 10px;
  margin: 0;
  cursor: pointer;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
  transition: background-color 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.nav-right button:hover {
  background: rgba(255, 255, 255, 0.15);
}
