/*
Theme Name: ConvertThis Theme
Description: Modern, premium, high-performance unit conversion theme.
Author: Antigravity
Version: 1.1.0
*/

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 5px;
}

.dark ::-webkit-scrollbar-thumb {
    background: #1e293b;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.category-card,
.pair-card {
    animation: fadeIn 0.4s ease-out forwards;
}

/* --- HUD & BLOCK SYSTEM --- */
.neo-card {
    border: 4px solid #000;
    box-shadow: 8px 8px 0px 0px #000;
    transition: all 0.2s ease;
}

.neo-card:hover {
    transform: translate(-2px, -2px);
    box-shadow: 12px 12px 0px 0px #000;
}

.technical-label {
    font-size: 8px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    opacity: 0.3;
    font-family: 'Space Grotesk', sans-serif;
}

.content-hud-system .prose blockquote {
    border-left: 8px solid #00F0FF;
    background: #f8fafc;
    padding: 2rem;
    font-style: italic;
    font-weight: 700;
    font-size: 1.25rem;
}

.content-hud-system .prose ul li::before {
    background-color: #00F0FF !important;
}

.content-hud-system .prose h3 {
    text-transform: uppercase;
    letter-spacing: -0.05em;
    font-weight: 900;
    border-bottom: 4px solid #00F0FF;
    display: inline-block;
}

/* --- NEO-BRUTALIST BLOG SYSTEM --- */
:root {
    --neo-lime: #EAFF00;
    --neo-cyan: #00F0FF;
    --neo-border: 4px;
    --neo-shadow: 8px;
}

.bg-neo-lime {
    background-color: var(--neo-lime);
}

.bg-neo-cyan {
    background-color: var(--neo-cyan);
}

.neo-brutal-card {
    background: white;
    border: var(--neo-border) solid #000;
    box-shadow: var(--neo-shadow) var(--neo-shadow) 0px 0px #000;
}

.neo-tag {
    background: var(--neo-cyan);
    color: #000;
    font-weight: 900;
    text-transform: uppercase;
    padding: 4px 12px;
    font-size: 10px;
    border: 3px solid #000;
    display: inline-block;
}

.neo-button-main {
    background: var(--neo-cyan);
    color: black;
    font-weight: 900;
    text-transform: uppercase;
    padding: 12px 24px;
    border: var(--neo-border) solid #000;
    box-shadow: 4px 4px 0px 0px #000;
    transition: all 0.1s ease;
}

.neo-button-main:active {
    transform: translate(2px, 2px);
    box-shadow: 1px 1px 0px 0px #000;
}

/* Sidebar Specifics */
.sidebar-input {
    border: 3px solid #000;
    padding: 12px;
    width: 100%;
    font-weight: 800;
    text-transform: uppercase;
    font-size: 14px;
    color: #000;
}

.sidebar-input::placeholder {
    color: #000;
    opacity: 0.5;
}

.category-list-item {
    border: 2px solid #000;
    padding: 10px 15px;
    margin-bottom: -2px;
    font-weight: 800;
    text-transform: uppercase;
    font-size: 11px;
    background: white;
}

/* Pro Tip & Logic Boxes */
.pro-tip-box {
    background: var(--neo-cyan);
    border: 4px solid #000;
    padding: 24px;
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.logic-box {
    border: 3px solid #000;
    padding: 20px;
    background: white;
}

.stat-bar-container {
    height: 8px;
    background: #e2e8f0;
    border: 1px solid #000;
    margin-top: 4px;
}

/* Blog Detail Aesthetics */
.post-content-body {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 500;
    line-height: 1.8;
    color: #1a1a1a;
    font-size: 1.125rem;
}

.post-content-body h2 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2.5rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: -0.05em;
    margin-top: 3rem;
    margin-bottom: 1.5rem;
    color: #000;
    line-height: 1.1;
}

.post-content-body h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: -0.025em;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    color: #000;
    border-bottom: 4px solid var(--neo-cyan);
    display: inline-block;
}

.post-content-body p {
    margin-bottom: 1.5rem;
}

.post-content-body ul {
    margin-bottom: 2rem;
    padding-left: 1.5rem;
    list-style-type: none;
}

.post-content-body ul li {
    position: relative;
    margin-bottom: 0.75rem;
    padding-left: 1.5rem;
}

.post-content-body ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.6rem;
    width: 8px;
    height: 8px;
    background-color: var(--neo-cyan);
    border: 2px solid #000;
}

.post-content-body a {
    color: #000;
    font-weight: 800;
    text-decoration: none;
    background-image: linear-gradient(transparent 70%, var(--neo-lime) 30%);
    background-repeat: no-repeat;
    background-size: 100% 100%;
    transition: all 0.2s ease;
    padding: 0 2px;
}

.post-content-body a:hover {
    background-image: linear-gradient(transparent 0%, var(--neo-cyan) 100%);
    color: #000;
}

.key-takeaways-block {
    background: #f8fafc;
    border-left: 6px solid var(--neo-cyan);
    padding: 32px;
    margin-bottom: 48px;
    border-top: 1px solid #000;
    border-right: 1px solid #000;
    border-bottom: 2px solid #000;
}

.key-takeaways-block h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 900;
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 0.1em;
    margin-bottom: 16px;
    color: #000;
    border-bottom: none;
    display: block;
    margin-top: 0;
}

.key-takeaways-block ul {
    margin: 0;
    padding-left: 20px;
    list-style-type: square;
}

.key-takeaways-block li {
    font-weight: 600;
    margin-bottom: 8px;
}