/* Footer Styles */
.footer {
    background-color: #212121;
    padding: 40px 0 64px;
}

.footer-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 16px;
}

/* Footer Info (Logo + Social + Brand) */
.footer-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    margin-bottom: 32px;
}

.footer-logo {
    flex-shrink: 0;
}

.footer-logo-img{
    flex-shrink: 0;
    width: 220px;
    height: 27px;
    margin: 0 auto;
}

/* Brand Info */
.footer-brand-info {
    padding-top: 8px;
    padding-bottom: 12px;
    font-size: 10px;
    color: #D1D5DB;
    line-height: 1.6;
    text-align: center;
}

/* Social Media Links */
.footer-social {
    display: none;
    align-items: center;
    justify-content: center;
    gap: 23px;
    flex-shrink: 0;
}

.social-link {
    width: 30px;
    height: 30px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s ease;
}

.social-link:hover {
    background: rgba(255, 255, 255, 0.9);
}

.social-link img {
    width: 100%;
    height: 100%;
}

.back-to-top{
    display: none;
}

/* Desktop Styles */
@media (min-width: 768px) {
    .footer {
        padding: 64px 0;
    }

    .footer-info {
        flex-direction: row;
        align-items: start;
        justify-content: space-between;
        gap: 24px;
    }
    
    .footer-logo-img{
        width: 331px;
        height: 42px;
        margin: 0;
    }

    .footer-brand-info {
        font-size: 18px;
        text-align: left;
    }

    .footer-social {
        gap: 47px;
    }

    .social-link {
        width: 35px;
        height: 35px;
    }

    .back-to-top{
        display: block;
        color: white;
        font-weight: 500;
    }

    .back-to-top-link{
        display: flex;
        align-items: center;
        gap: 8px;
        line-height: 30px;
    }

    .back-to-top-link:hover{
        text-decoration: underline;
    }
}


/* Risk Warning Section */
.risk-warning {
    margin-bottom: 14px;
}

.risk-warning-box {
    border: 4px solid #303030;
    padding: 14px;
    margin-bottom: 18px;
}

@media (max-width: 767px) {
    .risk-warning-box {
        border-color: rgba(255, 80, 80, 0.19);
    }
}

.risk-warning-title {
    color: white;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 6px;
}

@media (max-width: 767px) {
    .risk-warning-title {
        color: #FF5050;
    }
}

.risk-warning-content {
    color: #A9AAAC;
    font-size: 12px;
    line-height: 20px;
    margin: 0;
}

.risk-link {
    color: #3660FD;
    transition: color 0.2s ease;
}

.risk-link:hover {
    text-decoration: underline;
}

/* Company Info */
.company-info {
    display: flex;
    flex-direction: column;
    color: #A9AAAC;
    font-size: 12px;
    line-height: 1.6;
}

.company-info-text:first-child {
    margin: 0 0 10px 0;
}

.license-list {
    list-style: disc;
    list-style-position: inside;
    padding: 0;
    margin: 0;
}

/* Disclaimer Section */
.disclaimer {
    margin-bottom: 32px;
}

.disclaimer-title {
    color: white;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 4px;
}

.disclaimer-content {
    color: #A9AAAC;
    font-size: 12px;
    line-height: 1.6;
}

.disclaimer-list {
    list-style: disc;
    list-style-position: inside;
    padding: 0;
    margin: 0 0 16px 0;
}

.copyright {
    margin-top: 16px;
}


