/* Site-wide Footer — refined dark terminal aesthetic */

footer {
    background: rgba(6, 5, 22, 0.6);
    border-top: 1px solid rgba(104, 79, 126, 0.25);
    padding: 2rem 5% 1.5rem;
    margin-top: auto;
    position: relative;
    flex-shrink: 0;
}

/* Top luminous accent */
footer::before {
    content: '';
    position: absolute;
    top: -1px;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg,
        transparent 0%,
        rgba(104, 79, 126, 0.7) 25%,
        rgba(221, 118, 140, 0.5) 50%,
        rgba(104, 79, 126, 0.7) 75%,
        transparent 100%
    );
    pointer-events: none;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem 3rem;
}

/* Section headings */
.footer-section h4 {
    margin-bottom: 1rem;
    color: rgba(221, 118, 140, 0.6);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    position: relative;
    padding-bottom: 0.6rem;
}

.footer-section h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 24px;
    height: 1px;
    background: rgba(221, 118, 140, 0.35);
}

.footer-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-section li {
    margin-bottom: 0.4rem;
}

.footer-section a {
    color: rgba(253, 178, 159, 0.45);
    text-decoration: none;
    font-size: 0.85rem;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: color 0.15s ease;
    padding: 0.15rem 0;
}

.footer-section a::before {
    content: '›';
    opacity: 0;
    transform: translateX(-4px);
    transition: opacity 0.15s ease, transform 0.15s ease;
    color: #DD768C;
    font-size: 1.1em;
    line-height: 1;
}

.footer-section a:hover {
    color: rgba(221, 118, 140, 0.8);
    transform: none;
}

.footer-section a:hover::before {
    opacity: 1;
    transform: translateX(0);
}

/* Bottom copyright bar */
.footer-bottom {
    text-align: center;
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(104, 79, 126, 0.15);
    color: rgba(253, 178, 159, 0.25);
    font-size: 0.75rem;
    letter-spacing: 0.05em;
}
