:root {
  --primary: #c2410c;
  --secondary: #fdba74;
  --light: #fed7aa;
  --bg: #fff7ed;
  --text: #7c2d12;
  --header: #c2410c;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
  font-family: 'Work Sans', -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-summary { padding: 60px 0; }
.summary-bar { height: 4px; background: linear-gradient(90deg, var(--primary), var(--secondary)); border-radius: 2px; margin-bottom: 24px; }
.summary-content h1 { font-size: 2.4em; font-weight: 800; margin-bottom: 12px; }
.summary-content p { font-size: 1.05em; color: #4b5563; margin-bottom: 24px; }
.summary-count { display: flex; gap: 30px; flex-wrap: wrap; }
.count-item { text-align: center; }
.count-num { display: block; font-size: 2em; font-weight: 800; color: var(--primary); }
.count-label { font-size: 0.8em; color: #6b7280; text-transform: uppercase; letter-spacing: 1px; }
.summary-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 16px; margin: 40px 0; }
.sum-card { background: #fff; border-radius: 10px; overflow: hidden; box-shadow: 0 2px 10px rgba(0,0,0,0.06); }
.sum-card.main { grid-row: span 3; padding: 30px; }
.sum-body { padding: 20px; }
.sum-body h2 { font-size: 1.4em; margin-bottom: 10px; }
.sum-body h3 { font-size: 1.1em; margin: 6px 0; }
.sum-body p { color: #4b5563; font-size: 0.95em; }
@media (max-width: 768px) { .summary-grid { grid-template-columns: 1fr; } .sum-card.main { grid-row: span 1; } }

/* Gradients & Transparency */

.hero-focus .hero-image,
.hero-express .express-image,
.hero-default .hero-image {
  background: linear-gradient(135deg, #c2410c25 0%, #fdba7435 50%, #fed7aa20 100%) !important;
}

.hero-dna .helix-bar {
  background: linear-gradient(90deg, #c2410c, #fdba74) !important;
  opacity: 0.6;
}

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

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

.hero-aztec .step {
  background: linear-gradient(90deg, #c2410c, #fdba74) !important;
}

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

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

.hero-bridge .bridge-connector {
  background: linear-gradient(90deg, #c2410c, #fdba74);
}

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

.hero-observer .panorama-bar {
  background: linear-gradient(90deg, #c2410c, #fdba74, #fed7aa, #c2410c);
}

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

.hero-plus .layer {
  background: linear-gradient(90deg, #c2410c, #fdba74) !important;
}

.hero-borderless .borderless-image {
  background: linear-gradient(135deg, #c2410c35 0%, #fdba7425 50%, #fed7aa15 100%) !important;
}

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

.hero-republic .republic-emblem {
  background: linear-gradient(135deg, #c2410c15, #fdba7410);
}

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

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

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

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

.hero-radio .wave-container .wave {
  background: linear-gradient(to top, #c2410c, #fdba74) !important;
}

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

.hero-community .m-tile {
  background: linear-gradient(135deg, #c2410c, #fdba74) !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%, #c2410c04 100%);
  backdrop-filter: blur(4px);
}

/* Button gradient */
.btn-primary {
  background: linear-gradient(135deg, #c2410c 0%, #fdba74 100%);
  border: none;
  box-shadow: 0 4px 14px #c2410c30;
}
.btn-primary:hover {
  background: linear-gradient(135deg, #fdba74 0%, #c2410c 100%);
  color: #fff;
  box-shadow: 0 6px 20px #c2410c40;
}

/* 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, #7c2d12 0%, #c2410c 100%);
}

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

/* Tag enhancements */
.tag, .category-tag {
  background: linear-gradient(135deg, #fed7aa 0%, #fdba7430 100%);
  border: 1px solid #c2410c20;
}

/* 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, #c2410c10 25%, transparent 25%, transparent 50%, #c2410c10 50%, #c2410c10 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 #c2410c20, 0 2px 8px rgba(0,0,0,0.08);
}
