/* ReactNativeRelay - Vibrant Teal / Energetic */
:root {
    /* Colors */
    --color-primary: #0b7285;
    --color-primary-hover: #095d6a;
    --color-primary-light: rgba(8, 145, 178, 0.07);
    --color-secondary: #6366f1;
    --color-accent: #f43f5e;
    --color-background: #f0fdfa;
    --color-surface: #ffffff;
    --color-text: #0f3d3a;
    --color-text-muted: #3d7a7c;
    --color-border: #ccfbf1;

    /* Header */
    --header-bg: #ffffff;
    --header-border: none;
    --header-shadow: 0 2px 12px rgba(8, 145, 178, 0.1);
    --header-height: 68px;
    --logo-font-size: 1.375rem;
    --logo-font-weight: 800;

    /* Footer */
    --footer-bg: #042f2e;
    --footer-text: #5eead4;
    --footer-accent: #ffffff;

    /* Typography */
    --font-family-sans: 'Poppins', system-ui, sans-serif;
    --font-family-heading: 'Poppins', system-ui, sans-serif;
    --font-size-base: 1.0625rem;
    --font-weight-heading: 700;
    --line-height-base: 1.7;
    --line-height-heading: 1.25;

    /* Layout */
    --max-width-content: 1220px;
    --border-radius: 0.75rem;
    --border-radius-lg: 1.25rem;
    --spacing-lg: 1.5rem;
    --spacing-xl: 2.25rem;

    /* Cards */
    --card-border: none;
    --card-shadow: 0 2px 8px rgba(8, 145, 178, 0.06);
    --card-shadow-hover: 0 8px 24px rgba(8, 145, 178, 0.14);
    --card-transform-hover: translateY(-3px);
    --card-image-height: 210px;
    --card-padding: 1.5rem;

    /* Decorative */
    --accent-gradient: linear-gradient(135deg, #0b7285, #6366f1);
    --header-decoration: linear-gradient(90deg, #0b7285, #6366f1, #f43f5e);
    --code-bg: #042f2e;
    --code-text: #5eead4;

    /* Shadows */
    --shadow-sm: 0 1px 4px rgba(8, 145, 178, 0.06);
    --shadow-md: 0 4px 12px rgba(8, 145, 178, 0.08);
    --shadow-lg: 0 8px 28px rgba(8, 145, 178, 0.12);

    /* Tags */
    --tag-bg: rgba(8, 145, 178, 0.08);
    --tag-border: none;
    --tag-radius: 9999px;
    --tag-font-size: 0.8125rem;

    /* Pagination */
    --pagination-radius: 9999px;
    --pagination-active-bg: #0b7285;
    --pagination-active-text: #ffffff;

    /* Nav */
    --nav-link-font-weight: 600;
}

/* Header decoration bar */
.site-header::after {
    height: 3px;
    background: linear-gradient(90deg, #0b7285, #6366f1, #f43f5e);
}

/* Card left accent border */
.article-card {
    border-left: 4px solid #0b7285;
    transition: all 0.25s ease;
}
.article-card:nth-child(3n+2) {
    border-left-color: #6366f1;
}
.article-card:nth-child(3n+3) {
    border-left-color: #f43f5e;
}
.article-card:hover {
    border-left-width: 6px;
}

/* Colorful category labels */
.article-card-category {
    color: #0b7285;
    font-weight: 700;
    font-size: 0.75rem;
    letter-spacing: 0.06em;
}

/* Pill-shaped tags with colors */
.tag-badge {
    padding: 0.375rem 0.875rem;
    font-weight: 500;
    color: #0b7285;
    transition: all 0.2s ease;
}
.tag-badge:hover {
    background: #0b7285;
    color: #ffffff;
    transform: scale(1.05);
}

/* Fun sidebar titles */
.sidebar-title,
.category-nav-title {
    border-bottom: 3px solid #0b7285;
    font-weight: 700;
    padding-bottom: 0.625rem;
}

/* Vibrant blockquote */
.prose blockquote {
    border-left: 4px solid #6366f1;
    background: rgba(99, 102, 241, 0.06);
    border-radius: 0 0.75rem 0.75rem 0;
}

/* Footer gradient top */
.site-footer {
    border-top: 3px solid transparent;
    border-image: linear-gradient(90deg, #0b7285, #6366f1, #f43f5e) 1;
}

/* Author avatar ring */
.author-avatar {
    box-shadow: 0 0 0 3px #0b7285, 0 0 0 6px rgba(8, 145, 178, 0.2);
}

/* Pagination pill hover */
.pagination-link:hover {
    background: rgba(8, 145, 178, 0.08);
    border-color: #0b7285;
    color: #0b7285;
}

/* Language Picker - Colorful bouncy pills */
.language-picker-section {
    background: linear-gradient(180deg, rgba(8, 145, 178, 0.03), transparent);
    padding: 2.5rem 2rem;
    border-radius: 1.25rem;
    border-top: none;
}
.language-picker-title {
    font-weight: 800;
    font-size: 1.5rem;
    color: #0f3d3a;
}
.language-picker-grid {
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 0.625rem;
}
.language-picker-item {
    border-radius: 9999px;
    padding: 0.625rem 1rem;
    border: 2px solid #ccfbf1;
    background: #ffffff;
    flex-direction: row;
    gap: 0.375rem;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.language-picker-item:nth-child(3n+1) { border-color: rgba(8, 145, 178, 0.3); }
.language-picker-item:nth-child(3n+2) { border-color: rgba(99, 102, 241, 0.3); }
.language-picker-item:nth-child(3n+3) { border-color: rgba(244, 63, 94, 0.3); }
.language-picker-item:hover {
    transform: translateY(-3px) scale(1.04);
    box-shadow: 0 6px 20px rgba(8, 145, 178, 0.15);
}
.language-picker-item:nth-child(3n+1):hover { border-color: #0b7285; background: rgba(8, 145, 178, 0.06); }
.language-picker-item:nth-child(3n+2):hover { border-color: #6366f1; background: rgba(99, 102, 241, 0.06); }
.language-picker-item:nth-child(3n+3):hover { border-color: #f43f5e; background: rgba(244, 63, 94, 0.06); }
.language-picker-item.active {
    background: #0b7285;
    border-color: #0b7285;
    box-shadow: 0 4px 16px rgba(8, 145, 178, 0.3);
}
.language-picker-item .language-native {
    font-size: 0.875rem;
    font-weight: 700;
}
.language-picker-item .language-name {
    font-size: 0.625rem;
    margin-top: 0;
}
