/* Homepage — CRT blue HUD terminal look */

.home {
    position: relative;
    z-index: 2;
    max-width: 46rem;
    margin: 2rem auto;
    padding: 0 1rem 3rem;
}

/* Reusable HUD box: bordered panel with corner ticks */
.hud-box {
    position: relative;
    border: 1px solid var(--base03);
    padding: 1rem 1.25rem 1.25rem;
    margin-bottom: 2rem;
}

.corner-tick {
    position: absolute;
    width: 9px;
    height: 9px;
    pointer-events: none;
}

.corner-tick--tl {
    top: -1px;
    left: -1px;
    border-top: 2px solid var(--base09);
    border-left: 2px solid var(--base09);
}

.corner-tick--tr {
    top: -1px;
    right: -1px;
    border-top: 2px solid var(--base09);
    border-right: 2px solid var(--base09);
}

.corner-tick--bl {
    bottom: -1px;
    left: -1px;
    border-bottom: 2px solid var(--base09);
    border-left: 2px solid var(--base09);
}

.corner-tick--br {
    bottom: -1px;
    right: -1px;
    border-bottom: 2px solid var(--base09);
    border-right: 2px solid var(--base09);
}

/* Header: title row + divider + status bar */
.hud-box__title-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.hud-box__title {
    color: var(--base0B);
    font-weight: bold;
    letter-spacing: 0.08em;
    text-shadow: 0 0 6px rgba(111, 211, 255, 0.55);
}

.hud-box__indicators {
    display: flex;
    gap: 0.4rem;
}

.hud-box__indicators i {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: 1px solid var(--base09);
    display: inline-block;
}

.hud-box__divider {
    border: 0;
    border-top: 1px dashed var(--base03);
    margin: 0.85rem 0;
}

.hud-box__divider:after {
    content: none;
}

.home__statusbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
}

.home__whoami {
    color: var(--base05);
}

.home__whoami .prompt {
    color: var(--base0B);
    font-weight: bold;
}

.home__whoami strong {
    color: var(--base0B);
    text-shadow: 0 0 6px rgba(111, 211, 255, 0.55);
}

.home__social {
    list-style: none;
    display: flex;
    gap: 1rem;
    margin: 0;
    padding: 0;
}

.home__social li::marker {
    content: none;
}

.home__social a {
    color: var(--base04);
}

.home__social a:hover {
    color: var(--base0B);
    text-shadow: 0 0 6px rgba(111, 211, 255, 0.55);
}

/* Post sections */
.home__section h2 {
    font-size: 0.95rem;
    letter-spacing: 0.05em;
    margin: 0 0 1.25rem;
    color: var(--base0B);
    text-shadow: 0 0 6px rgba(111, 211, 255, 0.45);
}

.home__section h2:before {
    content: "> ";
    color: var(--base0B);
    text-shadow: none;
}

.home__postlist {
    list-style: none;
    margin: 0;
    padding: 0;
}

.home__postlist li::marker {
    content: none;
}

.home__post {
    margin-bottom: 1.25rem;
}

.home__post:last-child {
    margin-bottom: 0;
}

.home__post-title {
    display: inline-block;
    color: var(--base05);
    text-decoration: none;
}

.home__post-title:before {
    content: "· ";
    color: var(--base03);
}

.home__post-title:hover {
    color: var(--base0B);
    text-shadow: 0 0 6px rgba(111, 211, 255, 0.55);
    text-decoration: underline;
}

.home__post-summary {
    margin: 0.25rem 0 0 1rem;
    color: var(--base04);
    font-size: 0.9rem;
}

/* Footer */
.home__footer {
    text-align: center;
    color: var(--base03);
    font-size: 0.85rem;
    margin-top: 2.5rem;
}

.home__footer p {
    margin: 0;
}

.cursor {
    color: var(--base0B);
    animation: blink 1s steps(1) infinite;
}

@keyframes blink {
    0%, 49% { opacity: 1; }
    50%, 100% { opacity: 0; }
}

@media (max-width: 30rem) {
    .home__statusbar {
        flex-direction: column;
        align-items: flex-start;
    }
}
