body, html {
    margin: 0;
    padding: 0;
    font-family: 'Roboto Mono', 'Courier New', monospace;
    background-color: #121212;
    color: #d0d0d0;
    line-height: 1.8;
    font-size: 18px;
    background-image: radial-gradient(circle at center, rgba(255, 255, 255, 0.02) 0%, transparent 70%);
    background-repeat: no-repeat;
    background-size: cover;
}

h1, h2, h3, h4, h5, h6 {
    color: #00ffc3;
    font-weight: 600;
    margin-top: 2em;
    margin-bottom: 1em;
    text-shadow: 0 0 6px rgba(0, 255, 195, 0.6);
}

a {
    color: #00b3ff;
    text-decoration: none;
    border-bottom: 1px dashed #00b3ff;
    transition: all 0.3s ease;
}

a:hover {
    color: #ffffff;
    border-bottom: 1px solid #ffffff;
    text-shadow: 0 0 4px rgba(255, 255, 255, 0.4);
}

p {
    margin-bottom: 1.5em;
}

button, .button {
    background-color: transparent;
    border: 1px solid #00ffc3;
    color: #00ffc3;
    padding: 12px 24px;
    font-size: 17px;
    cursor: pointer;
    transition: background-color 0.3s, color 0.3s, box-shadow 0.3s;
    border-radius: 4px;
    font-family: 'Roboto Mono', 'Courier New', monospace;
    text-shadow: 0 0 3px rgba(0, 255, 195, 0.8);
}

button:hover, .button:hover {
    background-color: #00ffc3;
    color: #0a0a0a;
    box-shadow: 0 0 8px rgba(0, 255, 195, 0.7);
}

.container {
    max-width: 1100px;
    margin: auto;
    padding-top: 40px;
    padding-bottom: 40px;
}

.container, .navbar_right, main, footer {
    padding-left: 50px;
    padding-right: 50px;
    box-sizing: border-box;
}

.navbar_left {
    box-sizing: border-box;
    padding-left: 50px;
}

pre {
    background-color: #121212;
    color: #00ffc3;
    padding: 20px 24px;
    border-radius: 6px;
    font-family: 'Roboto Mono', 'Courier New', monospace;
    overflow-x: auto;
    font-size: 18px;
    line-height: 1.8;
    white-space: pre-wrap;
    word-break: break-word;
    box-sizing: border-box;
    background-image: none;
    animation: none;
    min-height: 1em;
    text-shadow: none;
    position: relative;
    z-index: 2;
}

pre code {
    padding: 0;
    background-color: transparent;
    border-radius: 0;
    display: block;
    overflow: auto;
}

.post-tags {
    margin-top: 10px;
    font-family: 'Roboto Mono', 'Courier New', monospace;
    font-size: 0.7em;
    color: #00ffc3;
}

.post-tags a {
    color: #00b3ff;
    text-decoration: none;
    border-bottom: 1px dashed #00b3ff;
    margin-right: 8px;
    transition: all 0.3s ease;
}

.post-tags a:hover {
    color: #ffffff;
    border-bottom: 1px solid #ffffff;
    text-shadow: 0 0 4px rgba(255, 255, 255, 0.4);
    animation: glitchRGB 0.5s linear;
}

p code, li code, h1 code, h2 code, h3 code, h4 code, h5 code, h6 code {
    padding: 2px 5px;
    border-radius: 3px;
    font-size: 0.9em;
    background-color: #1a1a1a;
}

hr {
    border: 0;
    height: 1px;
    background: linear-gradient(to right, #00ffc3, transparent);
    margin: 2em 0;
}

.home-hero {
    max-width: 1100px;
    margin: 40px auto 20px;
    padding: 30px;
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(220px, 0.9fr);
    gap: 32px;
    align-items: center;
    border: 1px solid rgba(0, 255, 195, 0.3);
    border-radius: 10px;
    background: linear-gradient(135deg, rgba(0, 255, 195, 0.04), rgba(0, 179, 255, 0.04));
    box-shadow: 0 0 20px rgba(0, 255, 195, 0.12);
}

.home-hero__eyebrow {
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #00b3ff;
    font-size: 0.95em;
    margin-bottom: 0.5em;
}

.home-hero h1 {
    margin-top: 0.2em;
    margin-bottom: 0.6em;
}

.home-hero__links {
    list-style: none;
    padding: 0;
    margin: 1.5em 0 1em;
}

.home-hero__links li {
    margin-bottom: 0.75em;
}

.home-hero__meta {
    color: #9ad4c5;
    margin-top: 1.5em;
    font-size: 0.95em;
}

.home-hero__photo {
    display: flex;
    justify-content: flex-end;
    align-items: flex-start;
}

.home-hero__photo img {
    max-width: 260px;
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    border-radius: 50%;
    border: 2px solid rgba(0, 255, 195, 0.35);
    box-shadow: 0 0 18px rgba(0, 255, 195, 0.25);
    object-fit: cover;
    display: block;
}

.about-hero {
    max-width: 1000px;
    margin: 30px auto 20px;
    padding: 24px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(220px, 0.8fr);
    gap: 28px;
    align-items: center;
    border: 1px solid rgba(0, 255, 195, 0.25);
    border-radius: 10px;
    background: linear-gradient(135deg, rgba(0, 255, 195, 0.03), rgba(0, 179, 255, 0.03));
}

.about-hero__text p {
    margin-top: 0;
}

.about-hero__photo {
    display: flex;
    justify-content: flex-end;
}

.about-hero__photo img {
    max-width: 240px;
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    border-radius: 12px;
    border: 2px solid rgba(0, 255, 195, 0.3);
    box-shadow: 0 0 16px rgba(0, 255, 195, 0.18);
    object-fit: cover;
    display: block;
}

@media (max-width: 900px) {
    .home-hero {
        grid-template-columns: 1fr;
        text-align: left;
    }

    .home-hero__photo {
        justify-content: center;
        margin-top: 10px;
    }

    .about-hero {
        grid-template-columns: 1fr;
        padding: 20px;
    }

    .about-hero__photo {
        justify-content: center;
        margin-top: 10px;
    }
}

@media (max-width: 600px) {
    .home-hero {
        padding: 24px;
    }

    .home-hero__photo img {
        max-width: 200px;
    }

    .about-hero__photo img {
        max-width: 200px;
    }
}

@media (max-width: 1024px) {
    body {
        font-size: 17px;
    }

    .container, .navbar_right, .navbar_left, main, footer {
        padding-left: 30px;
        padding-right: 30px;
    }
}

@media (max-width: 768px) {
    body {
        font-size: 16px;
    }

    .container, .navbar_right, .navbar_left, main, footer {
        padding-left: 20px;
        padding-right: 20px;
    }

    .navbar_right {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
        padding-top: 20px;
        animation: navbarBoot 1s ease-out;
    }

    .navbar_right a {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    body {
        font-size: 15px;
    }

    .container, .navbar_right, .navbar_left, main, footer {
        padding-left: 15px;
        padding-right: 15px;
    }

    .navbar_right a {
        font-size: 14px;
    }
}

@keyframes pulseBackground {
    0% {
        background-image: radial-gradient(circle at center, rgba(255, 255, 255, 0.015) 0%, transparent 70%);
    }
    50% {
        background-image: radial-gradient(circle at center, rgba(255, 255, 255, 0.03) 0%, transparent 70%);
    }
    100% {
        background-image: radial-gradient(circle at center, rgba(255, 255, 255, 0.015) 0%, transparent 70%);
    }
}



@keyframes glitch {
    0% { transform: none; }
    20% { transform: skew(-10deg); }
    40% { transform: skew(10deg); }
    60% { transform: skew(-10deg); }
    80% { transform: skew(10deg); }
    100% { transform: none; }
}

a:hover, h1:hover, h2:hover, h3:hover, h4:hover, h5:hover, h6:hover {
    animation: glitch 0.4s linear;
}

.navbar_right {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 20px;
    padding-left: 50px;
    padding-right: 50px;
    box-sizing: border-box;
    animation: navbarBoot 1s ease-out;
}

.navbar_right a {
    color: #00ffc3;
    text-transform: lowercase;
    border: none;
    font-family: 'Roboto Mono', 'Courier New', monospace;
    font-size: 16px;
    position: relative;
    transition: color 0.3s ease;
}

.navbar_right a:hover {
    color: #ffffff;
}

.navbar_right a:not(:last-child)::after {
    content: "|";
    color: #00ffc3;
    opacity: 0.5;
    margin-left: 10px;
}


@keyframes navbarBoot {
    0% {
        opacity: 0;
        transform: translateY(-20px);
    }
    20% {
        opacity: 0.6;
    }
    40% {
        opacity: 0.2;
    }
    60% {
        opacity: 0.8;
    }
    80% {
        opacity: 0.5;
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes backgroundGlitch {
    0% {
        background-position: center;
        background-size: cover;
    }
    25% {
        background-position: 48% 52%;
        background-size: 102%;
    }
    50% {
        background-position: 52% 48%;
        background-size: 98%;
    }
    75% {
        background-position: 50% 50%;
        background-size: 101%;
    }
    100% {
        background-position: center;
        background-size: cover;
    }
}


/* --- Markdown Table Styling --- */
table {
    width: 100%;
    border-collapse: collapse;
    margin: 2em 0;
    font-family:'Roboto Mono', 'Courier New', monospace;
}

th, td {
    border: 1px solid #00ffc3;
    padding: 10px;
    text-align: left;
    color: #d0d0d0;
}

th {
    background-color: #1a1a1a;
    color: #00ffc3;
}

.cursor-blink {
    display: inline-block;
    margin-left: 5px;
    font-weight: 300;
    color: #00ffc3;
    animation: blink 1s step-start infinite;
}

@keyframes blink {
    50% {
        opacity: 0;
    }
}
/* --- Glitch Zone Styling --- */
.glitch-zone {
    position: relative;
    background-color: #121212;
    background-image: radial-gradient(circle at center, rgba(255, 255, 255, 0.02) 0%, transparent 70%);
    background-repeat: no-repeat;
    background-size: cover;
    animation: pulseBackground 10s infinite, backgroundGlitch 7s infinite;
    z-index: 1;
}

.navbar_left, .navbar_right {
    background-color: #121212;
}

.gpg_signed_info {
    font-size: 12px;
    line-height: 1.5;
}

.gpg-callout {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 12px;
    align-items: center;
    padding: 12px 14px;
    border: 1px solid rgba(0, 255, 195, 0.5);
    border-radius: 10px;
    background: linear-gradient(135deg, rgba(0, 255, 195, 0.08), rgba(0, 179, 255, 0.06));
    box-shadow: 0 0 10px rgba(0, 255, 195, 0.18);
    margin-bottom: 10px;
}

.gpg-callout__icon {
    font-size: 1.4rem;
}

.gpg-callout__title {
    margin: 0 0 4px;
    font-weight: 700;
    color: #00ffc3;
}

.gpg-callout__subtitle {
    margin: 0;
    color: #d0d0d0;
}

.gpg-callout__link {
    color: #00b3ff;
    border-bottom: 1px dashed #00b3ff;
}

.gpg-callout__link:hover {
    color: #ffffff;
    border-bottom-color: #ffffff;
}

.footer-content {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 100%;
}

.copyright {
    margin-bottom: 0.5rem;
}

.badge-description {
    font-size: 12px;
    margin-left: 0.5rem;
    color: #d0d0d0;
    vertical-align: middle;
}

/* Responsive footer adjustments */
@media (max-width: 768px) {
    .footer-content {
        gap: 0.75rem;
    }

    .gpg-callout {
        grid-template-columns: auto 1fr;
    }

    .badge-description {
        display: block;
        margin-left: 0;
        margin-top: 0.25rem;
    }
}

@media (max-width: 480px) {
    .footer-content {
        gap: 0.5rem;
    }

    .gpg_signed_info {
        font-size: 11px;
    }
}

.badge-a-plus {
    display: inline-block;
    background-color: #2e7d32; /* Verde escuro tipo o da imagem */
    color: white;
    font-weight: bold;
    font-family: sans-serif;
    border-radius: 6px;
    padding: 4px 8px;
    font-size: 1.1rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}
