/* Center Footer Content */
footer {
    position: relative;
    z-index: 2;
    background: url(/images/anubis.webp) no-repeat center;
    background-size: cover;
    background-position: center;
    color: #fff;
    text-align: center;
    margin-top: 7.5rem;
    min-height: 300px;

    /* Center Content */
    display: flex;
    flex-direction: column;
    align-items: center; /* Center horizontally */
    justify-content: center; /* Center vertically */

    box-shadow: 0px -4px 10px rgba(0, 0, 0, 0.5),
    0 8px 16px rgba(0, 0, 0, 0.8);

    overflow-x: hidden;
}

/* Footer Container */
.footer-container {
    width: 100%;
    max-width: 1200px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex-grow: 1;
    height: 100%; /* Ensure it fills the footer */
    position: relative;
}

/* Dark Overlay */
footer::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 8, 20, 0.92);
    z-index: -1;
}

/* CTA Button - Centered in Footer */
.cta-message {
    display: inline-block;
    color: rgb(254, 215, 170);
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.8rem;
    text-shadow: 0px 5px 5px #000;
    background: #3c3938;
    padding: 5px 10px;
    border-radius: 15px;
    user-select: none;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%); /* Perfectly centers it */
    filter: brightness(1);
    transition: filter 0.5s ease;
    text-decoration: none;
    width: fit-content;
    white-space: nowrap;
}

.cta-message:hover {
    filter: brightness(0.8);
}

/* Spinning Border Effect */
.cta-message::after,
.cta-message::before {
    content: "";
    position: absolute;
    opacity: 0;
    inset: 0;
    background-image: conic-gradient(
      from var(--angle),
      transparent 50%,
      rgb(254, 215, 170)
    );
    z-index: -1;
    padding: 3px;
    border-radius: 15px;
    animation: 8s spin linear infinite;
}

.cta-message::before {
    filter: blur(1rem);
    opacity: 0.3;
}

/* Copyright Section - Positioned at the Bottom */
.footer-bottom {
    background-color: transparent;
    width: 100%;
    text-align: center;
}

.footer-copyright {
    font-size: 1rem;
    color: rgb(174 178 183);
    margin-top: auto; /* Pushes to the bottom */
    align-self: center; /* Ensure centered alignment */
}

/* Animations */
@keyframes spin {
    from {
      --angle: 0deg;
    }
    to {
      --angle: 360deg;
    }
}