:root {
  --primary-green: #4F6838;    /* CJ's Shorts Olive Green */
  --light-green: #8FA36A;      /* Light Sage */
  --accent-yellow: #E8AF40;     /* Warm Sun Yellow */
  --bg-cream: #F8F6F0;          /* Warm Cream Background */
  --card-bg: #FFFFFF;
  --text-dark: #332B25;        /* Deep Brown Text */
  --text-muted: #665D54;
  --footer-bg: #2D251E;
  --radius-lg: 16px;
  --radius-sm: 8px;
}

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

body {
  font-family: 'Nunito', sans-serif;
  background-color: var(--bg-cream);
  color: var(--text-dark);
  line-height: 1.6;
}

h1, h2, h3, h4, .logo {
  font-family: 'Fredoka', cursive, sans-serif;
}

/* Navbar */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.2rem 8%;
  background: var(--bg-cream);
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 2px solid rgba(79, 104, 56, 0.15);
}

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-green);
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-dark);
  font-weight: 700;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--primary-green);
}

.search-btn {
  font-size: 1.2rem;
  cursor: pointer;
}

/* Hero Section */
.hero {
  position: relative;
  background-color: var(--primary-green);
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  padding: 3rem 1.5rem;
  background-image: radial-gradient(circle at 20% 30%, #68854a 0%, transparent 40%),
                    radial-gradient(circle at 80% 70%, #3a4d29 0%, transparent 50%);
}

.hero-content {
  position: relative;
  max-width: 650px;
  z-index: 2;
}

.hero h1 {
  font-size: 2.8rem;
  margin: 0.8rem 0 1rem;
}

.hero p {
  font-size: 1.15rem;
  margin-bottom: 1.8rem;
}

.badge {
  background-color: var(--accent-yellow);
  color: var(--text-dark);
  padding: 0.35rem 1rem;
  border-radius: 20px;
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.75rem 1.6rem;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 700;
  cursor: pointer;
  border: none;
  transition: transform 0.2s, background-color 0.2s;
}

.btn-primary {
  background-color: var(--accent-yellow);
  color: var(--text-dark);
}

.btn-primary:hover {
  transform: translateY(-2px);
  filter: brightness(1.05);
}

.btn-secondary {
  background-color: var(--primary-green);
  color: #fff;
}

.btn-sm {
  padding: 0.4rem 0.9rem;
  font-size: 0.85rem;
  background-color: var(--primary-green);
  color: #fff;
}

.btn-sm:hover {
  background-color: #3b4e2a;
}

/* Category Quick Links */
.quick-categories {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin: -30px auto 3.5rem;
  position: relative;
  z-index: 10;
  padding: 0 1rem;
  flex-wrap: wrap;
}

.cat-card {
  background: var(--card-bg);
  padding: 1.2rem 1.8rem;
  border-radius: var(--radius-lg);
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
  text-align: center;
  min-width: 130px;
}

.cat-icon {
  font-size: 2rem;
  display: block;
  margin-bottom: 0.3rem;
}

/* Cards Grid */
.content-section {
  max-width: 1200px;
  margin: 0 auto 4rem;
  padding: 0 1.5rem;
}

.section-title {
  text-align: center;
  font-size: 2.2rem;
  color: var(--primary-green);
  margin-bottom: 2rem;
}

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

.card {
  background: var(--card-bg);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
  display: flex;
  flex-direction: column;
}

.card-img-wrapper {
  position: relative;
  height: 180px;
}

.placeholder-img {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
}

.green-bg { background-color: #DDE8D0; }
.olive-bg { background-color: #C8D6B9; }
.warm-bg  { background-color: #E8DEC8; }
.yellow-bg{ background-color: #F7E7C4; }

.duration-badge {
  position: absolute;
  bottom: 10px;
  right: 10px;
  background: rgba(0,0,0,0.75);
  color: #fff;
  font-size: 0.75rem;
  padding: 3px 8px;
  border-radius: 4px;
  font-weight: 600;
}

.card-body {
  padding: 1.2rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.card-body h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  color: var(--text-dark);
}

.card-body p {
  font-size: 0.92rem;
  color: var(--text-muted);
  margin-bottom: 1.2rem;
  flex-grow: 1;
}

.card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.tag {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--primary-green);
}

/* Banner Feature */
.banner-feature {
  background: linear-gradient(135deg, var(--primary-green), #374a27);
  padding: 4rem 1.5rem;
  text-align: center;
  color: #fff;
  margin-bottom: 4rem;
}

.banner-content h2 {
  font-size: 2.2rem;
  margin-bottom: 0.8rem;
}

.banner-content p {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Character Spotlight */
.character-spotlight {
  max-width: 700px;
  margin: 0 auto 4rem;
  padding: 0 1.5rem;
}

.spotlight-card {
  background: var(--card-bg);
  border: 2px solid var(--light-green);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  text-align: center;
}

.character-avatar {
  font-size: 4rem;
  margin-bottom: 0.5rem;
}

.spotlight-text h3 {
  color: var(--primary-green);
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.character-traits {
  list-style: none;
  margin-top: 1.2rem;
  text-align: left;
  display: inline-block;
}

.character-traits li {
  margin-bottom: 0.4rem;
  font-weight: 600;
}

/* Newsletter Section */
.newsletter-section {
  background-color: #EAE6DB;
  text-align: center;
  padding: 3.5rem 1.5rem;
  margin-bottom: 4rem;
}

.newsletter-section h3 {
  font-size: 1.8rem;
  color: var(--primary-green);
}

.newsletter-form {
  margin-top: 1.5rem;
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.newsletter-form input {
  padding: 0.75rem 1.2rem;
  border-radius: 30px;
  border: 1px solid #ccc;
  width: 300px;
  outline: none;
  font-family: inherit;
}

/* Footer */
.footer {
  background-color: var(--footer-bg);
  color: #D3C9BF;
  padding: 3.5rem 8% 1.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-col h3, .footer-col h4 {
  color: #fff;
  margin-bottom: 1rem;
}

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

.footer-col ul li {
  margin-bottom: 0.5rem;
}

.footer-col a {
  color: #D3C9BF;
  text-decoration: none;
}

.footer-col a:hover {
  color: var(--accent-yellow);
}

.footer-bottom {
  border-top: 1px solid #42372E;
  padding-top: 1.5rem;
  text-align: center;
  font-size: 0.85rem;
}