
:root {
    --bg-color: #0b0f19;       
    --panel-color: #111827;    
    --text-primary: #e5e7eb;   
    --text-muted: #9ca3af;     
    --accent: #38bdf8;         
    --border: #1f2937;         
    --font-mono: 'JetBrains Mono', 'Fira Code', 'Courier New', monospace;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body.cracked-theme {
    background-color: var(--bg-color);
    color: var(--text-primary);
    font-family: var(--font-mono);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    letter-spacing: -0.025em;
}


.main-content {
    flex: 1;
    max-width: 768px;
    width: 100%;
    margin: 0 auto;
    padding: 3rem 1.5rem;
}


.hacker-nav {
    border-bottom: 1px solid var(--border);
    background-color: rgba(11, 15, 25, 0.8);
    backdrop-filter: blur(8px);
    position: sticky;
    top: 0;
    z-index: 50;
}

.nav-container {
    max-width: 768px;
    margin: 0 auto;
    padding: 1.25rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    color: var(--accent);
    text-decoration: none;
    font-weight: 700;
}

.nav-logo:hover {
    opacity: 0.8;
}

.nav-links {
    display: flex;
    gap: 1.5rem;
}

.nav-item {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.15s ease;
}

.nav-item:hover {
    color: var(--text-primary);
}


.hacker-footer {
    border-top: 1px solid var(--border);
    background-color: var(--bg-color);
    color: var(--text-muted);
    font-size: 0.8rem;
}

.footer-container {
    max-width: 768px;
    margin: 0 auto;
    padding: 1.5rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.status-indicator {
    color: #10b981; 
    animation: pulse 2s infinite;
    display: inline-block;
    margin-right: 0.25rem;
}

.footer-right {
    font-variant-ligatures: normal;
}


@keyframes pulse {
    0% { opacity: 0.4; }
    50% { opacity: 1; }
    100% { opacity: 0.4; }
}


a {
    color: var(--accent);
    text-decoration: none;
}
a:hover {
    text-decoration: underline;
}

/* FEED DE POSTS (Removendo a vibe genérica) */
.posts {
    display: flex;
    flex-direction: column;
    gap: 0; /* Unindo os blocos em uma lista contínua dividida por linhas */
    border-top: 1px solid var(--border);
    margin-top: 1rem;
}

.card {
    border: none;
    border-bottom: 1px solid var(--border);
    border-radius: 0; /* Cantos retos imitando blocos de terminal */
    padding: 1.75rem 0; /* Espaçamento interno focado nas laterais livres */
    background: transparent; /* Sem gradientes falsos */
    position: relative;
    transition: background-color 0.15s ease;
}

/* Em vez de flutuar e soltar sombra, mudamos levemente o fundo ou destacamos a linha */
.card:hover {
    transform: none;
    box-shadow: none;
    background-color: rgba(255, 255, 255, 0.01);
}

.card > a {
    text-decoration: none;
    display: block;
}

.card > a:hover {
    text-decoration: none;
}

/* O título do Post ganha o foco no Hover mudando de cor de forma cirúrgica */
.card h2 {
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
    font-weight: 600;
    transition: color 0.15s ease;
}

.card:hover h2 {
    color: var(--accent); /* Transiciona para o azul quando passa o mouse no card */
}

/* Data do post com estilo de timestamp/comentário de código */
.card > a > p {
    color: var(--text-muted);
    font-size: 0.8rem;
    font-family: var(--font-mono);
}

/* Se você for usar prévia de texto no card futuramente */
.card > p {
    color: var(--text-muted);
    line-height: 1.6;
    font-size: 0.9rem;
    margin-top: 0.5rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* TELA DO ARTIGO COMPLETO (/posts/id) */
.blog-post {
    max-width: 100%;
    margin: auto;
    animation: fadeIn 0.2s ease;
}

.blog-header {
    margin-bottom: 2rem;
}

.blog-title {
    font-size: 2rem;
    color: var(--text-primary);
    font-weight: 700;
    margin-bottom: 0.5rem;
    letter-spacing: -0.03em;
}

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

.blog-divider {
    border: none;
    border-bottom: 1px solid var(--border);
    margin-bottom: 2rem;
}

.blog-content {
    color: var(--text-primary);
    line-height: 1.75;
    font-size: 0.95rem;
}

/* Estilo para parágrafos dentro do post */
.blog-content p {
    margin-bottom: 1.5rem;
    opacity: 0.95;
}

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