/* ✝️🗑️ The Jesus Christians — Divine Dumpster Stylesheet */

:root {
  --holy-gold: #f5c542;
  --holy-gold-dark: #c79a1c;
  --bin-green: #2e7d32;
  --bin-green-dark: #1b5e20;
  --midnight: #14121f;
  --midnight-soft: #1f1c30;
  --parchment: #fdf6e3;
  --parchment-dim: #efe3c2;
  --rubbish-brown: #6d4c2f;
  --halo: 0 0 30px rgba(245, 197, 66, 0.45);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: Georgia, 'Times New Roman', serif;
  background: var(--midnight);
  color: var(--parchment);
  line-height: 1.7;
  min-height: 100vh;
}

/* ---------- Nav ---------- */

nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(20, 18, 31, 0.94);
  backdrop-filter: blur(8px);
  border-bottom: 2px solid var(--holy-gold);
  padding: 0.6rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 1.2rem;
  flex-wrap: wrap;
}

nav .brand {
  font-size: 1.15rem;
  font-weight: bold;
  color: var(--holy-gold);
  text-decoration: none;
  letter-spacing: 0.04em;
  text-shadow: var(--halo);
}

nav a.navlink {
  color: var(--parchment);
  text-decoration: none;
  font-size: 0.95rem;
  padding: 0.25rem 0.6rem;
  border-radius: 6px;
  transition: all 0.2s ease;
}

nav a.navlink:hover,
nav a.navlink.active {
  background: var(--holy-gold);
  color: var(--midnight);
}

nav a.navlink.cta {
  background: var(--bin-green);
  color: #fff;
  font-weight: bold;
  animation: pulse-glow 2s infinite;
}

nav a.navlink.cta:hover { background: var(--bin-green-dark); }

@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 0 5px rgba(46, 125, 50, 0.6); }
  50% { box-shadow: 0 0 18px rgba(245, 197, 66, 0.8); }
}

/* ---------- Hero ---------- */

header.hero {
  text-align: center;
  padding: 5rem 1.5rem 4rem;
  background:
    radial-gradient(ellipse at 50% -20%, rgba(245, 197, 66, 0.28), transparent 60%),
    linear-gradient(180deg, var(--midnight-soft), var(--midnight));
  position: relative;
  overflow: hidden;
}

header.hero .halo-emoji {
  font-size: 5rem;
  display: block;
  filter: drop-shadow(0 0 25px rgba(245, 197, 66, 0.8));
  animation: ascend 4s ease-in-out infinite;
}

@keyframes ascend {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}

header.hero h1 {
  font-size: clamp(2.2rem, 6vw, 4rem);
  color: var(--holy-gold);
  text-shadow: var(--halo);
  margin: 0.8rem 0 0.4rem;
  letter-spacing: 0.03em;
}

header.hero .tagline {
  font-size: clamp(1.05rem, 2.5vw, 1.4rem);
  font-style: italic;
  color: var(--parchment-dim);
  max-width: 42rem;
  margin: 0 auto;
}

/* ---------- Layout ---------- */

main {
  max-width: 960px;
  margin: 0 auto;
  padding: 2.5rem 1.5rem 4rem;
}

section { margin-bottom: 3.5rem; }

h2 {
  color: var(--holy-gold);
  font-size: 1.9rem;
  margin-bottom: 1rem;
  border-bottom: 2px solid var(--holy-gold-dark);
  padding-bottom: 0.4rem;
}

h3 { color: var(--holy-gold); margin-bottom: 0.5rem; }

p { margin-bottom: 1rem; }

a { color: var(--holy-gold); }

blockquote.verse {
  border-left: 4px solid var(--holy-gold);
  background: var(--midnight-soft);
  padding: 1.2rem 1.5rem;
  margin: 1.5rem 0;
  font-style: italic;
  font-size: 1.15rem;
  border-radius: 0 10px 10px 0;
}

blockquote.verse cite {
  display: block;
  margin-top: 0.6rem;
  font-size: 0.9rem;
  color: var(--holy-gold);
  font-style: normal;
}

/* ---------- Cards ---------- */

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.3rem;
  margin-top: 1.5rem;
}

.card {
  background: var(--midnight-soft);
  border: 1px solid rgba(245, 197, 66, 0.25);
  border-radius: 14px;
  padding: 1.5rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--halo);
}

.card .icon { font-size: 2.4rem; display: block; margin-bottom: 0.6rem; }

/* ---------- Buttons ---------- */

.btn {
  display: inline-block;
  background: linear-gradient(180deg, var(--holy-gold), var(--holy-gold-dark));
  color: var(--midnight);
  font-weight: bold;
  font-size: 1.1rem;
  text-decoration: none;
  padding: 0.85rem 2.2rem;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  font-family: inherit;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.btn:hover { transform: scale(1.05); box-shadow: var(--halo); }

.btn.green {
  background: linear-gradient(180deg, var(--bin-green), var(--bin-green-dark));
  color: #fff;
}

.center { text-align: center; }

/* ---------- Testimonials ---------- */

.testimonial {
  background: var(--midnight-soft);
  border-radius: 14px;
  padding: 1.6rem;
  margin-bottom: 1.4rem;
  border: 1px solid rgba(245, 197, 66, 0.2);
}

.testimonial .who {
  margin-top: 0.8rem;
  color: var(--holy-gold);
  font-weight: bold;
}

.stars { color: var(--holy-gold); letter-spacing: 0.15em; }

/* ---------- Commandments / lists ---------- */

ol.commandments {
  counter-reset: cmd;
  list-style: none;
  margin: 1.5rem 0;
}

ol.commandments li {
  counter-increment: cmd;
  background: var(--midnight-soft);
  border-radius: 10px;
  margin-bottom: 0.8rem;
  padding: 1rem 1.2rem 1rem 4rem;
  position: relative;
  border: 1px solid rgba(245, 197, 66, 0.15);
}

ol.commandments li::before {
  content: counter(cmd, upper-roman);
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--holy-gold);
  font-weight: bold;
  font-size: 1.3rem;
  width: 2.4rem;
  text-align: center;
}

/* ---------- Recipe ---------- */

.recipe {
  background: var(--midnight-soft);
  border-radius: 14px;
  padding: 1.6rem;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(245, 197, 66, 0.2);
}

.recipe .meta {
  font-size: 0.9rem;
  color: var(--parchment-dim);
  margin-bottom: 0.8rem;
}

.recipe ul, .recipe ol { margin: 0.5rem 0 1rem 1.5rem; }

/* ---------- Game ---------- */

.game-wrap {
  background: var(--midnight-soft);
  border: 2px solid var(--holy-gold);
  border-radius: 16px;
  padding: 1.2rem;
  box-shadow: var(--halo);
  text-align: center;
}

#binCanvas {
  width: 100%;
  max-width: 700px;
  background: linear-gradient(180deg, #2b2745 0%, #3d2f4f 60%, #292038 100%);
  border-radius: 10px;
  display: block;
  margin: 0 auto;
  touch-action: none;
  cursor: pointer;
}

.game-hud {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  margin: 0.8rem 0;
  font-size: 1.1rem;
}

.game-hud b { color: var(--holy-gold); }

.rank-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1.5rem;
}

.rank-table th, .rank-table td {
  border: 1px solid rgba(245, 197, 66, 0.3);
  padding: 0.6rem 0.9rem;
  text-align: left;
}

.rank-table th { background: rgba(245, 197, 66, 0.12); color: var(--holy-gold); }

/* ---------- Footer ---------- */

footer {
  border-top: 2px solid var(--holy-gold);
  text-align: center;
  padding: 2rem 1.5rem 2.5rem;
  background: var(--midnight-soft);
  font-size: 0.9rem;
  color: var(--parchment-dim);
}

footer .footer-links { margin-bottom: 0.8rem; }

footer .footer-links a { margin: 0 0.6rem; }

.small-print { font-size: 0.78rem; opacity: 0.65; max-width: 44rem; margin: 0.8rem auto 0; }

/* ---------- Marquee of blessings ---------- */

.blessing-bar {
  background: var(--holy-gold);
  color: var(--midnight);
  font-weight: bold;
  overflow: hidden;
  white-space: nowrap;
  padding: 0.35rem 0;
}

.blessing-bar span {
  display: inline-block;
  animation: scroll-left 28s linear infinite;
  padding-left: 100%;
}

@keyframes scroll-left {
  to { transform: translateX(-100%); }
}
