/* ============================================================
   NeoPlay Footer V4 — Matches steam.pdf design 1:1
   ============================================================ */

/* ---- Reset & Container ---- */
.neo-footer-v4 {
    background: #0a0a0a;
    color: #ffffff;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 13px;
    line-height: 1.5;
    margin-top: 0;
    position: relative;
}

.neo-footer-v4 *,
.neo-footer-v4 *::before,
.neo-footer-v4 *::after {
    box-sizing: border-box;
}

.nf4-container {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 40px;
}

/* ---- Magenta gradient borders (top & bottom) ---- */
.nf4-border-top,
.nf4-border-bottom {
    height: 3px;
    background: linear-gradient(90deg, #ff00ff 0%, #ff0066 30%, #ff00ff 50%, #cc00ff 70%, #ff00ff 100%);
}

/* ---- Payment Methods Bar ---- */
.nf4-payments {
    background: #0f0f0f;
    border-bottom: 1px solid #1a1a1a;
    padding: 14px 0;
}

.nf4-payments .nf4-container {
    display: flex;
    align-items: center;
    gap: 20px;
}

.nf4-payments-label {
    color: #777777;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    white-space: nowrap;
}

.nf4-payment-logos {
    display: flex;
    align-items: center;
    gap: 12px;
}

.nf4-payment-logos img {
    height: 26px;
    width: auto;
    object-fit: contain;
    filter: brightness(0.95);
    transition: filter 0.2s;
}

.nf4-payment-logos img:hover {
    filter: brightness(1.15);
}

/* ---- Main Navigation Grid ---- */
.nf4-main {
    padding: 32px 0 28px;
    border-bottom: 1px solid #1a1a1a;
}

.nf4-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
}

.nf4-heading {
    color: #ffe600;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    margin: 0 0 14px 0;
    padding: 0;
}

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

.nf4-links li {
    margin: 0 0 6px 0;
    padding: 0;
    display: flex;
    align-items: center;
}

.nf4-links li::before {
    content: "";
    display: inline-block;
    width: 5px;
    height: 5px;
    min-width: 5px;
    background: #ffe600;
    border-radius: 50%;
    margin-right: 8px;
}

.nf4-links a {
    color: #b0b0b0;
    text-decoration: none;
    font-size: 12px;
    line-height: 1.4;
    transition: color 0.2s;
}

.nf4-links a:hover {
    color: #ffffff;
}

/* Platform icons — colored to match brand */
.nf4-links a .fa-steam { color: #66c0f4; }
.nf4-links a .fa-playstation { color: #006FCD; }
.nf4-links a .fa-xbox { color: #107C10; }

.nf4-links a i {
    margin-right: 4px;
    font-size: 11px;
    transition: color 0.2s;
}

.nf4-links a:hover i {
    color: #ffffff;
}

/* ---- Company Info Row ---- */
.nf4-company-info {
    padding: 24px 0;
    border-bottom: 1px solid #1a1a1a;
    background: #0c0c0c;
}

.nf4-company-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr auto;
    gap: 28px;
    align-items: start;
}

.nf4-company-title {
    color: #ffe600;
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: 0.3px;
    margin: 0 0 8px 0;
}

.nf4-company-title span {
    color: #777777;
    font-weight: 400;
}

.nf4-company-detail {
    color: #888888;
    font-size: 11.5px;
    line-height: 1.6;
    margin: 0;
}

.nf4-company-detail strong {
    color: #aaaaaa;
}

.nf4-email-link {
    color: #ffe600 !important;
    text-decoration: none;
    font-size: 12px;
    transition: color 0.2s;
}

.nf4-email-link:hover {
    color: #ffffff !important;
}

.nf4-email-link i {
    margin-right: 6px;
    font-size: 12px;
}

.nf4-company-logos {
    display: flex;
    align-items: center;
    gap: 12px;
    justify-content: flex-end;
}

.nf4-company-logos img {
    height: 45px;
    width: auto;
    object-fit: contain;
    filter: brightness(0.85);
    border-radius: 4px;
}

/* ---- Bottom Bar ---- */
.nf4-bottom {
    padding: 16px 0 14px;
    background: #080808;
}

/* Copyright + Social row */
.nf4-bottom-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 14px;
}

.nf4-copyright {
    color: #444444;
    font-size: 11px;
    margin: 0;
}

.nf4-social {
    display: flex;
    align-items: center;
    gap: 12px;
}

.nf4-social-label {
    color: #ffe600;
    font-size: 11px;
    font-weight: 700;
}

.nf4-social-icons {
    display: flex;
    gap: 8px;
}

.nf4-social-icons a {
    color: #ffffff;
    font-size: 15px;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.07);
    transition: background 0.2s, color 0.2s, transform 0.2s;
    text-decoration: none;
}

.nf4-social-icons a:hover {
    background: #ffe600;
    color: #000000;
    transform: scale(1.1);
}

/* Trust badges row */
.nf4-trust-badges {
    display: flex;
    justify-content: center;
    gap: 28px;
    padding-top: 14px;
    border-top: 1px solid #1a1a1a;
}

.nf4-badge {
    display: flex;
    align-items: center;
    gap: 7px;
    color: #666666;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.nf4-badge i {
    color: #ffe600;
    font-size: 13px;
}

/* ============================================================
   RESPONSIVE — Tablet (1024px)
   ============================================================ */
@media (max-width: 1024px) {
    .nf4-container {
        padding: 0 24px;
    }

    .nf4-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 24px 20px;
    }

    .nf4-company-grid {
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }

    .nf4-company-logos {
        justify-content: flex-start;
    }

    .nf4-trust-badges {
        flex-wrap: wrap;
        gap: 12px 20px;
    }
}

/* ============================================================
   RESPONSIVE — Mobile (768px)
   ============================================================ */
@media (max-width: 768px) {
    .nf4-container {
        padding: 0 16px;
    }

    .nf4-payments .nf4-container {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .nf4-payments {
        padding: 12px 0;
    }

    .nf4-main {
        padding: 24px 0 20px;
    }

    .nf4-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px 16px;
    }

    .nf4-heading {
        font-size: 11px;
        margin-bottom: 10px;
    }

    .nf4-links a {
        font-size: 11.5px;
    }

    .nf4-links li {
        margin-bottom: 5px;
    }

    .nf4-company-info {
        padding: 20px 0;
    }

    .nf4-company-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .nf4-company-logos {
        justify-content: flex-start;
    }

    .nf4-bottom-top {
        flex-direction: column;
        align-items: center;
        gap: 10px;
        text-align: center;
    }

    .nf4-social {
        flex-direction: column;
        gap: 6px;
    }

    .nf4-trust-badges {
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px 16px;
    }

    .nf4-badge {
        font-size: 9px;
        letter-spacing: 0.5px;
    }
}

/* ============================================================
   RESPONSIVE — Small phone (480px)
   ============================================================ */
@media (max-width: 480px) {
    .nf4-grid {
        grid-template-columns: 1fr 1fr;
        gap: 18px 12px;
    }

    .nf4-heading {
        font-size: 10.5px;
        letter-spacing: 0.8px;
    }

    .nf4-links a {
        font-size: 11px;
    }

    .nf4-links li::before {
        width: 4px;
        height: 4px;
        min-width: 4px;
        margin-right: 6px;
    }

    .nf4-trust-badges {
        flex-direction: column;
        align-items: center;
        gap: 8px;
    }

    .nf4-payment-logos img {
        height: 22px;
    }
}

/* ============================================================
   OVERRIDES — Cancel any parent theme footer interference
   ============================================================ */
.neo-footer-v4 .nf4-links li {
    list-style: none !important;
    padding-left: 0 !important;
}

.neo-footer-v4 ul {
    margin: 0 !important;
    padding: 0 !important;
}

.neo-footer-v4 a {
    text-decoration: none !important;
}

.neo-footer-v4 h3,
.neo-footer-v4 h4 {
    line-height: 1.3;
}

/* Hide old footer if any bleeds through */
.cpl-footer,
.site-footer:not(.neo-footer-v4) {
    display: none !important;
}
