html {
    scrollbar-gutter: stable;
}

:root {
    /* Paleta de Cores (Hacking Club) */
    --bg-color: #0d001a;
    --text-color: #e0e0e0;
    --text-on-dark-color: #ffffff;
    --primary-accent: #ffcc00;
    --border-color: #4a008c;
    --secondary-accent: #a020f0;
}

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

body { 
    background-color: var(--bg-color); 
    color: var(--text-color); 
    font-family: 'Roboto', sans-serif; 
    line-height: 1.6; 
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

h1, h2, h3, h4, h5, h6 { font-family: 'Jersey 10', sans-serif; text-transform: uppercase; letter-spacing: 1.5px; }
a { color: var(--text-color); text-decoration: none; transition: all 0.2s ease-in-out; }
a:hover { color: var(--primary-accent); }

.header-container, main { max-width: 900px; margin-left: auto; margin-right: auto; padding-left: 1.5rem; padding-right: 1.5rem; }
main { margin-bottom: 4rem; padding-top: 3rem; flex-grow: 1; border-top: 2px solid var(--border-color); }

/* CABEÇALHO GLOBAL */
.site-header { text-align: center; padding-top: 1rem; padding-bottom: 3rem; }
.site-title { font-size: 3.5rem; color: var(--text-color); margin-bottom: 0rem; line-height: 1; }
.site-title:hover { color: var(--primary-accent); }
.site-subtitle { font-family: 'Roboto', sans-serif; text-transform: uppercase; letter-spacing: 2px; font-size: 1rem; color: var(--text-color); opacity: 0.8; margin-bottom: 1.5rem; }

/* =============================================================== */
/* BOTÕES DE NAVEGAÇÃO - LIQUID GLASS REFINADO E CORRIGIDO         */
/* =============================================================== */
.button-panel { display: flex; flex-direction: column; align-items: center; gap: 1rem; }
.button-row { display: flex; justify-content: center; gap: 1rem; }

.liquidGlass-wrapper {
    position: relative;
    display: flex;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2), 0 0 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border-radius: 24px;
    width: 150px;
    height: 90px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.liquidGlass-wrapper:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.3), 0 0 25px rgba(0, 0, 0, 0.2);
    border-color: var(--primary-accent);
}

.liquidGlass-effect {
    position: absolute;
    z-index: 1;
    inset: 0;
    background-color: rgba(21, 0, 41, 0.6); /* AJUSTADO: Roxo mais sutil */
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    filter: url(#glass-distortion);
    border-radius: 24px;
    transition: background-color 0.3s ease;
}

.liquidGlass-wrapper:hover .liquidGlass-effect {
    background-color: rgba(21, 0, 41, 0.75); /* AJUSTADO: Roxo mais sutil no hover */
}

.liquidGlass-tint {
    z-index: 2;
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.liquidGlass-wrapper:hover .liquidGlass-tint {
    opacity: 1;
}

.liquidGlass-shine { display: none; }

.liquidGlass-content {
    z-index: 4;
    color: rgba(255, 255, 255, 0.7); 
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    font-family: 'Jersey 10', sans-serif;
    font-size: 1rem;
    text-transform: uppercase;
    width: 100%;
    text-shadow: 0 0 5px rgba(0,0,0,0.4);
    transition: color 0.3s ease;
}

.liquidGlass-content i {
    font-size: 1.5rem;
    transition: color 0.3s ease;
}

.liquidGlass-wrapper:hover .liquidGlass-content {
    color: var(--primary-accent);
}

/* SEÇÃO DE POSTS */
.latest-posts-container { margin-top: 1rem; }
.latest-posts-header { 
    text-align: center; 
    margin-bottom: 2rem; 
}
.latest-posts-header h2 {
    font-size: 2rem; 
    color: var(--primary-accent); 
}

.post-grid { text-align: left; display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.2rem; }
.post-card { 
    background-color: #150029; /* AJUSTADO: Roxo mais sutil */
    border: 1px solid var(--border-color); 
    border-radius: 28px; 
    transition: transform 0.3s ease, border-color 0.3s ease; 
    box-shadow: 0 2px 10px rgba(0,0,0,0.2); 
    overflow: hidden; 
}
.post-card:hover { transform: translateY(-5px); border-color: var(--primary-accent); box-shadow: 0 4px 15px rgba(0,0,0,0.3); }
.post-card .card-content { padding: 1.5rem; }
.post-card .card-content h2 { color: var(--text-on-dark-color); font-size: 1.6rem; margin-bottom: 0.5rem; }
.post-card:hover h2 { color: var(--primary-accent); }
.post-card .card-content p { color: var(--text-on-dark-color); opacity: 0.9; font-size: 0.9rem; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.post-card time { font-size: 0.8rem; color: var(--text-on-dark-color); opacity: 0.7; }

/* BOTÃO "VER TODOS OS POSTS" */
.all-posts-link-container { 
    text-align: center; 
    margin-top: 3rem; 
}
.liquidGlass-wrapper-full {
    width: 250px;
    height: 70px;
    border-radius: 28px;
    margin: 0 auto; 
}
.liquidGlass-wrapper-full .liquidGlass-effect,
.liquidGlass-wrapper-full .liquidGlass-tint,
.liquidGlass-wrapper-full .liquidGlass-content {
    border-radius: 28px;
}
.liquidGlass-wrapper-full .liquidGlass-content {
    font-size: 1.2rem;
}

.main-footer { text-align: center; padding: 2rem 1.5rem; margin-top: 4rem; color: var(--border-color); font-size: 0.9rem; }
