:root {
  --primary: #3f6212;
  --secondary: #65a30d;
  --light: #d9f99d;
  --bg: #f7fee7;
  --text: #1a2e05;
  --header: #3f6212;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
  font-family: 'Newsreader', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--bg); color: var(--text); line-height: 1.6;
}
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
#site-preloader {
  position: fixed; inset: 0; background: var(--bg); z-index: 99999;
  display: flex; align-items: center; justify-content: center;
  flex-direction: column; transition: opacity 0.5s, visibility 0.5s;
}
#site-preloader.hidden { opacity: 0; visibility: hidden; }
.category-tag {
  display: inline-block; background: var(--light); color: var(--primary);
  padding: 4px 14px; border-radius: 20px; font-size: 0.75em;
  font-weight: 800; text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 12px;
}
.btn-primary {
  display: inline-block; padding: 12px 28px; background: var(--primary);
  color: #fff; text-decoration: none; border-radius: 6px;
  font-weight: 700; transition: all 0.3s; border: 2px solid var(--primary); margin-top: 8px;
}
.btn-primary:hover { background: transparent; color: var(--primary); }
.section-title {
  font-size: 1.5em; margin-bottom: 24px; color: var(--text);
  font-weight: 800; position: relative; padding-bottom: 10px;
}
.section-title::after {
  content: ''; position: absolute; bottom: 0; left: 0;
  width: 50px; height: 4px; background: var(--primary); border-radius: 2px;
}
.tag {
  display: inline-block; background: var(--light); color: var(--primary);
  padding: 3px 10px; border-radius: 12px; font-size: 0.7em;
  font-weight: 800; text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 8px;
}
.site-footer {
  background: var(--text); color: rgba(255,255,255,0.85);
  padding: 50px 20px 30px; text-align: center; margin-top: 60px;
}
.site-footer p { margin-bottom: 12px; }
.site-footer a { color: var(--light); text-decoration: none; font-weight: 600; }
.legal-page { max-width: 800px; margin: 40px auto; padding: 0 24px; line-height: 1.8; }
.legal-page h1 { font-size: 2.2rem; margin-bottom: 8px; color: var(--text); }
.legal-page h2 { font-size: 1.3rem; margin: 28px 0 10px; color: var(--primary); }
.legal-page p, .legal-page li { color: #4b5563; font-size: 1rem; }
.legal-page ul { padding-left: 22px; }
@media (max-width: 768px) { .container { padding: 0 16px; } }
.hero-observer { padding: 60px 0; position: relative; }
.panorama-bar { height: 6px; background: linear-gradient(90deg, var(--primary), var(--secondary), var(--primary)); border-radius: 3px; margin-bottom: 30px; }
.observer-content h1 { font-size: 2.5em; font-weight: 800; margin-bottom: 12px; }
.observer-content p { font-size: 1.05em; color: #4b5563; margin-bottom: 20px; }
.observer-horizon { height: 120px; background: linear-gradient(to bottom, #3f621210, transparent); border-radius: 10px; margin-top: 20px; }
.observer-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 20px; margin: 40px 0; }
.obs-card { background: #fff; border-radius: 10px; overflow: hidden; box-shadow: 0 2px 10px rgba(0,0,0,0.06); transition: transform 0.3s; }
.obs-card:hover { transform: translateY(-3px); }
.obs-card.panorama { grid-row: span 2; }
.obs-img { height: 200px; background: #3f6212; display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,0.6); }
.obs-card.panorama .obs-img { height: 300px; }
.obs-body { padding: 20px; }
.obs-body h3 { font-size: 1.15em; margin: 6px 0; }
.obs-body p { color: #4b5563; font-size: 0.95em; }
@media (max-width: 768px) { .observer-grid { grid-template-columns: 1fr; } .obs-card.panorama { grid-row: span 1; } }

/* Gradients & Transparency */

.hero-focus .hero-image,
.hero-express .express-image,
.hero-default .hero-image {
  background: linear-gradient(135deg, #3f621225 0%, #65a30d35 50%, #d9f99d20 100%) !important;
}

.hero-dna .helix-bar {
  background: linear-gradient(90deg, #3f6212, #65a30d) !important;
  opacity: 0.6;
}

.hero-pulse {
  background: linear-gradient(180deg, #f7fee7 0%, #3f621208 50%, #f7fee7 100%);
}

.hero-globe .globe-ring {
  border: 1px solid #3f621218;
  background: radial-gradient(circle, #d9f99d15 0%, transparent 70%);
}

.hero-aztec .step {
  background: linear-gradient(90deg, #3f6212, #65a30d) !important;
}

.hero-analysis .chart-bars {
  background: linear-gradient(180deg, #3f621210 0%, #3f621205 100%);
}

.hero-instant .clock-face {
  background: radial-gradient(circle, #3f621210 0%, transparent 70%);
}

.hero-bridge .bridge-connector {
  background: linear-gradient(90deg, #3f6212, #65a30d);
}

.hero-bold .bold-content {
  background: linear-gradient(135deg, #3f621212 0%, #d9f99d15 100%);
}

.hero-observer .panorama-bar {
  background: linear-gradient(90deg, #3f6212, #65a30d, #d9f99d, #3f6212);
}

.hero-observer .observer-horizon {
  background: linear-gradient(to bottom, #3f621212, transparent);
}

.hero-plus .layer {
  background: linear-gradient(90deg, #3f6212, #65a30d) !important;
}

.hero-borderless .borderless-image {
  background: linear-gradient(135deg, #3f621235 0%, #65a30d25 50%, #d9f99d15 100%) !important;
}

.hero-breaking .breaking-banner {
  background: linear-gradient(90deg, #dc2626, #ef4444) !important;
}

.hero-republic .republic-emblem {
  background: linear-gradient(135deg, #3f621215, #65a30d10);
}

.hero-finance .finance-ticker .t-item {
  background: linear-gradient(135deg, #fff 0%, #3f621208 100%);
}

.hero-monitor .m-card {
  background: linear-gradient(135deg, #fff 0%, #3f621206 100%);
}

.hero-prophet .rays .ray {
  background: linear-gradient(to right, transparent, #d9f99d, transparent);
}

.hero-prophet {
  background: radial-gradient(circle at center, #3f621208 0%, transparent 60%);
}

.hero-radio .wave-container .wave {
  background: linear-gradient(to top, #3f6212, #65a30d) !important;
}

.hero-perspective .perspective-vanish {
  background: linear-gradient(180deg, #3f621208, transparent);
}

.hero-community .m-tile {
  background: linear-gradient(135deg, #3f6212, #65a30d) !important;
}

/* Card improvements */
.col-card, .pair-card, .rhythm-card, .world-card,
.aztec-card, .an-card, .feed-item, .bridge-card,
.bold-card, .obs-card, .plus-card, .bl-card,
.break-card, .rep-card, .news-card, .fin-card,
.mon-card, .pro-card, .sum-card, .rad-card,
.persp-card, .comm-card, .express-card, .d-article,
.entry, .brief-item, .news-item, .world-card {
  background: linear-gradient(135deg, #fff 0%, #3f621204 100%);
  backdrop-filter: blur(4px);
}

/* Button gradient */
.btn-primary {
  background: linear-gradient(135deg, #3f6212 0%, #65a30d 100%);
  border: none;
  box-shadow: 0 4px 14px #3f621230;
}
.btn-primary:hover {
  background: linear-gradient(135deg, #65a30d 0%, #3f6212 100%);
  color: #fff;
  box-shadow: 0 6px 20px #3f621240;
}

/* Section subtle backgrounds */
.latest-grid,
.timeline-vertical,
.rhythm-grid,
.world-grid,
.express-grid,
.daily-brief,
.aztec-grid,
.analysis-grid,
.instant-feed,
.bridge-grid,
.diary-entries,
.bold-grid,
.observer-grid,
.plus-grid,
.borderless-grid,
.breaking-grid,
.republic-grid,
.news-grid,
.finance-grid,
.monitor-grid,
.prophet-grid,
.summary-grid,
.radio-grid,
.persp-grid,
.comm-grid,
.paired-grid,
.featured-columns,
.daily-columns,
.content-grid {
  position: relative;
}

/* Footer gradient */
.site-footer {
  background: linear-gradient(180deg, #1a2e05 0%, #3f6212 100%);
}

/* Header glass effect */
header {
  backdrop-filter: blur(12px);
  background: linear-gradient(135deg, #3f6212ee 0%, #65a30ddd 100%) !important;
}

/* Tag enhancements */
.tag, .category-tag {
  background: linear-gradient(135deg, #d9f99d 0%, #65a30d30 100%);
  border: 1px solid #3f621220;
}

/* Image placeholders with subtle patterns */
.hero-image span,
.card-img span,
.rhythm-img span,
.world-img span,
.az-img span,
.pair-img span,
.ex-img span,
.lead-image span,
.bold-img span,
.obs-img span,
.plus-img span,
.bl-img span,
.break-img span,
.rep-img span,
.pro-img span,
.persp-img span,
.comm-mosaic span {
  background: linear-gradient(45deg, #3f621210 25%, transparent 25%, transparent 50%, #3f621210 50%, #3f621210 75%, transparent 75%, transparent);
  background-size: 20px 20px;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Smooth transitions */
* {
  transition: background-color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

/* Hover glow effects */
.col-card:hover, .pair-card:hover, .rhythm-card:hover, .world-card:hover,
.aztec-card:hover, .an-card:hover, .bridge-card:hover, .bold-card:hover,
.obs-card:hover, .plus-card:hover, .break-card:hover, .rep-card:hover,
.news-card:hover, .fin-card:hover, .pro-card:hover, .sum-card:hover,
.rad-card:hover, .persp-card:hover, .comm-card:hover, .express-card:hover {
  box-shadow: 0 8px 30px #3f621220, 0 2px 8px rgba(0,0,0,0.08);
}
