/* ============================================
   Cloud Skeptics — Parody Tech Blog Styles
   Exaggerated • Satirical • Cloudflare Optimized
   Separate from HTML for easy discovery
   ============================================ */

body {
    font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

.logo-font,
h1,
h2,
h3 {
    font-family: 'Space Grotesk', 'Inter', system-ui, sans-serif;
}

.hero-bg {
    background: linear-gradient(135deg, #0f172a 0%, #1e2937 55%, #0f172a 100%);
}

.cloud-bg {
    background-image:
        radial-gradient(circle at 22% 28%, rgba(59, 130, 246, 0.16) 0%, transparent 46%),
        radial-gradient(circle at 78% 68%, rgba(245, 158, 11, 0.10) 0%, transparent 48%);
}

#post-body p + p {
    margin-top: 1.35rem;
}

#post-body p:first-of-type::first-letter {
    font-family: 'Space Grotesk', 'Inter', system-ui, sans-serif;
    font-weight: 700;
    font-size: 1.15em;
}

.post-card,
.manifesto-card {
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1),
                border-color 0.35s cubic-bezier(0.4, 0, 0.2, 1),
                box-shadow 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.post-card:hover {
    transform: translateY(-8px);
    border-color: #3b82f6;
    box-shadow: 0 20px 40px -12px rgba(0, 0, 0, 0.45);
}

.ad-slot {
    border: 1px dashed #3f3f46;
    background: repeating-linear-gradient(
        -45deg,
        transparent,
        transparent 8px,
        rgba(63, 63, 70, 0.16) 8px,
        rgba(63, 63, 70, 0.16) 16px
    );
}

.skeptic-badge {
    background: linear-gradient(90deg, #f59e0b, #ef4444);
}

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

.animate-float {
    animation: float 6s ease-in-out infinite;
}

.animate-float-delay {
    animation: float 7.5s ease-in-out infinite 1.2s;
}

button,
a {
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

button:active,
a:active {
    transform: scale(0.98);
}

*:focus-visible {
    outline: 2px solid #3b82f6;
    outline-offset: 2px;
}

html {
    scroll-behavior: smooth;
}

@media (max-width: 768px) {
    h1 {
        font-size: 2.75rem;
        line-height: 1.05;
    }
}

@media (prefers-reduced-motion: reduce) {
    .animate-float,
    .animate-float-delay,
    .post-card {
        animation: none;
        transition: none;
    }

    html {
        scroll-behavior: auto;
    }
}
