/* ===== RESET & BASE ===== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  background-color: #F9F7F1;
  color: #2C3A2B;
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

a {
  color: #4A6741;
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: #6B8F5E;
}

img, svg {
  max-width: 100%;
  height: auto;
  display: block;
}

h1, h2, h3 {
  font-weight: 600;
  line-height: 1.3;
  color: #1E2F1A;
}

h1 { font-size: 2.2rem; margin-bottom: 0.5rem; }
h2 { font-size: 1.8rem; margin-bottom: 1rem; }
h3 { font-size: 1.3rem; margin-bottom: 0.5rem; }

p {
  margin-bottom: 1rem;
  color: #3A4D35;
}

/* ===== HEADER ===== */
.site-header {
  background: linear-gradient(180deg, #EDF4E8 0%, #F5F2E9 100%);
  border-bottom: 1px solid #D4C9A8;
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(8px);
  background-color: rgba(249, 247, 241, 0.92);
}

.site-header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.25rem;
  font-weight: 700;
  color: #2C3A2B;
  letter-spacing: -0.02em;
}

.logo svg {
  flex-shrink: 0;
}

.main-nav {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.main-nav a {
  font-size: 0.95rem;
  font-weight: 500;
  color: #4A6741;
  padding: 0.3rem 0;
  border-bottom: 2px solid transparent;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.main-nav a:hover {
  border-bottom-color: #4A6741;
  color: #2C3A2B;
}

/* ===== HERO CARD ===== */
.hero-card {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  align-items: center;
  background: linear-gradient(135deg, #F5F2E9 0%, #EDF4E8 100%);
  border: 1px solid #D4C9A8;
  border-radius: 24px;
  padding: 2.5rem;
  margin: 2rem 0;
  box-shadow: 0 8px 32px rgba(74, 103, 65, 0.08);
}

.moon-display {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle, rgba(74,103,65,0.05) 0%, transparent 70%);
  border-radius: 50%;
  padding: 1rem;
}

.phase-info {
  flex: 1;
  min-width: 280px;
}

.day-label {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #6B8F5E;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.phase-description {
  font-size: 1.1rem;
  color: #3A4D35;
  margin: 1rem 0;
  line-height: 1.7;
}

.gardening-tips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 1.25rem 0;
}

.tip {
  background: rgba(255,255,255,0.7);
  border: 1px solid #D4C9A8;
  border-radius: 12px;
  padding: 0.6rem 1rem;
  font-size: 0.9rem;
  color: #2C3A2B;
  flex: 1;
  min-width: 150px;
}

.tip strong {
  color: #4A6741;
  display: block;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 0.2rem;
}

.phase-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  font-size: 0.9rem;
  color: #6B8F5E;
  margin-top: 1rem;
}

.phase-meta span {
  background: rgba(74,103,65,0.08);
  padding: 0.35rem 0.9rem;
  border-radius: 20px;
  font-weight: 500;
}

/* ===== FORECAST TABLE ===== */
.forecast-section {
  margin: 3rem 0;
}

.section-intro {
  color: #5A6B52;
  margin-bottom: 1.5rem;
  font-size: 1.05rem;
}

.forecast-table-wrapper {
  overflow-x: auto;
  border-radius: 16px;
  border: 1px solid #D4C9A8;
  background: #FFFFFF;
  box-shadow: 0 4px 16px rgba(74,103,65,0.06);
}

.forecast-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
  min-width: 700px;
}

.forecast-table thead {
  background: #EDF4E8;
}

.forecast-table th {
  padding: 1rem 1.25rem;
  text-align: left;
  font-weight: 600;
  color: #2C3A2B;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  border-bottom: 2px solid #D4C9A8;
}

.forecast-table td {
  padding: 0.9rem 1.25rem;
  border-bottom: 1px solid #E8E4D4;
  color: #3A4D35;
  vertical-align: top;
}

.forecast-table tbody tr:hover {
  background: #F9F7F1;
}

.forecast-table tbody tr:last-child td {
  border-bottom: none;
}

/* ===== GUIDE GRID ===== */
.guide-section {
  margin: 3rem 0;
}

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

.guide-card {
  background: #FFFFFF;
  border: 1px solid #D4C9A8;
  border-radius: 16px;
  padding: 1.5rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.guide-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(74,103,65,0.1);
}

.guide-icon {
  margin-bottom: 1rem;
}

.guide-card h3 {
  color: #2C3A2B;
  margin-bottom: 0.75rem;
}

.guide-card p {
  font-size: 0.95rem;
  color: #5A6B52;
  line-height: 1.65;
}

/* ===== ZODIAC SECTION ===== */
.zodiac-section {
  margin: 3rem 0;
}

.sign-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}

.sign-card {
  background: #FFFFFF;
  border: 1px solid #D4C9A8;
  border-radius: 14px;
  padding: 1.25rem;
  text-align: center;
  transition: background 0.2s ease;
}

.sign-card:hover {
  background: #EDF4E8;
}

.sign-card .sign-symbol {
  font-size: 2rem;
  margin-bottom: 0.5rem;
  color: #4A6741;
}

.sign-card h4 {
  font-size: 1rem;
  color: #2C3A2B;
  margin-bottom: 0.25rem;
}

.sign-card p {
  font-size: 0.85rem;
  color: #5A6B52;
  margin-bottom: 0;
}

/* ===== ABOUT SECTION ===== */
.about-section {
  margin: 3rem 0;
  background: #FFFFFF;
  border: 1px solid #D4C9A8;
  border-radius: 20px;
  padding: 2.5rem;
}

.about-section p {
  font-size: 1.05rem;
  line-height: 1.75;
}

/* ===== FOOTER ===== */
.site-footer {
  margin-top: auto;
  background: #2C3A2B;
  color: #C5D4BE;
  padding: 2rem 0;
  text-align: center;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

.footer-links a {
  color: #A3B99A;
  font-size: 0.9rem;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: #FFFFFF;
}

.copyright {
  font-size: 0.85rem;
  color: #8A9F7E;
  margin-bottom: 0;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .container {
    padding: 0 1rem;
  }

  h1 { font-size: 1.8rem; }
  h2 { font-size: 1.5rem; }

  .hero-card {
    flex-direction: column;
    text-align: center;
    padding: 1.5rem;
  }

  .gardening-tips {
    justify-content: center;
  }

  .phase-meta {
    justify-content: center;
  }

  .main-nav {
    justify-content: center;
    width: 100%;
  }

  .site-header .container {
    flex-direction: column;
  }

  .forecast-table {
    font-size: 0.85rem;
  }

  .about-section {
    padding: 1.5rem;
  }
}

@media (max-width: 480px) {
  .hero-card {
    border-radius: 16px;
    padding: 1.25rem;
  }

  .guide-grid {
    grid-template-columns: 1fr;
  }

  .sign-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-links {
    gap: 1rem;
  }
}



/* Factory-injected deployment helpers. The AI owns the site design above this block. */
.ad-unit {
  width: min(100%, 720px);
  min-height: 120px;
  margin: 24px auto;
  display: block;
}

.legal-page {
  width: min(900px, calc(100% - 32px));
  margin: 40px auto;
}

.site-utility-links {
  width: min(900px, calc(100% - 32px));
  margin: 32px auto;
  padding-top: 16px;
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  border-top: 1px solid rgba(127, 127, 127, 0.25);
  font-size: 0.9rem;
}

.site-utility-links a {
  color: inherit;
  opacity: 0.75;
}
