/* FatCat Activism - Custom Styles */

/* Text gradient */
.text-gradient {
    background: linear-gradient(135deg, #3a89ff 0%, #9580ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Glass morphism card */
.glass-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 1rem;
    transition: all 0.3s ease;
}

.glass-card:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(58, 137, 255, 0.1);
}

/* Fade-in animation */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered delays */
.fade-in-delay-1 { transition-delay: 0.1s; }
.fade-in-delay-2 { transition-delay: 0.2s; }
.fade-in-delay-3 { transition-delay: 0.3s; }
.fade-in-delay-4 { transition-delay: 0.4s; }

/* Prose dark overrides for article content */
.prose-dark {
    color: #d1d5db;
    line-height: 1.8;
}

.prose-dark h1,
.prose-dark h2,
.prose-dark h3,
.prose-dark h4 {
    color: #f3f4f6;
    font-weight: 700;
    margin-top: 2em;
    margin-bottom: 0.75em;
}

.prose-dark h2 {
    font-size: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding-bottom: 0.5em;
}

.prose-dark h3 {
    font-size: 1.25rem;
}

.prose-dark p {
    margin-bottom: 1.25em;
}

.prose-dark a {
    color: #3a89ff;
    text-decoration: underline;
    text-underline-offset: 2px;
    transition: color 0.2s ease;
}

.prose-dark a:hover {
    color: #9580ff;
}

.prose-dark ul,
.prose-dark ol {
    margin-bottom: 1.25em;
    padding-left: 1.5em;
}

.prose-dark ul {
    list-style-type: disc;
}

.prose-dark ol {
    list-style-type: decimal;
}

.prose-dark li {
    margin-bottom: 0.5em;
}

.prose-dark blockquote {
    border-left: 3px solid #3a89ff;
    padding-left: 1em;
    margin: 1.5em 0;
    color: #9ca3af;
    font-style: italic;
}

.prose-dark strong {
    color: #f3f4f6;
    font-weight: 600;
}

.prose-dark em {
    color: #d1d5db;
}

.prose-dark hr {
    border-color: rgba(255, 255, 255, 0.08);
    margin: 2em 0;
}

.prose-dark img {
    border-radius: 0.75rem;
    margin: 1.5em 0;
}

.prose-dark table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5em 0;
}

.prose-dark th,
.prose-dark td {
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 0.75em 1em;
    text-align: left;
}

.prose-dark th {
    background: rgba(255, 255, 255, 0.05);
    color: #f3f4f6;
    font-weight: 600;
}

/* Hero gradient background */
.hero-gradient {
    background: radial-gradient(ellipse at 50% 0%, rgba(58, 137, 255, 0.08) 0%, transparent 60%),
                radial-gradient(ellipse at 80% 50%, rgba(149, 128, 255, 0.05) 0%, transparent 50%);
}

/* Tag pill */
.tag-pill {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    font-size: 0.75rem;
    border-radius: 9999px;
    background: rgba(58, 137, 255, 0.1);
    color: #3a89ff;
    border: 1px solid rgba(58, 137, 255, 0.2);
    transition: all 0.2s ease;
}

.tag-pill:hover {
    background: rgba(58, 137, 255, 0.2);
    border-color: rgba(58, 137, 255, 0.4);
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Selection color */
::selection {
    background: rgba(58, 137, 255, 0.3);
    color: #fff;
}

/* Scrollbar styling */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #0a0a0a;
}

::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* Focus styles */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
    outline: 2px solid #3a89ff;
    outline-offset: 2px;
}

/* Form input styles */
.form-input {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 0.5rem;
    padding: 0.75rem 1rem;
    color: #f3f4f6;
    transition: border-color 0.2s ease;
    width: 100%;
}

.form-input:focus {
    border-color: #3a89ff;
    outline: none;
    box-shadow: 0 0 0 3px rgba(58, 137, 255, 0.1);
}

.form-input::placeholder {
    color: #6b7280;
}
