/*
 * APP STORE LINKS STYLING
 * Footer app download buttons
 */

/* ============================================
   APP LINKS SECTION
   ============================================ */

.app-links {
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.app-links h4 {
    color: #FFFFFF !important;
    font-size: 16px;
    margin-bottom: 15px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.app-links > div {
    display: flex !important;
    flex-direction: row !important;
    gap: 15px !important;
    align-items: center !important;
    flex-wrap: wrap !important;
}

.app-links a {
    display: inline-block;
    transition: all 0.3s ease;
    text-decoration: none;
}

.app-links a:hover {
    transform: scale(1.05);
    filter: brightness(1.1);
}

.app-links img {
    display: block;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.app-links a:hover img {
    box-shadow: 0 4px 16px rgba(0, 188, 212, 0.3);
}

/* App Store Badge */
.app-links a:first-of-type img {
    height: 45px;
    width: auto;
}

/* Play Store Badge */
.app-links a:last-of-type img {
    height: 65px;
    width: auto;
    margin-left: 0px;
}

/* ============================================
   RESPONSIVE ADJUSTMENTS
   ============================================ */

@media (max-width: 991px) {
    .app-links {
        margin-top: 20px;
        padding-top: 15px;
    }
    
    .app-links h4 {
        font-size: 15px;
        margin-bottom: 12px;
    }
    
    .app-links a:first-of-type img {
        height: 40px;
    }
    
    .app-links a:last-of-type img {
        height: 58px;
    }
}

@media (max-width: 767px) {
    .app-links {
        text-align: center;
        margin-top: 25px;
    }
    
    .app-links > div {
        align-items: center;
        justify-content: center;
    }
    
    .app-links a:first-of-type img {
        height: 42px;
    }
    
    .app-links a:last-of-type img {
        height: 60px;
        margin-left: -8px;
    }
}

@media (max-width: 575px) {
    .app-links h4 {
        font-size: 14px;
    }
    
    .app-links a:first-of-type img {
        height: 38px;
    }
    
    .app-links a:last-of-type img {
        height: 55px;
    }
}

/* ============================================
   HOVER EFFECTS
   ============================================ */

.app-links a {
    position: relative;
    overflow: hidden;
}

.app-links a::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(0, 188, 212, 0.1);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.app-links a:hover::before {
    width: 300px;
    height: 300px;
}

/* ============================================
   ACCESSIBILITY
   ============================================ */

.app-links a:focus {
    outline: 2px solid #00BCD4;
    outline-offset: 4px;
}

.app-links a:focus img {
    box-shadow: 0 0 0 3px rgba(0, 188, 212, 0.5);
}

/* ============================================
   LOADING STATE
   ============================================ */

.app-links img {
    background: rgba(255, 255, 255, 0.05);
}

.app-links img:not([src]) {
    opacity: 0.5;
}
