/* Footer Styles - Fully Scoped to Prevent Conflicts */

.footer-wrapper {
    background: linear-gradient(135deg, #0f172a 0%, #020617 100%);
    color: #e2e8f0;
    border-top: 1px solid #334155;
    padding: 2rem 0;
    margin-top: 4rem;
}

.footer-wrapper footer {
    background: transparent;
    color: inherit;
    border: none;
    padding: 0;
    margin: 0;
}

.footer-wrapper .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.footer-wrapper .row {
    display: flex;
    flex-wrap: wrap;
    margin-right: -15px;
    margin-left: -15px;
    justify-content: center;
    text-align: center;
}

.footer-wrapper .row.footer-centered {
    justify-content: center;
}

.footer-wrapper .col-footer {
    flex: 1 1 20%;
    padding-right: 15px;
    padding-left: 15px;
    margin-bottom: 1.5rem;
    min-width: 160px;
    display: flex;
    flex-direction: column;
}

.footer-wrapper .col-footer > div:first-child,
.footer-wrapper .col-footer > h6:first-child {
    margin-top: 0;
}

.footer-wrapper .col-lg-2,
.footer-wrapper .col-lg-3,
.footer-wrapper .col-lg-4,
.footer-wrapper .col-lg-9 {
    padding-right: 15px;
    padding-left: 15px;
}

.footer-wrapper .col-lg-3 {
    flex: 0 0 25%;
}

.footer-wrapper .col-lg-4 {
    flex: 0 0 33.333333%;
}

.footer-wrapper .col-lg-9 {
    flex: 0 0 75%;
}

.footer-wrapper .col-md-6 {
    flex: 0 0 50%;
}

/* Partner Logos */
.footer-wrapper .footer-text.small {
    opacity: 0.6;
    font-size: 0.75rem;
}

.footer-wrapper img[alt="Binance"],
.footer-wrapper img[alt="Kraken"],
.footer-wrapper img[alt="Regulations"],
.footer-wrapper img[alt="Blockchain"],
.footer-wrapper img[alt="MiCA"] {
    max-height: 70px;
    opacity: 0.8;
    filter: grayscale(20%);
}

/* Footer Logos - Simple Display */
.footer-wrapper .footer-logos-simple {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
    padding: 1rem 0;
    margin-bottom: 1.5rem;
}

.footer-wrapper .footer-logo-simple {
    max-height: 52px;
    max-width: 161px;
    width: auto;
    height: auto;
    object-fit: contain;
    opacity: 0.75;
    transition: opacity 0.3s ease;
}

.footer-wrapper .footer-contact-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(25, 227, 245, 0.1);
    color: #19e3f5;
    font-size: 18px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.footer-wrapper .footer-contact-link:hover {
    background: rgba(25, 227, 245, 0.2);
    transform: scale(1.1);
}

.footer-wrapper .footer-logo-simple:hover {
    opacity: 1;
}

.footer-wrapper .mb-4 {
    margin-bottom: 1.5rem;
}

.footer-wrapper .mb-3 {
    margin-bottom: 1rem;
}

.footer-wrapper .mb-2 {
    margin-bottom: 0.5rem;
}

.footer-wrapper .mb-0 {
    margin-bottom: 0;
}

.footer-wrapper .my-4 {
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
}

.footer-wrapper .px-3 {
    padding-left: 1rem;
    padding-right: 1rem;
}

.footer-wrapper .me-2 {
    margin-right: 0.5rem;
}

/* Text Styles - Fully Isolated */
.footer-wrapper p {
    color: #cbd5e1;
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
    text-align: center;
}

.footer-wrapper .footer-text {
    color: #cbd5e1;
    text-decoration: none;
}

.footer-wrapper h5,
.footer-wrapper h6 {
    color: #3b82f6;
    font-weight: 600;
    margin-bottom: 1rem;
    margin-top: 0;
    font-size: 1rem;
    line-height: 1.2;
    text-align: center;
}

.footer-wrapper h6 {
    font-size: 0.95rem;
    letter-spacing: 0.5px;
}

/* Link Styles - Fully Isolated */
.footer-wrapper a {
    color: #cbd5e1;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
}

.footer-wrapper a:hover {
    color: #6366f1;
    text-decoration: underline;
}

/* Brand Name */
.footer-wrapper .footer-brand-name {
    color: #3b82f6;
    font-weight: 900;
    font-size: 1.3rem;
    margin-bottom: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.footer-brand-name .footer-logo-img {
    height: 30px;
    width: auto;
    object-fit: contain;
    margin: 0;
}

.footer-wrapper .brand-name-hidden {
    display: none;
}

.footer-wrapper .col-footer > .d-flex {
    margin-top: 0;
    margin-bottom: 1rem;
    gap: 4px;
}

.footer-wrapper .col-footer .brand-container {
    justify-content: center;
    gap: 4px;
}

/* Images */
.footer-wrapper img {
    filter: brightness(1.1);
    transition: filter 0.3s ease;
}

.footer-wrapper img:hover {
    filter: brightness(1.3);
}

/* Lists */
.footer-wrapper ul {
    list-style: none;
    margin: 0;
    padding: 0;
    text-align: center;
}

.footer-wrapper ul li {
    margin-bottom: 0.7rem;
}

.footer-wrapper ul li a {
    display: inline-block;
    position: relative;
}

.footer-wrapper ul li a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(135deg, #6366f1, #06b6d4);
    transition: width 0.3s ease;
}

.footer-wrapper ul li a:hover::after {
    width: 100%;
}

/* Risk Disclaimer */
.footer-wrapper .risk-disclaimer {
    background: rgba(30, 41, 59, 0.5);
    border-left: 3px solid #6366f1;
    padding: 1rem 1.5rem;
    border-radius: 8px;
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
}

.footer-wrapper .risk-disclaimer p {
    color: #fbbf24;
    margin: 0;
    font-size: 0.9rem;
}

.footer-wrapper .risk-disclaimer strong {
    color: #fbbf24;
    font-weight: 600;
}

/* Divider */
.footer-wrapper hr {
    border: none;
    border-top: 1px solid #334155;
    opacity: 0.5;
    margin: 1.5rem 0;
}

/* Footer Bottom */
.footer-wrapper .footer-bottom {
    text-align: center;
    color: #94a3b8;
    font-size: 0.85rem;
}

/* Flex Utilities */
.footer-wrapper .d-flex {
    display: flex;
}

.footer-wrapper .align-items-center {
    align-items: center;
}

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

/* Social Links (if added) */
.footer-wrapper .social-links {
    display: flex;
    gap: 1.5rem;
    margin-top: 1rem;
}

.footer-wrapper .social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(99, 102, 241, 0.1);
    border-radius: 50%;
    color: #6366f1;
    transition: all 0.3s ease;
    font-size: 1.1rem;
}

.footer-wrapper .social-links a:hover {
    background: #6366f1;
    color: #ffffff;
    transform: translateY(-3px);
}

/* Responsive Footer */
@media (max-width: 768px) {
    .footer-wrapper {
        padding: 1.5rem 0;
        margin-top: 2rem;
    }

    .footer-wrapper .col-footer {
        flex: 0 0 50%;
        margin-bottom: 1rem;
    }

    .footer-wrapper h6 {
        font-size: 0.9rem;
        margin-bottom: 0.8rem;
    }

    .footer-wrapper p {
        font-size: 0.9rem;
    }

    .footer-wrapper .risk-disclaimer {
        padding: 0.8rem 1rem;
        margin-top: 1rem;
        margin-bottom: 1rem;
        font-size: 0.85rem;
    }

    .footer-wrapper .col-md-6 {
        margin-bottom: 1rem;
    }

    .footer-wrapper .col-lg-2,
    .footer-wrapper .col-lg-3,
    .footer-wrapper .col-lg-4 {
        flex: 0 0 50%;
        margin-bottom: 1rem;
    }
}

@media (max-width: 480px) {
    .footer-wrapper {
        padding: 1rem 0;
    }

    .footer-wrapper .col-footer {
        flex: 0 0 100%;
        margin-bottom: 1.5rem;
    }

    .footer-wrapper h6 {
        font-size: 0.85rem;
    }

    .footer-wrapper p {
        font-size: 0.85rem;
    }

    .footer-wrapper .social-links {
        gap: 1rem;
    }

    .footer-wrapper .social-links a {
        width: 36px;
        height: 36px;
        font-size: 1rem;
    }

    .footer-wrapper .col-lg-2,
    .footer-wrapper .col-lg-3,
    .footer-wrapper .col-lg-4,
    .footer-wrapper .col-md-6 {
        flex: 0 0 100%;
        margin-bottom: 1rem;
    }
}


