/* ============================================
   SPIRITUAL WEBSITE - DARK THEME & ANIMATIONS
   Inspired by Om Swami's minimalist aesthetic
   ============================================ */

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

:root {
    /* Color Palette - Dark Cream / Vanilla Theme */
    --bg-primary: #2b2416;
    --bg-secondary: #322b1c;
    --bg-tertiary: #3d3422;
    --text-primary: #f5edd8;
    --text-secondary: #d9ccb0;
    --text-muted: #a89878;
    --accent-gold: #d4af37;
    --accent-gold-light: #f4d03f;
    --accent-gold-dark: #b8941f;
    --border-color: #4a3e28;
    --overlay: rgba(0, 0, 0, 0.7);
    
    /* Typography */
    --font-serif: 'DM Serif Display', Georgia, serif;
    --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
    --font-devanagari: 'Tiro Devanagari', serif;
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-base: 0.4s ease;
    --transition-slow: 0.8s ease;
}

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

body {
    font-family: var(--font-sans);
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-size: 16px;
    font-weight: 400;
    letter-spacing: -0.01em;
}

/* === LANDING PAGE === */
.landing-page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    /* Birth of the Universe: dark cream/vanilla gradient */
    background: radial-gradient(ellipse 120% 80% at 50% 20%, #3a2e14 0%, #2b2416 35%, #1e1a0e 70%, #14110a 100%);
}

.landing-page::before {
    content: '';
    position: fixed;
    inset: 0;
    z-index: 0;
    background: radial-gradient(ellipse 80% 50% at 50% 0%, rgba(180, 140, 40, 0.12) 0%, transparent 50%),
                radial-gradient(ellipse 60% 80% at 80% 60%, rgba(60, 45, 15, 0.4) 0%, transparent 50%);
    pointer-events: none;
}

/* Cursor glow: hidden until JS moves it (avoids flash at 0,0) */
.cursor-glow {
    opacity: 0;
    left: -999px;
    top: -999px;
}

/* Stars & illuminating lines (constellation) */
.stars-constellation {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.stars-svg {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.stars-constellation .constellation-lines {
    fill: none;
    stroke-width: 0.6;
    opacity: 0.9;
}

.stars-constellation .star-line {
    stroke-dasharray: 1000;
    stroke-dashoffset: 1000;
    animation: lineDraw 2.8s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.stars-constellation .star-line:nth-child(1) { animation-delay: 0.2s; }
.stars-constellation .star-line:nth-child(2) { animation-delay: 0.35s; }
.stars-constellation .star-line:nth-child(3) { animation-delay: 0.5s; }
.stars-constellation .star-line:nth-child(4) { animation-delay: 0.65s; }
.stars-constellation .star-line:nth-child(5) { animation-delay: 0.8s; }
.stars-constellation .star-line:nth-child(6) { animation-delay: 0.95s; }
.stars-constellation .star-line:nth-child(7) { animation-delay: 0.4s; }
.stars-constellation .star-line:nth-child(8) { animation-delay: 0.55s; }
.stars-constellation .star-line:nth-child(9) { animation-delay: 0.7s; }
.stars-constellation .star-line:nth-child(10) { animation-delay: 0.85s; }
.stars-constellation .star-line:nth-child(11) { animation-delay: 0.15s; }
.stars-constellation .star-line:nth-child(12) { animation-delay: 0.3s; }
.stars-constellation .star-line:nth-child(13) { animation-delay: 1.1s; }
.stars-constellation .star-line:nth-child(14) { animation-delay: 1.25s; }
.stars-constellation .star-line:nth-child(15) { animation-delay: 1.4s; }
.stars-constellation .star-line:nth-child(16) { animation-delay: 1.55s; }
.stars-constellation .star-line:nth-child(17) { animation-delay: 1.2s; }
.stars-constellation .star-line:nth-child(18) { animation-delay: 1.35s; }
.stars-constellation .star-line:nth-child(19) { animation-delay: 1.5s; }
.stars-constellation .star-line:nth-child(20) { animation-delay: 1.65s; }
.stars-constellation .star-line:nth-child(21) { animation-delay: 1.8s; }

@keyframes lineDraw {
    to { stroke-dashoffset: 0; }
}

/* Moving diamond spark along lines (gradient taper + soft glow) */
.stars-constellation .constellation-lines-spark {
    opacity: 1;
    filter: drop-shadow(0 0 8px rgba(212, 175, 55, 0.5)) drop-shadow(0 0 4px rgba(255, 255, 255, 0.3));
}

.stars-constellation .star-line-spark {
    stroke-dasharray: 0 3200 65 3200;
    stroke-dashoffset: 0;
    animation: sparkTravel 7s linear infinite;
}

.stars-constellation .star-line-spark:nth-child(1) { animation-delay: 0s; }
.stars-constellation .star-line-spark:nth-child(2) { animation-delay: 0.3s; }
.stars-constellation .star-line-spark:nth-child(3) { animation-delay: 0.6s; }
.stars-constellation .star-line-spark:nth-child(4) { animation-delay: 0.9s; }
.stars-constellation .star-line-spark:nth-child(5) { animation-delay: 1.2s; }
.stars-constellation .star-line-spark:nth-child(6) { animation-delay: 0.2s; }
.stars-constellation .star-line-spark:nth-child(7) { animation-delay: 0.5s; }
.stars-constellation .star-line-spark:nth-child(8) { animation-delay: 0.8s; }
.stars-constellation .star-line-spark:nth-child(9) { animation-delay: 1.1s; }
.stars-constellation .star-line-spark:nth-child(10) { animation-delay: 0.15s; }
.stars-constellation .star-line-spark:nth-child(11) { animation-delay: 0.45s; }
.stars-constellation .star-line-spark:nth-child(12) { animation-delay: 0.75s; }
.stars-constellation .star-line-spark:nth-child(13) { animation-delay: 2s; }
.stars-constellation .star-line-spark:nth-child(14) { animation-delay: 2.3s; }
.stars-constellation .star-line-spark:nth-child(15) { animation-delay: 2.6s; }
.stars-constellation .star-line-spark:nth-child(16) { animation-delay: 2.9s; }
.stars-constellation .star-line-spark:nth-child(17) { animation-delay: 1.5s; }
.stars-constellation .star-line-spark:nth-child(18) { animation-delay: 1.8s; }
.stars-constellation .star-line-spark:nth-child(19) { animation-delay: 2.1s; }
.stars-constellation .star-line-spark:nth-child(20) { animation-delay: 2.4s; }
.stars-constellation .star-line-spark:nth-child(21) { animation-delay: 2.7s; }

@keyframes sparkTravel {
    to { stroke-dashoffset: -3265; }
}

.stars-constellation .constellation-stars {
    color: rgba(255, 255, 255, 0.95);
    filter: url(#star-glow);
}

.stars-constellation .star {
    opacity: 0;
    transform-origin: center;
    animation: starAppear 1s cubic-bezier(0.22, 1, 0.36, 1) forwards, starIlluminate 5.5s ease-in-out infinite;
}

.stars-constellation .star-1 { animation-delay: 0.3s, 0.5s; }
.stars-constellation .star-2 { animation-delay: 0.45s, 0.7s; }
.stars-constellation .star-3 { animation-delay: 0.6s, 0.9s; }
.stars-constellation .star-4 { animation-delay: 0.75s, 1.1s; }
.stars-constellation .star-5 { animation-delay: 0.9s, 1.3s; }
.stars-constellation .star-6 { animation-delay: 1.05s, 1.5s; }
.stars-constellation .star-7 { animation-delay: 0.5s, 0.8s; }
.stars-constellation .star-8 { animation-delay: 0.65s, 1s; }
.stars-constellation .star-9 { animation-delay: 0.8s, 1.2s; }
.stars-constellation .star-10 { animation-delay: 0.25s, 0.6s; }
.stars-constellation .star-11 { animation-delay: 0.4s, 0.85s; }
.stars-constellation .star-12 { animation-delay: 1.15s, 1.4s; }
.stars-constellation .star-13 { animation-delay: 1.3s, 1.6s; }
.stars-constellation .star-14 { animation-delay: 1.45s, 1.75s; }
.stars-constellation .star-15 { animation-delay: 1.6s, 1.9s; }
.stars-constellation .star-16 { animation-delay: 1.75s, 2.05s; }
.stars-constellation .star-17 { animation-delay: 1.25s, 1.55s; }
.stars-constellation .star-18 { animation-delay: 1.4s, 1.7s; }
.stars-constellation .star-19 { animation-delay: 1.55s, 1.85s; }
.stars-constellation .star-20 { animation-delay: 1.7s, 2s; }
.stars-constellation .star-21 { animation-delay: 1.85s, 2.15s; }

@keyframes starAppear {
    from { opacity: 0; transform: scale(0.4); }
    to { opacity: 1; transform: scale(1); }
}

@keyframes starIlluminate {
    0%, 100% { opacity: 0.75; filter: url(#star-glow) drop-shadow(0 0 4px rgba(212,175,55,0.4)); }
    50% { opacity: 1; filter: url(#star-glow) drop-shadow(0 0 10px rgba(212,175,55,0.7)); }
}

/* Particle Background (warm overlay) */
#particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    background: radial-gradient(ellipse 100% 60% at 50% 0%, rgba(60, 45, 15, 0.45) 0%, transparent 55%),
                radial-gradient(circle at 20% 50%, rgba(212, 175, 55, 0.05) 0%, transparent 50%),
                radial-gradient(circle at 80% 80%, rgba(212, 175, 55, 0.04) 0%, transparent 50%);
}

/* Tiny stars drifting diagonally */
.drift-stars {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.drift-star {
    position: absolute;
    width: 4px;
    height: 4px;
    background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.9), rgba(212, 175, 55, 0.7));
    border-radius: 50%;
    box-shadow: 0 0 8px rgba(212, 175, 55, 0.5), 0 0 2px rgba(255, 255, 255, 0.3);
    animation: driftDiagonal 35s linear infinite;
}

.drift-star--alt {
    animation: driftDiagonal 38s linear infinite;
    animation-direction: reverse;
}

@keyframes driftDiagonal {
    0% { transform: translate(0, 0); opacity: 0; }
    8% { opacity: 0.6; }
    92% { opacity: 0.6; }
    100% { transform: translate(calc(100vw + 60px), calc(100vh + 60px)); opacity: 0; }
}

/* Birth of the Universe: center animation (dot → line → orbits) */
.birth-universe {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: min(90vw, 420px);
    height: min(90vw, 420px);
    z-index: 0;
    pointer-events: none;
    opacity: 0.85;
}

.birth-universe-svg {
    width: 100%;
    height: 100%;
}

.birth-dot {
    fill: rgba(255, 255, 255, 0.95);
    filter: drop-shadow(0 0 8px rgba(212, 175, 55, 0.6));
    transform-origin: 200px 200px;
    animation: birthDotPulse 2s ease-in-out infinite;
}

.birth-line {
    stroke-dasharray: 120;
    stroke-dashoffset: 120;
    filter: drop-shadow(0 0 6px rgba(212, 175, 55, 0.5));
    transform-origin: 200px 200px;
    transform: rotate(-90deg);
    animation: birthLineGrow 1.2s cubic-bezier(0.22, 1, 0.36, 1) 0.8s forwards;
}

.birth-orbit {
    transform-origin: 200px 200px;
    stroke-dasharray: 400;
    stroke-dashoffset: 400;
    filter: drop-shadow(0 0 4px rgba(212, 175, 55, 0.3));
}

.birth-orbit-1 { animation: birthOrbitDraw 1s cubic-bezier(0.22, 1, 0.36, 1) 1.8s forwards; transform: rotate(-20deg); }
.birth-orbit-2 { animation: birthOrbitDraw 1s cubic-bezier(0.22, 1, 0.36, 1) 2s forwards; transform: rotate(10deg); }
.birth-orbit-3 { animation: birthOrbitDraw 1.2s cubic-bezier(0.22, 1, 0.36, 1) 2.2s forwards; transform: rotate(-5deg); }

@keyframes birthDotPulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.7; transform: scale(1.1); }
}

@keyframes birthLineGrow {
    to { stroke-dashoffset: 0; }
}

@keyframes birthOrbitDraw {
    to { stroke-dashoffset: 0; opacity: 0.7; }
}

.birth-dot-travel {
    filter: drop-shadow(0 0 6px rgba(212, 175, 55, 0.6));
}

.birth-orbit-group {
    transform-origin: 0 0;
}

.birth-orbit-group-1 { animation: birthOrbitRotate1 8s linear 2.8s infinite; }
.birth-orbit-group-2 { animation: birthOrbitRotate2 10s linear 3s infinite; }
.birth-orbit-group-3 { animation: birthOrbitRotate3 12s linear 3.2s infinite; }

.birth-orbit-group-1 .birth-dot-travel-1,
.birth-orbit-group-2 .birth-dot-travel-2,
.birth-orbit-group-3 .birth-dot-travel-3 {
    opacity: 0;
    animation: birthDotFadeIn 0.5s ease 2.6s forwards;
}

@keyframes birthDotFadeIn {
    to { opacity: 0.9; }
}

@keyframes birthOrbitRotate1 {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes birthOrbitRotate2 {
    from { transform: rotate(0deg); }
    to { transform: rotate(-360deg); }
}

@keyframes birthOrbitRotate3 {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Sacred Geometry */
.sacred-geometry {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    opacity: 0.03;
    z-index: 0;
    pointer-events: none;
}

.mandala {
    width: 100%;
    height: 100%;
    animation: rotate 60s linear infinite;
}

.mandala-circle {
    fill: none;
    stroke: var(--accent-gold);
    stroke-width: 0.5;
}

.c1 { animation: pulse 4s ease-in-out infinite; }
.c2 { animation: pulse 4s ease-in-out infinite 0.5s; }
.c3 { animation: pulse 4s ease-in-out infinite 1s; }
.c4 { animation: pulse 4s ease-in-out infinite 1.5s; }

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes pulse {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.6; }
}

/* Landing Container */
.landing-container {
    position: relative;
    z-index: 1;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: var(--spacing-md);
    text-align: center;
}

.content-wrapper {
    max-width: 800px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
}

/* Om Symbol */
.om-symbol {
    margin-bottom: var(--spacing-lg);
}

.om-svg {
    width: 120px;
    height: 120px;
    margin: 0 auto;
    opacity: 0.8;
}

.om-text {
    font-size: 80px;
    fill: var(--accent-gold);
    font-family: var(--font-serif);
    animation: omGlow 3s ease-in-out infinite;
}

@keyframes omGlow {
    0%, 100% { opacity: 0.6; filter: drop-shadow(0 0 10px rgba(212, 175, 55, 0.3)); }
    50% { opacity: 1; filter: drop-shadow(0 0 20px rgba(212, 175, 55, 0.6)); }
}

/* Headline wrap: thin horizontal lines behind title */
.headline-wrap {
    position: relative;
    display: block;
    width: 100%;
    margin-bottom: var(--spacing-sm);
    text-align: center;
}

.headline-line {
    position: absolute;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    transform-origin: center;
    height: 1px;
    width: 120%;
    max-width: 900px;
    background: linear-gradient(90deg, transparent, var(--accent-gold), transparent);
    opacity: 0.4;
    pointer-events: none;
}

.headline-line-1 { top: -8%; animation: headlineLineStretch 1.8s ease-out 0.4s forwards; }
.headline-line-2 { top: -4%; animation: headlineLineStretch 1.8s ease-out 0.6s forwards; }
.headline-line-3 { top:  0;   animation: headlineLineStretch 2s ease-out 0.8s forwards; }
.headline-line-4 { top:  4%;  animation: headlineLineStretch 1.8s ease-out 1s forwards; }
.headline-line-5 { top:  8%;  animation: headlineLineStretch 1.8s ease-out 1.2s forwards; }

@keyframes headlineLineStretch {
    from { transform: translateX(-50%) scaleX(0); opacity: 0; }
    to { transform: translateX(-50%) scaleX(1); opacity: 0.4; }
}

/* Main Title */
.main-title {
    position: relative;
    z-index: 1;
    font-family: var(--font-serif);
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 300;
    line-height: 1.2;
    margin-bottom: 0;
    color: var(--text-primary);
    letter-spacing: 0.02em;
}

.main-title .line {
    display: block;
    margin-bottom: 0.5rem;
}

.line-1 {
    font-size: 0.6em;
    color: var(--text-secondary);
    font-weight: 300;
}

.line-2 {
    color: var(--accent-gold);
    font-weight: 400;
}

.line-3 {
    font-size: 0.6em;
    color: var(--text-secondary);
    font-weight: 300;
}

/* Birth of Universe headline: single line, letter-by-letter fade-in */
.main-title-universe {
    font-size: clamp(3.5rem, 7vw, 6.5rem);
    font-weight: 400;
    line-height: 1.3;
    color: var(--accent-gold);
    letter-spacing: 0.04em;
    font-family: var(--font-devanagari);
    text-shadow:
        0 0 40px rgba(212, 175, 55, 0.35),
        0 0 80px rgba(212, 175, 55, 0.15);
}

.main-title-universe .char {
    display: inline-block;
    opacity: 0;
    animation: letterReveal 0.5s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

@keyframes letterReveal {
    from { opacity: 0; transform: translateY(12px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Subtitle */
.subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: var(--text-secondary);
    margin-bottom: var(--spacing-lg);
    font-weight: 300;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Hero subheading (below main title) */
.hero-subheading {
    font-size: clamp(1rem, 1.8vw, 1.15rem);
    color: var(--text-secondary);
    font-weight: 400;
    max-width: 480px;
    margin: 0 auto var(--spacing-lg);
    line-height: 1.65;
    letter-spacing: 0.01em;
    font-family: var(--font-sans);
}

/* Enter Button — kept clearly below heading & subheading */
.enter-btn {
    display: inline-block;
    position: relative;
    padding: 1rem 3rem;
    font-size: 1.1rem;
    font-family: var(--font-serif);
    color: var(--text-primary);
    background: transparent;
    border: 1px solid var(--accent-gold);
    text-decoration: none;
    cursor: pointer;
    transition: background 0.4s ease, color 0.3s ease, border-color 0.3s ease, box-shadow 0.4s ease;
    overflow: visible;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-top: var(--spacing-lg);
}

/* Hover: warm golden glow */
.enter-btn:hover {
    color: var(--text-primary);
    border-color: var(--accent-gold-light);
    background: linear-gradient(135deg,
        rgba(80, 60, 15, 0.9) 0%,
        rgba(50, 38, 12, 0.95) 50%,
        rgba(212, 175, 55, 0.12) 100%);
    box-shadow:
        0 0 20px rgba(212, 175, 55, 0.35),
        0 0 45px rgba(180, 140, 30, 0.15),
        inset 0 0 18px rgba(212, 175, 55, 0.1);
}

.enter-btn .btn-text {
    position: relative;
    z-index: 1;
}

.btn-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 0;
    height: 0;
    border-radius: 50%;
    background: radial-gradient(circle,
        rgba(212, 175, 55, 0.28) 0%,
        rgba(160, 120, 20, 0.12) 50%,
        transparent 70%);
    transition: width 0.5s cubic-bezier(0.22, 1, 0.36, 1), 
                height 0.5s cubic-bezier(0.22, 1, 0.36, 1);
    z-index: 0;
    pointer-events: none;
}

.enter-btn:hover .btn-glow {
    width: 350px;
    height: 350px;
}

/* Button press state (warp trigger) — stays visible briefly then fades */
.enter-btn.enter-btn-press {
    transform: scale(0.96);
    transition: transform 0.15s ease-out, opacity 0.4s ease 0.15s;
    opacity: 1;
    position: relative;
    z-index: 10000;
}

.enter-btn.enter-btn-press.btn-fade-out {
    opacity: 0;
}

/* Scroll-up bar: go to blogs (shows when user has scrolled down) */
.scroll-to-blogs-bar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 900;
    padding: var(--spacing-sm) var(--spacing-md);
    background: rgba(32, 26, 12, 0.92);
    border-bottom: 1px solid rgba(42, 42, 42, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
                opacity 0.3s ease,
                visibility 0s linear 0.35s;
}

.scroll-to-blogs-bar.is-visible {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
                opacity 0.3s ease,
                visibility 0s;
}

.scroll-to-blogs-link {
    padding: 0.6rem 1.75rem;
    font-size: 0.95rem;
}

/* Portal transition overlay */
.warp-overlay {
    position: fixed;
    inset: 0;
    z-index: 9998;
    pointer-events: none;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.12s ease, visibility 0s linear 0.12s;
}

.warp-overlay.warp-active {
    pointer-events: auto;
    opacity: 1;
    visibility: visible;
    transition: none;
}

.warp-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: block;
}

/* Vignette + fade divs kept in HTML for back-compat but unused visually */
.warp-vignette,
.warp-fade {
    display: none;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: var(--spacing-md);
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-muted);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.scroll-arrow {
    width: 24px;
    height: 24px;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(10px); }
}

/* Cosmic Scroll Section — lines grow, curve to orbits, dots travel */
.cosmic-scroll-section {
    position: relative;
    z-index: 1;
    height: 80vh;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: linear-gradient(180deg, transparent 0%, rgba(32, 26, 12, 0.6) 50%, var(--bg-secondary) 100%);
}

.cosmic-scroll-inner {
    width: 100%;
    height: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.cosmic-lines-svg {
    width: 100%;
    height: 100%;
    opacity: 0.7;
}

.cosmic-path {
    stroke-dasharray: 1400;
    stroke-dashoffset: 1400;
    transition: stroke-dashoffset 1.2s cubic-bezier(0.22, 1, 0.36, 1);
}

.cosmic-scroll-section.visible .cosmic-path-1 { stroke-dashoffset: 0; transition-delay: 0.1s; }
.cosmic-scroll-section.visible .cosmic-path-2 { stroke-dashoffset: 0; transition-delay: 0.25s; }
.cosmic-scroll-section.visible .cosmic-path-3 { stroke-dashoffset: 0; transition-delay: 0.4s; }

.cosmic-dot {
    filter: drop-shadow(0 0 8px rgba(212, 175, 55, 0.6));
    opacity: 0;
    transition: opacity 0.5s ease;
}

.cosmic-scroll-section.visible .cosmic-dot {
    opacity: 1;
    animation: cosmicDotTravel 6s linear infinite;
}

.cosmic-dot-2 { animation-delay: 0.8s; }
.cosmic-dot-3 { animation-delay: 1.6s; }

@keyframes cosmicDotTravel {
    0% { transform: translate(0, 0); }
    100% { transform: translate(1200px, 0); }
}

/* Philosophy Section — floating thoughts, constellation keywords */
.philosophy-section {
    position: relative;
    z-index: 1;
    padding: var(--spacing-xl) var(--spacing-md);
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    overflow: hidden;
}

.philosophy-stars {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.philosophy-constellation {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    max-width: 500px;
    height: 120px;
    opacity: 0.4;
    pointer-events: none;
}

.philosophy-constellation-line {
    stroke-dasharray: 500;
    stroke-dashoffset: 500;
    transition: stroke-dashoffset 1.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.philosophy-section.visible .philosophy-constellation-line {
    stroke-dashoffset: 0;
}

.philosophy-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto var(--spacing-lg);
}

.philosophy-text {
    margin-bottom: var(--spacing-md);
}

.philosophy-text h2 {
    font-family: var(--font-serif);
    font-size: 2.5rem;
    color: var(--accent-gold);
    margin-bottom: var(--spacing-md);
    font-weight: 400;
}

.philosophy-text p {
    color: var(--text-secondary);
    margin-bottom: var(--spacing-sm);
    font-size: 1.1rem;
    line-height: 1.8;
}

.philosophy-float {
    animation: philosophyFloat 12s ease-in-out infinite;
}

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

.philosophy-keywords {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
}

.philosophy-keywords .keyword {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    color: var(--accent-gold);
    letter-spacing: 0.05em;
    opacity: 0.9;
    animation: philosophyKeywordFloat 10s ease-in-out infinite;
}

.philosophy-keywords .keyword-curiosity { animation-delay: 0s; }
.philosophy-keywords .keyword-depth { animation-delay: 1.5s; }
.philosophy-keywords .keyword-exploration { animation-delay: 3s; }

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

/* About Section (kept for any legacy refs) */
.about-section {
    position: relative;
    z-index: 1;
    padding: var(--spacing-xl) var(--spacing-md);
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
}

.about-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
    align-items: center;
    margin-bottom: var(--spacing-lg);
}

.about-text h2 {
    font-family: var(--font-serif);
    font-size: 2.5rem;
    color: var(--accent-gold);
    margin-bottom: var(--spacing-md);
    font-weight: 400;
}

.about-text p {
    color: var(--text-secondary);
    margin-bottom: var(--spacing-sm);
    font-size: 1.1rem;
    line-height: 1.8;
}

.lotus-container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.lotus {
    width: 300px;
    height: 300px;
    opacity: 0.6;
}

.lotus-petal {
    fill: var(--accent-gold);
    opacity: 0.3;
    animation: lotusFloat 6s ease-in-out infinite;
}

.lotus-petal.p1 { animation-delay: 0s; }
.lotus-petal.p2 { animation-delay: 0.75s; }
.lotus-petal.p3 { animation-delay: 1.5s; }
.lotus-petal.p4 { animation-delay: 2.25s; }
.lotus-petal.p5 { animation-delay: 3s; }
.lotus-petal.p6 { animation-delay: 3.75s; }
.lotus-petal.p7 { animation-delay: 4.5s; }
.lotus-petal.p8 { animation-delay: 5.25s; }

.lotus-center {
    fill: var(--accent-gold);
    opacity: 0.5;
}

@keyframes lotusFloat {
    0%, 100% { transform: translateY(0) scale(1); opacity: 0.3; }
    50% { transform: translateY(-10px) scale(1.05); opacity: 0.5; }
}

.explore-blogs-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--accent-gold);
    text-decoration: none;
    font-family: var(--font-serif);
    font-size: 1.2rem;
    transition: all var(--transition-base);
    max-width: 1200px;
    margin: 0 auto;
    display: block;
    text-align: center;
}

.explore-blogs-btn:hover {
    color: var(--accent-gold-light);
    gap: 1rem;
}

.explore-blogs-btn svg {
    width: 20px;
    height: 20px;
    transition: transform var(--transition-base);
}

.explore-blogs-btn:hover svg {
    transform: translateX(5px);
}

/* Landing Footer */
.landing-footer {
    position: relative;
    z-index: 1;
    padding: var(--spacing-md);
    text-align: center;
    color: var(--text-muted);
    font-style: italic;
    border-top: 1px solid var(--border-color);
}

/* === NAVIGATION === */
.main-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: var(--spacing-sm) var(--spacing-md);
    background: rgba(30, 24, 10, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: var(--accent-gold);
    font-family: var(--font-devanagari);
    font-size: 1.3rem;
    line-height: 1.4;
}

.om-small {
    font-size: 1.5rem;
    color: var(--accent-gold);
}

.nav-links {
    display: flex;
    gap: var(--spacing-md);
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    transition: color var(--transition-fast);
    position: relative;
    font-family: var(--font-sans);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--accent-gold);
    transition: width var(--transition-base);
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--accent-gold);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

/* === BLOGS PAGE === */
/* Blogs page: stars-only animation (no lines) — same as home except no line draw/spark */
.blogs-stars-only {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.blogs-stars-svg {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blogs-constellation-stars {
    color: rgba(255, 255, 255, 0.95);
}

.blogs-star {
    opacity: 0;
    transform-origin: center;
    animation: blogsStarAppear 1.2s cubic-bezier(0.22, 1, 0.36, 1) forwards, blogsStarIlluminate 5.5s ease-in-out infinite;
}

.blogs-star:nth-child(1) { animation-delay: 0.2s, 0.5s; }
.blogs-star:nth-child(2) { animation-delay: 0.35s, 0.7s; }
.blogs-star:nth-child(3) { animation-delay: 0.5s, 0.9s; }
.blogs-star:nth-child(4) { animation-delay: 0.65s, 1.1s; }
.blogs-star:nth-child(5) { animation-delay: 0.8s, 1.3s; }
.blogs-star:nth-child(6) { animation-delay: 0.95s, 1.5s; }
.blogs-star:nth-child(7) { animation-delay: 0.4s, 0.8s; }
.blogs-star:nth-child(8) { animation-delay: 0.55s, 1s; }
.blogs-star:nth-child(9) { animation-delay: 0.7s, 1.2s; }
.blogs-star:nth-child(10) { animation-delay: 0.15s, 0.6s; }
.blogs-star:nth-child(11) { animation-delay: 0.3s, 0.85s; }
.blogs-star:nth-child(12) { animation-delay: 1s, 1.4s; }
.blogs-star:nth-child(13) { animation-delay: 1.15s, 1.6s; }
.blogs-star:nth-child(14) { animation-delay: 1.3s, 1.75s; }
.blogs-star:nth-child(15) { animation-delay: 1.45s, 1.9s; }
.blogs-star:nth-child(16) { animation-delay: 1.6s, 2.05s; }
.blogs-star:nth-child(17) { animation-delay: 1.1s, 1.55s; }
.blogs-star:nth-child(18) { animation-delay: 1.25s, 1.7s; }
.blogs-star:nth-child(19) { animation-delay: 1.4s, 1.85s; }
.blogs-star:nth-child(20) { animation-delay: 1.55s, 2s; }
.blogs-star:nth-child(21) { animation-delay: 1.7s, 2.15s; }

@keyframes blogsStarAppear {
    from { opacity: 0; transform: scale(0.4); }
    to { opacity: 1; transform: scale(1); }
}

@keyframes blogsStarIlluminate {
    0%, 100% { opacity: 0.75; }
    50% { opacity: 1; }
}

/* Blogs page: dark cream/vanilla theme matching home */
.blogs-page {
    padding-top: 80px;
    min-height: 100vh;
    position: relative;
    background: radial-gradient(ellipse 120% 80% at 50% 20%, #3a2e14 0%, #2b2416 35%, #1e1a0e 70%, #14110a 100%);
}

.blogs-page::before {
    content: '';
    position: fixed;
    inset: 0;
    z-index: 0;
    background: radial-gradient(ellipse 80% 50% at 50% 0%, rgba(180, 140, 40, 0.10) 0%, transparent 50%),
                radial-gradient(ellipse 60% 80% at 80% 60%, rgba(60, 45, 15, 0.35) 0%, transparent 50%);
    pointer-events: none;
}

/* Warp reveal: backdrop fades, vertical line draws top→bottom, then calm */
/* Hidden by default — only shown when arriving from home (warp) so "Back to Blogs" doesn't show black */
.blogs-reveal-overlay {
    position: fixed;
    inset: 0;
    z-index: 9999;
    pointer-events: none;
    visibility: hidden;
}

.blogs-reveal-overlay.is-active {
    visibility: visible;
}

.blogs-reveal-backdrop {
    position: absolute;
    inset: 0;
    background: #000;
    opacity: 1;
    transition: opacity 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.blogs-reveal-overlay.reveal-done .blogs-reveal-backdrop {
    opacity: 0;
}

.blogs-reveal-line {
    position: absolute;
    left: 50%;
    top: 0;
    width: 1px;
    height: 0;
    background: linear-gradient(to bottom, var(--accent-gold), rgba(212, 175, 55, 0.2));
    transform: translateX(-50%);
    transition: height 0.6s cubic-bezier(0.22, 1, 0.36, 1) 0.2s;
    box-shadow: 0 0 12px rgba(212, 175, 55, 0.4);
}

.blogs-reveal-overlay.reveal-done .blogs-reveal-line {
    height: 100vh;
}

/* From-warp: cards start hidden and stagger in */
body.from-warp .blog-list .blog-card {
    opacity: 0;
    animation: cardReveal 0.5s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

body.from-warp .blog-list .blog-card:nth-child(1) { animation-delay: 0.1s; }
body.from-warp .blog-list .blog-card:nth-child(2) { animation-delay: 0.15s; }
body.from-warp .blog-list .blog-card:nth-child(3) { animation-delay: 0.2s; }
body.from-warp .blog-list .blog-card:nth-child(4) { animation-delay: 0.25s; }
body.from-warp .blog-list .blog-card:nth-child(5) { animation-delay: 0.3s; }
body.from-warp .blog-list .blog-card:nth-child(6) { animation-delay: 0.35s; }
body.from-warp .blog-list .blog-card:nth-child(7) { animation-delay: 0.4s; }
body.from-warp .blog-list .blog-card:nth-child(8) { animation-delay: 0.45s; }
body.from-warp .blog-list .blog-card:nth-child(9) { animation-delay: 0.5s; }
body.from-warp .blog-list .blog-card:nth-child(n+10) { animation-delay: 0.55s; }

@media (prefers-reduced-motion: reduce) {
    .blogs-reveal-overlay { transition-duration: 0.2s; }
    .blogs-reveal-line { transition: none; height: 100vh; }
    body.from-warp .blog-list .blog-card { animation: none; opacity: 1; }
}

/* Hero Section — cosmic theme (transparent so gradient shows) */
.blogs-hero {
    position: relative;
    z-index: 1;
    padding: var(--spacing-xl) var(--spacing-md);
    text-align: center;
    background: transparent;
    border-bottom: 1px solid rgba(42, 42, 42, 0.6);
}

@media (max-width: 768px) {
    .blogs-hero {
        padding: var(--spacing-sm) var(--spacing-sm);
    }
    .lunar-hero {
        padding: var(--spacing-xs) var(--spacing-sm) var(--spacing-xs);
    }
    .blogs-container,
    .lunar-blog-list {
        padding-top: var(--spacing-sm);
    }
}

.hero-label {
    display: block;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

.hero-content h1 {
    font-family: var(--font-serif);
    font-size: clamp(3rem, 6vw, 5rem);
    color: var(--accent-gold);
    margin-bottom: var(--spacing-sm);
    font-weight: 400;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

.floating-stars {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
}

.star {
    position: absolute;
    color: var(--accent-gold);
    font-size: 1.5rem;
    opacity: 0.3;
    animation: float 8s ease-in-out infinite;
}

.s1 { top: 20%; left: 10%; animation-delay: 0s; }
.s2 { top: 40%; right: 15%; animation-delay: 1.5s; }
.s3 { bottom: 30%; left: 20%; animation-delay: 3s; }
.s4 { top: 60%; left: 50%; animation-delay: 4.5s; }
.s5 { bottom: 20%; right: 25%; animation-delay: 6s; }

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); opacity: 0.3; }
    50% { transform: translateY(-20px) rotate(180deg); opacity: 0.6; }
}

/* Filter Section */
.filter-section {
    padding: var(--spacing-md);
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 70px;
    z-index: 100;
}

.filter-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-md);
}

.filter-btn {
    padding: 0.6rem 1.5rem;
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    font-family: var(--font-sans);
    font-size: 0.9rem;
    cursor: pointer;
    transition: all var(--transition-fast);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.filter-btn:hover {
    border-color: var(--accent-gold);
    color: var(--accent-gold);
}

.filter-btn.active {
    background: var(--accent-gold);
    border-color: var(--accent-gold);
    color: var(--bg-primary);
}

.search-container {
    position: relative;
    max-width: 400px;
    margin: 0 auto;
}

.search-input {
    width: 100%;
    padding: 0.8rem 2.5rem 0.8rem 1rem;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    font-family: var(--font-sans);
    font-size: 0.95rem;
    transition: all var(--transition-fast);
}

.search-input:focus {
    outline: none;
    border-color: var(--accent-gold);
    background: var(--bg-secondary);
}

.search-icon {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    color: var(--text-muted);
    pointer-events: none;
}

/* Blogs Container */
.blogs-container {
    position: relative;
    z-index: 1;
    max-width: 1400px;
    margin: 0 auto;
    padding: var(--spacing-lg) var(--spacing-md);
}

/* === LUNAR ASTRO BLOG LIST (exact layout) === */
.lunar-hero {
    padding: var(--spacing-md) var(--spacing-md) var(--spacing-sm);
    border-bottom: 1px solid rgba(42, 42, 42, 0.6);
}

.lunar-hero .hero-content h1 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 400;
    text-transform: none;
    letter-spacing: 0.04em;
    color: var(--accent-gold);
    font-family: var(--font-devanagari);
    line-height: 1.4;
}

.lunar-hero .hero-label {
    margin-bottom: 0.25rem;
}

.lunar-blog-list {
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--spacing-md);
}

.lunar-filter-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-lg);
    padding-bottom: var(--spacing-sm);
    border-bottom: 1px solid rgba(42, 42, 42, 0.6);
}

.lunar-filter-row .search-container {
    max-width: 280px;
}

/* ═══════════════════════════════════════════
   EDITORIAL UNEVEN GRID — content-driven height
   ═══════════════════════════════════════════ */

.blog-list {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-auto-rows: auto;          /* height = content, not fixed rows */
    gap: 1.25rem;
    align-items: start;            /* each card is its own height */
    width: 100%;
}

/* ── Column spans only (rows auto-size to content) ── */
.blog-card                         { grid-column: span 4; }
.blog-card:nth-child(7n+1)         { grid-column: span 8; }   /* hero wide   */
.blog-card:nth-child(7n+2)         { grid-column: span 4; }   /* standard    */
.blog-card:nth-child(7n+4),
.blog-card:nth-child(7n+5)         { grid-column: span 6; }   /* half-half   */

/* ── Base card ──────────────────────────── */
.blog-card {
    position: relative;
    display: flex;
    flex-direction: column;
    background: rgba(35, 28, 14, 0.88);
    border: 1px solid rgba(74, 62, 40, 0.55);
    border-radius: 14px;
    overflow: hidden;
    cursor: pointer;
    min-height: 0;
    opacity: 0;
    transform: translateY(20px) scale(0.99);
    animation: cardLift 0.6s cubic-bezier(0.22, 1, 0.36, 1) forwards;
    transition:
        transform 0.4s cubic-bezier(0.22, 1, 0.36, 1),
        box-shadow 0.4s ease,
        border-color 0.4s ease;
    box-shadow:
        0 2px 8px rgba(0,0,0,0.3),
        0 8px 24px rgba(0,0,0,0.2),
        inset 0 1px 0 rgba(255,255,255,0.04);
}

.blog-card:hover {
    transform: translateY(-5px) scale(1.005);
    border-color: rgba(212, 175, 55, 0.45);
    box-shadow:
        0 4px 16px rgba(0,0,0,0.35),
        0 16px 48px rgba(0,0,0,0.3),
        0 0 0 1px rgba(212,175,55,0.18),
        inset 0 1px 0 rgba(255,255,255,0.06);
}

/* ── Image wrapper ──────────────────────── */
.blog-card-image {
    position: relative;
    display: block;
    width: 100%;
    flex: 0 0 auto;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: var(--bg-tertiary);
    border-radius: 0;
}

/* Bottom gradient fade on all card images */
.blog-card-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        transparent 40%,
        rgba(20, 16, 6, 0.55) 75%,
        rgba(20, 16, 6, 0.85) 100%
    );
    pointer-events: none;
    transition: opacity 0.4s ease;
}

/* Hero card — cinematic wide image */
.blog-card:nth-child(7n+1) .blog-card-image {
    aspect-ratio: 16 / 7;
}
/* Standard 4-col card — slightly taller image */
.blog-card:nth-child(7n+2) .blog-card-image,
.blog-card:nth-child(7n+3) .blog-card-image,
.blog-card:nth-child(7n+6) .blog-card-image,
.blog-card:nth-child(7n+7) .blog-card-image {
    aspect-ratio: 4 / 3;
}
/* Half-width cards — standard 16/9 */
.blog-card:nth-child(7n+4) .blog-card-image,
.blog-card:nth-child(7n+5) .blog-card-image {
    aspect-ratio: 16 / 9;
}

.blog-card-img-wrap {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
}

.blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.blog-card:hover .blog-card-image img {
    transform: scale(1.06);
}

/* Placeholder (no image) */
.blog-card-placeholder {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-gold);
    font-size: 2.5rem;
    opacity: 0.35;
    background: linear-gradient(145deg, rgba(48, 38, 16, 0.9), rgba(25, 20, 8, 0.95));
}

.blog-card-img-wrap .blog-card-placeholder {
    position: absolute;
}

/* ── Category chip on image ─────────────── */
.blog-card-chip {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 2;
    padding: 0.28rem 0.75rem;
    background: rgba(20, 16, 6, 0.78);
    color: var(--accent-gold);
    border: 1px solid rgba(212, 175, 55, 0.4);
    border-radius: 999px;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: background 0.3s ease, border-color 0.3s ease;
}

.blog-card:hover .blog-card-chip {
    background: rgba(212, 175, 55, 0.18);
    border-color: rgba(212, 175, 55, 0.65);
}

/* ── Hero overlay: title on top of image ── */
/* Hero card shows title/meta overlaid on image, no body below */
.blog-card.blog-card-hero .blog-card-body {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 3;
    padding: 3.5rem 1.75rem 1.6rem;
    background: linear-gradient(
        to top,
        rgba(14,11,4,0.97) 0%,
        rgba(14,11,4,0.82) 50%,
        transparent 100%
    );
    gap: 0.45rem;
    border-top: none;
}

.blog-card.blog-card-hero .blog-card-image {
    flex: 1 1 100%;
    aspect-ratio: unset;
    min-height: 100%;
}

.blog-card.blog-card-hero {
    flex-direction: column;
}

.blog-card.blog-card-hero .blog-card-excerpt {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    color: rgba(245, 237, 216, 0.8);
    font-size: 0.88rem;
}

.blog-card.blog-card-hero .blog-card-title {
    font-size: 1.6rem;
    line-height: 1.28;
    color: #fff;
}

.blog-card.blog-card-hero .blog-card-title a {
    color: #fff;
    background-image: linear-gradient(rgba(255,255,255,0.7), rgba(255,255,255,0.7));
}

.blog-card.blog-card-hero .blog-card-author-name,
.blog-card.blog-card-hero .blog-card-meta {
    color: rgba(245, 237, 216, 0.7);
}

/* Hero "read more" link color on overlay */
.blog-card.blog-card-hero .blog-card-read-more {
    color: var(--accent-gold-light);
}

/* ── Card body ──────────────────────────── */
.blog-card-body {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
    flex: 1;
    min-height: 0;
    padding: 1.2rem 1.4rem 1.3rem;
    border-top: 1px solid rgba(74, 62, 40, 0.35);
}

/* Category text label */
.blog-card-category {
    display: none; /* chip on image already shows category */
}

.blog-card-author-row {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    margin-bottom: 0.1rem;
}

.blog-card-avatar {
    flex-shrink: 0;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: rgba(212, 175, 55, 0.14);
    color: var(--accent-gold);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.72rem;
    border: 1px solid rgba(212, 175, 55, 0.3);
    letter-spacing: 0;
}

.blog-card-author-name {
    color: var(--text-muted);
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.blog-card-title {
    font-family: var(--font-serif);
    font-size: 1.15rem;
    line-height: 1.35;
    font-weight: 400;
    letter-spacing: -0.01em;
    margin: 0;
}

.blog-card-title a {
    color: var(--text-primary);
    text-decoration: none;
    background-image: linear-gradient(var(--accent-gold), var(--accent-gold));
    background-size: 0 1px;
    background-repeat: no-repeat;
    background-position: 0 100%;
    transition: background-size 0.35s ease, color 0.25s ease;
}

.blog-card:hover .blog-card-title a {
    color: var(--accent-gold);
    background-size: 100% 1px;
}

.blog-card-excerpt {
    color: var(--text-secondary);
    font-size: 0.875rem;
    line-height: 1.7;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    letter-spacing: 0;
    font-weight: 400;
}

/* Wide 6-col cards — 2 lines */
.blog-card:nth-child(7n+4) .blog-card-excerpt,
.blog-card:nth-child(7n+5) .blog-card-excerpt {
    -webkit-line-clamp: 2;
}

/* Read more — arrow slide */
.blog-card-read-more {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    color: var(--accent-gold);
    text-decoration: none;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-top: auto;
    padding-top: 0.5rem;
    transition: gap 0.3s ease, color 0.25s ease;
    font-family: var(--font-sans);
}

.blog-card-read-more::after {
    content: '→';
    display: inline-block;
    transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.blog-card-read-more:hover {
    color: var(--accent-gold-light);
    gap: 0.55rem;
}

.blog-card-read-more:hover::after {
    transform: translateX(4px);
}

/* Meta: date · comments */
.blog-card-meta {
    font-size: 0.72rem;
    color: var(--text-muted);
    letter-spacing: 0.03em;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding-top: 0.55rem;
    border-top: 1px solid rgba(74, 62, 40, 0.4);
    margin-top: 0.2rem;
    font-weight: 400;
    font-family: var(--font-sans);
}

.blog-card-meta .blog-card-meta-sep {
    display: inline-block;
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: rgba(168, 152, 120, 0.6);
    flex-shrink: 0;
}

/* Ornament — subtle shimmer sweep on hover */
.blog-card-ornament {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(
        125deg,
        transparent 30%,
        rgba(212, 175, 55, 0.045) 50%,
        transparent 70%
    );
    opacity: 0;
    transform: translateX(-100%);
    transition: opacity 0.1s ease;
    z-index: 1;
}

.blog-card:hover .blog-card-ornament {
    opacity: 1;
    animation: shimmerSweep 0.7s ease forwards;
}

@keyframes shimmerSweep {
    from { transform: translateX(-100%); }
    to   { transform: translateX(100%); }
}

@keyframes cardLift {
    from { opacity: 0; transform: translateY(20px) scale(0.99); }
    to   { opacity: 1; transform: translateY(0)   scale(1);    }
}

/* ── Responsive ─────────────────────────── */
@media (max-width: 1024px) {
    .blog-list {
        grid-template-columns: repeat(8, 1fr);
    }
    .blog-card                         { grid-column: span 4; }
    .blog-card:nth-child(7n+1)         { grid-column: span 8; }
    .blog-card:nth-child(7n+4),
    .blog-card:nth-child(7n+5)         { grid-column: span 4; }
}

@media (max-width: 768px) {
    .blog-list {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    .blog-card,
    .blog-card:nth-child(7n+1),
    .blog-card:nth-child(7n+2),
    .blog-card:nth-child(7n+4),
    .blog-card:nth-child(7n+5) {
        grid-column: span 1;
    }
    .blog-card:nth-child(7n+1) {
        grid-column: span 2;
    }
    /* All image ratios back to 16/9 on tablet */
    .blog-card .blog-card-image,
    .blog-card:nth-child(7n+1) .blog-card-image,
    .blog-card:nth-child(7n+2) .blog-card-image,
    .blog-card:nth-child(7n+3) .blog-card-image,
    .blog-card:nth-child(7n+4) .blog-card-image,
    .blog-card:nth-child(7n+5) .blog-card-image {
        aspect-ratio: 16 / 9;
    }
    /* Hero body back to normal stacked layout on tablet */
    .blog-card.blog-card-hero .blog-card-body {
        position: static;
        background: none;
        border-top: 1px solid rgba(74, 62, 40, 0.35);
        padding: 1rem 1.2rem;
    }
    .blog-card.blog-card-hero .blog-card-image {
        flex: 0 0 auto;
        aspect-ratio: 16 / 9;
        min-height: unset;
    }
    .blog-card.blog-card-hero .blog-card-title {
        font-size: 1.15rem;
        color: var(--text-primary);
    }
    .blog-card.blog-card-hero .blog-card-title a   { color: var(--text-primary); }
    .blog-card.blog-card-hero .blog-card-author-name,
    .blog-card.blog-card-hero .blog-card-meta      { color: var(--text-muted); }
    .blog-card.blog-card-hero .blog-card-excerpt   {
        display: -webkit-box;
        color: var(--text-secondary);
    }
    /* Reset excerpt clamp for all cards on tablet */
    .blog-card:nth-child(7n+4) .blog-card-excerpt,
    .blog-card:nth-child(7n+5) .blog-card-excerpt {
        -webkit-line-clamp: 3;
    }
}

@media (max-width: 640px) {
    .blog-list {
        grid-template-columns: 1fr;
        gap: 0.9rem;
    }
    .blog-card,
    .blog-card:nth-child(7n+1),
    .blog-card:nth-child(7n+2),
    .blog-card:nth-child(7n+4),
    .blog-card:nth-child(7n+5) {
        grid-column: span 1;
    }
    .blog-card-body {
        padding: 1rem 1.1rem 1.15rem;
    }
    .blog-card-title {
        font-size: 1.15rem;
    }
    .blog-card-excerpt {
        font-size: 0.9rem;
        -webkit-line-clamp: 3;
    }
}

@media (max-width: 540px) {
    .blog-card {
        padding: var(--spacing-sm);
    }
}

@media (max-width: 640px) {
    .blog-post.lunar-post {
        flex-direction: column;
    }
    .lunar-post-thumb {
        width: 100%;
        min-width: 100%;
    }
    .lunar-post-thumb-link {
        aspect-ratio: 16 / 9;
    }
}

/* Single post block - Lunar Astro exact: row = thumbnail left, body right (category, author+avatar, title, excerpt, Read More, date+comments) */
.blog-post.lunar-post {
    display: flex;
    gap: var(--spacing-md);
    align-items: flex-start;
    padding: var(--spacing-md) 0;
    border-bottom: 1px solid var(--border-color);
    cursor: pointer;
    transition: background 0.2s ease;
}

.blog-post.lunar-post:hover {
    background: rgba(255, 255, 255, 0.02);
}

/* Thumbnail - left, fixed size like Lunar Astro (e.g. 200x300 / 300x169) */
.lunar-post-thumb {
    flex-shrink: 0;
    width: 200px;
    min-width: 200px;
}

.lunar-post-thumb-link {
    display: block;
    width: 100%;
    aspect-ratio: 200 / 300;
    overflow: hidden;
    background: var(--bg-tertiary);
    text-decoration: none;
}

.lunar-post-thumb-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
}

.lunar-post-thumb-om {
    font-size: 2.5rem;
    color: var(--accent-gold);
    opacity: 0.35;
}

.lunar-post-thumb-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.lunar-post-body {
    flex: 1;
    min-width: 0;
}

.lunar-post-category {
    display: block;
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.25rem;
}

.lunar-post-author-row {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.35rem;
}

.lunar-post-author-avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--bg-tertiary);
    color: var(--accent-gold);
    font-size: 0.75rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.lunar-post-author {
    font-size: 0.85rem;
    color: var(--accent-gold);
}

.lunar-post-title {
    font-family: var(--font-serif);
    font-size: 1.35rem;
    font-weight: 500;
    line-height: 1.3;
    margin-bottom: 0.5rem;
}

.lunar-post-title a {
    color: var(--text-primary);
    text-decoration: none;
    transition: color 0.2s ease;
}

.lunar-post-title a:hover {
    color: var(--accent-gold);
}

.lunar-post-excerpt {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.55;
    margin-bottom: 0.5rem;
}

.lunar-post-read-more {
    display: inline-block;
    color: var(--accent-gold);
    font-size: 0.9rem;
    text-decoration: none;
    margin-bottom: 0.5rem;
}

.lunar-post-read-more:hover {
    text-decoration: underline;
}

.lunar-post-meta {
    font-size: 0.85rem;
    color: var(--text-muted);
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Loading State */
.loading-state {
    text-align: center;
    padding: var(--spacing-xl);
    color: var(--text-secondary);
}

.loader {
    position: relative;
    width: 80px;
    height: 80px;
    margin: 0 auto var(--spacing-md);
}

.loader-ring {
    position: absolute;
    width: 100%;
    height: 100%;
    border: 2px solid var(--border-color);
    border-top-color: var(--accent-gold);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.om-loader {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 2rem;
    color: var(--accent-gold);
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: var(--spacing-xl);
    color: var(--text-secondary);
}

.empty-state.hidden {
    display: none;
}

.empty-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto var(--spacing-md);
    opacity: 0.3;
}

.reset-btn {
    margin-top: var(--spacing-md);
    padding: 0.8rem 2rem;
    background: transparent;
    border: 1px solid var(--accent-gold);
    color: var(--accent-gold);
    cursor: pointer;
    transition: all var(--transition-fast);
    font-family: var(--font-sans);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.reset-btn:hover {
    background: var(--accent-gold);
    color: var(--bg-primary);
}

/* Load More */
.load-more-container {
    text-align: center;
    margin-top: var(--spacing-lg);
}

.load-more-btn {
    padding: 1rem 2.5rem;
    background: transparent;
    border: 1px solid var(--accent-gold);
    color: var(--accent-gold);
    font-family: var(--font-serif);
    font-size: 1rem;
    cursor: pointer;
    transition: all var(--transition-base);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.load-more-btn:hover {
    background: var(--accent-gold);
    color: var(--bg-primary);
}

.load-more-btn svg {
    width: 18px;
    height: 18px;
    transition: transform var(--transition-base);
}

.load-more-btn:hover svg {
    transform: translateY(3px);
}

/* About Section (blogs page) */
.about-author-section {
    position: relative;
    z-index: 1;
    padding: var(--spacing-xl) var(--spacing-md);
    background: rgba(36, 28, 14, 0.5);
    border-top: 1px solid rgba(42, 42, 42, 0.6);
}

.about-author-inner {
    max-width: 900px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
    align-items: center;
}

@media (min-width: 700px) {
    .about-author-inner {
        grid-template-columns: 280px 1fr;
        gap: var(--spacing-xl);
    }
}

.about-author-image {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid rgba(42, 42, 42, 0.6);
    box-shadow: 0 0 24px rgba(212, 175, 55, 0.1);
}

.about-author-image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    aspect-ratio: 1;
}

@media (max-width: 699px) {
    .about-author-image {
        max-width: 180px;
        margin: 0 auto;
    }
    .about-author-image img {
        max-width: 100%;
        max-height: 180px;
        width: auto;
        height: auto;
        object-fit: cover;
    }
    .about-author-inner {
        gap: var(--spacing-md);
    }
    .about-author-section {
        padding: var(--spacing-lg) var(--spacing-md);
    }
}

.about-author-content h2 {
    font-family: var(--font-serif);
    font-size: 2.25rem;
    color: var(--accent-gold);
    margin-bottom: 0.25rem;
    font-weight: 400;
}

.about-author-role {
    font-size: 0.95rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: var(--spacing-md);
}

.about-author-bio {
    color: var(--text-secondary);
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: var(--spacing-md);
}

.about-author-points {
    list-style: none;
    padding: 0;
    margin: 0;
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.8;
}

.about-author-points li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
}

.about-author-points li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.6em;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent-gold);
    opacity: 0.8;
}

/* Newsletter Section */
.newsletter-section {
    position: relative;
    z-index: 1;
    padding: var(--spacing-xl) var(--spacing-md);
    background: rgba(36, 28, 14, 0.6);
    border-top: 1px solid rgba(42, 42, 42, 0.6);
    text-align: center;
}

.newsletter-content h2 {
    font-family: var(--font-serif);
    font-size: 2.5rem;
    color: var(--accent-gold);
    margin-bottom: var(--spacing-sm);
}

.newsletter-content p {
    color: var(--text-secondary);
    margin-bottom: var(--spacing-md);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.newsletter-form {
    display: flex;
    gap: var(--spacing-sm);
    max-width: 500px;
    margin: 0 auto;
}

.newsletter-form input {
    flex: 1;
    padding: 1rem;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    font-family: var(--font-sans);
}

.newsletter-form input:focus {
    outline: none;
    border-color: var(--accent-gold);
}

.newsletter-form button {
    padding: 1rem 2rem;
    background: var(--accent-gold);
    border: 1px solid var(--accent-gold);
    color: var(--bg-primary);
    font-family: var(--font-serif);
    cursor: pointer;
    transition: all var(--transition-fast);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.newsletter-form button:hover {
    background: var(--accent-gold-light);
    border-color: var(--accent-gold-light);
}

/* === BLOG DETAIL PAGE — same cosmic theme as blogs listing === */
.blog-detail-page {
    padding-top: 80px;
    min-height: 100vh;
    position: relative;
    background: radial-gradient(ellipse 120% 80% at 50% 20%, #3a2e14 0%, #2b2416 35%, #1e1a0e 70%, #14110a 100%);
}

.blog-detail-page::before {
    content: '';
    position: fixed;
    inset: 0;
    z-index: 0;
    background: radial-gradient(ellipse 80% 50% at 50% 0%, rgba(180, 140, 40, 0.10) 0%, transparent 50%),
                radial-gradient(ellipse 60% 80% at 80% 60%, rgba(60, 45, 15, 0.35) 0%, transparent 50%);
    pointer-events: none;
}

.back-link {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-secondary);
    text-decoration: none;
    font-family: var(--font-sans);
    margin-bottom: var(--spacing-md);
    transition: all var(--transition-fast);
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 var(--spacing-md);
}

.back-link:hover {
    color: var(--accent-gold);
    gap: 1rem;
}

.back-link svg {
    width: 20px;
    height: 20px;
    transition: transform var(--transition-fast);
}

.back-link:hover svg {
    transform: translateX(-3px);
}

.blog-article {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
    padding: var(--spacing-lg) var(--spacing-md);
}

.article-header {
    margin-bottom: var(--spacing-lg);
    text-align: center;
    padding-bottom: var(--spacing-lg);
    border-bottom: 1px solid rgba(42, 42, 42, 0.6);
}

.article-meta {
    display: flex;
    justify-content: center;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-md);
    flex-wrap: wrap;
}

.article-category {
    padding: 0.4rem 1rem;
    background: rgba(212, 175, 55, 0.12);
    color: var(--accent-gold);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    border: 1px solid rgba(212, 175, 55, 0.25);
    border-radius: 4px;
}

.article-date {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.article-title {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 4.5vw, 3.25rem);
    color: var(--accent-gold);
    margin-bottom: var(--spacing-md);
    line-height: 1.2;
    font-weight: 400;
    letter-spacing: -0.01em;
}

.article-excerpt {
    font-size: 1.2rem;
    color: var(--text-secondary);
    line-height: 1.8;
    font-style: italic;
    letter-spacing: 0;
    font-family: var(--font-serif);
}

.article-image {
    position: relative;
    width: 100%;
    height: 400px;
    margin-bottom: var(--spacing-lg);
    background: var(--bg-tertiary);
    overflow: hidden;
    border-radius: 4px;
}

.article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.article-image .image-placeholder {
    position: absolute;
    inset: 0;
}

.image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-gold);
    opacity: 0.3;
}

.article-content {
    font-size: 1.08rem;
    line-height: 1.9;
    color: var(--text-primary);
    margin-bottom: var(--spacing-xl);
    letter-spacing: -0.003em;
    font-weight: 400;
}

.article-content p {
    margin-bottom: 1.6rem;
}

.article-content h2,
.article-content h3 {
    font-family: var(--font-serif);
    color: var(--text-primary);
    margin-top: 2.75rem;
    margin-bottom: 0.85rem;
    font-weight: 400;
    letter-spacing: -0.01em;
}

.article-content h2 {
    font-size: 1.8rem;
    line-height: 1.25;
    border-bottom: 1px solid rgba(74, 62, 40, 0.5);
    padding-bottom: 0.4rem;
}

.article-content h3 {
    font-size: 1.35rem;
    line-height: 1.35;
    color: var(--accent-gold);
}

.article-content ul,
.article-content ol {
    margin-left: 1.75rem;
    margin-bottom: 1.5rem;
}

.article-content li {
    margin-bottom: 0.6rem;
    line-height: 1.8;
}

.article-content strong {
    font-weight: 600;
    color: var(--text-primary);
}

.article-content em {
    font-style: italic;
    color: var(--text-secondary);
}

.article-content blockquote {
    border-left: 3px solid var(--accent-gold);
    margin: 2rem 0;
    padding: 0.75rem 1.5rem;
    background: rgba(212, 175, 55, 0.05);
    border-radius: 0 6px 6px 0;
    font-style: italic;
    color: var(--text-secondary);
    font-size: 1.1rem;
    line-height: 1.75;
}

.content-loading {
    text-align: center;
    padding: var(--spacing-xl);
}

/* Author Section */
.author-section {
    position: relative;
    z-index: 1;
    display: flex;
    gap: var(--spacing-md);
    padding: var(--spacing-md);
    background: rgba(36, 28, 14, 0.5);
    border: 1px solid rgba(42, 42, 42, 0.6);
    margin-bottom: var(--spacing-lg);
}

.author-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--bg-tertiary);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.om-avatar {
    font-size: 2rem;
    color: var(--accent-gold);
}

.author-name {
    font-family: var(--font-serif);
    font-size: 1.2rem;
    color: var(--accent-gold);
    margin-bottom: 0.3rem;
}

.author-bio {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* Share Section */
.share-section {
    position: relative;
    z-index: 1;
    padding: var(--spacing-md);
    border-top: 1px solid rgba(42, 42, 42, 0.6);
    border-bottom: 1px solid rgba(42, 42, 42, 0.6);
    margin-bottom: var(--spacing-lg);
}

.share-section p {
    color: var(--text-secondary);
    margin-bottom: var(--spacing-sm);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.share-buttons {
    display: flex;
    gap: var(--spacing-sm);
}

.share-btn {
    width: 40px;
    height: 40px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    cursor: pointer;
    transition: all var(--transition-fast);
    display: flex;
    align-items: center;
    justify-content: center;
}

.share-btn:hover {
    border-color: var(--accent-gold);
    color: var(--accent-gold);
    background: rgba(212, 175, 55, 0.1);
}

.share-btn svg {
    width: 20px;
    height: 20px;
}

/* Comments Section */
.comments-section {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
    padding: var(--spacing-lg) var(--spacing-md);
    border-top: 1px solid rgba(42, 42, 42, 0.6);
}

.comments-title {
    font-family: var(--font-serif);
    font-size: 1.75rem;
    color: var(--accent-gold);
    margin-bottom: var(--spacing-md);
    font-weight: 400;
}

.comments-list {
    margin-bottom: var(--spacing-lg);
}

.comments-empty {
    color: var(--text-muted);
    font-style: italic;
    padding: var(--spacing-md) 0;
}

.comment-item {
    padding: var(--spacing-md) 0;
    border-bottom: 1px solid var(--border-color);
}

.comment-item:last-child {
    border-bottom: none;
}

.comment-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.comment-author {
    color: var(--accent-gold);
    font-weight: 500;
}

.comment-date {
    color: var(--text-muted);
    font-size: 0.85rem;
}

.comment-text {
    color: var(--text-secondary);
    line-height: 1.6;
}

.comment-form {
    margin-top: var(--spacing-md);
}

.comment-form .form-row {
    margin-bottom: var(--spacing-sm);
}

.comment-form input,
.comment-form textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    font-family: var(--font-sans);
    font-size: 1rem;
    transition: border-color 0.2s ease;
}

.comment-form input:focus,
.comment-form textarea:focus {
    outline: none;
    border-color: var(--accent-gold);
}

.comment-form textarea {
    resize: vertical;
    min-height: 100px;
}

.comment-submit {
    padding: 0.75rem 2rem;
    background: var(--accent-gold);
    border: 1px solid var(--accent-gold);
    color: var(--bg-primary);
    font-family: var(--font-serif);
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease;
}

.comment-submit:hover {
    background: var(--accent-gold-light);
    border-color: var(--accent-gold-light);
}

/* Related Posts - Continue Your Journey */
.related-posts {
    position: relative;
    z-index: 1;
    max-width: 1400px;
    margin: 0 auto;
    padding: var(--spacing-xl) var(--spacing-md);
    border-top: 1px solid rgba(42, 42, 42, 0.6);
}

.related-posts h2 {
    font-family: var(--font-serif);
    font-size: 2.5rem;
    color: var(--accent-gold);
    margin-bottom: var(--spacing-lg);
    text-align: center;
}

/* 3 cards centered, equal width */
.related-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 320px));
    gap: var(--spacing-md);
    max-width: 1020px;
    margin: 0 auto;
    justify-content: center;
    align-items: start;
}

/* Related card: vertical layout (image top, content below) */
.related-grid .blog-card {
    display: flex;
    flex-direction: column;
    min-height: 0;
    max-height: none;
}

.related-grid .blog-card-image {
    flex-shrink: 0;
    aspect-ratio: 16 / 10;
    max-height: 200px;
}

.related-grid .blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.related-grid .blog-card-image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-tertiary);
    color: var(--accent-gold);
    font-size: 2rem;
    opacity: 0.4;
}

.related-grid .blog-card-content {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding: var(--spacing-sm) 0 0;
    flex: 1;
    min-width: 0;
}

.related-grid .blog-card-category {
    display: block;
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.related-grid .blog-card-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    margin-top: auto;
}

.related-grid .blog-card-meta > span {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Read More link: text + arrow aligned in one row */
.related-grid .blog-card-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--accent-gold);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color var(--transition-fast), gap var(--transition-fast);
}

.related-grid .blog-card-link:hover {
    color: var(--accent-gold-light);
    gap: 0.6rem;
}

.related-grid .blog-card-link svg {
    width: 1em;
    height: 1em;
    flex-shrink: 0;
    vertical-align: middle;
}

/* === FOOTER === */
.main-footer {
    position: relative;
    z-index: 1;
    padding: var(--spacing-lg) var(--spacing-md);
    background: rgba(5, 5, 8, 0.85);
    border-top: 1px solid rgba(42, 42, 42, 0.6);
    margin-top: var(--spacing-xl);
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-md);
    text-align: center;
}

.footer-om {
    font-size: 2rem;
    color: var(--accent-gold);
    display: block;
    margin-bottom: var(--spacing-sm);
}

.footer-quote {
    font-style: italic;
    color: var(--text-secondary);
    font-family: var(--font-serif);
}

.copyright {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* === ANIMATIONS === */
.animate-fade-in {
    animation: fadeIn 1s ease forwards;
}

.animate-fade-in-delay {
    animation: fadeIn 1s ease 0.3s forwards;
    opacity: 0;
}

.animate-slide-up {
    animation: slideUp 1s ease forwards;
    opacity: 0;
}

.animate-scale-in {
    animation: scaleIn 0.8s ease 0.6s forwards;
    opacity: 0;
}

.animate-bounce {
    animation: bounce 2s infinite;
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
    .about-content {
        grid-template-columns: 1fr;
    }
    
    .blogs-grid {
        grid-template-columns: 1fr;
    }
    
    .nav-links {
        gap: var(--spacing-sm);
        font-size: 0.85rem;
    }
    
    .filter-container {
        gap: var(--spacing-xs);
    }
    
    .filter-btn {
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .related-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin-left: auto;
        margin-right: auto;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .related-grid {
        grid-template-columns: repeat(2, minmax(0, 320px));
        max-width: 680px;
    }
}

@media (max-width: 480px) {
    :root {
        --spacing-md: 1.5rem;
        --spacing-lg: 3rem;
        --spacing-xl: 4rem;
    }
    
    .main-title {
        font-size: 2rem;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .article-title {
        font-size: 2rem;
    }
}
