:root {
    --footer-bg: #121416;
    --footer-text: #94a3b8;
    --footer-title: #ffffff;
    --footer-link: #e5e7eb;
    --footer-icon: #38bdf8;

    --footer-hover: color-mix(
        in srgb,
        var(--footer-bg) 70%,
        white 30%
    );

    --footer-link-hover: color-mix(
        in srgb,
        var(--footer-link) 70%,
        white 30%
    );

    --footer-border: color-mix(
        in srgb,
        var(--footer-bg) 85%,
        white 15%
    );

    --footer-soft-bg: color-mix(
        in srgb,
        var(--footer-bg) 92%,
        white 8%
    );
}

.main-footer {
    background-color: var(--footer-bg);
    color: var(--footer-text);
    padding: 72px 0 32px;
}

.footer-title {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 22px;
    color: var(--footer-title);
    position: relative;
}

.footer-title::after {
    content: "";
    display: block;
    width: 30px;
    height: 2px;
    background-color: var(--footer-icon);
    margin-top: 10px;
}

.footer-text {
    color: var(--footer-text);
}

.footer-muted {
    color: color-mix(in srgb, var(--footer-text) 70%, black);
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--footer-link);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease, padding-left 0.3s ease;
}

.footer-links a:hover {
    color: var(--footer-link-hover);
    padding-left: 5px;
}

.social-icons {
    margin-top: 15px;
}

.social-icons a {
    width: 35px;
    height: 35px;
    background-color: var(--footer-soft-bg);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: var(--footer-icon);
    margin-right: 10px;
    transition: background-color 0.3s ease, transform 0.3s ease;
    text-decoration: none;
}

.social-icons a:hover {
    background-color: color-mix(in srgb, currentColor 15%, var(--footer-bg));
    transform: translateY(-3px);
}

.contact-item {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    color: var(--footer-text);
    font-size: 0.9rem;
}

.contact-item i {
    color: var(--footer-icon);
    font-size: 1.1rem;
    margin-top: 2px;
}

.contact-item a {
    color: inherit;
    text-decoration: none;
}

.contact-item a:hover {
    color: var(--footer-link, var(--footer-text));
    text-decoration: underline;
}

.footer-user-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-action {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border-radius: 10px;
    background: var(--footer-soft-bg);
    color: var(--footer-link);
    text-decoration: none;
    transition: 0.25s;
    font-size: 0.9rem;
}

.footer-action:hover {
    background: var(--footer-hover);
    color: var(--footer-icon);
    transform: translateX(4px);
}

.footer-cta-buttons .btn {
    border-radius: 10px;
}

.footer-bottom {
    margin-top: 60px;
    padding-top: 30px;
    border-top: 1px solid var(--footer-border);
}

.powered-by-link:hover {
    opacity: 1 !important;
    transform: translateY(-1px);
}

.payment-icons {
    font-size: 1.8rem;
    display: flex;
    gap: 15px;
    color: var(--footer-text);
    opacity: 0.6;
}

.payment-icons i {
    transition: opacity 0.3s ease;
}

.payment-icons i:hover {
    opacity: 1;
}

@media (max-width: 991px) {
    .main-footer { padding: 56px 0 28px; text-align: center; }
    .footer-title::after { margin-left: auto; margin-right: auto; }
    .footer-about { padding-right: 0 !important; }
    .social-icons { justify-content: center; display: flex; }
    .contact-item { justify-content: center; }
    .footer-bottom { margin-top: 40px; padding-top: 24px; }
    .footer-bottom .col-md-4:not(:last-child) { margin-bottom: 14px; }
    .payment-icons { justify-content: center !important; }
}

@media (max-width: 575px) {
    .main-footer { padding: 44px 0 24px; }
    .footer-title { margin-bottom: 16px; }
    .contact-item { text-align: left; }
}
