/* ===================================================================
   UI FRAMEWORK - APP ICONS & RESPONSIVE DESIGN
   App icons styling and responsive optimizations
   =================================================================== */

/* ===================================================================
   APP ICONS SECTION
   =================================================================== */
.app-icons-section {
    margin-bottom: 30px;
    padding-bottom: 25px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.app-icons-container {
    display: flex;
    gap: 17px;
    justify-content: center;
    align-items: flex-start;
    flex-wrap: wrap;
}

.app-item-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: #ffffff;
    font-family: "Segoe UI", Arial, sans-serif;
}

.app-icon-item {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    transition: all 0.3s ease;
    width: 80px;
    height: 80px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    font-family: "Segoe UI", Arial, sans-serif;
    position: relative;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.5);
}

.app-item-wrapper:hover .app-icon-item {
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.6);
}

.app-icon-item.coming-soon {
    opacity: 0.6;
    cursor: default;
    background-color: rgba(255, 255, 255, 0.03);
}

.app-item-wrapper.coming-soon:hover .app-icon-item {
    transform: none;
    background-color: rgba(255, 255, 255, 0.03);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.5);
}

.app-icon {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    object-fit: contain;
    background-color: rgba(255, 255, 255, 0.1);
    padding: 2px;
    flex-shrink: 0;
}

.app-icon-placeholder {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    background-color: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: rgba(255, 255, 255, 0.5);
    flex-shrink: 0;
}

.app-name {
    font-size: 12px;
    font-weight: 500;
    text-align: center;
    line-height: 1.2;
    font-family: "Segoe UI", Arial, sans-serif;
    margin-top: 16px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 80px;
}

/* ===================================================================
   RESPONSIVE DESIGN - HEADER & FOOTER
   =================================================================== */

/* Desktop Styles */
@media (min-width: 1024px) {
    .app-icons-section {
        margin-bottom: 40px;
        padding-bottom: 30px;
    }

    .app-icons-container {
        gap: 21px;
    }

    .app-icon-item {
        width: 90px;
        height: 90px;
        box-shadow: 0 3px 8px rgba(0, 0, 0, 0.6);
    }

    .app-item-wrapper:hover .app-icon-item {
        box-shadow: 0 5px 12px rgba(0, 0, 0, 0.7);
    }

    .app-icon,
    .app-icon-placeholder {
        width: 68px;
        height: 68px;
        font-size: 36px;
    }

    .app-name {
        font-size: 13px;
        margin-top: 17px;
        width: 90px;
    }
}

/* Large Desktop */
@media (min-width: 1440px) {
    .app-icons-container {
        gap: 26px;
    }

    .app-icon-item {
        width: 100px;
        height: 100px;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.7);
    }

    .app-item-wrapper:hover .app-icon-item {
        box-shadow: 0 6px 14px rgba(0, 0, 0, 0.8);
    }

    .app-icon,
    .app-icon-placeholder {
        width: 80px;
        height: 80px;
        font-size: 42px;
    }

    .app-name {
        font-size: 14px;
        margin-top: 18px;
        width: 100px;
    }
}

/* Tablet Styles */
@media (min-width: 768px) and (max-width: 1023px) {
    .app-icons-container {
        gap: 15px;
    }

    .app-icon-item {
        width: 85px;
        height: 85px;
    }

    .app-icon,
    .app-icon-placeholder {
        width: 64px;
        height: 64px;
        font-size: 28px;
    }

    .app-name {
        font-size: 12px;
        margin-top: 16px;
        width: 85px;
    }
}

/* Mobile Styles */
@media (max-width: 767px) {
    .app-icons-section {
        margin-bottom: 20px;
        padding-bottom: 20px;
    }

    .app-icons-container {
        gap: 6px;
        justify-content: space-evenly;
        flex-wrap: nowrap;
        padding: 0;
    }

    .app-icon-item {
        width: 48px;
        height: 48px;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
        flex-shrink: 0;
    }

    .app-item-wrapper:hover .app-icon-item {
        box-shadow: 0 3px 7px rgba(0, 0, 0, 0.6);
    }

    .app-icon,
    .app-icon-placeholder {
        width: 36px;
        height: 36px;
        font-size: 18px;
    }

    .app-name {
        font-size: 9px;
        margin-top: 8px;
        width: 48px;
    }
}

/* Landscape Mobile */
@media (max-height: 500px) and (orientation: landscape) {
    .app-icons-section {
        margin-bottom: 15px;
        padding-bottom: 15px;
    }

    .app-icons-container {
        gap: 11px;
    }

    .app-icon-item {
        width: 65px;
        height: 65px;
        box-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
    }

    .app-item-wrapper:hover .app-icon-item {
        box-shadow: 0 2px 6px rgba(0, 0, 0, 0.6);
    }

    .app-icon,
    .app-icon-placeholder {
        width: 52px;
        height: 52px;
        font-size: 26px;
    }

    .app-name {
        font-size: 10px;
        margin-top: 14px;
        width: 65px;
    }
}

/* ===================================================================
   SMOOTH TRANSITIONS
   =================================================================== */
.main-header,
.auth-header-section,
.register-controls,
.main-footer,
.app-icon-item {
    transition: all 0.3s ease;
}