/* footer.css */

.hype-footer {
    background-color: #0a0a0a;
}

/* Línea verde que separa Own The Game del footer */
.footer-top-line {
    display: block;
    width: 100%;
    height: 2px;
    background-color: #4cff00;
}

/* ---- Newsletter bar ---- */
.footer-newsletter {
    background-color: #4cff00;
    padding: 1.2rem 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3rem;
}

.newsletter-text {
    font-family: 'QarantaBold', Arial, sans-serif;
    color: #0a0a0a;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin: 0;
    line-height: 1.5;
    text-align: left;
}

/* Input redondeado negro — texto blanco */
.newsletter-form {
    display: flex;
    align-items: center;
    background-color: #0a0a0a;
    border-radius: 999px;
    padding: 0.2rem 0.2rem 0.2rem 1.2rem;
    min-width: 300px;
}

.newsletter-form input {
    background: transparent;
    border: none;
    outline: none;
    padding: 0.45rem 0.5rem;
    font-size: 0.82rem;
    color: #ffffff;
    flex: 1;
    min-width: 0;
}

.newsletter-form input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

/* Botón circular negro, borde blanco, flecha blanca centrada */
.newsletter-form button {
    background-color: #0a0a0a;
    color: #ffffff;
    border: 1.5px solid #ffffff;
    width: 32px;
    height: 32px;
    min-width: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 0;
    transition: opacity 0.2s ease;
}

.newsletter-form button svg {
    display: block;
    width: 13px;
    height: 13px;
}

.newsletter-form button:hover {
    opacity: 0.75;
}

/* ---- Footer main: 5 columnas ---- */
.footer-main {
    padding: 2.5rem 3rem 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
    gap: 1rem;
    align-items: start;
}

/* Col 1: Logo */
.footer-brand {
    padding-right: 1rem;
}

.footer-logo {
    font-family: 'HYPE', sans-serif !important;
    font-size: 3rem;
    color: #ffffff;
    display: block;
    line-height: 1;
}

/* Cols 2-4: nav links */
.footer-heading {
    font-family: 'QarantaBold', Arial, sans-serif;
    color: #4cff00;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.13em;
    text-transform: uppercase;
    margin-bottom: 0.65rem;
}

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

.footer-links li {
    margin-bottom: 0.28rem;
}

.footer-links a {
    color: #cccccc;
    font-size: 0.8rem;
    text-decoration: none;
    transition: color 0.2s ease;
    line-height: 1.5;
}

.footer-links a:hover {
    color: #4cff00;
}

/* Col 5: Copyright */
.footer-copyright {
    display: flex;
    justify-content: flex-end;
    align-items: flex-end;

    justify-self: end;
    align-self: end;

    width: 100%;

    text-align: right;
    white-space: nowrap;

    font-size: .7rem;
    color: #666666;
}

.footer-copyright .font-hype {
    font-family: 'HYPE', sans-serif !important;
    color: #666666;
}

@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: 1.5fr 1fr 1fr 1fr;
    }

    .footer-copyright {
        grid-column: 1 / -1;
        justify-content: flex-end;
        padding-top: 1rem;
        border-top: 1px solid rgba(255, 255, 255, 0.08);
    }
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }

    .footer-brand {
        grid-column: 1 / -1;
    }

    .footer-newsletter {
        flex-direction: column;
        gap: 1rem;
        padding: 1.2rem 1.5rem;
    }

    .newsletter-form {
        min-width: 100%;
    }

    .footer-main {
        padding: 2rem 1.5rem;
    }
}

.hype-footer {
    position: relative;
    z-index: 100;
}

.hype-footer {
    position: relative !important;
    z-index: 200 !important;
}

.footer-logo {
    font-size: 2.2rem !important;
    line-height: 1 !important;
}

.footer-brand {
    padding-right: 0 !important;
}

.footer-grid {
    display: grid;
    grid-template-columns: 0.5fr 1fr 1fr 1fr auto;
    gap: 2rem;
    align-items: start;
}

.footer-logo {
    font-size: 2.2rem !important;
    text-align: right !important;
    display: block !important;
}

.footer-brand {
    align-self: start;
}

.footer-col {
    align-self: start;
}

.footer-copyright {
    align-self: end;
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
}