/* Footer Styles */
.footer {
    width: 100%;
    background-color: black;
    border-top: 1px solid white;
}

.footer-content {
    max-width: 1120px;
    margin-left: auto;
    margin-right: auto;
    padding-top: 24px;
    padding-bottom: 24px;
    padding-left: 16px;
    padding-right: 16px;
}

/* Desktop Footer */
.footer-desktop {
    display: none;
}

.footer-main {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 32px;
    align-items: center;
    margin-bottom: 24px;
}

.footer-left {
    color: white;
}

.footer-copyright {
    font-weight: 700;
    font-size: 14px;
    margin-bottom: 8px;
}

.footer-disclaimer {
    font-size: 12px;
    line-height: 1.5;
}

.footer-disclaimer p {
    margin-bottom: 4px;
}

.footer-center {
    display: flex;
    justify-content: center;
}

.footer-logo {
    width: 128px;
    height: auto;
}

.footer-right {
    text-align: right;
}

.footer-link {
    display: block;
    color: white;
    font-size: 12px;
    font-weight: 700;
    opacity: 0.8;
    text-decoration: none;
    margin-bottom: 4px;
    transition: opacity 0.2s ease;
}

.footer-link:hover {
    opacity: 1;
}

.footer-link-active {
    color: #FBBF24 !important;
    opacity: 1 !important;
}

/* Mobile Footer */
.footer-mobile {
    display: block;
    margin-bottom: 24px;
}

.footer-mobile-logo {
    display: flex;
    justify-content: center;
    margin-bottom: 24px;
}

.footer-logo-mobile {
    width: 112px;
    height: auto;
}

.footer-mobile-copyright {
    text-align: center;
    margin-bottom: 24px;
}

.footer-copyright-mobile {
    color: white;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 12px;
}

.footer-disclaimer-mobile {
    color: white;
    font-size: 12px;
    line-height: 1.5;
}

.footer-disclaimer-mobile p {
    margin-bottom: 8px;
}

.footer-mobile-nav {
    text-align: center;
    margin-bottom: 24px;
}

.footer-link-mobile {
    display: block;
    color: white;
    font-size: 12px;
    font-weight: 700;
    opacity: 0.8;
    text-decoration: none;
    margin-bottom: 8px;
    transition: opacity 0.2s ease;
}

.footer-link-mobile:hover {
    opacity: 1;
}

.footer-mobile-disclaimer {
    text-align: center;
    max-width: 320px;
    margin-left: auto;
    margin-right: auto;
}

.footer-mobile-disclaimer p {
    color: white;
    font-size: 12px;
    line-height: 1.5;
}

/* Footer Certifications */
.footer-certifications {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    padding-top: 16px;
    border-top: 1px solid #374151;
    justify-content: center;
    align-items: center;
}

.certification-item {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 48px;
    height: 48px;
}

.certification-link {
    transition: opacity 0.3s ease;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.certification-link:hover {
    opacity: 0.8;
}

/* Uniform logo sizing for all certification logos */
.certification-icon,
.certification-icon-large,
.certification-icon-small,
.anj-logo {
    width: 48px;
    height: 48px;
    object-fit: contain;
}

/* Specific sizing for GambleAware logo to match others */
.certification-icon-small {
    width: 52px !important;
    height: 52px !important;
    object-fit: contain;
}

/* Desktop specific layout - single line */
@media (min-width: 1024px) {
    .footer-desktop {
        display: block;
    }
    
    .footer-mobile {
        display: none;
    }
    
    .footer-certifications {
        flex-wrap: nowrap;
        gap: 32px;
        justify-content: center;
    }
    
    .certification-item {
        width: 56px;
        height: 56px;
    }
    
    .certification-icon,
    .certification-icon-large,
    .certification-icon-small,
    .anj-logo {
        width: 56px;
        height: 56px;
    }
    
    /* Specific sizing for GambleAware logo on desktop */
    .certification-icon-small {
        width: 90px !important;
        height: 110px !important;
    }
}

/* Tablet layout - 2 lines, smaller logos */
@media (min-width: 768px) and (max-width: 1023px) {
    .footer-certifications {
        max-width: 240px;
        margin: 0 auto;
        gap: 16px;
    }
    
    .certification-item {
        width: 40px;
        height: 40px;
    }
    
    .certification-icon,
    .certification-icon-large,
    .certification-icon-small,
    .anj-logo {
        width: 40px;
        height: 40px;
    }
    
    /* Specific sizing for GambleAware logo on tablet */
    .certification-icon-small {
        width: 44px !important;
        height: 44px !important;
    }
}

/* Mobile layout - 2 lines, smaller logos */
@media (max-width: 767px) {
    .footer-certifications {
        max-width: 200px;
        margin: 0 auto;
        gap: 12px;
    }
    
    .certification-item {
        width: 36px;
        height: 36px;
    }
    
    .certification-icon,
    .certification-icon-large,
    .certification-icon-small,
    .anj-logo {
        width: 36px;
        height: 36px;
    }
    
    /* Specific sizing for GambleAware logo on mobile */
    .certification-icon-small {
        width: 40px !important;
        height: 40px !important;
    }
}